11 lines
331 B
Handlebars
11 lines
331 B
Handlebars
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;
|
|
}
|