mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
16 lines
361 B
Rust
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);
|