pub trait OreAccountInfoValidation {
// Required methods
fn is_config(&self) -> Result<&Self, ProgramError>;
fn is_treasury(&self) -> Result<&Self, ProgramError>;
fn is_treasury_tokens(&self) -> Result<&Self, ProgramError>;
}
Required Methods§
fn is_config(&self) -> Result<&Self, ProgramError>
fn is_treasury(&self) -> Result<&Self, ProgramError>
fn is_treasury_tokens(&self) -> Result<&Self, ProgramError>
Object Safety§
This trait is not object safe.