diff options
author | Fabio B <kandinsky454@protonmail.ch> | 2018-11-21 19:16:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 19:16:26 +0800 |
commit | a8803431b3e339552c989d7567bf6241f39a2bdf (patch) | |
tree | 74d63517ea7bfca4c9d0490f899738eb9ae903d9 /packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts | |
parent | 15f05733be45e05974972c80c4fa8437a62633e2 (diff) | |
parent | 2821bac3a3199fd9d4b99b97cdc69376ca8bff58 (diff) | |
download | dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.tar dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.gz dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.bz2 dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.lz dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.xz dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.zst dexon-sol-tools-a8803431b3e339552c989d7567bf6241f39a2bdf.zip |
Merge pull request #1298 from 0xProject/fix/artifact-type-error
Fix Artifact Interface Type Issue
Diffstat (limited to 'packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts')
-rw-r--r-- | packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts b/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts index 8ee563b7e..ab208cbf5 100644 --- a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts +++ b/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.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'; @@ -508,7 +509,7 @@ export class ERC20TokenContract extends BaseContract { }, }; public static async deployFrom0xArtifactAsync( - artifact: ContractArtifact, + artifact: ContractArtifact | SimpleContractArtifact, provider: Provider, txDefaults: Partial<TxData>, ): Promise<ERC20TokenContract> { |