diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-05 22:22:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-05 22:22:56 +0800 |
commit | bac6833436960d2a7eb50d89e94fed226a16008b (patch) | |
tree | 69556bb591ecd1fc5ebcd3e2da8c688d5cbaccd0 /src/types.ts | |
parent | eb5c9ae70886cb1a14ae154f363f052a76b24479 (diff) | |
download | dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.tar dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.tar.gz dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.tar.bz2 dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.tar.lz dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.tar.xz dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.tar.zst dexon-0x-contracts-bac6833436960d2a7eb50d89e94fed226a16008b.zip |
Make methods accept senderAccount
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types.ts b/src/types.ts index 68194f548..a02bd0252 100644 --- a/src/types.ts +++ b/src/types.ts @@ -47,7 +47,7 @@ export type CreateContractEvent = (indexFilterValues: IndexFilterValues, export interface ExchangeContract { isValidSignature: { call: (signerAddressHex: string, dataHex: string, v: number, r: string, s: string, - txOpts: TxOpts) => Promise<boolean>; + txOpts?: TxOpts) => Promise<boolean>; }; LogFill: CreateContractEvent; LogCancel: CreateContractEvent; @@ -60,7 +60,7 @@ export interface ExchangeContract { }; isRoundingError: { call: (takerTokenAmount: BigNumber.BigNumber, fillTakerAmount: BigNumber.BigNumber, - makerTokenAmount: BigNumber.BigNumber, txOpts: TxOpts) => Promise<boolean>; + makerTokenAmount: BigNumber.BigNumber, txOpts?: TxOpts) => Promise<boolean>; }; fill: { (orderAddresses: OrderAddresses, orderValues: OrderValues, fillAmount: BigNumber.BigNumber, |