Files
ore/api/src/state/treasury.rs
Hardhat Chad 55666405ef cleanup
2025-09-18 09:01:56 -07:00

16 lines
361 B
Rust

use steel::*;
use crate::state::treasury_pda;
use super::OreAccount;
/// Treasury is a singleton account which is the mint authority for the ORE token and the authority of
/// the program's global token account.
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Treasury {
pub balance: u64,
}
account!(OreAccount, Treasury);