Trait clockwork_network_program::objects::NodeAccount
source · [−]pub trait NodeAccount {
fn pubkey(&self) -> Pubkey;
fn init(
&mut self,
authority: &mut Signer<'_>,
id: u64,
stake: &mut Account<'_, TokenAccount>,
worker: &Signer<'_>
) -> Result<()>;
fn update(&mut self, settings: NodeSettings) -> Result<()>;
}
Expand description
NodeAccount