pub trait ConfigAccount {
// Required methods
fn init(&mut self, admin: Pubkey, mint: Pubkey) -> Result<()>;
fn update(&mut self, settings: ConfigSettings) -> Result<()>;
}
Expand description
ConfigAccount
pub trait ConfigAccount {
// Required methods
fn init(&mut self, admin: Pubkey, mint: Pubkey) -> Result<()>;
fn update(&mut self, settings: ConfigSettings) -> Result<()>;
}
ConfigAccount