1
2
3
4
5
6
7
8
9
10
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>,
}