Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + const NativeLoaderAddrStr + var NativeLoaderAddr = base58.MustDecodeFromString(NativeLoaderAddrStr) + type Account struct + Data []byte + Executable bool + IsDummy bool + Key solana.PublicKey + Lamports uint64 + Owner [32]byte + RentEpoch uint64 + Slot uint64 + func (a *Account) Clone() *Account + func (a *Account) IsBuiltin() bool + func (a *Account) IsExecutable() bool + func (a *Account) MarshalWithEncoder(encoder *bin.Encoder) error + func (a *Account) Resize(newLen uint64, fillVal byte) + func (a *Account) SetData(data []byte) + func (a *Account) SetExecutable(isExecutable bool) + func (a *Account) SetLamports(lamports uint64) + func (a *Account) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + type Accounts interface + AllAccounts func() []*Account + GetAccount func(pubkey *[32]byte) (*Account, error) + GetAccountWithoutLock func(pubkey solana.PublicKey) (*Account, error) + SetAccount func(pubkey *[32]byte, acc *Account) error + SetAccountWithoutLock func(pubkey solana.PublicKey, acc *Account) error + type MemAccounts struct + Map map[[32]byte]*Account + func NewMemAccounts() MemAccounts + func NewMemAccountsWithLen(len uint64) MemAccounts + func (m MemAccounts) AllAccounts() []*Account + func (m MemAccounts) GetAccount(pubkey *[32]byte) (*Account, error) + func (m MemAccounts) GetAccountWithoutLock(pubkey solana.PublicKey) (*Account, error) + func (m MemAccounts) SetAccount(pubkey *[32]byte, acct *Account) error + func (m MemAccounts) SetAccountWithoutLock(pubkey solana.PublicKey, acct *Account) error v0.1.0-alpha.1 Jan 15, 2026