Structs

  • User-specific PDA. Tracks information about their pending deposits.
  • NOTES:
  • There may only be one pending deposit (across all rounds) at any point in time
  • However, pending deposits will accumulate if made in same round.
  • Pending deposits from previous rounds may be claimed with the instruction “claim_pending”
  • User-specific PDA. Tracks information about their pending withdrawals.
  • NOTES:
  • There may only be one pending withdrawal (across all rounds) at any point in time
  • However, pending withdrawals will accumulate if made in same round.
  • Pending withdrawals from previous rounds may be claimed with the instruction “claim_pending_withdrawal”
  • Epoch-specific PDA. Stores all information specific to that epoch.
  • New rounds are initialized in start_round.
  • Modified in deposit, withdraw, claim_pending, claim_pending_withdrawal