aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base-contract')
-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 {