Skip to main contentCrate dojos_api
Source pub use utils::*;
- consts
- PDA seeds and constants.
- error
- Program errors.
- event
- Program events.
- instruction
- Instruction enum and data structs.
- prelude
- sdk
- Instruction builders for client SDK. Builds
Instruction with correct accounts and data. - state
- tasks
- Task definitions and claim logic. Single source of truth for tiers and rewards.
- utils
- Account validation and shared program utilities.
- ID
- The const program ID.
- check_id
- Returns
true if given pubkey is the program ID. - id
- Returns the program ID.