diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-31 17:16:57 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-31 17:16:57 +0800 |
commit | 9409e0aba1d1fa62a60c25149ae1b7115de9e2c9 (patch) | |
tree | 14ecfaf55a330774c81c1eb21d31b2839797d8c0 /src/types.ts | |
parent | 5e6818d3eff89347e704edde4bfee72066caedb1 (diff) | |
download | dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.tar dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.tar.gz dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.tar.bz2 dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.tar.lz dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.tar.xz dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.tar.zst dexon-0x-contracts-9409e0aba1d1fa62a60c25149ae1b7115de9e2c9.zip |
Add transfer function and tests for it
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index bf0a1d8b4..418cf9802 100644 --- a/src/types.ts +++ b/src/types.ts @@ -42,6 +42,7 @@ export interface TokenContract { allowance: { call: (ownerAddress: string, allowedAddress: string) => Promise<BigNumber.BigNumber>; }; + transfer: (to: string, amountInBaseUnits: BigNumber.BigNumber, opts: any) => Promise<boolean>; approve: (proxyAddress: string, amountInBaseUnits: BigNumber.BigNumber, opts: any) => void; } |