spl_token_2022/extension/confidential_mint_burn/
mod.rsuse {
crate::extension::{Extension, ExtensionType},
bytemuck::{Pod, Zeroable},
solana_zk_sdk::encryption::pod::{
auth_encryption::PodAeCiphertext,
elgamal::{PodElGamalCiphertext, PodElGamalPubkey},
},
};
pub const MAXIMUM_DEPOSIT_TRANSFER_AMOUNT: u64 = (u16::MAX as u64) + (1 << 16) * (u32::MAX as u64);
pub const PENDING_BALANCE_LO_BIT_LENGTH: u32 = 16;
pub mod instruction;
pub mod processor;
pub mod verify_proof;
#[cfg(not(target_os = "solana"))]
pub mod account_info;
#[derive(Clone, Copy, Debug, Default, PartialEq, Pod, Zeroable)]
#[repr(C)]
pub struct ConfidentialMintBurn {
pub confidential_supply: PodElGamalCiphertext,
pub decryptable_supply: PodAeCiphertext,
pub supply_elgamal_pubkey: PodElGamalPubkey,
}
impl Extension for ConfidentialMintBurn {
const TYPE: ExtensionType = ExtensionType::ConfidentialMintBurn;
}