pub trait SnapshotFrameAccount {
// Required methods
fn pubkey(&self) -> Pubkey;
fn init(
&mut self,
id: u64,
snapshot: Pubkey,
stake_amount: u64,
stake_offset: u64,
worker: Pubkey
) -> Result<()>;
}
Expand description
SnapshotFrameAccount