MantiswapSwapRouter

Contract info

Contract name: MantiswapRouter

View the MantiswapSwapRouter contract on:

Source https://github.com/imantisco/mantiswap/blob/master/contracts/MantiswapSwapRouter.sol

ABI https://github.com/imantisco/mantiswap/blob/master/abi/MantiswapSwapRouter.json

How to Slippage 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)

2022.08.16

Last updated