xWin Swap V3 Pancake
xWinSwapV3Pancake
SwapMethod
enum SwapMethod {
UNISWAPV2,
UNISWAPV3,
UNISWAPV3Multihop
}SwapInfo
struct SwapInfo {
address router;
address[] path;
bytes multihopPath;
uint24 slippage;
uint24 poolFee;
enum xWinSwapV3Pancake.SwapMethod swapMethod;
}Received
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