gpl-core 1.0.0

Gum Protocol Core (GPL Core)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anchor_lang::prelude::*;

use crate::state::{MAX_LEN_URI};

#[account]
pub struct ProfileMetadata {
    pub profile: Pubkey,
    pub metadata_uri: String,
}

impl ProfileMetadata {
    pub const LEN: usize = 8 + std::mem::size_of::<Self>() + MAX_LEN_URI;
}