Data Structures and Accounts
ChaosRequest
Account
ChaosRequest
AccountRequest ID: Unique identifier for each chaos request.
Requestor Pubkey: The user who initiated the request.
Tokens Escrowed: How many $GREMLINAI tokens were locked for this request.
Chaos Parameters: A hashed reference to the type of chaos requested (exploit scanning, network spamming, malicious input testing, etc.).
Status: Enum field that indicates Pending, In-Progress, Completed, or Failed.
Result Reference: Link to IPFS log for the final chaos test results.
Configuration Account
Base Fees: The standard cost in $GREMLINAI for different categories of chaos.
Upgrade Authority: The program’s upgrade or admin key.
Rate Limits: Maximum number of chaos requests per block or timespan.
Governance/Proposal Accounts
• Proposal ID
• Proposer Pubkey
• Voting Deadline
• Votes For/Against
• Execution Data (the instructions that will be executed if the proposal passes)
Last updated