carbon-mpl-core-decoder 0.9.0

MPL Core Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use {
    super::super::types::*,
    carbon_core::{borsh, CarbonDeserialize},
};

#[derive(CarbonDeserialize, Debug)]
#[carbon(discriminator = "0xf1e9caaec3d4e560")]
pub struct CollectionV1 {
    pub key: Key,
    pub update_authority: solana_pubkey::Pubkey,
    pub name: String,
    pub uri: String,
    pub num_minted: u32,
    pub current_size: u32,
}