aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract_templates/partials/callAsync.handlebars
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-10 06:57:12 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-10 06:57:12 +0800
commit938a99f435ca01853ecb31f9267e2ba4b501d206 (patch)
tree6b1aea79d1130206f6f69b68e0747c87616f2fb6 /packages/contract_templates/partials/callAsync.handlebars
parentb2c666bb1f2830211db208ba8398f2de799c8ee6 (diff)
parentf97ec000e109341f7b200d0ff9ff324bf3f97d3e (diff)
downloaddexon-0x-contracts-938a99f435ca01853ecb31f9267e2ba4b501d206.tar.gz
dexon-0x-contracts-938a99f435ca01853ecb31f9267e2ba4b501d206.tar.zst
dexon-0x-contracts-938a99f435ca01853ecb31f9267e2ba4b501d206.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/sra/add-sra-package
Diffstat (limited to 'packages/contract_templates/partials/callAsync.handlebars')
-rw-r--r--packages/contract_templates/partials/callAsync.handlebars1
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;