diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-08 22:02:04 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 23:47:38 +0800 |
commit | 75d24dea0e10d098d3833488a420498410c22991 (patch) | |
tree | e079561d372d5480db59f798ebe4d853bd9ab692 /packages/base-contract/src/index.ts | |
parent | a6f72de09d7b2c9738b78d2097baa9906838fbe9 (diff) | |
download | dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.tar dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.tar.gz dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.tar.bz2 dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.tar.lz dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.tar.xz dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.tar.zst dexon-0x-contracts-75d24dea0e10d098d3833488a420498410c22991.zip |
Fix linter issues
Diffstat (limited to 'packages/base-contract/src/index.ts')
-rw-r--r-- | packages/base-contract/src/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts index 57d720795..8558bceea 100644 --- a/packages/base-contract/src/index.ts +++ b/packages/base-contract/src/index.ts @@ -48,12 +48,13 @@ export class BaseContract { if (!_.isUndefined(constructorAbiIfExists)) { return constructorAbiIfExists; } else { - return { + const defaultConstructorAbi: ConstructorAbi = { type: AbiType.Constructor, stateMutability: 'nonpayable', payable: false, inputs: [], }; + return defaultConstructorAbi; } } protected static _bnToBigNumber(type: string, value: any): any { |