1 2 3 4 5 6 7 8 9 10
public async {{this.name}}( {{> typed_params inputs=inputs}} defaultBlock?: Web3.BlockParam, ): Promise<{{> return_type outputs=outputs}}> { const self = this as {{contractName}}Contract; const result = await self._web3ContractInstance.{{this.name}}.call( {{> params inputs=inputs}} ); return result; }