doOffGameToken

Celeb -> pFandom 으둜 λ³€κ²½ν•˜λŠ” 역할을 함 [Only Relay Admin]

function doOffGameToken(
    OffGameTokenRequest[] memory _request,
) external onlyRelayAdmin

Token Off mode

Parameters

struct OffGameTokenRequest{
    address tokenContract;
    string messageId;
    uint256 amount;
    address owner;
    string ownerUid;
    uint256 txFee;
}

Example

await manageTokenRouterContract.doOffGameToken(
            [{tokenContract:tokenContract.address,
            messageId:"1234", 
            amount:ethers.utils.parseEther("100"), 
            owner:accounts[0].address, 
            ownerUid:uid1, 
            txFee:ethers.utils.parseEther("10")}]
)

2023.02.10

Last updated