diff options
author | Leonid <logvinov.leon@gmail.com> | 2018-01-11 02:35:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 02:35:37 +0800 |
commit | de943c5f305402bc64a6b3273c59669faa62a60d (patch) | |
tree | 936eae17521984e5ccc28057973461e707322326 /packages/abi-gen/src/utils.ts | |
parent | e6a783aff803c276392efec93571d24fc96feb6e (diff) | |
parent | e34b0af25133629ad4c177c4d7d5050bd6ac19b8 (diff) | |
download | dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.tar dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.tar.gz dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.tar.bz2 dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.tar.lz dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.tar.xz dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.tar.zst dexon-sol-tools-de943c5f305402bc64a6b3273c59669faa62a60d.zip |
Merge pull request #307 from 0xProject/feature/web3-type-roots
Base tsconfig.json
Diffstat (limited to 'packages/abi-gen/src/utils.ts')
-rw-r--r-- | packages/abi-gen/src/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/abi-gen/src/utils.ts b/packages/abi-gen/src/utils.ts index f6291d98d..14255643a 100644 --- a/packages/abi-gen/src/utils.ts +++ b/packages/abi-gen/src/utils.ts @@ -3,7 +3,7 @@ import * as _ from 'lodash'; import * as path from 'path'; import * as Web3 from 'web3'; -import { ParamKind } from './types'; +import { AbiType, ParamKind } from './types'; export const utils = { solTypeToTsType(paramKind: ParamKind, solType: string): string { @@ -64,7 +64,7 @@ export const utils = { }, getEmptyConstructor(): Web3.ConstructorAbi { return { - type: 'constructor', + type: AbiType.Constructor, stateMutability: 'nonpayable', payable: false, inputs: [], |