Skip to content

Commit

Permalink
Add clarification to ILiquidityProvider.getSellQuote natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
moodlezoup committed Oct 28, 2020
1 parent 4e01882 commit 8849fc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contracts/zero-ex/contracts/src/vendor/ILiquidityProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ interface ILiquidityProvider {

/// @dev Quotes the amount of `makerToken` that would be obtained by
/// selling `sellAmount` of `takerToken`.
/// @param takerToken Address of the taker token (what to sell).
/// @param makerToken Address of the maker token (what to buy).
/// @param takerToken Address of the taker token (what to sell). Use
/// the wETH address if selling ETH.
/// @param makerToken Address of the maker token (what to buy). Use
/// the wETH address if buying ETH.
/// @param sellAmount Amount of `takerToken` to sell.
/// @return makerTokenAmount Amount of `makerToken` that would be obtained.
function getSellQuote(
Expand Down

0 comments on commit 8849fc3

Please sign in to comment.