diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-12-24 11:27:38 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2019-01-15 02:49:44 +0800 |
commit | d1fd4421be0a7639b99b374bf04e57fac4e8a486 (patch) | |
tree | a97d00cbea579864f23803fa391e169814d93f6e /packages/abi-gen-templates | |
parent | b06f8239e1fe75703f88d34c0d225701406e28c2 (diff) | |
download | dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.tar dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.tar.gz dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.tar.bz2 dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.tar.lz dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.tar.xz dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.tar.zst dexon-sol-tools-d1fd4421be0a7639b99b374bf04e57fac4e8a486.zip |
Use string argument encoding with new encoder
Diffstat (limited to 'packages/abi-gen-templates')
-rw-r--r-- | packages/abi-gen-templates/contract.handlebars | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/abi-gen-templates/contract.handlebars b/packages/abi-gen-templates/contract.handlebars index 7e7171c70..2b328e6fa 100644 --- a/packages/abi-gen-templates/contract.handlebars +++ b/packages/abi-gen-templates/contract.handlebars @@ -68,6 +68,7 @@ export class {{contractName}}Contract extends BaseContract { ); const iface = new ethers.utils.Interface(abi); const deployInfo = iface.deployFunction; + console.log('*'.repeat(50), `\n${JSON.stringify(deployInfo)}`); const txData = deployInfo.encode(bytecode, [{{> params inputs=ctor.inputs}}]); const web3Wrapper = new Web3Wrapper(provider); const txDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( |