added the hyperlink for calldata in the comments for uniswapv3-auto-router

This commit is contained in:
Croooook 2022-02-04 23:42:25 +05:30
parent e9a0bb3fc2
commit 5ae2797964

View File

@ -21,7 +21,8 @@ abstract contract AutoRouter is Helpers, Events {
* @param sellAddr The address of the token to sell.(For Matic: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param sellAddr The address of the token to sell.(For Matic: 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 Uniswap V3 auto router SDK. * @param callData Data from Uniswap V3 auto router SDK. You can generate calldata and unitAmt using uniswap-v3-autorouter or using this <a href="https://docs.instadapp.io/faq/connectors/calldata-param" target="_blank">API </a>
* @param setId ID stores the amount of token brought. * @param setId ID stores the amount of token brought.
*/ */
function sell( function sell(