Files
ore/api/src/state/treasury.rs
Hardhat Chad 5c15b33690 bury
2025-09-24 09:45:13 -07:00

15 lines
388 B
Rust

use steel::*;
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 {
// The amount of SOL collected for buy-bury operations.
pub balance: u64,
}
account!(OreAccount, Treasury);