The users
function in the MiniByte
contract is a view function that retrieves information about a specific user based on their Ethereum address. It returns various details including registration status, referral code, inviter address, claimed rewards, total power, and referral count.
address
: The Ethereum address of the user whose information is being queried.registered
(bool
): Indicates whether the user is registered.referralCode
(string
): The referral code associated with the user.inviter
(address
): The address of the user who invited this user.claimedReward
(uint256
): The total rewards claimed by the user.totalPower
(uint256
): The total power associated with the user.refcount
(uint256
): The count of referrals made by the user.