AccountDeserialize

This commit is contained in:
Hardhat Chad
2024-02-15 19:28:43 +00:00
parent d244c4fbc0
commit 8d743d4f63
13 changed files with 25 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
use ore::{
instruction::{InitializeArgs, OreInstruction},
state::{Bus, Treasury},
utils::AccountDeserialize,
BUS, BUS_COUNT, INITIAL_DIFFICULTY, INITIAL_REWARD_RATE, MINT, TREASURY,
};
use solana_program::{

View File

@@ -3,6 +3,7 @@ use std::str::FromStr;
use ore::{
instruction::{CreateProofArgs, MineArgs, OreInstruction},
state::{Proof, Treasury},
utils::AccountDeserialize,
BUS, PROOF, TREASURY,
};
use solana_program::{

View File

@@ -3,6 +3,7 @@ use std::str::FromStr;
use ore::{
instruction::OreInstruction,
state::{Bus, Treasury},
utils::AccountDeserialize,
BUS, BUS_COUNT, BUS_EPOCH_REWARDS, INITIAL_DIFFICULTY, INITIAL_REWARD_RATE, MAX_EPOCH_REWARDS,
MINT, TREASURY,
};