License: MIT
interface IERC721Multiplier is IAbstractERC721Multiplierfunction changeToken(
uint256 tokenId,
uint256 multiplier,
uint64 duration
) externalThis function is used to change the basic rewards multiplier and the time for which the current nft will be locked
Parameters:
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
This function is used to get the current basic rewards multiplier and the time for which the current nft will be locked
Parameters:
whose
address
the address of the user to be checked
Return values:
multiplier
uint256
the basic rewards multiplier
timeLeft
uint256
seconds remaining before the current locked nft expires
function getCurrentMultiplier(
address whose
) external view returns (uint256 multiplier, uint256 timeLeft)