mango-v4/programs/mango-v4/src/accounts_ix/compute_account_data.rs

11 lines
247 B
Rust

use crate::state::*;
use anchor_lang::prelude::*;
#[derive(Accounts)]
pub struct ComputeAccountData<'info> {
pub group: AccountLoader<'info, Group>,
#[account(has_one = group)]
pub account: AccountLoader<'info, MangoAccountFixed>,
}