setPair

function setPair(
    address _pairContract,
    address _tokenA,
    address _tokenB
) external onlyAdmin

Pair Contract ๋“ฑ๋ก

โ€ป ์ค‘๋ณต ํŽ˜์–ด ํ† ํฐ ์ปจํŠธ๋ž™ํŠธ ์‹œ ๋ฎ์–ด์”€

Parameters

Example

// ํŽ˜์–ด ์ปจํŠธ๋ž™ํŠธ ๋“ฑ๋ก
await MantiswapFactoryContract.setPair(
    pairContract.address,
    mockToken0Contract.address, 
    mockToken1Contract.address
)   

2022.12.22

Last updated