The setRewardToken
function in the MiniByte
contract allows the contract owner to set a new reward token by providing its address. It verifies that the caller is the owner of the contract before updating the rewardToken
variable to the new token's address.
_rewardtoken
(address
): The address of the new reward token to be set.