diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 16:21:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:52 +0800 |
commit | d34feb1e0a7adf7630ef1914a95b34f6e514d2e6 (patch) | |
tree | e2222d7fc10f9e46a982b46f48b3645685a1e9c4 /packages | |
parent | 6cc5e45183ca2ae6d4dd2176ecb5efdce53f38ea (diff) | |
download | dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.tar dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.tar.gz dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.tar.bz2 dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.tar.lz dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.tar.xz dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.tar.zst dexon-sol-tools-d34feb1e0a7adf7630ef1914a95b34f6e514d2e6.zip |
Remove old contracts and add new ones to/from artifacts.ts
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contract-wrappers/src/artifacts.ts | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/packages/contract-wrappers/src/artifacts.ts b/packages/contract-wrappers/src/artifacts.ts index 13587984c..e5daa73be 100644 --- a/packages/contract-wrappers/src/artifacts.ts +++ b/packages/contract-wrappers/src/artifacts.ts @@ -1,18 +1,23 @@ -import { Artifact } from '@0xproject/types'; +import { ContractArtifact } from '@0xproject/sol-compiler'; -import * as DummyToken from './compact_artifacts/DummyToken.json'; -import * as EtherToken from './compact_artifacts/EtherToken.json'; +import * as DummyERC20Token from './compact_artifacts/DummyERC20Token.json'; +import * as DummyERC721Token from './compact_artifacts/DummyERC721Token.json'; +import * as ERC20Proxy from './compact_artifacts/ERC20Proxy.json'; +import * as ERC20Token from './compact_artifacts/ERC20Token.json'; +import * as ERC721Proxy from './compact_artifacts/ERC721Proxy.json'; +import * as ERC721Token from './compact_artifacts/ERC721Token.json'; import * as Exchange from './compact_artifacts/Exchange.json'; -import * as Token from './compact_artifacts/Token.json'; -import * as TokenRegistry from './compact_artifacts/TokenRegistry.json'; -import * as TokenTransferProxy from './compact_artifacts/TokenTransferProxy.json'; -import * as ZRX from './compact_artifacts/ZRX.json'; +import * as EtherToken from './compact_artifacts/WETH9.json'; +import * as ZRXToken from './compact_artifacts/ZRXToken.json'; + export const artifacts = { - ZRX: (ZRX as any) as Artifact, - DummyToken: (DummyToken as any) as Artifact, - Token: (Token as any) as Artifact, - Exchange: (Exchange as any) as Artifact, - EtherToken: (EtherToken as any) as Artifact, - TokenRegistry: (TokenRegistry as any) as Artifact, - TokenTransferProxy: (TokenTransferProxy as any) as Artifact, + ZRXToken: (ZRXToken as any) as ContractArtifact, + DummyERC20Token: (DummyERC20Token as any) as ContractArtifact, + DummyERC721Token: (DummyERC721Token as any) as ContractArtifact, + ERC20Token: (ERC20Token as any) as ContractArtifact, + ERC721Token: (ERC721Token as any) as ContractArtifact, + Exchange: (Exchange as any) as ContractArtifact, + EtherToken: (EtherToken as any) as ContractArtifact, + ERC20Proxy: (ERC20Proxy as any) as ContractArtifact, + ERC721Proxy: (ERC721Proxy as any) as ContractArtifact, }; |