aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/types.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/types.ts b/src/types.ts
index caef50993..3619c800f 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -38,7 +38,7 @@ export interface TokenContract {
allowance: {
call: (ownerAddress: string, allowedAddress: string) => Promise<BigNumber.BigNumber>;
};
- approve: (proxyAddress: string, amountInBaseUnits: BigNumber.BigNumber, opts: any) => void;
+ approve: (proxyAddress: string, amountInBaseUnits: BigNumber.BigNumber, txOpts: TxOpts) => void;
}
export interface TokenRegistryContract {
@@ -66,3 +66,8 @@ export interface Token {
decimals: number;
url: string;
};
+
+export interface TxOpts {
+ from: string;
+ gas?: number;
+};