diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-03-16 05:08:12 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | bf3c4f47432228a53cf2309688be5efc348026c3 (patch) | |
tree | def62db0139bff8501b886eb54a17aafaa4f732f /packages/contracts/src | |
parent | aeb0742434471c0a4cb28bebf569b0d4af6b4485 (diff) | |
download | dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.tar dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.tar.gz dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.tar.bz2 dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.tar.lz dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.tar.xz dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.tar.zst dexon-sol-tools-bf3c4f47432228a53cf2309688be5efc348026c3.zip |
Fixed spacing
Diffstat (limited to 'packages/contracts/src')
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/IExchange.sol b/packages/contracts/src/contracts/current/protocol/Exchange/IExchange.sol index 3a43fca9b..9e285e8bb 100644 --- a/packages/contracts/src/contracts/current/protocol/Exchange/IExchange.sol +++ b/packages/contracts/src/contracts/current/protocol/Exchange/IExchange.sol @@ -164,7 +164,8 @@ contract IExchange { /// @dev Cancels all orders for a specified maker up to a certain time. /// @param salt Orders created with a lower salt value will be cancelled - function cancelOrdersBefore(uint256 salt) external; + function cancelOrdersBefore(uint256 salt) + external; /// @dev Fills an order with specified parameters and ECDSA signature. Throws if specified amount not filled entirely. /// @param orderAddresses Array of order's maker, taker, makerToken, takerToken, and feeRecipient. diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/mixins/MExchangeCore.sol b/packages/contracts/src/contracts/current/protocol/Exchange/mixins/MExchangeCore.sol index b39996995..77300c0f8 100644 --- a/packages/contracts/src/contracts/current/protocol/Exchange/mixins/MExchangeCore.sol +++ b/packages/contracts/src/contracts/current/protocol/Exchange/mixins/MExchangeCore.sol @@ -36,7 +36,6 @@ contract MExchangeCore is LibOrder { public returns (uint256 takerTokenCancelledAmount); - function cancelOrdersBefore( - uint256 salt) + function cancelOrdersBefore(uint256 salt) external; } diff --git a/packages/contracts/src/utils/exchange_wrapper.ts b/packages/contracts/src/utils/exchange_wrapper.ts index d4206adc3..705f9cd0e 100644 --- a/packages/contracts/src/utils/exchange_wrapper.ts +++ b/packages/contracts/src/utils/exchange_wrapper.ts @@ -168,8 +168,8 @@ export class ExchangeWrapper { return tx; } public async cancelOrdersBeforeAsync( - timestamp: BigNumber, - from: string, + timestamp: BigNumber, + from: string, ): Promise<TransactionReceiptWithDecodedLogs> { const txHash = await this._exchange.cancelOrdersBefore.sendTransactionAsync( timestamp, |