Crate solana_account

Source
Expand description

The Solana Account type.

Modules§

state_traitsbincode
Useful extras for Account state.

Structs§

Account
An Account with data that is stored on chain
AccountSharedData
An Account with data that is stored on chain This will be the in-memory representation of the ‘Account’ struct data. The existing ‘Account’ structure cannot easily change due to downstream projects.

Constants§

DUMMY_INHERITABLE_ACCOUNT_FIELDS
PROGRAM_OWNERS
Replacement for the executable flag: An account being owned by one of these contains a program.

Traits§

ReadableAccount
WritableAccount

Functions§

accounts_equal
Compares two ReadableAccounts
create_account_for_testbincode
create_account_shared_data_for_testbincode
create_account_shared_data_with_fieldsbincode
Create an Account from a Sysvar.
create_account_with_fieldsbincode
create_is_signer_account_infos
Create AccountInfos
from_accountbincode
Create a Sysvar from an Account’s data.
to_accountbincode
Serialize a Sysvar into an Account’s data.

Type Aliases§

InheritableAccountFields