spl_token_2022_interface/extension/confidential_mint_burn/
mod.rs1use {
2 crate::extension::{Extension, ExtensionType},
3 bytemuck::{Pod, Zeroable},
4 solana_zk_sdk::encryption::pod::{
5 auth_encryption::PodAeCiphertext,
6 elgamal::{PodElGamalCiphertext, PodElGamalPubkey},
7 },
8};
9
10pub mod instruction;
12
13#[derive(Clone, Copy, Debug, Default, PartialEq, Pod, Zeroable)]
15#[repr(C)]
16pub struct ConfidentialMintBurn {
17 pub confidential_supply: PodElGamalCiphertext,
19 pub decryptable_supply: PodAeCiphertext,
21 pub supply_elgamal_pubkey: PodElGamalPubkey,
23 pub pending_burn: PodElGamalCiphertext,
25}
26
27impl Extension for ConfidentialMintBurn {
28 const TYPE: ExtensionType = ExtensionType::ConfidentialMintBurn;
29}