carbon-wavebreak-decoder 2.0.0

Wavebreak Program Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! This code was AUTOGENERATED using the Codama library.
use {crate::types::PermissionSigner, solana_pubkey::Pubkey};
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub enum PermissionMessage {
    V1 {
        nonce: u64,
        consumer_program: Pubkey,
        permission_signer: PermissionSigner,
        permission_subject: Pubkey,
        valid_until: u64,
        permission_type: u8,
        instruction_discriminators: Vec<Vec<u8>>,
    },
}