ClingswapPairSwapRouter

Contract info

Contract name: ClingswapPairSwapRouter

View the MantiswapSwapRouter contract on:

Source https://github.com/imantisco/cling-swap-sc-v2/blob/main/contracts/ClingswapPairSwapRouter.sol

Max Slippage:

let slippagePercentage = 0.5;
const slippageMax = 1 + slippagePercentage / 100;

let max = amountsIn[0]*slippageMax;

Min Slippage:

let slippagePercentage = 0.5;
const slippageMin = 1 - slippagePercentage / 100;

let min = amountsOuts[1]*slippageMin;

Error Values

Error StringDescription

MantiswapSwapRouter: E01

νŠΈλžœμž­μ…˜ μ‹œκ°„ 초과

MantiswapSwapRouter: E02

가격 영ν–₯도 초과

MantiswapSwapRouter: E03

λΆˆμΆ©λΆ„ν•œ κ΅ν™˜ 될 토큰 개수

MantiswapSwapRouter: E04

초과된 κ΅ν™˜ 토큰 개수

MantiswapSwapRouter: E05

μœ νš¨ν•˜μ§€ μ•Šμ€ μ£Όμ†Œ(WETH)

2024.05.10

Last updated