Versions in this module Expand all Collapse all v0 v0.8.1 Feb 13, 2022 v0.8.0 Feb 13, 2022 Changes in this version + var InstructionImplDef = bin.NewVariantDefinition(bin.Uint32TypeIDEncoding, []bin.VariantType{ ... }) + var PROGRAM_ID = solana.MustPublicKeyFromBase58("11111111111111111111111111111111") + var SYSVAR_CLOCK = solana.MustPublicKeyFromBase58("SysvarC1ock11111111111111111111111111111111") + var SYSVAR_RENT = solana.MustPublicKeyFromBase58("SysvarRent111111111111111111111111111111111") + type AdvanceNonceAccount struct + type Allocate struct + Space bin.Uint64 + type AllocateWithSeed struct + Base solana.PublicKey + Owner solana.PublicKey + Seed string + SeedSize int + Space bin.Uint64 + type Assign struct + Owner solana.PublicKey + type AssignWithSeed struct + Base solana.PublicKey + Owner solana.PublicKey + Seed string + SeedSize int + type AuthorizeNonceAccount struct + AuthorizeAccount solana.PublicKey + type CreateAccount struct + Accounts *CreateAccountAccounts + Lamports bin.Uint64 + Owner solana.PublicKey + Space bin.Uint64 + func (i *CreateAccount) SetAccounts(accounts []*solana.AccountMeta) error + type CreateAccountAccounts struct + From *solana.AccountMeta + New *solana.AccountMeta + type CreateAccountWithSeed struct + Base solana.PublicKey + Lamports bin.Uint64 + Owner solana.PublicKey + Seed string + SeedSize int + Space bin.Uint64 + type InitializeNonceAccount struct + AuthorizedAccount solana.PublicKey + type Instruction struct + func DecodeInstruction(accounts []*solana.AccountMeta, data []byte) (*Instruction, error) + func NewCreateAccountInstruction(lamports uint64, space uint64, owner, from, to solana.PublicKey) *Instruction + func (i *Instruction) Accounts() (out []*solana.AccountMeta) + func (i *Instruction) Data() ([]byte, error) + func (i *Instruction) MarshalBinary(encoder *bin.Encoder) error + func (i *Instruction) ProgramID() solana.PublicKey + func (i *Instruction) TextEncode(encoder *text.Encoder, option *text.Option) error + func (i *Instruction) UnmarshalBinary(decoder *bin.Decoder) error + type Transfer struct + Accounts *TransferAccounts + Lamports bin.Uint64 + func (i *Transfer) SetAccounts(accounts []*solana.AccountMeta) error + type TransferAccounts struct + From *solana.AccountMeta + To *solana.AccountMeta + type WithdrawNonceAccount struct + Lamports bin.Uint64