carbon-virtuals-decoder 0.11.0

Virtuals Program Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::super::types::*;

use carbon_core::{borsh, CarbonDeserialize};

#[derive(
    CarbonDeserialize, Debug, serde::Deserialize, serde::Serialize, PartialEq, Eq, Clone, Hash,
)]
#[carbon(discriminator = "0x477605cb05628774")]
pub struct VirtualsPool {
    pub creator: solana_pubkey::Pubkey,
    pub mint: solana_pubkey::Pubkey,
    pub virtual_y: u64,
    pub graduation_x: u64,
    pub state: PoolState,
    pub bump: u8,
}