aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 03:14:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 03:14:00 +0800
commit82cceb86059ef6b4eb67898ae1640a5b66bafda9 (patch)
tree890cbb89119485e4a9416a31413031057f86724e /src
parent83bc740911b522078481382bc1657e127994e8fa (diff)
downloaddexon-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.ts6
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',