Solidity API
Structs
SwapPath
struct SwapPath {
address protocol;
address tokenIn;
address tokenOut;
}
SwapData
struct SwapData {
uint256 inAmt;
uint256 outAmt;
bool withAbsorb;
uint256 ratio;
}
Swap
struct Swap {
struct Structs.SwapPath path;
struct Structs.SwapData data;
}