pub trait RotatorAccount {
fn init(&mut self) -> Result<()>;
fn is_valid_entry(
&mut self,
entry: &Account<'_, SnapshotEntry>,
snapshot: &Account<'_, Snapshot>
) -> Result<bool>;
fn hash_nonce(&mut self) -> Result<()>;
fn add_pool(&mut self, pool: Pubkey) -> Result<()>;
}
Expand description
RotatorAccount