gpl_core/state/
profile_metadata.rs1use anchor_lang::prelude::*;
2
3use crate::state::{MAX_LEN_URI};
4
5#[account]
6pub struct ProfileMetadata {
7 pub profile: Pubkey,
8 pub metadata_uri: String,
9}
10
11impl ProfileMetadata {
12 pub const LEN: usize = 8 + std::mem::size_of::<Self>() + MAX_LEN_URI;
13}