diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-01 01:25:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 01:25:03 +0800 |
commit | 1c765cd55f227d99941f5944ff60022884890fe1 (patch) | |
tree | 246ed68ffad1036b5545e35f3123de3ec98801a4 /src/types.ts | |
parent | 11b6b36ccaac04f39b425345daa61396a62ab0fc (diff) | |
parent | 4d43f4d6108575b889aca8e8c969574c121ce0c9 (diff) | |
download | dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.tar dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.tar.gz dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.tar.bz2 dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.tar.lz dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.tar.xz dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.tar.zst dexon-sol-tools-1c765cd55f227d99941f5944ff60022884890fe1.zip |
Merge pull request #28 from 0xProject/erc20transfer
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 3619c800f..5b514bdc4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -38,6 +38,7 @@ export interface TokenContract { allowance: { call: (ownerAddress: string, allowedAddress: string) => Promise<BigNumber.BigNumber>; }; + transfer: (to: string, amountInBaseUnits: BigNumber.BigNumber, txOpts: TxOpts) => Promise<boolean>; approve: (proxyAddress: string, amountInBaseUnits: BigNumber.BigNumber, txOpts: TxOpts) => void; } |