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

@@ -4,7 +4,7 @@ use solana_program::{
account_info::AccountInfo, entrypoint::ProgramResult, program_error::ProgramError,
};
use crate::utils::AccountDeserialize;
use ore_utils::{loaders::*, AccountDeserialize};
/// Claim distributes claimable ORE from the treasury to a miner.
pub fn process_claim<'a, 'info>(accounts: &'a [AccountInfo<'info>], data: &[u8]) -> ProgramResult {