setFeeTo

function setFeeTo(
    address _tokenA,
    address _tokenB, 
    address _newFeeTo
) external onlyFeeAdmin

Protocol Fee ๋ฐœ์ƒ ์‹œ Fee๋ฅผ ๋ฐ›์„ ๋Œ€์ƒ

โ€ป ์„ค์ • ์—†์„ ์‹œ ๋™์ž‘ ์•ˆํ•จ(Protocol fee)

Parameters

Example

// Protocol Fee ๋ฐ›์„ ๋Œ€์ƒ ์„ค์ •
await MantiswapFactoryContract.setFeeTo(
    mockToken0Contract.address,
    mockToken1Contract.address,
    accounts[0].address
)    

2022.12.22

Last updated