diff options
author | Fabio Berger <me@fabioberger.com> | 2018-11-21 07:06:46 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-11-21 07:06:46 +0800 |
commit | 4b64d8c3aad3e1fa3d807941e70f2901941c2501 (patch) | |
tree | f19a1c0c08f9a7023f690e7b44b7f50d297a7923 /packages/abi-gen-wrappers | |
parent | 48aec9ef472cd161434cf58c58e63227beb565c4 (diff) | |
download | dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.gz dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.bz2 dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.lz dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.xz dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.zst dexon-sol-tools-4b64d8c3aad3e1fa3d807941e70f2901941c2501.zip |
Allow a `SimpleContractArtifact` to be passed into `deployFrom0xArtifactAsync`
Diffstat (limited to 'packages/abi-gen-wrappers')
-rw-r--r-- | packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts b/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts index ffd498055..a04b6025e 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts @@ -4,6 +4,7 @@ import { BaseContract } from '@0x/base-contract'; import { BlockParam, BlockParamLiteral, CallData, ContractAbi, ContractArtifact, DecodedLogArgs, MethodAbi, Provider, TxData, TxDataPayable } from 'ethereum-types'; import { BigNumber, classUtils, logUtils } from '@0x/utils'; +import { SimpleContractArtifact } from '@0x/types'; import { Web3Wrapper } from '@0x/web3-wrapper'; import * as ethers from 'ethers'; import * as _ from 'lodash'; @@ -3024,7 +3025,7 @@ export class ExchangeContract extends BaseContract { }, }; public static async deployFrom0xArtifactAsync( - artifact: ContractArtifact, + artifact: ContractArtifact | SimpleContractArtifact, provider: Provider, txDefaults: Partial<TxData>, ): Promise<ExchangeContract> { |