diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-10 03:15:30 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-10 03:15:30 +0800 |
commit | 3f610d4865d0f901320f0334d4441ae181e4521c (patch) | |
tree | 11aacc9f9f1a7e1198d7bf83b6ff594e2f7be8b3 /packages/contract_templates/partials/callAsync.handlebars | |
parent | 8404e0e73f2758c1b0a406f0aa63d43a44fe4dd3 (diff) | |
parent | b60a74c8bc4de5c897cefc2fbf9a247d8422d560 (diff) | |
download | dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.tar dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.tar.gz dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.tar.bz2 dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.tar.lz dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.tar.xz dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.tar.zst dexon-sol-tools-3f610d4865d0f901320f0334d4441ae181e4521c.zip |
Merge https://github.com/0xProject/0x-monorepo into development
Diffstat (limited to 'packages/contract_templates/partials/callAsync.handlebars')
-rw-r--r-- | packages/contract_templates/partials/callAsync.handlebars | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contract_templates/partials/callAsync.handlebars b/packages/contract_templates/partials/callAsync.handlebars index fcaae57c6..94752691d 100644 --- a/packages/contract_templates/partials/callAsync.handlebars +++ b/packages/contract_templates/partials/callAsync.handlebars @@ -7,6 +7,7 @@ async callAsync( const functionSignature = '{{this.functionSignature}}'; const inputAbi = self._lookupAbi(functionSignature).inputs; [{{> params inputs=inputs}}] = BaseContract._formatABIDataItemList(inputAbi, [{{> params inputs=inputs}}], BaseContract._bigNumberToString.bind(self)); + BaseContract.strictArgumentEncodingCheck(inputAbi, [{{> params inputs=inputs}}]); const ethersFunction = self._lookupEthersInterface(functionSignature).functions.{{this.name}}( {{> params inputs=inputs}} ) as ethers.CallDescription; |