MiniByte
Source:Verified
Write Functions / setRewardGhRate
Overview

The setRewardGhRate function in the MiniByte contract allows the contract owner to set the reward rate per GH (gigahash) per day. It verifies that the caller is the owner of the contract before updating the REWARD_PER_GH_PER_DAY variable with the provided rate.

Inputs
  • _rewardhhrate (uint256): The new reward rate per gigahash per day that the owner wants to 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...