This commit is contained in:
Hardhat Chad
2025-09-25 09:51:11 -07:00
parent 199d487afa
commit 91d51adcd3
9 changed files with 207 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
use steel::*;
use crate::state::OreAccountOLD;
use super::OreAccount;
/// Treasury is a singleton account which is the mint authority for the ORE token and the authority of
@@ -9,6 +11,17 @@ use super::OreAccount;
pub struct Treasury {
// The amount of SOL collected for buy-bury operations.
pub balance: u64,
/// The amount of ORE in the motherlode.
pub motherlode: u64,
}
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct TreasuryOLD {
// The amount of SOL collected for buy-bury operations.
pub balance: u64,
}
account!(OreAccount, Treasury);
account!(OreAccountOLD, TreasuryOLD);