diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-05 00:11:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-05 00:11:50 +0800 |
commit | d712dc47d97d3051e2938bf11b9088aba657b869 (patch) | |
tree | e2b0c69b25aa67ec7aa709141939c424d6c2d146 | |
parent | ce86ae01919017a158cc2f0d5ada50c555df90e3 (diff) | |
download | dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.tar dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.tar.gz dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.tar.bz2 dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.tar.lz dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.tar.xz dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.tar.zst dexon-sol-tools-d712dc47d97d3051e2938bf11b9088aba657b869.zip |
Removee getContractFromAbi method since we no longer use it and do not recommend others use it
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index e66c7073f..640d3eac9 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -389,15 +389,6 @@ export class Web3Wrapper { return formattedLogs; } /** - * Get a Web3 contract factory instance for a given ABI - * @param abi Smart contract ABI - * @returns Web3 contract factory which can create Web3 Contract instances from the supplied ABI - */ - public getContractFromAbi(abi: ContractAbi): Web3.Contract<any> { - const web3Contract = this._web3.eth.contract(abi); - return web3Contract; - } - /** * Calculate the estimated gas cost for a given transaction * @param txData Transaction data * @returns Estimated gas cost |