This document describes the architecture and fail-safe mechanisms of the Reward Distributor Contract, which employs Gnosis Safe for the secure storage of tokens. The contract is engineered for secure and transparent reward distributions and incorporates multiple fail-safe measures to pause the program and notify users under particular conditions.
getClaimPayload
setBlacklist
setPauseClaimsState
getClaimPayload
FunctionSignature:
function getClaimPayload(uint256 tokenId, TxnPayload memory payload) public view returns (AttestClaim memory);
Description:
The getClaimPayload
function calculates the reward amount a user is eligible to withdraw based on their tokenId
and a given transaction payload (TxnPayload
).
Features:
view
function, enabling free calls without gas charges.Workflow:
AttestClaim
object.