Versions in this module Expand all Collapse all v0 v0.1.0 Jan 1, 2025 Changes in this version + const ACCOUNT_SIZE + const MINT_SIZE + const ProgramName + var InstructionImplDef = binary.NewVariantDefinition(binary.Uint8TypeIDEncoding, []binary.VariantType{ ... }) + var Instruction_AmountToUiAmount uint8 = 23 + var Instruction_Approve uint8 = 4 + var Instruction_ApproveChecked uint8 = 13 + var Instruction_Burn uint8 = 8 + var Instruction_BurnChecked uint8 = 15 + var Instruction_CloseAccount uint8 = 9 + var Instruction_ConfidentialTransferExtension uint8 = 27 + var Instruction_ConfidentialTransferFeeExtension uint8 = 37 + var Instruction_CpiGuardExtension uint8 = 34 + var Instruction_CreateNativeMint uint8 = 31 + var Instruction_DefaultAccountStateExtension uint8 = 28 + var Instruction_FreezeAccount uint8 = 10 + var Instruction_GetAccountDataSize uint8 = 21 + var Instruction_GroupMemberPointerExtension uint8 = 41 + var Instruction_GroupPointerExtension uint8 = 40 + var Instruction_InitializeAccount uint8 = 1 + var Instruction_InitializeAccount2 uint8 = 16 + var Instruction_InitializeAccount3 uint8 = 18 + var Instruction_InitializeImmutableOwner uint8 = 22 + var Instruction_InitializeMint uint8 = 0 + var Instruction_InitializeMint2 uint8 = 20 + var Instruction_InitializeMintCloseAuthority uint8 = 25 + var Instruction_InitializeMultisig uint8 = 2 + var Instruction_InitializeMultisig2 uint8 = 19 + var Instruction_InitializeNonTransferableMint uint8 = 32 + var Instruction_InitializePermanentDelegate uint8 = 35 + var Instruction_InterestBearingMintExtension uint8 = 33 + var Instruction_MemoTransferExtension uint8 = 30 + var Instruction_MetadataPointerExtension uint8 = 39 + var Instruction_MintTo uint8 = 7 + var Instruction_MintToChecked uint8 = 14 + var Instruction_Reallocate uint8 = 29 + var Instruction_Revoke uint8 = 5 + var Instruction_SetAuthority uint8 = 6 + var Instruction_SyncNative uint8 = 17 + var Instruction_ThawAccount uint8 = 11 + var Instruction_Transfer uint8 = 3 + var Instruction_TransferChecked uint8 = 12 + var Instruction_TransferFeeExtension uint8 = 26 + var Instruction_TransferHookExtension uint8 = 36 + var Instruction_UiAmountToAmount uint8 = 24 + var Instruction_WithdrawExcessLamports uint8 = 38 + var ProgramID common.PublicKey = common.MustPublicKeyFromBase58("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb") + func InstructionIDToName(id uint8) string + func SetProgramID(pubkey common.PublicKey) + type Account struct + Amount uint64 + CloseAuthority *common.PublicKey + Delegate *common.PublicKey + DelegatedAmount uint64 + IsNative *uint64 + Mint common.PublicKey + Owner common.PublicKey + State AccountState + func (obj *Account) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Account) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + type AccountDecryptionError struct + func (e AccountDecryptionError) Code() int + func (e AccountDecryptionError) Error() string + type AccountFrozenError struct + func (e AccountFrozenError) Code() int + func (e AccountFrozenError) Error() string + type AccountHasWithheldTransferFeesError struct + func (e AccountHasWithheldTransferFeesError) Code() int + func (e AccountHasWithheldTransferFeesError) Error() string + type AccountState binary.BorshEnum + const AccountStateFrozen + const AccountStateInitialized + const AccountStateUninitialized + func (value AccountState) String() string + type AlreadyInUseError struct + func (e AlreadyInUseError) Code() int + func (e AlreadyInUseError) Error() string + type AmountToUiAmount struct + Amount *uint64 + func NewAmountToUiAmountInstruction(amount uint64, mint common.PublicKey) *AmountToUiAmount + func NewAmountToUiAmountInstructionBuilder() *AmountToUiAmount + func (obj *AmountToUiAmount) Build() *Instruction + func (obj *AmountToUiAmount) EncodeToTree(parent treeout.Branches) + func (obj *AmountToUiAmount) GetMintAccount() *common.AccountMeta + func (obj *AmountToUiAmount) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *AmountToUiAmount) SetAmount(amount uint64) *AmountToUiAmount + func (obj *AmountToUiAmount) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *AmountToUiAmount + func (obj *AmountToUiAmount) SetProgramId(programId *common.PublicKey) *AmountToUiAmount + func (obj *AmountToUiAmount) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *AmountToUiAmount) Validate() error + func (obj *AmountToUiAmount) ValidateAndBuild() (*Instruction, error) + type Approve struct + Amount *uint64 + func NewApproveInstruction(amount uint64, source common.PublicKey, delegate common.PublicKey, ...) *Approve + func NewApproveInstructionBuilder() *Approve + func (obj *Approve) Build() *Instruction + func (obj *Approve) EncodeToTree(parent treeout.Branches) + func (obj *Approve) GetAuthorityAccount() *common.AccountMeta + func (obj *Approve) GetDelegateAccount() *common.AccountMeta + func (obj *Approve) GetSourceAccount() *common.AccountMeta + func (obj *Approve) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Approve) SetAmount(amount uint64) *Approve + func (obj *Approve) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *Approve + func (obj *Approve) SetDelegateAccount(delegate common.PublicKey) *Approve + func (obj *Approve) SetProgramId(programId *common.PublicKey) *Approve + func (obj *Approve) SetSourceAccount(source common.PublicKey) *Approve + func (obj *Approve) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *Approve) Validate() error + func (obj *Approve) ValidateAndBuild() (*Instruction, error) + type ApproveChecked struct + Amount *uint64 + Decimals *uint64 + func NewApproveCheckedInstruction(amount uint64, decimals uint64, source common.PublicKey, mint common.PublicKey, ...) *ApproveChecked + func NewApproveCheckedInstructionBuilder() *ApproveChecked + func (obj *ApproveChecked) Build() *Instruction + func (obj *ApproveChecked) EncodeToTree(parent treeout.Branches) + func (obj *ApproveChecked) GetAuthorityAccount() *common.AccountMeta + func (obj *ApproveChecked) GetDelegateAccount() *common.AccountMeta + func (obj *ApproveChecked) GetMintAccount() *common.AccountMeta + func (obj *ApproveChecked) GetSourceAccount() *common.AccountMeta + func (obj *ApproveChecked) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *ApproveChecked) SetAmount(amount uint64) *ApproveChecked + func (obj *ApproveChecked) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *ApproveChecked + func (obj *ApproveChecked) SetDecimals(decimals uint64) *ApproveChecked + func (obj *ApproveChecked) SetDelegateAccount(delegate common.PublicKey) *ApproveChecked + func (obj *ApproveChecked) SetMintAccount(mint common.PublicKey) *ApproveChecked + func (obj *ApproveChecked) SetProgramId(programId *common.PublicKey) *ApproveChecked + func (obj *ApproveChecked) SetSourceAccount(source common.PublicKey) *ApproveChecked + func (obj *ApproveChecked) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *ApproveChecked) Validate() error + func (obj *ApproveChecked) ValidateAndBuild() (*Instruction, error) + type AuthorityType binary.BorshEnum + const AuthorityTypeAccountOwner + const AuthorityTypeCloseAccount + const AuthorityTypeCloseMint + const AuthorityTypeConfidentialTransferFeeConfig + const AuthorityTypeConfidentialTransferMint + const AuthorityTypeFreezeAccount + const AuthorityTypeGroupMemberPointer + const AuthorityTypeGroupPointer + const AuthorityTypeInterestRate + const AuthorityTypeMetadataPointer + const AuthorityTypeMintTokens + const AuthorityTypePermanentDelegate + const AuthorityTypeTransferFeeConfig + const AuthorityTypeTransferHookProgramId + const AuthorityTypeWithheldWithdraw + func (value AuthorityType) String() string + type AuthorityTypeNotSupportedError struct + func (e AuthorityTypeNotSupportedError) Code() int + func (e AuthorityTypeNotSupportedError) Error() string + type Burn struct + Amount *uint64 + func NewBurnInstruction(amount uint64, burnFrom common.PublicKey, mint common.PublicKey, ...) *Burn + func NewBurnInstructionBuilder() *Burn + func (obj *Burn) Build() *Instruction + func (obj *Burn) EncodeToTree(parent treeout.Branches) + func (obj *Burn) GetAuthorityAccount() *common.AccountMeta + func (obj *Burn) GetBurnFromAccount() *common.AccountMeta + func (obj *Burn) GetMintAccount() *common.AccountMeta + func (obj *Burn) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Burn) SetAmount(amount uint64) *Burn + func (obj *Burn) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *Burn + func (obj *Burn) SetBurnFromAccount(burnFrom common.PublicKey) *Burn + func (obj *Burn) SetMintAccount(mint common.PublicKey) *Burn + func (obj *Burn) SetProgramId(programId *common.PublicKey) *Burn + func (obj *Burn) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *Burn) Validate() error + func (obj *Burn) ValidateAndBuild() (*Instruction, error) + type BurnChecked struct + Amount *uint64 + Decimals *uint64 + func NewBurnCheckedInstruction(amount uint64, decimals uint64, burnFrom common.PublicKey, ...) *BurnChecked + func NewBurnCheckedInstructionBuilder() *BurnChecked + func (obj *BurnChecked) Build() *Instruction + func (obj *BurnChecked) EncodeToTree(parent treeout.Branches) + func (obj *BurnChecked) GetAuthorityAccount() *common.AccountMeta + func (obj *BurnChecked) GetBurnFromAccount() *common.AccountMeta + func (obj *BurnChecked) GetMintAccount() *common.AccountMeta + func (obj *BurnChecked) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *BurnChecked) SetAmount(amount uint64) *BurnChecked + func (obj *BurnChecked) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *BurnChecked + func (obj *BurnChecked) SetBurnFromAccount(burnFrom common.PublicKey) *BurnChecked + func (obj *BurnChecked) SetDecimals(decimals uint64) *BurnChecked + func (obj *BurnChecked) SetMintAccount(mint common.PublicKey) *BurnChecked + func (obj *BurnChecked) SetProgramId(programId *common.PublicKey) *BurnChecked + func (obj *BurnChecked) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *BurnChecked) Validate() error + func (obj *BurnChecked) ValidateAndBuild() (*Instruction, error) + type CiphertextArithmeticFailedError struct + func (e CiphertextArithmeticFailedError) Code() int + func (e CiphertextArithmeticFailedError) Error() string + type CloseAccount struct + func NewCloseAccountInstruction(account common.PublicKey, destination common.PublicKey, ...) *CloseAccount + func NewCloseAccountInstructionBuilder() *CloseAccount + func (obj *CloseAccount) Build() *Instruction + func (obj *CloseAccount) EncodeToTree(parent treeout.Branches) + func (obj *CloseAccount) GetAccountAccount() *common.AccountMeta + func (obj *CloseAccount) GetAuthorityAccount() *common.AccountMeta + func (obj *CloseAccount) GetDestinationAccount() *common.AccountMeta + func (obj *CloseAccount) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *CloseAccount) SetAccountAccount(account common.PublicKey) *CloseAccount + func (obj *CloseAccount) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *CloseAccount + func (obj *CloseAccount) SetDestinationAccount(destination common.PublicKey) *CloseAccount + func (obj *CloseAccount) SetProgramId(programId *common.PublicKey) *CloseAccount + func (obj *CloseAccount) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *CloseAccount) Validate() error + func (obj *CloseAccount) ValidateAndBuild() (*Instruction, error) + type ConfidentialTransferAccountHasBalanceError struct + func (e ConfidentialTransferAccountHasBalanceError) Code() int + func (e ConfidentialTransferAccountHasBalanceError) Error() string + type ConfidentialTransferAccountNotApprovedError struct + func (e ConfidentialTransferAccountNotApprovedError) Code() int + func (e ConfidentialTransferAccountNotApprovedError) Error() string + type ConfidentialTransferBalanceMismatchError struct + func (e ConfidentialTransferBalanceMismatchError) Code() int + func (e ConfidentialTransferBalanceMismatchError) Error() string + type ConfidentialTransferDepositsAndTransfersDisabledError struct + func (e ConfidentialTransferDepositsAndTransfersDisabledError) Code() int + func (e ConfidentialTransferDepositsAndTransfersDisabledError) Error() string + type ConfidentialTransferElGamalPubkeyMismatchError struct + func (e ConfidentialTransferElGamalPubkeyMismatchError) Code() int + func (e ConfidentialTransferElGamalPubkeyMismatchError) Error() string + type ConfidentialTransferExtension struct + Data []byte + func NewConfidentialTransferExtensionInstruction(data []byte) *ConfidentialTransferExtension + func NewConfidentialTransferExtensionInstructionBuilder() *ConfidentialTransferExtension + func (obj *ConfidentialTransferExtension) Build() *Instruction + func (obj *ConfidentialTransferExtension) EncodeToTree(parent treeout.Branches) + func (obj *ConfidentialTransferExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *ConfidentialTransferExtension) SetData(data []byte) *ConfidentialTransferExtension + func (obj *ConfidentialTransferExtension) SetProgramId(programId *common.PublicKey) *ConfidentialTransferExtension + func (obj *ConfidentialTransferExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *ConfidentialTransferExtension) Validate() error + func (obj *ConfidentialTransferExtension) ValidateAndBuild() (*Instruction, error) + type ConfidentialTransferFeeAccountHasWithheldFeeError struct + func (e ConfidentialTransferFeeAccountHasWithheldFeeError) Code() int + func (e ConfidentialTransferFeeAccountHasWithheldFeeError) Error() string + type ConfidentialTransferFeeExtension struct + Data []byte + func NewConfidentialTransferFeeExtensionInstruction(data []byte) *ConfidentialTransferFeeExtension + func NewConfidentialTransferFeeExtensionInstructionBuilder() *ConfidentialTransferFeeExtension + func (obj *ConfidentialTransferFeeExtension) Build() *Instruction + func (obj *ConfidentialTransferFeeExtension) EncodeToTree(parent treeout.Branches) + func (obj *ConfidentialTransferFeeExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *ConfidentialTransferFeeExtension) SetData(data []byte) *ConfidentialTransferFeeExtension + func (obj *ConfidentialTransferFeeExtension) SetProgramId(programId *common.PublicKey) *ConfidentialTransferFeeExtension + func (obj *ConfidentialTransferFeeExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *ConfidentialTransferFeeExtension) Validate() error + func (obj *ConfidentialTransferFeeExtension) ValidateAndBuild() (*Instruction, error) + type CpiGuardApproveBlockedError struct + func (e CpiGuardApproveBlockedError) Code() int + func (e CpiGuardApproveBlockedError) Error() string + type CpiGuardBurnBlockedError struct + func (e CpiGuardBurnBlockedError) Code() int + func (e CpiGuardBurnBlockedError) Error() string + type CpiGuardCloseAccountBlockedError struct + func (e CpiGuardCloseAccountBlockedError) Code() int + func (e CpiGuardCloseAccountBlockedError) Error() string + type CpiGuardExtension struct + Data []byte + func NewCpiGuardExtensionInstruction(data []byte) *CpiGuardExtension + func NewCpiGuardExtensionInstructionBuilder() *CpiGuardExtension + func (obj *CpiGuardExtension) Build() *Instruction + func (obj *CpiGuardExtension) EncodeToTree(parent treeout.Branches) + func (obj *CpiGuardExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *CpiGuardExtension) SetData(data []byte) *CpiGuardExtension + func (obj *CpiGuardExtension) SetProgramId(programId *common.PublicKey) *CpiGuardExtension + func (obj *CpiGuardExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *CpiGuardExtension) Validate() error + func (obj *CpiGuardExtension) ValidateAndBuild() (*Instruction, error) + type CpiGuardOwnerChangeBlockedError struct + func (e CpiGuardOwnerChangeBlockedError) Code() int + func (e CpiGuardOwnerChangeBlockedError) Error() string + type CpiGuardSetAuthorityBlockedError struct + func (e CpiGuardSetAuthorityBlockedError) Code() int + func (e CpiGuardSetAuthorityBlockedError) Error() string + type CpiGuardSettingsLockedError struct + func (e CpiGuardSettingsLockedError) Code() int + func (e CpiGuardSettingsLockedError) Error() string + type CpiGuardTransferBlockedError struct + func (e CpiGuardTransferBlockedError) Code() int + func (e CpiGuardTransferBlockedError) Error() string + type CreateNativeMint struct + func NewCreateNativeMintInstruction(funding common.PublicKey, nativeMint common.PublicKey, system common.PublicKey) *CreateNativeMint + func NewCreateNativeMintInstructionBuilder() *CreateNativeMint + func (obj *CreateNativeMint) Build() *Instruction + func (obj *CreateNativeMint) EncodeToTree(parent treeout.Branches) + func (obj *CreateNativeMint) GetFundingAccount() *common.AccountMeta + func (obj *CreateNativeMint) GetNativeMintAccount() *common.AccountMeta + func (obj *CreateNativeMint) GetSystemAccount() *common.AccountMeta + func (obj *CreateNativeMint) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *CreateNativeMint) SetFundingAccount(funding common.PublicKey) *CreateNativeMint + func (obj *CreateNativeMint) SetNativeMintAccount(nativeMint common.PublicKey) *CreateNativeMint + func (obj *CreateNativeMint) SetProgramId(programId *common.PublicKey) *CreateNativeMint + func (obj *CreateNativeMint) SetSystemAccount(system common.PublicKey, multiSigners ...common.PublicKey) *CreateNativeMint + func (obj *CreateNativeMint) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *CreateNativeMint) Validate() error + func (obj *CreateNativeMint) ValidateAndBuild() (*Instruction, error) + type DefaultAccountStateExtension struct + Data []byte + func NewDefaultAccountStateExtensionInstruction(data []byte) *DefaultAccountStateExtension + func NewDefaultAccountStateExtensionInstructionBuilder() *DefaultAccountStateExtension + func (obj *DefaultAccountStateExtension) Build() *Instruction + func (obj *DefaultAccountStateExtension) EncodeToTree(parent treeout.Branches) + func (obj *DefaultAccountStateExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *DefaultAccountStateExtension) SetData(data []byte) *DefaultAccountStateExtension + func (obj *DefaultAccountStateExtension) SetProgramId(programId *common.PublicKey) *DefaultAccountStateExtension + func (obj *DefaultAccountStateExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *DefaultAccountStateExtension) Validate() error + func (obj *DefaultAccountStateExtension) ValidateAndBuild() (*Instruction, error) + type ExtensionAlreadyInitializedError struct + func (e ExtensionAlreadyInitializedError) Code() int + func (e ExtensionAlreadyInitializedError) Error() string + type ExtensionBaseMismatchError struct + func (e ExtensionBaseMismatchError) Code() int + func (e ExtensionBaseMismatchError) Error() string + type ExtensionNotFoundError struct + func (e ExtensionNotFoundError) Code() int + func (e ExtensionNotFoundError) Error() string + type ExtensionType binary.BorshEnum + const ExtensionTypeConfidentialTransferAccount + const ExtensionTypeConfidentialTransferFeeAmount + const ExtensionTypeConfidentialTransferFeeConfig + const ExtensionTypeConfidentialTransferMint + const ExtensionTypeCpiGuard + const ExtensionTypeDefaultAccountState + const ExtensionTypeGroupMemberPointer + const ExtensionTypeGroupPointer + const ExtensionTypeImmutableOwner + const ExtensionTypeInterestBearingConfig + const ExtensionTypeMemoTransfer + const ExtensionTypeMetadataPointer + const ExtensionTypeMintCloseAuthority + const ExtensionTypeNonTransferable + const ExtensionTypeNonTransferableAccount + const ExtensionTypePermanentDelegate + const ExtensionTypeTokenGroup + const ExtensionTypeTokenGroupMember + const ExtensionTypeTokenMetadata + const ExtensionTypeTransferFeeAmount + const ExtensionTypeTransferFeeConfig + const ExtensionTypeTransferHook + const ExtensionTypeTransferHookAccount + const ExtensionTypeUninitialized + func (value ExtensionType) String() string + type ExtensionTypeMismatchError struct + func (e ExtensionTypeMismatchError) Code() int + func (e ExtensionTypeMismatchError) Error() string + type FeeMismatchError struct + func (e FeeMismatchError) Code() int + func (e FeeMismatchError) Error() string + type FeeParametersMismatchError struct + func (e FeeParametersMismatchError) Code() int + func (e FeeParametersMismatchError) Error() string + type FixedSupplyError struct + func (e FixedSupplyError) Code() int + func (e FixedSupplyError) Error() string + type FreezeAccount struct + func NewFreezeAccountInstruction(account common.PublicKey, mint common.PublicKey, authority common.PublicKey) *FreezeAccount + func NewFreezeAccountInstructionBuilder() *FreezeAccount + func (obj *FreezeAccount) Build() *Instruction + func (obj *FreezeAccount) EncodeToTree(parent treeout.Branches) + func (obj *FreezeAccount) GetAccountAccount() *common.AccountMeta + func (obj *FreezeAccount) GetAuthorityAccount() *common.AccountMeta + func (obj *FreezeAccount) GetMintAccount() *common.AccountMeta + func (obj *FreezeAccount) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *FreezeAccount) SetAccountAccount(account common.PublicKey) *FreezeAccount + func (obj *FreezeAccount) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *FreezeAccount + func (obj *FreezeAccount) SetMintAccount(mint common.PublicKey) *FreezeAccount + func (obj *FreezeAccount) SetProgramId(programId *common.PublicKey) *FreezeAccount + func (obj *FreezeAccount) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *FreezeAccount) Validate() error + func (obj *FreezeAccount) ValidateAndBuild() (*Instruction, error) + type GetAccountDataSize struct + ExtensionTypes []ExtensionType + func NewGetAccountDataSizeInstruction(extensionTypes []ExtensionType, mint common.PublicKey) *GetAccountDataSize + func NewGetAccountDataSizeInstructionBuilder() *GetAccountDataSize + func (obj *GetAccountDataSize) Build() *Instruction + func (obj *GetAccountDataSize) EncodeToTree(parent treeout.Branches) + func (obj *GetAccountDataSize) GetMintAccount() *common.AccountMeta + func (obj *GetAccountDataSize) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *GetAccountDataSize) SetExtensionTypes(extensionTypes []ExtensionType) *GetAccountDataSize + func (obj *GetAccountDataSize) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *GetAccountDataSize + func (obj *GetAccountDataSize) SetProgramId(programId *common.PublicKey) *GetAccountDataSize + func (obj *GetAccountDataSize) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *GetAccountDataSize) Validate() error + func (obj *GetAccountDataSize) ValidateAndBuild() (*Instruction, error) + type GroupMemberPointerExtension struct + Data []byte + func NewGroupMemberPointerExtensionInstruction(data []byte) *GroupMemberPointerExtension + func NewGroupMemberPointerExtensionInstructionBuilder() *GroupMemberPointerExtension + func (obj *GroupMemberPointerExtension) Build() *Instruction + func (obj *GroupMemberPointerExtension) EncodeToTree(parent treeout.Branches) + func (obj *GroupMemberPointerExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *GroupMemberPointerExtension) SetData(data []byte) *GroupMemberPointerExtension + func (obj *GroupMemberPointerExtension) SetProgramId(programId *common.PublicKey) *GroupMemberPointerExtension + func (obj *GroupMemberPointerExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *GroupMemberPointerExtension) Validate() error + func (obj *GroupMemberPointerExtension) ValidateAndBuild() (*Instruction, error) + type GroupPointerExtension struct + Data []byte + func NewGroupPointerExtensionInstruction(data []byte) *GroupPointerExtension + func NewGroupPointerExtensionInstructionBuilder() *GroupPointerExtension + func (obj *GroupPointerExtension) Build() *Instruction + func (obj *GroupPointerExtension) EncodeToTree(parent treeout.Branches) + func (obj *GroupPointerExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *GroupPointerExtension) SetData(data []byte) *GroupPointerExtension + func (obj *GroupPointerExtension) SetProgramId(programId *common.PublicKey) *GroupPointerExtension + func (obj *GroupPointerExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *GroupPointerExtension) Validate() error + func (obj *GroupPointerExtension) ValidateAndBuild() (*Instruction, error) + type HarvestToMintDisabledError struct + func (e HarvestToMintDisabledError) Code() int + func (e HarvestToMintDisabledError) Error() string + type ImmutableOwnerError struct + func (e ImmutableOwnerError) Code() int + func (e ImmutableOwnerError) Error() string + type InitializeAccount struct + func NewInitializeAccountInstruction(account common.PublicKey, mint common.PublicKey, authority common.PublicKey, ...) *InitializeAccount + func NewInitializeAccountInstructionBuilder() *InitializeAccount + func (obj *InitializeAccount) Build() *Instruction + func (obj *InitializeAccount) EncodeToTree(parent treeout.Branches) + func (obj *InitializeAccount) GetAccountAccount() *common.AccountMeta + func (obj *InitializeAccount) GetAuthorityAccount() *common.AccountMeta + func (obj *InitializeAccount) GetMintAccount() *common.AccountMeta + func (obj *InitializeAccount) GetRentAccount() *common.AccountMeta + func (obj *InitializeAccount) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeAccount) SetAccountAccount(account common.PublicKey) *InitializeAccount + func (obj *InitializeAccount) SetAuthorityAccount(authority common.PublicKey) *InitializeAccount + func (obj *InitializeAccount) SetMintAccount(mint common.PublicKey) *InitializeAccount + func (obj *InitializeAccount) SetProgramId(programId *common.PublicKey) *InitializeAccount + func (obj *InitializeAccount) SetRentAccount(rent common.PublicKey, multiSigners ...common.PublicKey) *InitializeAccount + func (obj *InitializeAccount) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeAccount) Validate() error + func (obj *InitializeAccount) ValidateAndBuild() (*Instruction, error) + type InitializeAccount2 struct + Owner *common.PublicKey + func NewInitializeAccount2Instruction(owner common.PublicKey, account common.PublicKey, mint common.PublicKey, ...) *InitializeAccount2 + func NewInitializeAccount2InstructionBuilder() *InitializeAccount2 + func (obj *InitializeAccount2) Build() *Instruction + func (obj *InitializeAccount2) EncodeToTree(parent treeout.Branches) + func (obj *InitializeAccount2) GetAccountAccount() *common.AccountMeta + func (obj *InitializeAccount2) GetMintAccount() *common.AccountMeta + func (obj *InitializeAccount2) GetRentAccount() *common.AccountMeta + func (obj *InitializeAccount2) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeAccount2) SetAccountAccount(account common.PublicKey) *InitializeAccount2 + func (obj *InitializeAccount2) SetMintAccount(mint common.PublicKey) *InitializeAccount2 + func (obj *InitializeAccount2) SetOwner(owner common.PublicKey) *InitializeAccount2 + func (obj *InitializeAccount2) SetProgramId(programId *common.PublicKey) *InitializeAccount2 + func (obj *InitializeAccount2) SetRentAccount(rent common.PublicKey, multiSigners ...common.PublicKey) *InitializeAccount2 + func (obj *InitializeAccount2) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeAccount2) Validate() error + func (obj *InitializeAccount2) ValidateAndBuild() (*Instruction, error) + type InitializeAccount3 struct + Owner *common.PublicKey + func NewInitializeAccount3Instruction(owner common.PublicKey, account common.PublicKey, mint common.PublicKey) *InitializeAccount3 + func NewInitializeAccount3InstructionBuilder() *InitializeAccount3 + func (obj *InitializeAccount3) Build() *Instruction + func (obj *InitializeAccount3) EncodeToTree(parent treeout.Branches) + func (obj *InitializeAccount3) GetAccountAccount() *common.AccountMeta + func (obj *InitializeAccount3) GetMintAccount() *common.AccountMeta + func (obj *InitializeAccount3) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeAccount3) SetAccountAccount(account common.PublicKey) *InitializeAccount3 + func (obj *InitializeAccount3) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *InitializeAccount3 + func (obj *InitializeAccount3) SetOwner(owner common.PublicKey) *InitializeAccount3 + func (obj *InitializeAccount3) SetProgramId(programId *common.PublicKey) *InitializeAccount3 + func (obj *InitializeAccount3) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeAccount3) Validate() error + func (obj *InitializeAccount3) ValidateAndBuild() (*Instruction, error) + type InitializeImmutableOwner struct + func NewInitializeImmutableOwnerInstruction(account common.PublicKey) *InitializeImmutableOwner + func NewInitializeImmutableOwnerInstructionBuilder() *InitializeImmutableOwner + func (obj *InitializeImmutableOwner) Build() *Instruction + func (obj *InitializeImmutableOwner) EncodeToTree(parent treeout.Branches) + func (obj *InitializeImmutableOwner) GetAccountAccount() *common.AccountMeta + func (obj *InitializeImmutableOwner) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeImmutableOwner) SetAccountAccount(account common.PublicKey, multiSigners ...common.PublicKey) *InitializeImmutableOwner + func (obj *InitializeImmutableOwner) SetProgramId(programId *common.PublicKey) *InitializeImmutableOwner + func (obj *InitializeImmutableOwner) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeImmutableOwner) Validate() error + func (obj *InitializeImmutableOwner) ValidateAndBuild() (*Instruction, error) + type InitializeMint struct + Authority *common.PublicKey + Decimals *uint8 + FreezeAuthority *common.PublicKey + func NewInitializeMintInstruction(decimals uint8, authority common.PublicKey, freezeAuthority *common.PublicKey, ...) *InitializeMint + func NewInitializeMintInstructionBuilder() *InitializeMint + func (obj *InitializeMint) Build() *Instruction + func (obj *InitializeMint) EncodeToTree(parent treeout.Branches) + func (obj *InitializeMint) GetMintAccount() *common.AccountMeta + func (obj *InitializeMint) GetRentAccount() *common.AccountMeta + func (obj *InitializeMint) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeMint) SetAuthority(authority common.PublicKey) *InitializeMint + func (obj *InitializeMint) SetDecimals(decimals uint8) *InitializeMint + func (obj *InitializeMint) SetFreezeAuthority(freezeAuthority *common.PublicKey) *InitializeMint + func (obj *InitializeMint) SetMintAccount(mint common.PublicKey) *InitializeMint + func (obj *InitializeMint) SetProgramId(programId *common.PublicKey) *InitializeMint + func (obj *InitializeMint) SetRentAccount(rent common.PublicKey, multiSigners ...common.PublicKey) *InitializeMint + func (obj *InitializeMint) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeMint) Validate() error + func (obj *InitializeMint) ValidateAndBuild() (*Instruction, error) + type InitializeMint2 struct + Authority *common.PublicKey + Decimals *uint8 + FreezeAuthority *common.PublicKey + func NewInitializeMint2Instruction(decimals uint8, authority common.PublicKey, freezeAuthority *common.PublicKey, ...) *InitializeMint2 + func NewInitializeMint2InstructionBuilder() *InitializeMint2 + func (obj *InitializeMint2) Build() *Instruction + func (obj *InitializeMint2) EncodeToTree(parent treeout.Branches) + func (obj *InitializeMint2) GetMintAccount() *common.AccountMeta + func (obj *InitializeMint2) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeMint2) SetAuthority(authority common.PublicKey) *InitializeMint2 + func (obj *InitializeMint2) SetDecimals(decimals uint8) *InitializeMint2 + func (obj *InitializeMint2) SetFreezeAuthority(freezeAuthority *common.PublicKey) *InitializeMint2 + func (obj *InitializeMint2) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *InitializeMint2 + func (obj *InitializeMint2) SetProgramId(programId *common.PublicKey) *InitializeMint2 + func (obj *InitializeMint2) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeMint2) Validate() error + func (obj *InitializeMint2) ValidateAndBuild() (*Instruction, error) + type InitializeMintCloseAuthority struct + CloseAuthority *common.PublicKey + func NewInitializeMintCloseAuthorityInstruction(closeAuthority *common.PublicKey, mint common.PublicKey) *InitializeMintCloseAuthority + func NewInitializeMintCloseAuthorityInstructionBuilder() *InitializeMintCloseAuthority + func (obj *InitializeMintCloseAuthority) Build() *Instruction + func (obj *InitializeMintCloseAuthority) EncodeToTree(parent treeout.Branches) + func (obj *InitializeMintCloseAuthority) GetMintAccount() *common.AccountMeta + func (obj *InitializeMintCloseAuthority) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeMintCloseAuthority) SetCloseAuthority(closeAuthority *common.PublicKey) *InitializeMintCloseAuthority + func (obj *InitializeMintCloseAuthority) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *InitializeMintCloseAuthority + func (obj *InitializeMintCloseAuthority) SetProgramId(programId *common.PublicKey) *InitializeMintCloseAuthority + func (obj *InitializeMintCloseAuthority) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeMintCloseAuthority) Validate() error + func (obj *InitializeMintCloseAuthority) ValidateAndBuild() (*Instruction, error) + type InitializeMultisig struct + M *uint8 + func NewInitializeMultisigInstruction(m uint8, account common.PublicKey, rent common.PublicKey) *InitializeMultisig + func NewInitializeMultisigInstructionBuilder() *InitializeMultisig + func (obj *InitializeMultisig) Build() *Instruction + func (obj *InitializeMultisig) EncodeToTree(parent treeout.Branches) + func (obj *InitializeMultisig) GetAccountAccount() *common.AccountMeta + func (obj *InitializeMultisig) GetRentAccount() *common.AccountMeta + func (obj *InitializeMultisig) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeMultisig) SetAccountAccount(account common.PublicKey) *InitializeMultisig + func (obj *InitializeMultisig) SetM(m uint8) *InitializeMultisig + func (obj *InitializeMultisig) SetProgramId(programId *common.PublicKey) *InitializeMultisig + func (obj *InitializeMultisig) SetRentAccount(rent common.PublicKey, multiSigners ...common.PublicKey) *InitializeMultisig + func (obj *InitializeMultisig) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeMultisig) Validate() error + func (obj *InitializeMultisig) ValidateAndBuild() (*Instruction, error) + type InitializeMultisig2 struct + M *uint8 + func NewInitializeMultisig2Instruction(m uint8, account common.PublicKey) *InitializeMultisig2 + func NewInitializeMultisig2InstructionBuilder() *InitializeMultisig2 + func (obj *InitializeMultisig2) Build() *Instruction + func (obj *InitializeMultisig2) EncodeToTree(parent treeout.Branches) + func (obj *InitializeMultisig2) GetAccountAccount() *common.AccountMeta + func (obj *InitializeMultisig2) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeMultisig2) SetAccountAccount(account common.PublicKey, multiSigners ...common.PublicKey) *InitializeMultisig2 + func (obj *InitializeMultisig2) SetM(m uint8) *InitializeMultisig2 + func (obj *InitializeMultisig2) SetProgramId(programId *common.PublicKey) *InitializeMultisig2 + func (obj *InitializeMultisig2) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeMultisig2) Validate() error + func (obj *InitializeMultisig2) ValidateAndBuild() (*Instruction, error) + type InitializeNonTransferableMint struct + func NewInitializeNonTransferableMintInstruction(mint common.PublicKey) *InitializeNonTransferableMint + func NewInitializeNonTransferableMintInstructionBuilder() *InitializeNonTransferableMint + func (obj *InitializeNonTransferableMint) Build() *Instruction + func (obj *InitializeNonTransferableMint) EncodeToTree(parent treeout.Branches) + func (obj *InitializeNonTransferableMint) GetMintAccount() *common.AccountMeta + func (obj *InitializeNonTransferableMint) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializeNonTransferableMint) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *InitializeNonTransferableMint + func (obj *InitializeNonTransferableMint) SetProgramId(programId *common.PublicKey) *InitializeNonTransferableMint + func (obj *InitializeNonTransferableMint) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializeNonTransferableMint) Validate() error + func (obj *InitializeNonTransferableMint) ValidateAndBuild() (*Instruction, error) + type InitializePermanentDelegate struct + Delegate *common.PublicKey + func NewInitializePermanentDelegateInstruction(delegate common.PublicKey, mint common.PublicKey) *InitializePermanentDelegate + func NewInitializePermanentDelegateInstructionBuilder() *InitializePermanentDelegate + func (obj *InitializePermanentDelegate) Build() *Instruction + func (obj *InitializePermanentDelegate) EncodeToTree(parent treeout.Branches) + func (obj *InitializePermanentDelegate) GetMintAccount() *common.AccountMeta + func (obj *InitializePermanentDelegate) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InitializePermanentDelegate) SetDelegate(delegate common.PublicKey) *InitializePermanentDelegate + func (obj *InitializePermanentDelegate) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *InitializePermanentDelegate + func (obj *InitializePermanentDelegate) SetProgramId(programId *common.PublicKey) *InitializePermanentDelegate + func (obj *InitializePermanentDelegate) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InitializePermanentDelegate) Validate() error + func (obj *InitializePermanentDelegate) ValidateAndBuild() (*Instruction, error) + type Instruction struct + func DecodeInstruction(accounts []*common.AccountMeta, data []byte) (*Instruction, error) + func (obj *Instruction) Accounts() (out []*common.AccountMeta) + func (obj *Instruction) Data() ([]byte, error) + func (obj *Instruction) EncodeToTree(parent treeout.Branches) + func (obj *Instruction) MarshalWithEncoder(encoder *binary.Encoder) error + func (obj *Instruction) ProgramID() common.PublicKey + func (obj *Instruction) TextEncode(encoder *text.Encoder, option *text.Option) error + func (obj *Instruction) UnmarshalWithDecoder(decoder *binary.Decoder) error + type InsufficientFundsError struct + func (e InsufficientFundsError) Code() int + func (e InsufficientFundsError) Error() string + type InterestBearingMintExtension struct + Data []byte + func NewInterestBearingMintExtensionInstruction(data []byte) *InterestBearingMintExtension + func NewInterestBearingMintExtensionInstructionBuilder() *InterestBearingMintExtension + func (obj *InterestBearingMintExtension) Build() *Instruction + func (obj *InterestBearingMintExtension) EncodeToTree(parent treeout.Branches) + func (obj *InterestBearingMintExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *InterestBearingMintExtension) SetData(data []byte) *InterestBearingMintExtension + func (obj *InterestBearingMintExtension) SetProgramId(programId *common.PublicKey) *InterestBearingMintExtension + func (obj *InterestBearingMintExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *InterestBearingMintExtension) Validate() error + func (obj *InterestBearingMintExtension) ValidateAndBuild() (*Instruction, error) + type InvalidExtensionCombinationError struct + func (e InvalidExtensionCombinationError) Code() int + func (e InvalidExtensionCombinationError) Error() string + type InvalidInstructionError struct + func (e InvalidInstructionError) Code() int + func (e InvalidInstructionError) Error() string + type InvalidLengthForAllocError struct + func (e InvalidLengthForAllocError) Code() int + func (e InvalidLengthForAllocError) Error() string + type InvalidMintError struct + func (e InvalidMintError) Code() int + func (e InvalidMintError) Error() string + type InvalidNumberOfProvidedSignersError struct + func (e InvalidNumberOfProvidedSignersError) Code() int + func (e InvalidNumberOfProvidedSignersError) Error() string + type InvalidNumberOfRequiredSignersError struct + func (e InvalidNumberOfRequiredSignersError) Code() int + func (e InvalidNumberOfRequiredSignersError) Error() string + type InvalidProofInstructionOffsetError struct + func (e InvalidProofInstructionOffsetError) Code() int + func (e InvalidProofInstructionOffsetError) Error() string + type InvalidStateError struct + func (e InvalidStateError) Code() int + func (e InvalidStateError) Error() string + type MalformedCiphertextError struct + func (e MalformedCiphertextError) Code() int + func (e MalformedCiphertextError) Error() string + type MaximumDepositAmountExceededError struct + func (e MaximumDepositAmountExceededError) Code() int + func (e MaximumDepositAmountExceededError) Error() string + type MaximumPendingBalanceCreditCounterExceededError struct + func (e MaximumPendingBalanceCreditCounterExceededError) Code() int + func (e MaximumPendingBalanceCreditCounterExceededError) Error() string + type MemoTransferExtension struct + Data []byte + func NewMemoTransferExtensionInstruction(data []byte) *MemoTransferExtension + func NewMemoTransferExtensionInstructionBuilder() *MemoTransferExtension + func (obj *MemoTransferExtension) Build() *Instruction + func (obj *MemoTransferExtension) EncodeToTree(parent treeout.Branches) + func (obj *MemoTransferExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *MemoTransferExtension) SetData(data []byte) *MemoTransferExtension + func (obj *MemoTransferExtension) SetProgramId(programId *common.PublicKey) *MemoTransferExtension + func (obj *MemoTransferExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *MemoTransferExtension) Validate() error + func (obj *MemoTransferExtension) ValidateAndBuild() (*Instruction, error) + type MetadataPointerExtension struct + Data []byte + func NewMetadataPointerExtensionInstruction(data []byte) *MetadataPointerExtension + func NewMetadataPointerExtensionInstructionBuilder() *MetadataPointerExtension + func (obj *MetadataPointerExtension) Build() *Instruction + func (obj *MetadataPointerExtension) EncodeToTree(parent treeout.Branches) + func (obj *MetadataPointerExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *MetadataPointerExtension) SetData(data []byte) *MetadataPointerExtension + func (obj *MetadataPointerExtension) SetProgramId(programId *common.PublicKey) *MetadataPointerExtension + func (obj *MetadataPointerExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *MetadataPointerExtension) Validate() error + func (obj *MetadataPointerExtension) ValidateAndBuild() (*Instruction, error) + type Mint struct + Decimals uint8 + FreezeAuthority *common.PublicKey + IsInitialized bool + MintAuthority *common.PublicKey + Supply uint64 + func (obj *Mint) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Mint) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + type MintCannotFreezeError struct + func (e MintCannotFreezeError) Code() int + func (e MintCannotFreezeError) Error() string + type MintDecimalsMismatchError struct + func (e MintDecimalsMismatchError) Code() int + func (e MintDecimalsMismatchError) Error() string + type MintHasSupplyError struct + func (e MintHasSupplyError) Code() int + func (e MintHasSupplyError) Error() string + type MintMismatchError struct + func (e MintMismatchError) Code() int + func (e MintMismatchError) Error() string + type MintRequiredForTransferError struct + func (e MintRequiredForTransferError) Code() int + func (e MintRequiredForTransferError) Error() string + type MintTo struct + Amount *uint64 + func NewMintToInstruction(amount uint64, mint common.PublicKey, to common.PublicKey, ...) *MintTo + func NewMintToInstructionBuilder() *MintTo + func (obj *MintTo) Build() *Instruction + func (obj *MintTo) EncodeToTree(parent treeout.Branches) + func (obj *MintTo) GetAuthorityAccount() *common.AccountMeta + func (obj *MintTo) GetMintAccount() *common.AccountMeta + func (obj *MintTo) GetToAccount() *common.AccountMeta + func (obj *MintTo) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *MintTo) SetAmount(amount uint64) *MintTo + func (obj *MintTo) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *MintTo + func (obj *MintTo) SetMintAccount(mint common.PublicKey) *MintTo + func (obj *MintTo) SetProgramId(programId *common.PublicKey) *MintTo + func (obj *MintTo) SetToAccount(to common.PublicKey) *MintTo + func (obj *MintTo) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *MintTo) Validate() error + func (obj *MintTo) ValidateAndBuild() (*Instruction, error) + type MintToChecked struct + Amount *uint64 + Decimals *uint64 + func NewMintToCheckedInstruction(amount uint64, decimals uint64, mint common.PublicKey, to common.PublicKey, ...) *MintToChecked + func NewMintToCheckedInstructionBuilder() *MintToChecked + func (obj *MintToChecked) Build() *Instruction + func (obj *MintToChecked) EncodeToTree(parent treeout.Branches) + func (obj *MintToChecked) GetAuthorityAccount() *common.AccountMeta + func (obj *MintToChecked) GetMintAccount() *common.AccountMeta + func (obj *MintToChecked) GetToAccount() *common.AccountMeta + func (obj *MintToChecked) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *MintToChecked) SetAmount(amount uint64) *MintToChecked + func (obj *MintToChecked) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *MintToChecked + func (obj *MintToChecked) SetDecimals(decimals uint64) *MintToChecked + func (obj *MintToChecked) SetMintAccount(mint common.PublicKey) *MintToChecked + func (obj *MintToChecked) SetProgramId(programId *common.PublicKey) *MintToChecked + func (obj *MintToChecked) SetToAccount(to common.PublicKey) *MintToChecked + func (obj *MintToChecked) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *MintToChecked) Validate() error + func (obj *MintToChecked) ValidateAndBuild() (*Instruction, error) + type Multisig struct + IsInitialized bool + M uint8 + N uint8 + Signers [11]common.PublicKey + func (obj *Multisig) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Multisig) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + type NativeNotSupportedError struct + func (e NativeNotSupportedError) Code() int + func (e NativeNotSupportedError) Error() string + type NoAuthorityExistsError struct + func (e NoAuthorityExistsError) Code() int + func (e NoAuthorityExistsError) Error() string + type NoMemoError struct + func (e NoMemoError) Code() int + func (e NoMemoError) Error() string + type NonConfidentialTransfersDisabledError struct + func (e NonConfidentialTransfersDisabledError) Code() int + func (e NonConfidentialTransfersDisabledError) Error() string + type NonNativeHasBalanceError struct + func (e NonNativeHasBalanceError) Code() int + func (e NonNativeHasBalanceError) Error() string + type NonNativeNotSupportedError struct + func (e NonNativeNotSupportedError) Code() int + func (e NonNativeNotSupportedError) Error() string + type NonTransferableError struct + func (e NonTransferableError) Code() int + func (e NonTransferableError) Error() string + type NonTransferableNeedsImmutableOwnershipError struct + func (e NonTransferableNeedsImmutableOwnershipError) Code() int + func (e NonTransferableNeedsImmutableOwnershipError) Error() string + type NotEnoughProofContextStateAccountsError struct + func (e NotEnoughProofContextStateAccountsError) Code() int + func (e NotEnoughProofContextStateAccountsError) Error() string + type NotRentExemptError struct + func (e NotRentExemptError) Code() int + func (e NotRentExemptError) Error() string + type OverflowError struct + func (e OverflowError) Code() int + func (e OverflowError) Error() string + type OwnerMismatchError struct + func (e OwnerMismatchError) Code() int + func (e OwnerMismatchError) Error() string + type ProgramError interface + Code func() int + Error func() string + func GetSplToken2022ErrorFromCode(code int) ProgramError + func GetSplToken2022ErrorFromName(name string) ProgramError + type ProofGenerationError struct + func (e ProofGenerationError) Code() int + func (e ProofGenerationError) Error() string + type Reallocate struct + func NewReallocateInstruction(account common.PublicKey, payer common.PublicKey, system common.PublicKey, ...) *Reallocate + func NewReallocateInstructionBuilder() *Reallocate + func (obj *Reallocate) Build() *Instruction + func (obj *Reallocate) EncodeToTree(parent treeout.Branches) + func (obj *Reallocate) GetAccountAccount() *common.AccountMeta + func (obj *Reallocate) GetAccountOwnerAccount() *common.AccountMeta + func (obj *Reallocate) GetPayerAccount() *common.AccountMeta + func (obj *Reallocate) GetSystemAccount() *common.AccountMeta + func (obj *Reallocate) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Reallocate) SetAccountAccount(account common.PublicKey) *Reallocate + func (obj *Reallocate) SetAccountOwnerAccount(accountOwner common.PublicKey, multiSigners ...common.PublicKey) *Reallocate + func (obj *Reallocate) SetPayerAccount(payer common.PublicKey) *Reallocate + func (obj *Reallocate) SetProgramId(programId *common.PublicKey) *Reallocate + func (obj *Reallocate) SetSystemAccount(system common.PublicKey) *Reallocate + func (obj *Reallocate) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *Reallocate) Validate() error + func (obj *Reallocate) ValidateAndBuild() (*Instruction, error) + type Revoke struct + func NewRevokeInstruction(source common.PublicKey, authority common.PublicKey) *Revoke + func NewRevokeInstructionBuilder() *Revoke + func (obj *Revoke) Build() *Instruction + func (obj *Revoke) EncodeToTree(parent treeout.Branches) + func (obj *Revoke) GetAuthorityAccount() *common.AccountMeta + func (obj *Revoke) GetSourceAccount() *common.AccountMeta + func (obj *Revoke) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Revoke) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *Revoke + func (obj *Revoke) SetProgramId(programId *common.PublicKey) *Revoke + func (obj *Revoke) SetSourceAccount(source common.PublicKey) *Revoke + func (obj *Revoke) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *Revoke) Validate() error + func (obj *Revoke) ValidateAndBuild() (*Instruction, error) + type SetAuthority struct + AuthorityType *AuthorityType + NewAuthority *common.PublicKey + func NewSetAuthorityInstruction(authorityType AuthorityType, newAuthority *common.PublicKey, ...) *SetAuthority + func NewSetAuthorityInstructionBuilder() *SetAuthority + func (obj *SetAuthority) Build() *Instruction + func (obj *SetAuthority) EncodeToTree(parent treeout.Branches) + func (obj *SetAuthority) GetAccountOrMintAccount() *common.AccountMeta + func (obj *SetAuthority) GetCurrentAuthorityAccount() *common.AccountMeta + func (obj *SetAuthority) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *SetAuthority) SetAccountOrMintAccount(accountOrMint common.PublicKey, multiSigners ...common.PublicKey) *SetAuthority + func (obj *SetAuthority) SetAuthorityType(authorityType AuthorityType) *SetAuthority + func (obj *SetAuthority) SetCurrentAuthorityAccount(currentAuthority common.PublicKey) *SetAuthority + func (obj *SetAuthority) SetNewAuthority(newAuthority *common.PublicKey) *SetAuthority + func (obj *SetAuthority) SetProgramId(programId *common.PublicKey) *SetAuthority + func (obj *SetAuthority) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *SetAuthority) Validate() error + func (obj *SetAuthority) ValidateAndBuild() (*Instruction, error) + type SplitProofContextStateAccountsNotSupportedError struct + func (e SplitProofContextStateAccountsNotSupportedError) Code() int + func (e SplitProofContextStateAccountsNotSupportedError) Error() string + type SyncNative struct + func NewSyncNativeInstruction(account common.PublicKey) *SyncNative + func NewSyncNativeInstructionBuilder() *SyncNative + func (obj *SyncNative) Build() *Instruction + func (obj *SyncNative) EncodeToTree(parent treeout.Branches) + func (obj *SyncNative) GetAccountAccount() *common.AccountMeta + func (obj *SyncNative) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *SyncNative) SetAccountAccount(account common.PublicKey, multiSigners ...common.PublicKey) *SyncNative + func (obj *SyncNative) SetProgramId(programId *common.PublicKey) *SyncNative + func (obj *SyncNative) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *SyncNative) Validate() error + func (obj *SyncNative) ValidateAndBuild() (*Instruction, error) + type ThawAccount struct + func NewThawAccountInstruction(account common.PublicKey, mint common.PublicKey, authority common.PublicKey) *ThawAccount + func NewThawAccountInstructionBuilder() *ThawAccount + func (obj *ThawAccount) Build() *Instruction + func (obj *ThawAccount) EncodeToTree(parent treeout.Branches) + func (obj *ThawAccount) GetAccountAccount() *common.AccountMeta + func (obj *ThawAccount) GetAuthorityAccount() *common.AccountMeta + func (obj *ThawAccount) GetMintAccount() *common.AccountMeta + func (obj *ThawAccount) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *ThawAccount) SetAccountAccount(account common.PublicKey) *ThawAccount + func (obj *ThawAccount) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *ThawAccount + func (obj *ThawAccount) SetMintAccount(mint common.PublicKey) *ThawAccount + func (obj *ThawAccount) SetProgramId(programId *common.PublicKey) *ThawAccount + func (obj *ThawAccount) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *ThawAccount) Validate() error + func (obj *ThawAccount) ValidateAndBuild() (*Instruction, error) + type Transfer struct + Amount *uint64 + func NewTransferInstruction(amount uint64, source common.PublicKey, destination common.PublicKey, ...) *Transfer + func NewTransferInstructionBuilder() *Transfer + func (obj *Transfer) Build() *Instruction + func (obj *Transfer) EncodeToTree(parent treeout.Branches) + func (obj *Transfer) GetAuthorityAccount() *common.AccountMeta + func (obj *Transfer) GetDestinationAccount() *common.AccountMeta + func (obj *Transfer) GetSourceAccount() *common.AccountMeta + func (obj *Transfer) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *Transfer) SetAmount(amount uint64) *Transfer + func (obj *Transfer) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *Transfer + func (obj *Transfer) SetDestinationAccount(destination common.PublicKey) *Transfer + func (obj *Transfer) SetProgramId(programId *common.PublicKey) *Transfer + func (obj *Transfer) SetSourceAccount(source common.PublicKey) *Transfer + func (obj *Transfer) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *Transfer) Validate() error + func (obj *Transfer) ValidateAndBuild() (*Instruction, error) + type TransferChecked struct + Amount *uint64 + Decimals *uint8 + func NewTransferCheckedInstruction(amount uint64, decimals uint8, source common.PublicKey, mint common.PublicKey, ...) *TransferChecked + func NewTransferCheckedInstructionBuilder() *TransferChecked + func (obj *TransferChecked) Build() *Instruction + func (obj *TransferChecked) EncodeToTree(parent treeout.Branches) + func (obj *TransferChecked) GetAuthorityAccount() *common.AccountMeta + func (obj *TransferChecked) GetDestinationAccount() *common.AccountMeta + func (obj *TransferChecked) GetMintAccount() *common.AccountMeta + func (obj *TransferChecked) GetSourceAccount() *common.AccountMeta + func (obj *TransferChecked) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *TransferChecked) SetAmount(amount uint64) *TransferChecked + func (obj *TransferChecked) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *TransferChecked + func (obj *TransferChecked) SetDecimals(decimals uint8) *TransferChecked + func (obj *TransferChecked) SetDestinationAccount(destination common.PublicKey) *TransferChecked + func (obj *TransferChecked) SetMintAccount(mint common.PublicKey) *TransferChecked + func (obj *TransferChecked) SetProgramId(programId *common.PublicKey) *TransferChecked + func (obj *TransferChecked) SetSourceAccount(source common.PublicKey) *TransferChecked + func (obj *TransferChecked) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *TransferChecked) Validate() error + func (obj *TransferChecked) ValidateAndBuild() (*Instruction, error) + type TransferFeeExceedsMaximumError struct + func (e TransferFeeExceedsMaximumError) Code() int + func (e TransferFeeExceedsMaximumError) Error() string + type TransferFeeExtension struct + Data []byte + func NewTransferFeeExtensionInstruction(data []byte) *TransferFeeExtension + func NewTransferFeeExtensionInstructionBuilder() *TransferFeeExtension + func (obj *TransferFeeExtension) Build() *Instruction + func (obj *TransferFeeExtension) EncodeToTree(parent treeout.Branches) + func (obj *TransferFeeExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *TransferFeeExtension) SetData(data []byte) *TransferFeeExtension + func (obj *TransferFeeExtension) SetProgramId(programId *common.PublicKey) *TransferFeeExtension + func (obj *TransferFeeExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *TransferFeeExtension) Validate() error + func (obj *TransferFeeExtension) ValidateAndBuild() (*Instruction, error) + type TransferHookExtension struct + Data []byte + func NewTransferHookExtensionInstruction(data []byte) *TransferHookExtension + func NewTransferHookExtensionInstructionBuilder() *TransferHookExtension + func (obj *TransferHookExtension) Build() *Instruction + func (obj *TransferHookExtension) EncodeToTree(parent treeout.Branches) + func (obj *TransferHookExtension) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *TransferHookExtension) SetData(data []byte) *TransferHookExtension + func (obj *TransferHookExtension) SetProgramId(programId *common.PublicKey) *TransferHookExtension + func (obj *TransferHookExtension) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *TransferHookExtension) Validate() error + func (obj *TransferHookExtension) ValidateAndBuild() (*Instruction, error) + type UiAmountToAmount struct + UiAmount *string + func NewUiAmountToAmountInstruction(uiAmount string, mint common.PublicKey) *UiAmountToAmount + func NewUiAmountToAmountInstructionBuilder() *UiAmountToAmount + func (obj *UiAmountToAmount) Build() *Instruction + func (obj *UiAmountToAmount) EncodeToTree(parent treeout.Branches) + func (obj *UiAmountToAmount) GetMintAccount() *common.AccountMeta + func (obj *UiAmountToAmount) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *UiAmountToAmount) SetMintAccount(mint common.PublicKey, multiSigners ...common.PublicKey) *UiAmountToAmount + func (obj *UiAmountToAmount) SetProgramId(programId *common.PublicKey) *UiAmountToAmount + func (obj *UiAmountToAmount) SetUiAmount(uiAmount string) *UiAmountToAmount + func (obj *UiAmountToAmount) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *UiAmountToAmount) Validate() error + func (obj *UiAmountToAmount) ValidateAndBuild() (*Instruction, error) + type UninitializedStateError struct + func (e UninitializedStateError) Code() int + func (e UninitializedStateError) Error() string + type WithdrawExcessLamports struct + func NewWithdrawExcessLamportsInstruction(source common.PublicKey, destination common.PublicKey, ...) *WithdrawExcessLamports + func NewWithdrawExcessLamportsInstructionBuilder() *WithdrawExcessLamports + func (obj *WithdrawExcessLamports) Build() *Instruction + func (obj *WithdrawExcessLamports) EncodeToTree(parent treeout.Branches) + func (obj *WithdrawExcessLamports) GetAuthorityAccount() *common.AccountMeta + func (obj *WithdrawExcessLamports) GetDestinationAccount() *common.AccountMeta + func (obj *WithdrawExcessLamports) GetSourceAccount() *common.AccountMeta + func (obj *WithdrawExcessLamports) MarshalWithEncoder(encoder *binary.Encoder) (err error) + func (obj *WithdrawExcessLamports) SetAuthorityAccount(authority common.PublicKey, multiSigners ...common.PublicKey) *WithdrawExcessLamports + func (obj *WithdrawExcessLamports) SetDestinationAccount(destination common.PublicKey) *WithdrawExcessLamports + func (obj *WithdrawExcessLamports) SetProgramId(programId *common.PublicKey) *WithdrawExcessLamports + func (obj *WithdrawExcessLamports) SetSourceAccount(source common.PublicKey) *WithdrawExcessLamports + func (obj *WithdrawExcessLamports) UnmarshalWithDecoder(decoder *binary.Decoder) (err error) + func (obj *WithdrawExcessLamports) Validate() error + func (obj *WithdrawExcessLamports) ValidateAndBuild() (*Instruction, error)