diff options
Diffstat (limited to 'packages/contracts/contract_templates/contract.handlebars')
-rw-r--r-- | packages/contracts/contract_templates/contract.handlebars | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/contract_templates/contract.handlebars b/packages/contracts/contract_templates/contract.handlebars index d3fe1b8cc..f9ffb730c 100644 --- a/packages/contracts/contract_templates/contract.handlebars +++ b/packages/contracts/contract_templates/contract.handlebars @@ -2,6 +2,7 @@ * This file is auto-generated using abi-gen. Don't edit directly. * Templates can be found at https://github.com/0xProject/0x.js/tree/development/packages/abi-gen-templates. */ +// tslint:disable:async-suffix member-ordering // tslint:disable-next-line:no-unused-variable import { TxData, TxDataPayable } from '@0xproject/types'; import { BigNumber, classUtils, promisify } from '@0xproject/utils'; @@ -18,7 +19,7 @@ export class {{contractName}}Contract extends BaseContract { {{> tx contractName=../contractName}} {{/this.constant}} {{/each}} - constructor(web3ContractInstance: Web3.ContractInstance, defaults: Partial<TxData>) { + constructor(web3ContractInstance: Web3.ContractInstance, defaults?: Partial<TxData>) { super(web3ContractInstance, defaults); classUtils.bindAll(this, ['_web3ContractInstance', '_defaults']); } |