This commit is contained in:
Hardhat Chad
2025-09-18 09:01:56 -07:00
parent 9f9be6b80e
commit 55666405ef
5 changed files with 3 additions and 82 deletions

View File

@@ -1,6 +1,6 @@
use steel::*;
use crate::state::{treasury_pda, OreAccountOLD};
use crate::state::treasury_pda;
use super::OreAccount;
@@ -12,17 +12,4 @@ pub struct Treasury {
pub balance: u64,
}
/// 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 TreasuryOLD {}
impl Treasury {
pub fn pda() -> (Pubkey, u8) {
treasury_pda()
}
}
account!(OreAccount, Treasury);
account!(OreAccountOLD, TreasuryOLD);