[−][src]Trait solana_stake_api::stake_state::StakeAccount
Required methods
fn delegate_stake(
&mut self,
vote_account: &KeyedAccount,
stake: u64,
clock: &Clock,
config: &Config
) -> Result<(), InstructionError>
&mut self,
vote_account: &KeyedAccount,
stake: u64,
clock: &Clock,
config: &Config
) -> Result<(), InstructionError>
fn deactivate_stake(
&mut self,
vote_account: &KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
&mut self,
vote_account: &KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
fn redeem_vote_credits(
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
fn withdraw(
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
Implementations on Foreign Types
impl<'a> StakeAccount for KeyedAccount<'a>
[src]
fn delegate_stake(
&mut self,
vote_account: &KeyedAccount,
new_stake: u64,
clock: &Clock,
config: &Config
) -> Result<(), InstructionError>
[src]
&mut self,
vote_account: &KeyedAccount,
new_stake: u64,
clock: &Clock,
config: &Config
) -> Result<(), InstructionError>
fn deactivate_stake(
&mut self,
_vote_account: &KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
[src]
&mut self,
_vote_account: &KeyedAccount,
clock: &Clock
) -> Result<(), InstructionError>
fn redeem_vote_credits(
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
[src]
&mut self,
vote_account: &mut KeyedAccount,
rewards_account: &mut KeyedAccount,
rewards: &Rewards,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
fn withdraw(
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock,
stake_history: &StakeHistory
) -> Result<(), InstructionError>
[src]
&mut self,
lamports: u64,
to: &mut KeyedAccount,
clock: &Clock,
stake_history: &StakeHistory
) -> Result<(), InstructionError>