pub trait TreeAccounts<T: AccountInfoTrait + Clone> {
// Required method
fn get_tree_account_info(&self, tree_index: usize) -> Result<&T>;
}Expand description
Trait for CPI accounts that provide access to tree accounts
pub trait TreeAccounts<T: AccountInfoTrait + Clone> {
// Required method
fn get_tree_account_info(&self, tree_index: usize) -> Result<&T>;
}Trait for CPI accounts that provide access to tree accounts