From 0f90b7b5da5290c71ccf49442f9043a544140ecb Mon Sep 17 00:00:00 2001 From: David Sun Date: Fri, 2 Aug 2019 13:32:45 -0700 Subject: [PATCH] Update comments for asset-swapper --- packages/asset-swapper/src/types.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/asset-swapper/src/types.ts b/packages/asset-swapper/src/types.ts index 7bef671e2c..29e13b8dd7 100644 --- a/packages/asset-swapper/src/types.ts +++ b/packages/asset-swapper/src/types.ts @@ -256,9 +256,10 @@ export interface MarketBuySwapQuoteWithAffiliateFee extends SwapQuoteWithAffilia export type SwapQuoteWithAffiliateFee = MarketBuySwapQuoteWithAffiliateFee | MarketSellSwapQuoteWithAffiliateFee; /** - * assetEthAmount: The amount of eth required to pay for the requested asset. - * feeEthAmount: The amount of eth required to pay any fee concerned with completing the swap. - * totalEthAmount: The total amount of eth required to complete the buy (filling orders, feeOrders, and paying affiliate fee). + * feeTakerTokenAmount: The amount of takerToken required any fee concerned with completing the swap. + * takerTokenAmount: The amount of takerToken required to conduct the swap. + * totalTakerTokenAmount: The total amount of takerToken required to complete the swap (filling orders, feeOrders, and paying affiliate fee) + * makerTokenAmount: The amount of makerToken that will be acquired through the swap. */ export interface SwapQuoteInfo { feeTakerTokenAmount: BigNumber;