aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/utils/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-04 21:41:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-12-04 21:41:18 +0800
commite8d0aff333c33ead5da0878fa776aa0f42abd567 (patch)
tree28dc73fd2e3b524cb2a32465d88ad30cfb6799d4 /contracts/utils/src
parent79f5e36edbd8a4483aac46032092dece95bb0b4c (diff)
downloaddexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar
dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.gz
dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.bz2
dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.lz
dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.xz
dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.zst
dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.zip
Refactor @0x/contracts-utils from @0x/contracts-core
Diffstat (limited to 'contracts/utils/src')
-rw-r--r--contracts/utils/src/artifacts/index.ts19
-rw-r--r--contracts/utils/src/index.ts2
-rw-r--r--contracts/utils/src/wrappers/index.ts2
3 files changed, 23 insertions, 0 deletions
diff --git a/contracts/utils/src/artifacts/index.ts b/contracts/utils/src/artifacts/index.ts
new file mode 100644
index 000000000..a5c2b215c
--- /dev/null
+++ b/contracts/utils/src/artifacts/index.ts
@@ -0,0 +1,19 @@
+import { ContractArtifact } from 'ethereum-types';
+
+import * as IOwnable from '../../generated-artifacts/IOwnable.json';
+import * as LibBytes from '../../generated-artifacts/LibBytes.json';
+import * as Ownable from '../../generated-artifacts/Ownable.json';
+import * as ReentrancyGuard from '../../generated-artifacts/ReentrancyGuard.json';
+import * as SafeMath from '../../generated-artifacts/SafeMath.json';
+import * as TestConstants from '../../generated-artifacts/TestConstants.json';
+import * as TestLibBytes from '../../generated-artifacts/TestLibBytes.json';
+
+export const artifacts = {
+ TestConstants: TestConstants as ContractArtifact,
+ TestLibBytes: TestLibBytes as ContractArtifact,
+ IOwnable: IOwnable as ContractArtifact,
+ LibBytes: LibBytes as ContractArtifact,
+ Ownable: Ownable as ContractArtifact,
+ SafeMath: SafeMath as ContractArtifact,
+ ReentrancyGuard: ReentrancyGuard as ContractArtifact,
+};
diff --git a/contracts/utils/src/index.ts b/contracts/utils/src/index.ts
new file mode 100644
index 000000000..d55f08ea2
--- /dev/null
+++ b/contracts/utils/src/index.ts
@@ -0,0 +1,2 @@
+export * from './artifacts';
+export * from './wrappers';
diff --git a/contracts/utils/src/wrappers/index.ts b/contracts/utils/src/wrappers/index.ts
new file mode 100644
index 000000000..823b7fa4b
--- /dev/null
+++ b/contracts/utils/src/wrappers/index.ts
@@ -0,0 +1,2 @@
+export * from '../../generated-wrappers/test_constants';
+export * from '../../generated-wrappers/test_lib_bytes';