Versions in this module Expand all Collapse all v1 v1.4.2 Nov 4, 2022 v1.4.1 Aug 16, 2022 Changes in this version + const ProgramName + var InstructionImplDef = bin.NewVariantDefinition(bin.NoTypeIDEncoding, []bin.VariantType{ ... }) + var ProgramID solana.PublicKey = solana.SPLAssociatedTokenAccountProgramID + func SetProgramID(pubkey solana.PublicKey) + type Create struct + Mint solana.PublicKey + Payer solana.PublicKey + Wallet solana.PublicKey + func NewCreateInstruction(payer solana.PublicKey, walletAddress solana.PublicKey, ...) *Create + func NewCreateInstructionBuilder() *Create + func (inst *Create) EncodeToTree(parent treeout.Branches) + func (inst *Create) SetMint(mint solana.PublicKey) *Create + func (inst *Create) SetPayer(payer solana.PublicKey) *Create + func (inst *Create) SetWallet(wallet solana.PublicKey) *Create + func (inst *Create) UnmarshalWithDecoder(decoder *bin.Decoder) error + func (inst *Create) Validate() error + func (inst Create) Build() *Instruction + func (inst Create) MarshalWithEncoder(encoder *bin.Encoder) error + func (inst Create) ValidateAndBuild() (*Instruction, error) + type Instruction struct + func DecodeInstruction(accounts []*solana.AccountMeta, data []byte) (*Instruction, error) + func (inst *Instruction) Accounts() (out []*solana.AccountMeta) + func (inst *Instruction) Data() ([]byte, error) + func (inst *Instruction) EncodeToTree(parent treeout.Branches) + func (inst *Instruction) ProgramID() solana.PublicKey + func (inst *Instruction) TextEncode(encoder *text.Encoder, option *text.Option) error + func (inst *Instruction) UnmarshalWithDecoder(decoder *bin.Decoder) error + func (inst Instruction) MarshalWithEncoder(encoder *bin.Encoder) error