aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts
diff options
context:
space:
mode:
authorFabio B <kandinsky454@protonmail.ch>2018-11-21 19:16:26 +0800
committerGitHub <noreply@github.com>2018-11-21 19:16:26 +0800
commita8803431b3e339552c989d7567bf6241f39a2bdf (patch)
tree74d63517ea7bfca4c9d0490f899738eb9ae903d9 /packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts
parent15f05733be45e05974972c80c4fa8437a62633e2 (diff)
parent2821bac3a3199fd9d4b99b97cdc69376ca8bff58 (diff)
downloaddexon-0x-contracts-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.gz
dexon-0x-contracts-a8803431b3e339552c989d7567bf6241f39a2bdf.tar.zst
dexon-0x-contracts-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/weth9.ts')
-rw-r--r--packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts b/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts
index 86d1031db..12ec55ae9 100644
--- a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts
+++ b/packages/abi-gen-wrappers/src/generated-wrappers/weth9.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';
@@ -787,7 +788,7 @@ export class WETH9Contract extends BaseContract {
},
};
public static async deployFrom0xArtifactAsync(
- artifact: ContractArtifact,
+ artifact: ContractArtifact | SimpleContractArtifact,
provider: Provider,
txDefaults: Partial<TxData>,
): Promise<WETH9Contract> {