This commit is contained in:
Hardhat Chad
2025-09-17 14:15:13 -07:00
parent 959fd70c44
commit 69d0383cf6
17 changed files with 350 additions and 168 deletions

View File

@@ -8,7 +8,9 @@ use super::OreAccount;
/// the program's global token account.
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Treasury {}
pub struct Treasury {
pub balance: u64,
}
impl Treasury {
pub fn pda() -> (Pubkey, u8) {