aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-23 06:50:24 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-08 07:50:48 +0800
commita00e416a19a5aa7a6d1a615c4886f9d30339c8f6 (patch)
tree6a4cef3338fca764ab3bcf6fabee6a1e2c0bb284 /packages/contract-wrappers
parent77a2ca1ddc9a7dd444822ca3cb38b3679dbd4085 (diff)
downloaddexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.tar
dexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.tar.gz
dexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.tar.bz2
dexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.tar.lz
dexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.tar.xz
dexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.tar.zst
dexon-sol-tools-a00e416a19a5aa7a6d1a615c4886f9d30339c8f6.zip
ran prettier
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r--packages/contract-wrappers/test/dutch_auction_wrapper_test.ts4
-rw-r--r--packages/contract-wrappers/test/utils/dutch_auction_utils.ts4
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/contract-wrappers/test/dutch_auction_wrapper_test.ts b/packages/contract-wrappers/test/dutch_auction_wrapper_test.ts
index fb4eb10b4..d7a6ca015 100644
--- a/packages/contract-wrappers/test/dutch_auction_wrapper_test.ts
+++ b/packages/contract-wrappers/test/dutch_auction_wrapper_test.ts
@@ -117,7 +117,9 @@ describe('DutchAuctionWrapper', () => {
expect(auctionDetails.beginTimeSeconds, 'auctionDetails.beginTimeSeconds').to.be.bignumber.equal(
auctionBeginTimeSeconds,
);
- expect(auctionDetails.beginAmount, 'auctionDetails.beginAmount').to.be.bignumber.equal(auctionBeginTakerAmount);
+ expect(auctionDetails.beginAmount, 'auctionDetails.beginAmount').to.be.bignumber.equal(
+ auctionBeginTakerAmount,
+ );
expect(auctionDetails.endTimeSeconds, 'auctionDetails.endTimeSeconds').to.be.bignumber.equal(
auctionEndTimeSeconds,
);
diff --git a/packages/contract-wrappers/test/utils/dutch_auction_utils.ts b/packages/contract-wrappers/test/utils/dutch_auction_utils.ts
index 380d0588c..8e2aef217 100644
--- a/packages/contract-wrappers/test/utils/dutch_auction_utils.ts
+++ b/packages/contract-wrappers/test/utils/dutch_auction_utils.ts
@@ -38,7 +38,7 @@ export class DutchAuctionUtils {
feeRecipientAddress?: string,
): Promise<SignedOrder> {
// Notes on sell order:
- // - The `takerAssetAmount` is set to the `auctionEndTakerAssetAmount`, which is the lowest amount the
+ // - The `takerAssetAmount` is set to the `auctionEndTakerAssetAmount`, which is the lowest amount the
// the seller can expect to receive
// - The `makerAssetData` is overloaded to include the auction begin time and begin taker asset amount
const makerAssetDataWithAuctionDetails = DutchAuctionWrapper.encodeDutchAuctionAssetData(
@@ -78,7 +78,7 @@ export class DutchAuctionUtils {
): Promise<SignedOrder> {
const dutchAuctionData = DutchAuctionWrapper.decodeDutchAuctionData(sellOrder.makerAssetData);
// Notes on buy order:
- // - The `makerAssetAmount` is set to `dutchAuctionData.beginAmount`, which is
+ // - The `makerAssetAmount` is set to `dutchAuctionData.beginAmount`, which is
// the highest amount the buyer would have to pay out at any point during the auction.
// - The `takerAssetAmount` is set to the seller's `makerAssetAmount`, as the buyer
// receives the entire amount being sold by the seller.