aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract/src/index.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-08 22:02:04 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 23:47:38 +0800
commit75d24dea0e10d098d3833488a420498410c22991 (patch)
treee079561d372d5480db59f798ebe4d853bd9ab692 /packages/base-contract/src/index.ts
parenta6f72de09d7b2c9738b78d2097baa9906838fbe9 (diff)
downloaddexon-sol-tools-75d24dea0e10d098d3833488a420498410c22991.tar.gz
dexon-sol-tools-75d24dea0e10d098d3833488a420498410c22991.tar.zst
dexon-sol-tools-75d24dea0e10d098d3833488a420498410c22991.zip
Fix linter issues
Diffstat (limited to 'packages/base-contract/src/index.ts')
-rw-r--r--packages/base-contract/src/index.ts3
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 {