refactor loaders into utils

This commit is contained in:
Hardhat Chad
2024-08-23 17:26:33 +00:00
parent a048c1ae21
commit 6d0e447017
13 changed files with 214 additions and 217 deletions

View File

@@ -10,7 +10,7 @@ use solana_program::{
};
use spl_token::state::Mint;
use crate::utils::AccountDeserialize;
use ore_utils::{loaders::*, AccountDeserialize};
/// Reset tops up the bus balances, updates the base reward rate, and sets up the ORE program for the next epoch.
pub fn process_reset<'a, 'info>(accounts: &'a [AccountInfo<'info>], _data: &[u8]) -> ProgramResult {