diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-23 06:25:06 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-23 06:25:06 +0800 |
commit | a6cdc38d532b897442bac74bc3fd1735c85317ba (patch) | |
tree | 52d586abb4878cb618d1c7429ec437421729284e /packages/ethereum-types/src | |
parent | 167c4f851945e86eb08502b3f85fcb8befb2508e (diff) | |
download | dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.tar dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.tar.gz dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.tar.bz2 dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.tar.lz dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.tar.xz dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.tar.zst dexon-0x-contracts-a6cdc38d532b897442bac74bc3fd1735c85317ba.zip |
Add/improve comments
Diffstat (limited to 'packages/ethereum-types/src')
-rw-r--r-- | packages/ethereum-types/src/index.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/ethereum-types/src/index.ts b/packages/ethereum-types/src/index.ts index 5ace18452..d21f69b79 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: 'function'; + type: 'function'; // We hardcode this here b/c doc pages cannot render an enum value name: string; inputs: DataItem[]; outputs: DataItem[]; @@ -30,14 +30,14 @@ export interface MethodAbi { } export interface ConstructorAbi { - type: 'constructor'; + type: 'constructor'; // We hardcode this here b/c doc pages cannot render an enum value inputs: DataItem[]; payable: boolean; stateMutability: ConstructorStateMutability; } export interface FallbackAbi { - type: 'fallback'; + type: 'fallback'; // We hardcode this here b/c doc pages cannot render an enum value payable: boolean; } @@ -46,7 +46,7 @@ export interface EventParameter extends DataItem { } export interface EventAbi { - type: 'event'; + type: 'event'; // We hardcode this here b/c doc pages cannot render an enum value name: string; inputs: EventParameter[]; anonymous: boolean; |