The referralTimestamps
function in the MiniByte
contract is a view function that retrieves a timestamp associated with a specific address and a given index. It allows users to access referral-related data without modifying the state of the contract.
address
(address
): The address for which the referral timestamp is being queried.index
(uint256
): The index corresponding to the specific referral timestamp.uint256
): The function returns a timestamp associated with the provided address and index.