how to get fixed token to swap?
i'm using
router.swapExactTokensForTokensSupportingFeeOnTransferTokens( 1 ether, 0, path, address(this), block.timestamp+300 );

sending 1 ether get any amount, i want sending any ether to get exact 1000 token

Feb 22, 2023, 5:27 AM
swapETHForExactTokens
If you don’t send enough eth it will revert so make sure to check amounts in first
Feb 22, 2023, 6:06 AM

© 2024 Draquery.com All rights reserved.