From 02e7354b5324b80f1e5a6a2968d05de44820498c Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 8 Dec 2017 17:58:54 +0300 Subject: Move 0x.js temnplates to 0x.js instead of having them as a separate package --- packages/abi-gen-templates/partials/call.mustache | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 packages/abi-gen-templates/partials/call.mustache (limited to 'packages/abi-gen-templates/partials/call.mustache') diff --git a/packages/abi-gen-templates/partials/call.mustache b/packages/abi-gen-templates/partials/call.mustache deleted file mode 100644 index ef4bda724..000000000 --- a/packages/abi-gen-templates/partials/call.mustache +++ /dev/null @@ -1,15 +0,0 @@ -public {{this.name}} = { - async callAsync( - {{> typed_params inputs=inputs}} - defaultBlock?: Web3.BlockParam, - ): Promise<{{> return_type outputs=outputs}}> { - const self = this as {{contractName}}Contract; - const result = await promisify<{{> return_type outputs=outputs}}>( - self.web3ContractInstance.{{this.name}}.call, - self.web3ContractInstance, - )( - {{> params inputs=inputs}} - ); - return result; - }, -}; -- cgit v1.2.3