MiniByte
Source:Verified
Write Functions / setRewardToken
Overview

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.

Inputs
  • _rewardtoken (address): The address of the new reward token to be set.
Outputs
  • None: This function does not return any values.
Emits Zero Events
Functions will often emit events during execution, often signifying key changes in state. There are no events emited by this function
Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...