Merge pull request #168 from Instadapp/docs-update-uniswapv3-autorouter

added the hyperlink for calldata in the comments for uniswapv3-auto-router
This commit is contained in:
Thrilok kumar 2022-02-04 23:48:40 +05:30 committed by GitHub
commit 64d52604ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(