diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-11 09:55:01 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-11 09:55:01 +0800 |
commit | 8180225d1f824b3a1777317ad4f4a13ec6abb536 (patch) | |
tree | ea8e47e10df98d668a3ae0ab93b25c8bd6ca6ae6 /src | |
parent | 643a7e6b3a753e51e80f05eaaaab43167999c8f9 (diff) | |
download | dexon-sol-tools-8180225d1f824b3a1777317ad4f4a13ec6abb536.tar.gz dexon-sol-tools-8180225d1f824b3a1777317ad4f4a13ec6abb536.tar.zst dexon-sol-tools-8180225d1f824b3a1777317ad4f4a13ec6abb536.zip |
Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index a2674f344..ee5cd7287 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -208,16 +208,17 @@ export class ExchangeWrapper extends ContractWrapper { * Sequentially and atomically fills signedOrders up to the specified takerTokenFillAmount. * If the fill amount is reached - it succeeds and does not fill the rest of the orders. * If fill amount is not reached - it fills as much of the fill amount as possible and succeeds. - * @param signedOrders The array of signedOrders that you would like to fill until - * takerTokenFillAmount is reached. - * @param fillTakerTokenAmount The total amount of the takerTokens you would like to fill. - * @param shouldCheckTransfer Whether or not you wish for the contract call to throw if upon - * execution any of the tokens cannot be transferred. If set to false, - * the call will continue to fill subsequent signedOrders even when - * some cannot be filled. - * @param takerAddress The user Ethereum address who would like to fill these orders. - * Must be available via the supplied Web3.Provider passed to 0x.js. - * @return The amount of the orders that was filled (in taker token baseUnits). + * @param signedOrders The array of signedOrders that you would like to fill until + * takerTokenFillAmount is reached. + * @param fillTakerTokenAmount The total amount of the takerTokens you would like to fill. + * @param shouldThrowOnInsufficientBalanceOrAllowance Whether or not you wish for the contract call to throw if + * upon execution any of the tokens cannot be transferred. + * If set to false, the call will continue to fill subsequent + * signedOrders even when some cannot be filled. + * @param takerAddress The user Ethereum address who would like to fill these + * orders. Must be available via the supplied Web3.Provider + * passed to 0x.js. + * @return The amount of the orders that was filled (in taker token baseUnits). */ @decorators.contractCallErrorHandler public async fillOrdersUpToAsync(signedOrders: SignedOrder[], fillTakerTokenAmount: BigNumber.BigNumber, |