canRemoveToken

Updated : 2024.05.23

pERDL -> CURIO ź°€ėŠ„ģ—¬ė¶€ ķ™•ģø źø°ėŠ„

function canRemoveToken(
    address _tokenContract, 
    string memory _ownerUid, 
    uint256 _amount, 
) external view returns(bool)

Parameters

TypeValueDescription

address

_tokenContract

ķ† ķ° ģ»ØķŠøėž™ķŠø ģ£¼ģ†Œ

string

_ownerUid

ģ‚¬ģš©ģž uid

uint256

_amount

ķ† ķ° ģˆ˜ėŸ‰(+txFee)

Return Values

TypeValueDescription

bool

ź°€ėŠ„ True ė¶ˆź°€ėŠ„ False

Example

await ManageTokenRouterContract.canRemoveToken(
    tokenContract.address,
    uid,
    ethers.utils.parseEther("1"),
);

2023.02.06

Last updated