The rewardToken
function in the MiniByte
contract is a view function that returns the address of the reward token, which is an instance of the IERC20
contract. This function allows users to retrieve the address of the token used for rewards without modifying the state of the contract.
address
: Returns the address of the reward token, which is of type IERC20
.