Elastic Periphery Core Contracts
Router
Struct: ExactInputSingleParams
ExactInputSingleParams
address tokenIn; // source token to swap
address tokenOut; // dest token to receive
uint16 fee; // fee of the pool to swap
address recipient; // the recipient of tokenOut
uint256 deadline; // deadline for the transaction
uint256 amountIn; // the amount of tokenIn to swap
uint256 minAmountOut;// min acceptable amount of tokenOut
uint160 limitSqrtP; // the limit of sqrt price, partial swap if price reaches the limitationStruct: ExactInputParams
ExactInputParams
bytes path; // contains data to identify list of pools to use for the swap
address recipient; // the recipient of token out
uint256 deadline; // deadline for the transaction
uint256 amountIn; // the amount of token in to swap
uint256 minAmountOut; // the min acceptable amount of token outStruct: ExactOutputSingleParams
Struct: ExactOutputParams
swapCallback()
swapExactInputSingle()
swapExactInput()
swapExactOutputSingle()
swapExactOutput()
BasePositionManager
Struct: MintParams
Struct: IncreaseLiquidityParams
Struct: RemoveLiquidityParams
Struct: BurnRTokenParams
createAndUnlockPoolIfNecessary()
mint()
addLiquidity()
removeLiquidity()
burnRTokens()
Functions: tokenURI(), getApproved(), _approve(), _getAndIncrementNonce()
AntiSnipAttackPositionManager
Last updated
Was this helpful?