diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 03:14:00 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 03:14:00 +0800 |
commit | 82cceb86059ef6b4eb67898ae1640a5b66bafda9 (patch) | |
tree | 890cbb89119485e4a9416a31413031057f86724e /src | |
parent | 83bc740911b522078481382bc1657e127994e8fa (diff) | |
download | dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.gz dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.bz2 dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.lz dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.xz dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.zst dexon-0x-contracts-82cceb86059ef6b4eb67898ae1640a5b66bafda9.zip |
Add type for a ProxyContract
Diffstat (limited to 'src')
-rw-r--r-- | src/types.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index cf2ddd48b..f37cb73f0 100644 --- a/src/types.ts +++ b/src/types.ts @@ -148,6 +148,12 @@ export interface EtherTokenContract extends ContractInstance { withdraw: (amount: BigNumber.BigNumber, txOpts: TxOpts) => Promise<void>; } +export interface ProxyContract extends ContractInstance { + authrized: { + call: (address: string) => Promise<boolean>; + }; +} + export const SolidityTypes = strEnum([ 'address', 'uint256', |