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-sol-tools-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar dexon-sol-tools-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.gz dexon-sol-tools-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.bz2 dexon-sol-tools-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.lz dexon-sol-tools-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.xz dexon-sol-tools-82cceb86059ef6b4eb67898ae1640a5b66bafda9.tar.zst dexon-sol-tools-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', |