aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen/src/utils.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2018-01-11 02:35:37 +0800
committerGitHub <noreply@github.com>2018-01-11 02:35:37 +0800
commitde943c5f305402bc64a6b3273c59669faa62a60d (patch)
tree936eae17521984e5ccc28057973461e707322326 /packages/abi-gen/src/utils.ts
parente6a783aff803c276392efec93571d24fc96feb6e (diff)
parente34b0af25133629ad4c177c4d7d5050bd6ac19b8 (diff)
downloaddexon-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.ts4
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: [],