Files
ore/api/src/state/treasury.rs
Hardhat Chad fb285226fb cleanup
2025-06-10 07:56:04 -07:00

20 lines
421 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 {}
impl Treasury {
pub fn pda() -> (Pubkey, u8) {
treasury_pda()
}
}
account!(OreAccount, Treasury);