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