MantiswapPairRouter

Contract info

Contract name: MantiswapRouter

View the MantiswapPairRouter contract on:

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

ABI https://github.com/imantisco/mantiswap/blob/master/abi/MantiswapPairRouter.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

MantiswapPairRouter: E01

ํŠธ๋žœ์žญ์…˜ ์‹œ๊ฐ„ ์ดˆ๊ณผ

MantiswapPairRouter: E02

ํ† ํฐ ์ฃผ์†Œ๊ฐ€ 0์ธ ๊ฒฝ์šฐ

MantiswapPairRouter: E03

๋ถˆ์ถฉ๋ถ„ํ•œ ํ† ํฐA

MantiswapPairRouter: E04

๋ถˆ์ถฉ๋ถ„ํ•œ ํ† ํฐB

MantiswapPairRouter: E05

ํ† ํฐ ๊ฐœ์ˆ˜ 0

MantiswapPairRouter: E06

์š”์ฒญ๋œ ํ† ํฐ ๊ฐœ์ˆ˜๊ฐ€ ์œ ๋™์„ฑ ์ดˆ๊ณผ

MantiswapPairRouter: E07

์œ ๋™์„ฑ 0

MantiswapPairRouter: E08

๋ฆฌ์›Œ๋“œ ํ† ํฐ ๊ฐœ์ˆ˜ 0

MantiswapPairRouter: E09

์ „์ฒด ์œ ๋™์„ฑ 0

2022.08.16

Last updated