xWin Swap V3
xWinSwapV3
SwapMethod
enum SwapMethod {
UNISWAPV2,
UNISWAPV3,
UNISWAPV3Multihop
}SwapInfo
struct SwapInfo {
address router;
address[] path;
bytes multihopPath;
uint24 slippage;
uint24 poolFee;
enum xWinSwapV3.SwapMethod swapMethod;
}Received
event Received(address, uint256)receive
onlyExecutor
swapData
executors
priceMaster
initialize
swapTokenToToken
Name
Type
Description
swapTokenToToken
Name
Type
Description
internalSwap
_swapV2
_swapV3
_swapV3Multihop
getSwapData
Name
Type
Description
Name
Type
Description
addTokenPath
_xWinStratSwap
adminMoveToken
setPriceMaster
setExecutor
depositToStrategy
withdrawFromStrategy
Last updated