doRemoveToken

pFandom -> Celeb (On Game Mode) 으둜 λ³€ν™˜ν•˜λŠ” 역할을 함. [Only Relay Admin]

function doRemoveToken(
    AddAndRemoveTokenRequest[] memory _request,
) external onlyRelayAdmin

Parameters

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

Example

await manageTokenRouterContract.doRemoveToken(
        [{tokenContract:tokenContract.address,
        messageId:"1234", 
        ownerUid:uid1, 
        amount:ethers.utils.parseEther("100"),
        txFee:ethers.utils.parseEther("100")}]
);

2023.02.10

Last updated