Module account

Source
Expand description

The Solana Account type.

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_test
create_account_shared_data_for_test
create_account_shared_data_with_fields
Create an Account from a Sysvar.
create_account_with_fields
create_is_signer_account_infos
Create AccountInfos
from_account
Create a Sysvar from an Account’s data.
to_account
Serialize a Sysvar into an Account’s data.

Type Aliases§

InheritableAccountFields