aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ethereum-types
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-15 07:25:37 +0800
committerFabio Berger <me@fabioberger.com>2018-08-15 07:25:37 +0800
commit8bebffb14775234d5cc8dd730ba6d55ebfa941c7 (patch)
tree58820c6c02b45a1c0a7cf88f1d3d522d74a310de /packages/ethereum-types
parent644fe1de8f8314e67b483eae847accc9b8c57528 (diff)
downloaddexon-0x-contracts-8bebffb14775234d5cc8dd730ba6d55ebfa941c7.tar.gz
dexon-0x-contracts-8bebffb14775234d5cc8dd730ba6d55ebfa941c7.tar.zst
dexon-0x-contracts-8bebffb14775234d5cc8dd730ba6d55ebfa941c7.zip
Flesh out 0x.js index.ts and added some exports to other index.ts in the process
Diffstat (limited to 'packages/ethereum-types')
-rw-r--r--packages/ethereum-types/src/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/ethereum-types/src/index.ts b/packages/ethereum-types/src/index.ts
index f4d445e3b..b2af028fb 100644
--- a/packages/ethereum-types/src/index.ts
+++ b/packages/ethereum-types/src/index.ts
@@ -20,7 +20,7 @@ export type ConstructorStateMutability = 'nonpayable' | 'payable';
export type StateMutability = 'pure' | 'view' | ConstructorStateMutability;
export interface MethodAbi {
- type: AbiType.Function;
+ type: 'function';
name: string;
inputs: DataItem[];
outputs: DataItem[];
@@ -30,14 +30,14 @@ export interface MethodAbi {
}
export interface ConstructorAbi {
- type: AbiType.Constructor;
+ type: 'constructor';
inputs: DataItem[];
payable: boolean;
stateMutability: ConstructorStateMutability;
}
export interface FallbackAbi {
- type: AbiType.Fallback;
+ type: 'fallback';
payable: boolean;
}
@@ -46,7 +46,7 @@ export interface EventParameter extends DataItem {
}
export interface EventAbi {
- type: AbiType.Event;
+ type: 'event';
name: string;
inputs: EventParameter[];
anonymous: boolean;