1 2 3 4 5 6 7 8 9 10 11
use anchor_lang::prelude::*; /// Root seed for deriving Proof account PDAs. pub const SEED_PROOF: &[u8] = b"prf"; /// Proof accounts record the existance of a pointer value in an index. #[account] pub struct Proof { pub name: String, pub bump: u8, }