diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-08 02:28:45 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-08 02:28:45 +0800 |
commit | af217e316a76eef0365123722ba999907a6fcdcb (patch) | |
tree | 8192b41455610deccecf92c286b523f2942d3575 /src/types.ts | |
parent | b5435b6ab8c91ddc48c16235c956a38ef5c906d0 (diff) | |
download | dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.tar dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.tar.gz dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.tar.bz2 dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.tar.lz dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.tar.xz dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.tar.zst dexon-0x-contracts-af217e316a76eef0365123722ba999907a6fcdcb.zip |
Move Aftifact type definition to 'types'
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 7e370e3f1..c1ba0a5cc 100644 --- a/src/types.ts +++ b/src/types.ts @@ -412,3 +412,10 @@ export interface LogWithDecodedArgs extends Web3.LogEntry, DecodedArgs {} export interface TransactionReceiptWithDecodedLogs extends Web3.TransactionReceipt { logs: Array<LogWithDecodedArgs|Web3.LogEntry>; } + +export interface Artifact { + abi: any; + networks: {[networkId: number]: { + address: string; + }}; +} |