[][src]Trait solana_sdk::nonce::account::Account

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

Required methods

fn advance_nonce_account(
    &self,
    recent_blockhashes: &RecentBlockhashes,
    signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>

fn withdraw_nonce_account(
    &self,
    lamports: u64,
    to: &KeyedAccount,
    recent_blockhashes: &RecentBlockhashes,
    rent: &Rent,
    signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>

fn initialize_nonce_account(
    &self,
    nonce_authority: &Pubkey,
    recent_blockhashes: &RecentBlockhashes,
    rent: &Rent
) -> Result<(), InstructionError>

fn authorize_nonce_account(
    &self,
    nonce_authority: &Pubkey,
    signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>

Loading content...

Implementors

impl<'a> Account for KeyedAccount<'a>[src]

Loading content...