IERC721Multiplier
Interface Description
License: MIT
Functions info
changeToken (0x4ccc2757)
This function is used to change the basic rewards multiplier and the time for which the current nft will be locked
Parameters:
Name | Type | Description |
---|---|---|
tokenId | uint256 | the id of the nft to be changed |
multiplier | uint256 | the basic rewards multiplier |
duration | uint64 | the time for which an nft can be locked |
getCurrentMultiplier (0x0aebf7d2)
This function is used to get the current basic rewards multiplier and the time for which the current nft will be locked
Parameters:
Name | Type | Description |
---|---|---|
whose | address | the address of the user to be checked |
Return values:
Name | Type | Description |
---|---|---|
multiplier | uint256 | the basic rewards multiplier |
timeLeft | uint256 | seconds remaining before the current locked nft expires |