updated the 1inch comments for docs

This commit is contained in:
croooook 2021-12-13 23:52:20 +05:30
parent f524062c39
commit 51710a3cf7

View File

@ -96,7 +96,7 @@ abstract contract OneInch is OneInchResolverHelpers {
* @param sellAddr The address of the token to sell.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param sellAddr The address of the token to sell.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
* @param sellAmt The amount of the token to sell. * @param sellAmt The amount of the token to sell.
* @param unitAmt The amount of buyAmt/sellAmt with slippage. * @param unitAmt The amount of buyAmt/sellAmt with slippage.
* @param callData Data from 1inch API. You can generate calldata for calling 1inch route for exchange- <a href="https://api.1inch.exchange/swagger/ethereum/#/Swap/SwapFactoryCommonController_getSwap">here </a> * @param callData Data from 1inch API. You can generate calldata for calling 1inch route for exchange- <a href="https://api.1inch.exchange/swagger/ethereum/#/Swap/SwapFactoryCommonController_getSwap" target="_blank">here </a>
* @param setId ID stores the amount of token brought. * @param setId ID stores the amount of token brought.
*/ */
function sell( function sell(