MiniByte
Source:Verified
Write Functions / register
Overview

The register function in the MiniByte contract allows users to register with a referral code, provided they meet certain conditions. It checks if the user is already registered, validates the referral code, and ensures that the inviter has not exceeded the referral limit within a 24-hour period. Upon successful registration, it updates user data and emits a Registered event.

Inputs
  • refCode (string): The referral code provided by the user for registration.
Outputs
  • None: This function does not return any values.
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...