Skip to main content

tengu_api/state/
seeker.rs

1//! Seeker: one account per SGT mint that has claimed the Seeker task.
2//! Anti-Sybil: prevents reusing the same SGT across multiple wallets.
3
4use super::DojosAccount;
5use steel::*;
6
7#[repr(C)]
8#[derive(Clone, Copy, Debug, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
9pub struct Seeker {
10    /// SGT mint that claimed (audit trail).
11    pub sgt_mint: Pubkey,
12    /// Dojo that claimed (audit trail).
13    pub dojo: Pubkey,
14    /// Solana slot when claimed (audit trail).
15    pub slot: u64,
16}
17
18account!(DojosAccount, Seeker);