diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-04 22:40:25 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-04 23:07:59 +0800 |
commit | 9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a (patch) | |
tree | 4e484dfdb0aebc96ddb4cfd7154352144b92bd0a /contracts/libs/src | |
parent | 18489161c6871ad7e76967644f91cad2a9be1e85 (diff) | |
download | dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.tar dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.tar.gz dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.tar.bz2 dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.tar.lz dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.tar.xz dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.tar.zst dexon-sol-tools-9e01f4c9a30a0fd06c105222abfa1ab09e8fec3a.zip |
Refactor out libs into @0x/contracts-libs
Diffstat (limited to 'contracts/libs/src')
-rw-r--r-- | contracts/libs/src/artifacts/index.ts | 17 | ||||
-rw-r--r-- | contracts/libs/src/index.ts | 2 | ||||
-rw-r--r-- | contracts/libs/src/wrappers/index.ts | 6 |
3 files changed, 25 insertions, 0 deletions
diff --git a/contracts/libs/src/artifacts/index.ts b/contracts/libs/src/artifacts/index.ts new file mode 100644 index 000000000..3955bbe2b --- /dev/null +++ b/contracts/libs/src/artifacts/index.ts @@ -0,0 +1,17 @@ +import { ContractArtifact } from 'ethereum-types'; + +import * as LibAbiEncoder from '../../generated-artifacts/LibAbiEncoder.json'; +import * as LibEIP721 from '../../generated-artifacts/LibEIP712.json'; +import * as LibFillResults from '../../generated-artifacts/LibFillResults.json'; +import * as LibMath from '../../generated-artifacts/LibMath.json'; +import * as LibOrder from '../../generated-artifacts/LibOrder.json'; +import * as TestLibs from '../../generated-artifacts/TestLibs.json'; + +export const artifacts = { + TestLibs: TestLibs as ContractArtifact, + LibAbiEncoder: LibAbiEncoder as ContractArtifact, + LibFillResults: LibFillResults as ContractArtifact, + LibMath: LibMath as ContractArtifact, + LibOrder: LibOrder as ContractArtifact, + LibEIP721: LibEIP721 as ContractArtifact, +}; diff --git a/contracts/libs/src/index.ts b/contracts/libs/src/index.ts new file mode 100644 index 000000000..d55f08ea2 --- /dev/null +++ b/contracts/libs/src/index.ts @@ -0,0 +1,2 @@ +export * from './artifacts'; +export * from './wrappers'; diff --git a/contracts/libs/src/wrappers/index.ts b/contracts/libs/src/wrappers/index.ts new file mode 100644 index 000000000..baaae6e34 --- /dev/null +++ b/contracts/libs/src/wrappers/index.ts @@ -0,0 +1,6 @@ +export * from '../../generated-wrappers/test_libs'; +export * from '../../generated-wrappers/lib_abi_encoder'; +export * from '../../generated-wrappers/lib_fill_results'; +export * from '../../generated-wrappers/lib_math'; +export * from '../../generated-wrappers/lib_order'; +export * from '../../generated-wrappers/lib_e_i_p712'; |