diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-11 02:53:25 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-11 02:53:25 +0800 |
commit | 924c2705b28f5821fd36d653fb3f7aa7bb015caf (patch) | |
tree | 99bd6a5ba4bc18c5fabbd40122bfec0f859e7de7 /contracts/extensions/src | |
parent | b88ff0a19ff7695086107cbcffe980dc4ad84e10 (diff) | |
download | dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.gz dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.bz2 dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.lz dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.xz dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.zst dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.zip |
Refactor our extensions package
Diffstat (limited to 'contracts/extensions/src')
-rw-r--r-- | contracts/extensions/src/artifacts/index.ts | 11 | ||||
-rw-r--r-- | contracts/extensions/src/index.ts | 2 | ||||
-rw-r--r-- | contracts/extensions/src/wrappers/index.ts | 3 |
3 files changed, 16 insertions, 0 deletions
diff --git a/contracts/extensions/src/artifacts/index.ts b/contracts/extensions/src/artifacts/index.ts new file mode 100644 index 000000000..380bf0497 --- /dev/null +++ b/contracts/extensions/src/artifacts/index.ts @@ -0,0 +1,11 @@ +import { ContractArtifact } from 'ethereum-types'; + +import * as DutchAuction from '../../generated-artifacts/DutchAuction.json'; +import * as Forwarder from '../../generated-artifacts/Forwarder.json'; +import * as OrderValidator from '../../generated-artifacts/OrderValidator.json'; + +export const artifacts = { + DutchAuction: DutchAuction as ContractArtifact, + Forwarder: Forwarder as ContractArtifact, + OrderValidator: OrderValidator as ContractArtifact, +}; diff --git a/contracts/extensions/src/index.ts b/contracts/extensions/src/index.ts new file mode 100644 index 000000000..d55f08ea2 --- /dev/null +++ b/contracts/extensions/src/index.ts @@ -0,0 +1,2 @@ +export * from './artifacts'; +export * from './wrappers'; diff --git a/contracts/extensions/src/wrappers/index.ts b/contracts/extensions/src/wrappers/index.ts new file mode 100644 index 000000000..30f74b56e --- /dev/null +++ b/contracts/extensions/src/wrappers/index.ts @@ -0,0 +1,3 @@ +export * from '../../generated-wrappers/dutch_auction'; +export * from '../../generated-wrappers/forwarder'; +export * from '../../generated-wrappers/order_validator'; |