use anchor_lang::prelude::*;
#[account]
pub struct ReserveAttestation {
pub bump: u8,
pub config: Pubkey,
pub index: u64,
pub reserve_hash: [u8; 32], pub total_reserves_usd: u64, pub total_outstanding: u64, pub attested_by: Pubkey,
pub attestation_uri: String, pub timestamp: i64,
}
impl ReserveAttestation {
pub const MAX_URI_LEN: usize = 200;
pub const SEED_PREFIX: &'static [u8] = b"reserve";
pub const SPACE: usize = 8 + 1 + 32 + 8 + 32 + 8 + 8 + 32 + (4 + 200) + 8;
}