The claimRewards
function in the Clanker
contract allows users to claim rewards associated with a specific token. It retrieves deployment information for the given token and calls the collectRewards
function from the ILpLockerv2
interface to process the reward collection.
token
(address
): The address of the token for which rewards are being claimed.