Merge pull request #134 from Instadapp/1inch-update-docs

added in the comments of 1inch docs
This commit is contained in:
Thrilok kumar 2021-12-13 23:11:59 +05:30 committed by GitHub
commit 29adca0cf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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