aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract_templates/contract.handlebars
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-09 22:28:44 +0800
committerGitHub <noreply@github.com>2018-10-09 22:28:44 +0800
commitbd06ebde8d1a5caf138ad3b36f9a5c5f255f2312 (patch)
treeb0229d6f0c45d72064aa59528f26546569563bb2 /packages/contract_templates/contract.handlebars
parent9876f6cc3416033ddea7ade082799d542e620de4 (diff)
parentfbd7115500b310caae5205d59ae1ba26befe5a35 (diff)
downloaddexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.tar
dexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.tar.gz
dexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.tar.bz2
dexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.tar.lz
dexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.tar.xz
dexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.tar.zst
dexon-sol-tools-bd06ebde8d1a5caf138ad3b36f9a5c5f255f2312.zip
Merge pull request #1122 from 0xProject/feature/new-ethers
Upgrade ethers.js version
Diffstat (limited to 'packages/contract_templates/contract.handlebars')
-rw-r--r--packages/contract_templates/contract.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract_templates/contract.handlebars b/packages/contract_templates/contract.handlebars
index 9ae39f44f..41e5c8630 100644
--- a/packages/contract_templates/contract.handlebars
+++ b/packages/contract_templates/contract.handlebars
@@ -65,7 +65,7 @@ export class {{contractName}}Contract extends BaseContract {
[{{> params inputs=ctor.inputs}}],
BaseContract._bigNumberToString,
);
- const iface = new ethers.Interface(abi);
+ const iface = new ethers.utils.Interface(abi);
const deployInfo = iface.deployFunction;
const txData = deployInfo.encode(bytecode, [{{> params inputs=ctor.inputs}}]);
const web3Wrapper = new Web3Wrapper(provider);