gpl_compression/state/
mod.rs

1use anchor_lang::prelude::*;
2use std::mem::size_of;
3
4// Account to hold the compressed data in a tree
5#[account]
6pub struct TreeConfig {
7    pub authority: Pubkey,
8    pub merkle_tree: Pubkey,
9}
10
11impl TreeConfig {
12    pub const LEN: usize = 8 + size_of::<Self>();
13}