diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-11 06:37:48 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:19:33 +0800 |
commit | 2c58b8a88650fcc4f3622546c02a14bbf211cd07 (patch) | |
tree | 9c4dd90c688a5b102f9245d9f95d0e71ad1f31d2 /contracts/protocol/src | |
parent | cb53cd05e62b1904184ec14862e48383f80b9c54 (diff) | |
download | dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.gz dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.bz2 dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.lz dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.xz dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.zst dexon-sol-tools-2c58b8a88650fcc4f3622546c02a14bbf211cd07.zip |
Rename core package to protocol
Diffstat (limited to 'contracts/protocol/src')
-rw-r--r-- | contracts/protocol/src/artifacts/index.ts | 27 | ||||
-rw-r--r-- | contracts/protocol/src/index.ts | 3 | ||||
-rw-r--r-- | contracts/protocol/src/wrappers/index.ts | 10 |
3 files changed, 40 insertions, 0 deletions
diff --git a/contracts/protocol/src/artifacts/index.ts b/contracts/protocol/src/artifacts/index.ts new file mode 100644 index 000000000..c5d12f10b --- /dev/null +++ b/contracts/protocol/src/artifacts/index.ts @@ -0,0 +1,27 @@ +import { ContractArtifact } from 'ethereum-types'; + +import * as AssetProxyOwner from '../../generated-artifacts/AssetProxyOwner.json'; +import * as ERC20Proxy from '../../generated-artifacts/ERC20Proxy.json'; +import * as ERC721Proxy from '../../generated-artifacts/ERC721Proxy.json'; +import * as Exchange from '../../generated-artifacts/Exchange.json'; +import * as MixinAuthorizable from '../../generated-artifacts/MixinAuthorizable.json'; +import * as MultiAssetProxy from '../../generated-artifacts/MultiAssetProxy.json'; +import * as TestAssetProxyDispatcher from '../../generated-artifacts/TestAssetProxyDispatcher.json'; +import * as TestAssetProxyOwner from '../../generated-artifacts/TestAssetProxyOwner.json'; +import * as TestExchangeInternals from '../../generated-artifacts/TestExchangeInternals.json'; +import * as TestSignatureValidator from '../../generated-artifacts/TestSignatureValidator.json'; +import * as TestStaticCallReceiver from '../../generated-artifacts/TestStaticCallReceiver.json'; + +export const artifacts = { + AssetProxyOwner: AssetProxyOwner as ContractArtifact, + ERC20Proxy: ERC20Proxy as ContractArtifact, + ERC721Proxy: ERC721Proxy as ContractArtifact, + Exchange: Exchange as ContractArtifact, + MixinAuthorizable: MixinAuthorizable as ContractArtifact, + MultiAssetProxy: MultiAssetProxy as ContractArtifact, + TestAssetProxyDispatcher: TestAssetProxyDispatcher as ContractArtifact, + TestAssetProxyOwner: TestAssetProxyOwner as ContractArtifact, + TestExchangeInternals: TestExchangeInternals as ContractArtifact, + TestSignatureValidator: TestSignatureValidator as ContractArtifact, + TestStaticCallReceiver: TestStaticCallReceiver as ContractArtifact, +}; diff --git a/contracts/protocol/src/index.ts b/contracts/protocol/src/index.ts new file mode 100644 index 000000000..ba813e7ca --- /dev/null +++ b/contracts/protocol/src/index.ts @@ -0,0 +1,3 @@ +export * from './artifacts'; +export * from './wrappers'; +export * from '../test/utils'; diff --git a/contracts/protocol/src/wrappers/index.ts b/contracts/protocol/src/wrappers/index.ts new file mode 100644 index 000000000..01b121054 --- /dev/null +++ b/contracts/protocol/src/wrappers/index.ts @@ -0,0 +1,10 @@ +export * from '../../generated-wrappers/asset_proxy_owner'; +export * from '../../generated-wrappers/erc20_proxy'; +export * from '../../generated-wrappers/erc721_proxy'; +export * from '../../generated-wrappers/exchange'; +export * from '../../generated-wrappers/mixin_authorizable'; +export * from '../../generated-wrappers/test_asset_proxy_dispatcher'; +export * from '../../generated-wrappers/test_asset_proxy_owner'; +export * from '../../generated-wrappers/test_exchange_internals'; +export * from '../../generated-wrappers/test_signature_validator'; +export * from '../../generated-wrappers/test_static_call_receiver'; |