carbon-mpl-token-metadata-decoder 0.6.2

MPL Token Metadata 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)]
pub struct TokenRecord {
    pub key: Key,
    pub bump: u8,
    pub state: TokenState,
    pub rule_set_revision: Option<u64>,
    pub delegate: Option<solana_sdk::pubkey::Pubkey>,
    pub delegate_role: Option<TokenDelegateRole>,
    pub locked_transfer: Option<solana_sdk::pubkey::Pubkey>,
}