API
function swap(
Param memory param,
Payment memory payment
) returns (uint256 amountIn, uint256 amountOut, uint256 price)
struct Param {
uint256 sideIn;
uint256 sideOut;
address helper;
bytes payload;
}
struct Payment {
address utr;
bytes payer;
address recipient;
}Sides
Helper
Payment
Direct Token Approval
ERC-6120
Last updated