setManage

function setManage(
    address _pointContract, 
    address _manageContract
) external onlyAdmin

Routerμ—μ„œ μ‚¬μš©ν•˜κΈ° μœ„ν•΄μ„œ, ERC721, ERC20 토큰과 Manage 토큰을 λ§€ν•‘ν•΄μ£ΌλŠ” ν•¨μˆ˜

Parameters

TypeValueDescription

address

_pointContract

ERC721, ERC20 μ»¨νŠΈλž™νŠΈ μ£Όμ†Œ

address

_manageContract

pointContract에 λ§žλŠ” manageContract μ£Όμ†Œ

Example

await ManageFactoryContract.setManage(
    fairyNftContract.address, 
    manageFairyNftContract.address
);

2023.02.06

Last updated