1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use {
crate::{
extension::{Extension, ExtensionType},
pod::*,
},
bytemuck::{Pod, Zeroable},
};
/// Close authority extension data for mints.
#[repr(C)]
#[derive(Clone, Copy, Debug, Default, PartialEq, Pod, Zeroable)]
pub struct MintCloseAuthority {
/// Optional authority to close the mint
pub close_authority: OptionalNonZeroPubkey,
}
impl Extension for MintCloseAuthority {
const TYPE: ExtensionType = ExtensionType::MintCloseAuthority;
}