diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-06 23:37:42 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-02-07 09:27:47 +0800 |
commit | eea8b15180d3e6616a908a8eb4c537df7d87a6ab (patch) | |
tree | b257751abc8cb16f84133493b043616c7d801fa8 /packages/contracts/contract_templates/contract.handlebars | |
parent | 600a2b40af0430d4037f86f6ffe21d6edf3fb166 (diff) | |
download | dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.tar dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.tar.gz dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.tar.bz2 dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.tar.lz dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.tar.xz dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.tar.zst dexon-sol-tools-eea8b15180d3e6616a908a8eb4c537df7d87a6ab.zip |
Change contract templates
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']); } |