Trait solana_sdk::nonce_keyed_account::NonceKeyedAccount[][src]

pub trait NonceKeyedAccount {
    fn advance_nonce_account(
        &self,
        recent_blockhashes: &RecentBlockhashes,
        signers: &HashSet<Pubkey>,
        invoke_context: &mut dyn InvokeContext
    ) -> Result<(), InstructionError>;
fn withdraw_nonce_account(
        &self,
        lamports: u64,
        to: &KeyedAccount<'_>,
        recent_blockhashes: &RecentBlockhashes,
        rent: &Rent,
        signers: &HashSet<Pubkey>,
        invoke_context: &mut dyn InvokeContext
    ) -> Result<(), InstructionError>;
fn initialize_nonce_account(
        &self,
        nonce_authority: &Pubkey,
        recent_blockhashes: &RecentBlockhashes,
        rent: &Rent,
        invoke_context: &mut dyn InvokeContext
    ) -> Result<(), InstructionError>;
fn authorize_nonce_account(
        &self,
        nonce_authority: &Pubkey,
        signers: &HashSet<Pubkey>,
        invoke_context: &mut dyn InvokeContext
    ) -> Result<(), InstructionError>; }

Required methods

Implementors