setProtocolFee

function setProtocolFee(
    address _tokenA, 
    address _tokenB, 
    uint8 _newFee 
) external onlyFeeAdmin

μœ λ™μ„±ν’€(Liquidity Pool) ν•΄μ œ μ‹œ ν”„λ‘œν† μ½œ Fee λ°œμƒ Protocol Fee 에 λŒ€ν•œ μ„€μ •(1만 자리, μ†Œμˆ˜μ  2μžλ¦¬κΉŒμ§€, 일반적으둜 0.05%)

Parameters

Example

// Protocol Fee μ„€μ •
await MantiswapFactoryContract.setProtocolFee(
    mockToken0Contract.address, 
    mockToken1Contract.address, 
    5
);

// 0.05% 의 수수료

2022.12.22

Last updated