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