Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2032 from 0xProject/feature/asset-swapper/update-…
Browse files Browse the repository at this point in the history
…comments-info

Update comments for asset-swapper
  • Loading branch information
David Sun authored Aug 2, 2019
2 parents 50f1a8f + 0f90b7b commit 78c704e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/asset-swapper/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 78c704e

Please sign in to comment.