aboutsummaryrefslogtreecommitdiffstats
path: root/packages/types/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-11-21 07:06:46 +0800
committerFabio Berger <me@fabioberger.com>2018-11-21 07:06:46 +0800
commit4b64d8c3aad3e1fa3d807941e70f2901941c2501 (patch)
treef19a1c0c08f9a7023f690e7b44b7f50d297a7923 /packages/types/src
parent48aec9ef472cd161434cf58c58e63227beb565c4 (diff)
downloaddexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar
dexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.gz
dexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.bz2
dexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.lz
dexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.xz
dexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.tar.zst
dexon-0x-contracts-4b64d8c3aad3e1fa3d807941e70f2901941c2501.zip
Allow a `SimpleContractArtifact` to be passed into `deployFrom0xArtifactAsync`
Diffstat (limited to 'packages/types/src')
-rw-r--r--packages/types/src/index.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index 3c9b6bbc5..fd40f361a 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -1,7 +1,7 @@
// tslint:disable:max-file-line-count
import { BigNumber } from 'bignumber.js';
-import { ContractAbi } from 'ethereum-types';
+import { ContractAbi, ContractNetworks, StandardContractOutput } from 'ethereum-types';
// HACK: Rather then extending from OrderWithoutExchangeAddress
// we don't, because our docs don't expand inherited types, and it's unnecessarily
@@ -626,3 +626,10 @@ export interface EIP712TypedData {
export interface Stats {
orderCount: number;
}
+
+export interface SimpleContractArtifact {
+ schemaVersion: string;
+ contractName: string;
+ compilerOutput: StandardContractOutput;
+ networks: ContractNetworks;
+}