V3SwapRouter
Router for stateless execution of swaps against PancakeSwap V3
Solidity API
SwapCallbackData
struct SwapCallbackData {
bytes path;
address payer;
}pancakeV3SwapCallback
function pancakeV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes _data) externalName
Type
Description
exactInputSingle
function exactInputSingle(struct IV3SwapRouter.ExactInputSingleParams params) external payable returns (uint256 amountOut)Name
Type
Description
Name
Type
Description
exactInput
Name
Type
Description
Name
Type
Description
exactOutputSingle
Name
Type
Description
Name
Type
Description
exactOutput
Name
Type
Description
Name
Type
Description
Last updated