tradeByTargetAmount()
Trade target tokens for the least amount of source tokens possible
Function tradeByTargetAmount()
function tradeByTargetAmount(
Token sourceToken,
Token targetToken,
uint256 targetAmount,
uint256 maxSourceAmount,
uint256 deadline,
address beneficiary
) external payable Function Arguments
Name
Type
Description
Last updated
