Versions in this module Expand all Collapse all v1 v1.8.2 Feb 15, 2023 Changes in this version + const Instruction_Approve + const Instruction_ApproveChecked + const Instruction_Burn + const Instruction_BurnChecked + const Instruction_CloseAccount + const Instruction_FreezeAccount + const Instruction_InitializeAccount + const Instruction_InitializeAccount2 + const Instruction_InitializeAccount3 + const Instruction_InitializeMint + const Instruction_InitializeMint2 + const Instruction_InitializeMultisig + const Instruction_InitializeMultisig2 + const Instruction_MintTo + const Instruction_MintToChecked + const Instruction_Revoke + const Instruction_SetAuthority + const Instruction_SyncNative + const Instruction_ThawAccount + const Instruction_Transfer + const Instruction_TransferChecked + const MAX_SIGNERS + const MINT_SIZE + const ProgramName + var InstructionImplDef = ag_binary.NewVariantDefinition(ag_binary.Uint8TypeIDEncoding, []ag_binary.VariantType{ ... }) + var ProgramID ag_solanago.PublicKey = ag_solanago.TokenProgramID + func InstructionIDToName(id uint8) string + func SetProgramID(pubkey ag_solanago.PublicKey) + type Account struct + Amount uint64 + CloseAuthority *solana.PublicKey + Delegate *solana.PublicKey + DelegatedAmount uint64 + IsNative *uint64 + Mint solana.PublicKey + Owner solana.PublicKey + State AccountState + func (mint *Account) UnmarshalWithDecoder(dec *bin.Decoder) (err error) + func (mint Account) MarshalWithEncoder(encoder *bin.Encoder) (err error) + type AccountState ag_binary.BorshEnum + const Frozen + const Initialized + const Uninitialized + type Approve struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Signers ag_solanago.AccountMetaSlice + func NewApproveInstruction(amount uint64, source ag_solanago.PublicKey, delegate ag_solanago.PublicKey, ...) *Approve + func NewApproveInstructionBuilder() *Approve + func (inst *Approve) EncodeToTree(parent ag_treeout.Branches) + func (inst *Approve) GetDelegateAccount() *ag_solanago.AccountMeta + func (inst *Approve) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *Approve) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *Approve) SetAmount(amount uint64) *Approve + func (inst *Approve) SetDelegateAccount(delegate ag_solanago.PublicKey) *Approve + func (inst *Approve) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *Approve + func (inst *Approve) SetSourceAccount(source ag_solanago.PublicKey) *Approve + func (inst *Approve) Validate() error + func (inst Approve) Build() *Instruction + func (inst Approve) ValidateAndBuild() (*Instruction, error) + func (obj *Approve) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *Approve) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj Approve) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice Approve) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type ApproveChecked struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Decimals *uint8 + Signers ag_solanago.AccountMetaSlice + func NewApproveCheckedInstruction(amount uint64, decimals uint8, source ag_solanago.PublicKey, ...) *ApproveChecked + func NewApproveCheckedInstructionBuilder() *ApproveChecked + func (inst *ApproveChecked) EncodeToTree(parent ag_treeout.Branches) + func (inst *ApproveChecked) GetDelegateAccount() *ag_solanago.AccountMeta + func (inst *ApproveChecked) GetMintAccount() *ag_solanago.AccountMeta + func (inst *ApproveChecked) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *ApproveChecked) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *ApproveChecked) SetAmount(amount uint64) *ApproveChecked + func (inst *ApproveChecked) SetDecimals(decimals uint8) *ApproveChecked + func (inst *ApproveChecked) SetDelegateAccount(delegate ag_solanago.PublicKey) *ApproveChecked + func (inst *ApproveChecked) SetMintAccount(mint ag_solanago.PublicKey) *ApproveChecked + func (inst *ApproveChecked) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *ApproveChecked + func (inst *ApproveChecked) SetSourceAccount(source ag_solanago.PublicKey) *ApproveChecked + func (inst *ApproveChecked) Validate() error + func (inst ApproveChecked) Build() *Instruction + func (inst ApproveChecked) ValidateAndBuild() (*Instruction, error) + func (obj *ApproveChecked) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *ApproveChecked) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj ApproveChecked) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice ApproveChecked) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type AuthorityType ag_binary.BorshEnum + const AuthorityAccountOwner + const AuthorityCloseAccount + const AuthorityFreezeAccount + const AuthorityMintTokens + type Burn struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Signers ag_solanago.AccountMetaSlice + func NewBurnInstruction(amount uint64, source ag_solanago.PublicKey, mint ag_solanago.PublicKey, ...) *Burn + func NewBurnInstructionBuilder() *Burn + func (inst *Burn) EncodeToTree(parent ag_treeout.Branches) + func (inst *Burn) GetMintAccount() *ag_solanago.AccountMeta + func (inst *Burn) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *Burn) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *Burn) SetAmount(amount uint64) *Burn + func (inst *Burn) SetMintAccount(mint ag_solanago.PublicKey) *Burn + func (inst *Burn) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *Burn + func (inst *Burn) SetSourceAccount(source ag_solanago.PublicKey) *Burn + func (inst *Burn) Validate() error + func (inst Burn) Build() *Instruction + func (inst Burn) ValidateAndBuild() (*Instruction, error) + func (obj *Burn) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *Burn) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj Burn) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice Burn) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type BurnChecked struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Decimals *uint8 + Signers ag_solanago.AccountMetaSlice + func NewBurnCheckedInstruction(amount uint64, decimals uint8, source ag_solanago.PublicKey, ...) *BurnChecked + func NewBurnCheckedInstructionBuilder() *BurnChecked + func (inst *BurnChecked) EncodeToTree(parent ag_treeout.Branches) + func (inst *BurnChecked) GetMintAccount() *ag_solanago.AccountMeta + func (inst *BurnChecked) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *BurnChecked) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *BurnChecked) SetAmount(amount uint64) *BurnChecked + func (inst *BurnChecked) SetDecimals(decimals uint8) *BurnChecked + func (inst *BurnChecked) SetMintAccount(mint ag_solanago.PublicKey) *BurnChecked + func (inst *BurnChecked) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *BurnChecked + func (inst *BurnChecked) SetSourceAccount(source ag_solanago.PublicKey) *BurnChecked + func (inst *BurnChecked) Validate() error + func (inst BurnChecked) Build() *Instruction + func (inst BurnChecked) ValidateAndBuild() (*Instruction, error) + func (obj *BurnChecked) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *BurnChecked) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj BurnChecked) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice BurnChecked) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type CloseAccount struct + Accounts ag_solanago.AccountMetaSlice + Signers ag_solanago.AccountMetaSlice + func NewCloseAccountInstruction(account ag_solanago.PublicKey, destination ag_solanago.PublicKey, ...) *CloseAccount + func NewCloseAccountInstructionBuilder() *CloseAccount + func (inst *CloseAccount) EncodeToTree(parent ag_treeout.Branches) + func (inst *CloseAccount) GetAccount() *ag_solanago.AccountMeta + func (inst *CloseAccount) GetDestinationAccount() *ag_solanago.AccountMeta + func (inst *CloseAccount) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *CloseAccount) SetAccount(account ag_solanago.PublicKey) *CloseAccount + func (inst *CloseAccount) SetDestinationAccount(destination ag_solanago.PublicKey) *CloseAccount + func (inst *CloseAccount) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *CloseAccount + func (inst *CloseAccount) Validate() error + func (inst CloseAccount) Build() *Instruction + func (inst CloseAccount) ValidateAndBuild() (*Instruction, error) + func (obj *CloseAccount) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *CloseAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj CloseAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice CloseAccount) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type FreezeAccount struct + Accounts ag_solanago.AccountMetaSlice + Signers ag_solanago.AccountMetaSlice + func NewFreezeAccountInstruction(account ag_solanago.PublicKey, mint ag_solanago.PublicKey, ...) *FreezeAccount + func NewFreezeAccountInstructionBuilder() *FreezeAccount + func (inst *FreezeAccount) EncodeToTree(parent ag_treeout.Branches) + func (inst *FreezeAccount) GetAccount() *ag_solanago.AccountMeta + func (inst *FreezeAccount) GetAuthorityAccount() *ag_solanago.AccountMeta + func (inst *FreezeAccount) GetMintAccount() *ag_solanago.AccountMeta + func (inst *FreezeAccount) SetAccount(account ag_solanago.PublicKey) *FreezeAccount + func (inst *FreezeAccount) SetAuthorityAccount(authority ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *FreezeAccount + func (inst *FreezeAccount) SetMintAccount(mint ag_solanago.PublicKey) *FreezeAccount + func (inst *FreezeAccount) Validate() error + func (inst FreezeAccount) Build() *Instruction + func (inst FreezeAccount) ValidateAndBuild() (*Instruction, error) + func (obj *FreezeAccount) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *FreezeAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj FreezeAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice FreezeAccount) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type InitializeAccount struct + func NewInitializeAccountInstruction(account ag_solanago.PublicKey, mint ag_solanago.PublicKey, ...) *InitializeAccount + func NewInitializeAccountInstructionBuilder() *InitializeAccount + func (inst *InitializeAccount) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeAccount) GetAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount) GetMintAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount) GetSysVarRentPubkeyAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount) SetAccount(account ag_solanago.PublicKey) *InitializeAccount + func (inst *InitializeAccount) SetMintAccount(mint ag_solanago.PublicKey) *InitializeAccount + func (inst *InitializeAccount) SetOwnerAccount(owner ag_solanago.PublicKey) *InitializeAccount + func (inst *InitializeAccount) SetSysVarRentPubkeyAccount(SysVarRentPubkey ag_solanago.PublicKey) *InitializeAccount + func (inst *InitializeAccount) Validate() error + func (inst InitializeAccount) Build() *Instruction + func (inst InitializeAccount) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + type InitializeAccount2 struct + Owner *ag_solanago.PublicKey + func NewInitializeAccount2Instruction(owner ag_solanago.PublicKey, account ag_solanago.PublicKey, ...) *InitializeAccount2 + func NewInitializeAccount2InstructionBuilder() *InitializeAccount2 + func (inst *InitializeAccount2) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeAccount2) GetAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount2) GetMintAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount2) GetSysVarRentPubkeyAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount2) SetAccount(account ag_solanago.PublicKey) *InitializeAccount2 + func (inst *InitializeAccount2) SetMintAccount(mint ag_solanago.PublicKey) *InitializeAccount2 + func (inst *InitializeAccount2) SetOwner(owner ag_solanago.PublicKey) *InitializeAccount2 + func (inst *InitializeAccount2) SetSysVarRentPubkeyAccount(SysVarRentPubkey ag_solanago.PublicKey) *InitializeAccount2 + func (inst *InitializeAccount2) Validate() error + func (inst InitializeAccount2) Build() *Instruction + func (inst InitializeAccount2) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeAccount2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeAccount2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + type InitializeAccount3 struct + Owner *ag_solanago.PublicKey + func NewInitializeAccount3Instruction(owner ag_solanago.PublicKey, account ag_solanago.PublicKey, ...) *InitializeAccount3 + func NewInitializeAccount3InstructionBuilder() *InitializeAccount3 + func (inst *InitializeAccount3) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeAccount3) GetAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount3) GetMintAccount() *ag_solanago.AccountMeta + func (inst *InitializeAccount3) SetAccount(account ag_solanago.PublicKey) *InitializeAccount3 + func (inst *InitializeAccount3) SetMintAccount(mint ag_solanago.PublicKey) *InitializeAccount3 + func (inst *InitializeAccount3) SetOwner(owner ag_solanago.PublicKey) *InitializeAccount3 + func (inst *InitializeAccount3) Validate() error + func (inst InitializeAccount3) Build() *Instruction + func (inst InitializeAccount3) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeAccount3) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeAccount3) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + type InitializeMint struct + Decimals *uint8 + FreezeAuthority *ag_solanago.PublicKey + MintAuthority *ag_solanago.PublicKey + func NewInitializeMintInstruction(decimals uint8, mint_authority ag_solanago.PublicKey, ...) *InitializeMint + func NewInitializeMintInstructionBuilder() *InitializeMint + func (inst *InitializeMint) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeMint) GetMintAccount() *ag_solanago.AccountMeta + func (inst *InitializeMint) GetSysVarRentPubkeyAccount() *ag_solanago.AccountMeta + func (inst *InitializeMint) SetDecimals(decimals uint8) *InitializeMint + func (inst *InitializeMint) SetFreezeAuthority(freeze_authority ag_solanago.PublicKey) *InitializeMint + func (inst *InitializeMint) SetMintAccount(mint ag_solanago.PublicKey) *InitializeMint + func (inst *InitializeMint) SetMintAuthority(mint_authority ag_solanago.PublicKey) *InitializeMint + func (inst *InitializeMint) SetSysVarRentPubkeyAccount(SysVarRentPubkey ag_solanago.PublicKey) *InitializeMint + func (inst *InitializeMint) Validate() error + func (inst InitializeMint) Build() *Instruction + func (inst InitializeMint) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeMint) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeMint) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + type InitializeMint2 struct + Decimals *uint8 + FreezeAuthority *ag_solanago.PublicKey + MintAuthority *ag_solanago.PublicKey + func NewInitializeMint2Instruction(decimals uint8, mint_authority ag_solanago.PublicKey, ...) *InitializeMint2 + func NewInitializeMint2InstructionBuilder() *InitializeMint2 + func (inst *InitializeMint2) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeMint2) GetMintAccount() *ag_solanago.AccountMeta + func (inst *InitializeMint2) SetDecimals(decimals uint8) *InitializeMint2 + func (inst *InitializeMint2) SetFreezeAuthority(freeze_authority ag_solanago.PublicKey) *InitializeMint2 + func (inst *InitializeMint2) SetMintAccount(mint ag_solanago.PublicKey) *InitializeMint2 + func (inst *InitializeMint2) SetMintAuthority(mint_authority ag_solanago.PublicKey) *InitializeMint2 + func (inst *InitializeMint2) Validate() error + func (inst InitializeMint2) Build() *Instruction + func (inst InitializeMint2) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeMint2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeMint2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + type InitializeMultisig struct + Accounts ag_solanago.AccountMetaSlice + M *uint8 + Signers ag_solanago.AccountMetaSlice + func NewInitializeMultisigInstruction(m uint8, account ag_solanago.PublicKey, SysVarRentPubkey ag_solanago.PublicKey, ...) *InitializeMultisig + func NewInitializeMultisigInstructionBuilder() *InitializeMultisig + func (inst *InitializeMultisig) AddSigners(signers ...ag_solanago.PublicKey) *InitializeMultisig + func (inst *InitializeMultisig) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeMultisig) GetAccount() *ag_solanago.AccountMeta + func (inst *InitializeMultisig) GetSysVarRentPubkeyAccount() *ag_solanago.AccountMeta + func (inst *InitializeMultisig) SetAccount(account ag_solanago.PublicKey) *InitializeMultisig + func (inst *InitializeMultisig) SetM(m uint8) *InitializeMultisig + func (inst *InitializeMultisig) SetSysVarRentPubkeyAccount(SysVarRentPubkey ag_solanago.PublicKey) *InitializeMultisig + func (inst *InitializeMultisig) Validate() error + func (inst InitializeMultisig) Build() *Instruction + func (inst InitializeMultisig) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeMultisig) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *InitializeMultisig) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeMultisig) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice InitializeMultisig) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type InitializeMultisig2 struct + Accounts ag_solanago.AccountMetaSlice + M *uint8 + Signers ag_solanago.AccountMetaSlice + func NewInitializeMultisig2Instruction(m uint8, account ag_solanago.PublicKey, signers []ag_solanago.PublicKey) *InitializeMultisig2 + func NewInitializeMultisig2InstructionBuilder() *InitializeMultisig2 + func (inst *InitializeMultisig2) AddSigners(signers ...ag_solanago.PublicKey) *InitializeMultisig2 + func (inst *InitializeMultisig2) EncodeToTree(parent ag_treeout.Branches) + func (inst *InitializeMultisig2) GetAccount() *ag_solanago.AccountMeta + func (inst *InitializeMultisig2) SetAccount(account ag_solanago.PublicKey) *InitializeMultisig2 + func (inst *InitializeMultisig2) SetM(m uint8) *InitializeMultisig2 + func (inst *InitializeMultisig2) Validate() error + func (inst InitializeMultisig2) Build() *Instruction + func (inst InitializeMultisig2) ValidateAndBuild() (*Instruction, error) + func (obj *InitializeMultisig2) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *InitializeMultisig2) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj InitializeMultisig2) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice InitializeMultisig2) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type Instruction struct + func DecodeInstruction(accounts []*ag_solanago.AccountMeta, data []byte) (*Instruction, error) + func (inst *Instruction) Accounts() (out []*ag_solanago.AccountMeta) + func (inst *Instruction) Data() ([]byte, error) + func (inst *Instruction) EncodeToTree(parent ag_treeout.Branches) + func (inst *Instruction) ProgramID() ag_solanago.PublicKey + func (inst *Instruction) TextEncode(encoder *ag_text.Encoder, option *ag_text.Option) error + func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error + func (inst Instruction) MarshalWithEncoder(encoder *ag_binary.Encoder) error + type Mint struct + Decimals uint8 + FreezeAuthority *solana.PublicKey + IsInitialized bool + MintAuthority *solana.PublicKey + Supply uint64 + func FetchMints(ctx context.Context, rpcCli *rpc.Client) (out []*Mint, err error) + func (mint *Mint) Decode(data []byte) error + func (mint *Mint) UnmarshalWithDecoder(dec *bin.Decoder) (err error) + func (mint Mint) MarshalWithEncoder(encoder *bin.Encoder) (err error) + type MintTo struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Signers ag_solanago.AccountMetaSlice + func NewMintToInstruction(amount uint64, mint ag_solanago.PublicKey, destination ag_solanago.PublicKey, ...) *MintTo + func NewMintToInstructionBuilder() *MintTo + func (inst *MintTo) EncodeToTree(parent ag_treeout.Branches) + func (inst *MintTo) GetAuthorityAccount() *ag_solanago.AccountMeta + func (inst *MintTo) GetDestinationAccount() *ag_solanago.AccountMeta + func (inst *MintTo) GetMintAccount() *ag_solanago.AccountMeta + func (inst *MintTo) SetAmount(amount uint64) *MintTo + func (inst *MintTo) SetAuthorityAccount(authority ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *MintTo + func (inst *MintTo) SetDestinationAccount(destination ag_solanago.PublicKey) *MintTo + func (inst *MintTo) SetMintAccount(mint ag_solanago.PublicKey) *MintTo + func (inst *MintTo) Validate() error + func (inst MintTo) Build() *Instruction + func (inst MintTo) ValidateAndBuild() (*Instruction, error) + func (obj *MintTo) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *MintTo) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj MintTo) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice MintTo) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type MintToChecked struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Decimals *uint8 + Signers ag_solanago.AccountMetaSlice + func NewMintToCheckedInstruction(amount uint64, decimals uint8, mint ag_solanago.PublicKey, ...) *MintToChecked + func NewMintToCheckedInstructionBuilder() *MintToChecked + func (inst *MintToChecked) EncodeToTree(parent ag_treeout.Branches) + func (inst *MintToChecked) GetAuthorityAccount() *ag_solanago.AccountMeta + func (inst *MintToChecked) GetDestinationAccount() *ag_solanago.AccountMeta + func (inst *MintToChecked) GetMintAccount() *ag_solanago.AccountMeta + func (inst *MintToChecked) SetAmount(amount uint64) *MintToChecked + func (inst *MintToChecked) SetAuthorityAccount(authority ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *MintToChecked + func (inst *MintToChecked) SetDecimals(decimals uint8) *MintToChecked + func (inst *MintToChecked) SetDestinationAccount(destination ag_solanago.PublicKey) *MintToChecked + func (inst *MintToChecked) SetMintAccount(mint ag_solanago.PublicKey) *MintToChecked + func (inst *MintToChecked) Validate() error + func (inst MintToChecked) Build() *Instruction + func (inst MintToChecked) ValidateAndBuild() (*Instruction, error) + func (obj *MintToChecked) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *MintToChecked) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj MintToChecked) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice MintToChecked) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type Multisig struct + IsInitialized bool + M uint8 + N uint8 + Signers [MAX_SIGNERS]solana.PublicKey + type Revoke struct + Accounts ag_solanago.AccountMetaSlice + Signers ag_solanago.AccountMetaSlice + func NewRevokeInstruction(source ag_solanago.PublicKey, owner ag_solanago.PublicKey, ...) *Revoke + func NewRevokeInstructionBuilder() *Revoke + func (inst *Revoke) EncodeToTree(parent ag_treeout.Branches) + func (inst *Revoke) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *Revoke) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *Revoke) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *Revoke + func (inst *Revoke) SetSourceAccount(source ag_solanago.PublicKey) *Revoke + func (inst *Revoke) Validate() error + func (inst Revoke) Build() *Instruction + func (inst Revoke) ValidateAndBuild() (*Instruction, error) + func (obj *Revoke) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *Revoke) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj Revoke) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice Revoke) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type SetAuthority struct + Accounts ag_solanago.AccountMetaSlice + AuthorityType *AuthorityType + NewAuthority *ag_solanago.PublicKey + Signers ag_solanago.AccountMetaSlice + func NewSetAuthorityInstruction(authority_type AuthorityType, new_authority ag_solanago.PublicKey, ...) *SetAuthority + func NewSetAuthorityInstructionBuilder() *SetAuthority + func (inst *SetAuthority) EncodeToTree(parent ag_treeout.Branches) + func (inst *SetAuthority) GetAuthorityAccount() *ag_solanago.AccountMeta + func (inst *SetAuthority) GetSubjectAccount() *ag_solanago.AccountMeta + func (inst *SetAuthority) SetAuthorityAccount(authority ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *SetAuthority + func (inst *SetAuthority) SetAuthorityType(authority_type AuthorityType) *SetAuthority + func (inst *SetAuthority) SetNewAuthority(new_authority ag_solanago.PublicKey) *SetAuthority + func (inst *SetAuthority) SetSubjectAccount(subject ag_solanago.PublicKey) *SetAuthority + func (inst *SetAuthority) Validate() error + func (inst SetAuthority) Build() *Instruction + func (inst SetAuthority) ValidateAndBuild() (*Instruction, error) + func (obj *SetAuthority) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *SetAuthority) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj SetAuthority) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice SetAuthority) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type SyncNative struct + func NewSyncNativeInstruction(tokenAccount ag_solanago.PublicKey) *SyncNative + func NewSyncNativeInstructionBuilder() *SyncNative + func (inst *SyncNative) EncodeToTree(parent ag_treeout.Branches) + func (inst *SyncNative) GetTokenAccount() *ag_solanago.AccountMeta + func (inst *SyncNative) SetTokenAccount(tokenAccount ag_solanago.PublicKey) *SyncNative + func (inst *SyncNative) Validate() error + func (inst SyncNative) Build() *Instruction + func (inst SyncNative) ValidateAndBuild() (*Instruction, error) + func (obj *SyncNative) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj SyncNative) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + type ThawAccount struct + Accounts ag_solanago.AccountMetaSlice + Signers ag_solanago.AccountMetaSlice + func NewThawAccountInstruction(account ag_solanago.PublicKey, mint ag_solanago.PublicKey, ...) *ThawAccount + func NewThawAccountInstructionBuilder() *ThawAccount + func (inst *ThawAccount) EncodeToTree(parent ag_treeout.Branches) + func (inst *ThawAccount) GetAccount() *ag_solanago.AccountMeta + func (inst *ThawAccount) GetAuthorityAccount() *ag_solanago.AccountMeta + func (inst *ThawAccount) GetMintAccount() *ag_solanago.AccountMeta + func (inst *ThawAccount) SetAccount(account ag_solanago.PublicKey) *ThawAccount + func (inst *ThawAccount) SetAuthorityAccount(authority ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *ThawAccount + func (inst *ThawAccount) SetMintAccount(mint ag_solanago.PublicKey) *ThawAccount + func (inst *ThawAccount) Validate() error + func (inst ThawAccount) Build() *Instruction + func (inst ThawAccount) ValidateAndBuild() (*Instruction, error) + func (obj *ThawAccount) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *ThawAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj ThawAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice ThawAccount) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type Transfer struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Signers ag_solanago.AccountMetaSlice + func NewTransferInstruction(amount uint64, source ag_solanago.PublicKey, destination ag_solanago.PublicKey, ...) *Transfer + func NewTransferInstructionBuilder() *Transfer + func (inst *Transfer) EncodeToTree(parent ag_treeout.Branches) + func (inst *Transfer) GetDestinationAccount() *ag_solanago.AccountMeta + func (inst *Transfer) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *Transfer) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *Transfer) SetAmount(amount uint64) *Transfer + func (inst *Transfer) SetDestinationAccount(destination ag_solanago.PublicKey) *Transfer + func (inst *Transfer) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *Transfer + func (inst *Transfer) SetSourceAccount(source ag_solanago.PublicKey) *Transfer + func (inst *Transfer) Validate() error + func (inst Transfer) Build() *Instruction + func (inst Transfer) ValidateAndBuild() (*Instruction, error) + func (obj *Transfer) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *Transfer) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj Transfer) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice Transfer) GetAccounts() (accounts []*ag_solanago.AccountMeta) + type TransferChecked struct + Accounts ag_solanago.AccountMetaSlice + Amount *uint64 + Decimals *uint8 + Signers ag_solanago.AccountMetaSlice + func NewTransferCheckedInstruction(amount uint64, decimals uint8, source ag_solanago.PublicKey, ...) *TransferChecked + func NewTransferCheckedInstructionBuilder() *TransferChecked + func (inst *TransferChecked) EncodeToTree(parent ag_treeout.Branches) + func (inst *TransferChecked) GetDestinationAccount() *ag_solanago.AccountMeta + func (inst *TransferChecked) GetMintAccount() *ag_solanago.AccountMeta + func (inst *TransferChecked) GetOwnerAccount() *ag_solanago.AccountMeta + func (inst *TransferChecked) GetSourceAccount() *ag_solanago.AccountMeta + func (inst *TransferChecked) SetAmount(amount uint64) *TransferChecked + func (inst *TransferChecked) SetDecimals(decimals uint8) *TransferChecked + func (inst *TransferChecked) SetDestinationAccount(destination ag_solanago.PublicKey) *TransferChecked + func (inst *TransferChecked) SetMintAccount(mint ag_solanago.PublicKey) *TransferChecked + func (inst *TransferChecked) SetOwnerAccount(owner ag_solanago.PublicKey, multisigSigners ...ag_solanago.PublicKey) *TransferChecked + func (inst *TransferChecked) SetSourceAccount(source ag_solanago.PublicKey) *TransferChecked + func (inst *TransferChecked) Validate() error + func (inst TransferChecked) Build() *Instruction + func (inst TransferChecked) ValidateAndBuild() (*Instruction, error) + func (obj *TransferChecked) SetAccounts(accounts []*ag_solanago.AccountMeta) error + func (obj *TransferChecked) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error) + func (obj TransferChecked) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error) + func (slice TransferChecked) GetAccounts() (accounts []*ag_solanago.AccountMeta)