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 /packages/web3-wrapper/src | |
parent | ce86ae01919017a158cc2f0d5ada50c555df90e3 (diff) | |
download | dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.tar dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.tar.gz dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.tar.bz2 dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.tar.lz dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.tar.xz dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.tar.zst dexon-0x-contracts-d712dc47d97d3051e2938bf11b9088aba657b869.zip |
Removee getContractFromAbi method since we no longer use it and do not recommend others use it
Diffstat (limited to 'packages/web3-wrapper/src')
-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 |