Documentation ¶
Index ¶
- Constants
- Variables
- func InstructionIDToName(id ag_binary.TypeID) string
- func SetProgramID(pubkey ag_solanago.PublicKey)
- type BuyTicket
- func (inst BuyTicket) Build() *Instruction
- func (inst *BuyTicket) EncodeToTree(parent ag_treeout.Branches)
- func (inst *BuyTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetClockAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetCollectionWhitelistTaAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetInitializerAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetInitializerTaAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetInitializerWhitelistTaAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetPaymentMintAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetStageTaAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetTicketAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *BuyTicket) GetWhitelistMintAccount() *ag_solanago.AccountMeta
- func (obj BuyTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *BuyTicket) SetAmount(amount uint64) *BuyTicket
- func (inst *BuyTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetClockAccount(clock ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetCollectionWhitelistTaAccount(collectionWhitelistTa ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetInitializerTaAccount(initializerTa ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetInitializerWhitelistTaAccount(initializerWhitelistTa ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetIsMax(isMax bool) *BuyTicket
- func (inst *BuyTicket) SetPaymentMintAccount(paymentMint ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetRentAccount(rent ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetStageAccount(stage ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetStageTaAccount(stageTa ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *BuyTicket
- func (inst *BuyTicket) SetWhitelistMintAccount(whitelistMint ag_solanago.PublicKey) *BuyTicket
- func (obj *BuyTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *BuyTicket) Validate() error
- func (inst BuyTicket) ValidateAndBuild() (*Instruction, error)
- type CheckTicket
- func (inst CheckTicket) Build() *Instruction
- func (inst *CheckTicket) EncodeToTree(parent ag_treeout.Branches)
- func (inst *CheckTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetClockAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetCollectionWhitelistTaAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetInitializerAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetInitializerTaAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetInitializerWhitelistTaAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetPaymentMintAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetStageTaAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetTicketAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetTicketNftTaAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *CheckTicket) GetWhitelistMintAccount() *ag_solanago.AccountMeta
- func (obj CheckTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *CheckTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetClockAccount(clock ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetCollectionWhitelistTaAccount(collectionWhitelistTa ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetInitializerTaAccount(initializerTa ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetInitializerWhitelistTaAccount(initializerWhitelistTa ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetNftMintAccount(nftMint ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetPaymentMintAccount(paymentMint ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetRentAccount(rent ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetResult(result bool) *CheckTicket
- func (inst *CheckTicket) SetStageAccount(stage ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetStageTaAccount(stageTa ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetTicketNftTaAccount(ticketNftTa ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CheckTicket
- func (inst *CheckTicket) SetWhitelistMintAccount(whitelistMint ag_solanago.PublicKey) *CheckTicket
- func (obj *CheckTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *CheckTicket) Validate() error
- func (inst CheckTicket) ValidateAndBuild() (*Instruction, error)
- type CollectionState
- type FixedRedeemTicket
- func (inst FixedRedeemTicket) Build() *Instruction
- func (inst *FixedRedeemTicket) EncodeToTree(parent ag_treeout.Branches)
- func (inst *FixedRedeemTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetInitializerAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetTicketAccount() *ag_solanago.AccountMeta
- func (inst *FixedRedeemTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj FixedRedeemTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *FixedRedeemTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetNftMintAccount(nftMint ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetRentAccount(rent ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetStageAccount(stage ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *FixedRedeemTicket
- func (inst *FixedRedeemTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *FixedRedeemTicket
- func (obj *FixedRedeemTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *FixedRedeemTicket) Validate() error
- func (inst FixedRedeemTicket) ValidateAndBuild() (*Instruction, error)
- type Init
- func (inst Init) Build() *Instruction
- func (inst *Init) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Init) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetClockAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetCollectionMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetCollectionMetadataAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetCollectionMintAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetCollectionMintTaAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Init) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj Init) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Init) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *Init
- func (inst *Init) SetClockAccount(clock ag_solanago.PublicKey) *Init
- func (inst *Init) SetCollectionAccount(collection ag_solanago.PublicKey) *Init
- func (inst *Init) SetCollectionMasterEditionAccount(collectionMasterEdition ag_solanago.PublicKey) *Init
- func (inst *Init) SetCollectionMetadataAccount(collectionMetadata ag_solanago.PublicKey) *Init
- func (inst *Init) SetCollectionMintAccount(collectionMint ag_solanago.PublicKey) *Init
- func (inst *Init) SetCollectionMintTaAccount(collectionMintTa ag_solanago.PublicKey) *Init
- func (inst *Init) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *Init
- func (inst *Init) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *Init
- func (inst *Init) SetParams(params InitLaunchpadCollectionParams) *Init
- func (inst *Init) SetRentAccount(rent ag_solanago.PublicKey) *Init
- func (inst *Init) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Init
- func (inst *Init) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Init
- func (obj *Init) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Init) Validate() error
- func (inst Init) ValidateAndBuild() (*Instruction, error)
- type InitLaunchpadCollectionParams
- type InitStage
- func (inst InitStage) Build() *Instruction
- func (inst *InitStage) EncodeToTree(parent ag_treeout.Branches)
- func (inst *InitStage) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *InitStage) GetManagerAccount() *ag_solanago.AccountMeta
- func (inst *InitStage) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *InitStage) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj InitStage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *InitStage) SetCollectionAccount(collection ag_solanago.PublicKey) *InitStage
- func (inst *InitStage) SetManagerAccount(manager ag_solanago.PublicKey) *InitStage
- func (inst *InitStage) SetParams(params InitStageParams) *InitStage
- func (inst *InitStage) SetStageAccount(stage ag_solanago.PublicKey) *InitStage
- func (inst *InitStage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitStage
- func (obj *InitStage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *InitStage) Validate() error
- func (inst InitStage) ValidateAndBuild() (*Instruction, error)
- type InitStageParams
- type Instruction
- 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) MarshalWithEncoder(encoder *ag_binary.Encoder) error
- 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
- type LaunchpadCollection
- type LegendaryTracker
- type PreMint
- func (inst PreMint) Build() *Instruction
- func (inst *PreMint) EncodeToTree(parent ag_treeout.Branches)
- func (inst *PreMint) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetCollectionMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetCollectionMetadataAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetCollectionMintAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *PreMint) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj PreMint) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *PreMint) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetAuthorityAccount(authority ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetCollectionAccount(collection ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetCollectionMasterEditionAccount(collectionMasterEdition ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetCollectionMetadataAccount(collectionMetadata ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetCollectionMintAccount(collectionMint ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetName(name string) *PreMint
- func (inst *PreMint) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetNftMintAccount(nftMint ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetNonce(nonce ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetRentAccount(rent ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetSymbol(symbol string) *PreMint
- func (inst *PreMint) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *PreMint
- func (inst *PreMint) SetUri(uri string) *PreMint
- func (obj *PreMint) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *PreMint) Validate() error
- func (inst PreMint) ValidateAndBuild() (*Instruction, error)
- type PricingType
- type RedeemFunds
- func (inst RedeemFunds) Build() *Instruction
- func (inst *RedeemFunds) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RedeemFunds) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetClockAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetManagerAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetManagerTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetPaymentMintAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetStageTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *RedeemFunds) GetTreasuryTaAccount() *ag_solanago.AccountMeta
- func (obj RedeemFunds) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RedeemFunds) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetClockAccount(clock ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetManagerAccount(manager ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetManagerTaAccount(managerTa ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetPaymentMintAccount(paymentMint ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetRentAccount(rent ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetStageAccount(stage ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetStageTaAccount(stageTa ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetTreasuryAccount(treasury ag_solanago.PublicKey) *RedeemFunds
- func (inst *RedeemFunds) SetTreasuryTaAccount(treasuryTa ag_solanago.PublicKey) *RedeemFunds
- func (obj *RedeemFunds) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RedeemFunds) Validate() error
- func (inst RedeemFunds) ValidateAndBuild() (*Instruction, error)
- type RedeemLegendary
- func (inst RedeemLegendary) Build() *Instruction
- func (inst *RedeemLegendary) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RedeemLegendary) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetCollectionLegendaryTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetInitializerAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetInitializerLegendaryTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetLegendaryMintAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetLegendaryTrackerAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemLegendary) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj RedeemLegendary) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RedeemLegendary) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetCollectionLegendaryTaAccount(collectionLegendaryTa ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetInitializerAccount(initializer ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetInitializerLegendaryTaAccount(initializerLegendaryTa ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetLegendaryMintAccount(legendaryMint ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetLegendaryTrackerAccount(legendaryTracker ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetNftMintAccount(nftMint ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetNonce(nonce ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetRentAccount(rent ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemLegendary
- func (inst *RedeemLegendary) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemLegendary
- func (obj *RedeemLegendary) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RedeemLegendary) Validate() error
- func (inst RedeemLegendary) ValidateAndBuild() (*Instruction, error)
- type RedeemPfp
- func (inst RedeemPfp) Build() *Instruction
- func (inst *RedeemPfp) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RedeemPfp) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetCollectionPfpTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetInitializerAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetInitializerPfpTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetPfpMintAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemPfp) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj RedeemPfp) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RedeemPfp) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetCollectionPfpTaAccount(collectionPfpTa ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetInitializerAccount(initializer ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetInitializerPfpTaAccount(initializerPfpTa ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetNftMintAccount(nftMint ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetPfpMintAccount(pfpMint ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetRentAccount(rent ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemPfp
- func (inst *RedeemPfp) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemPfp
- func (obj *RedeemPfp) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RedeemPfp) Validate() error
- func (inst RedeemPfp) ValidateAndBuild() (*Instruction, error)
- type RedeemTicket
- func (inst RedeemTicket) Build() *Instruction
- func (inst *RedeemTicket) EncodeToTree(parent ag_treeout.Branches)
- func (inst *RedeemTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetInitializerAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetTicketAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetTicketNftTaAccount() *ag_solanago.AccountMeta
- func (inst *RedeemTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj RedeemTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *RedeemTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetNftMintAccount(nftMint ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetRentAccount(rent ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetStageAccount(stage ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetTicketNftTaAccount(ticketNftTa ag_solanago.PublicKey) *RedeemTicket
- func (inst *RedeemTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemTicket
- func (obj *RedeemTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *RedeemTicket) Validate() error
- func (inst RedeemTicket) ValidateAndBuild() (*Instruction, error)
- type SpendType
- type Stage
- type Ticket
- type TicketState
- type TimeCheckType
- type TransferAuthority
- func (inst TransferAuthority) Build() *Instruction
- func (inst *TransferAuthority) EncodeToTree(parent ag_treeout.Branches)
- func (inst *TransferAuthority) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetCollectionMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetCollectionMetadataAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetCollectionMintAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *TransferAuthority) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj TransferAuthority) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *TransferAuthority) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetAuthorityAccount(authority ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetCollectionAccount(collection ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetCollectionMasterEditionAccount(collectionMasterEdition ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetCollectionMetadataAccount(collectionMetadata ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetCollectionMintAccount(collectionMint ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetName(name string) *TransferAuthority
- func (inst *TransferAuthority) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetNftMintAccount(nftMint ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetNonce(nonce ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetRentAccount(rent ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetSymbol(symbol string) *TransferAuthority
- func (inst *TransferAuthority) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *TransferAuthority
- func (inst *TransferAuthority) SetUri(uri string) *TransferAuthority
- func (obj *TransferAuthority) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *TransferAuthority) Validate() error
- func (inst TransferAuthority) ValidateAndBuild() (*Instruction, error)
- type Unfreeze
- func (inst Unfreeze) Build() *Instruction
- func (inst *Unfreeze) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Unfreeze) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetNftMintAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Unfreeze) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (obj Unfreeze) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Unfreeze) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetAuthorityAccount(authority ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetCollectionAccount(collection ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetNftMintAccount(nftMint ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetRentAccount(rent ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Unfreeze
- func (inst *Unfreeze) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Unfreeze
- func (obj *Unfreeze) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Unfreeze) Validate() error
- func (inst Unfreeze) ValidateAndBuild() (*Instruction, error)
- type UpdateMetadata
- func (inst UpdateMetadata) Build() *Instruction
- func (inst *UpdateMetadata) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateMetadata) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *UpdateMetadata) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
- func (inst *UpdateMetadata) GetNftMetadataAccount() *ag_solanago.AccountMeta
- func (obj UpdateMetadata) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateMetadata) SetAuthorityAccount(authority ag_solanago.PublicKey) *UpdateMetadata
- func (inst *UpdateMetadata) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *UpdateMetadata
- func (inst *UpdateMetadata) SetName(name string) *UpdateMetadata
- func (inst *UpdateMetadata) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *UpdateMetadata
- func (inst *UpdateMetadata) SetSellerFeeBasisPoints(sellerFeeBasisPoints uint16) *UpdateMetadata
- func (inst *UpdateMetadata) SetSymbol(symbol string) *UpdateMetadata
- func (inst *UpdateMetadata) SetUri(uri string) *UpdateMetadata
- func (obj *UpdateMetadata) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateMetadata) Validate() error
- func (inst UpdateMetadata) ValidateAndBuild() (*Instruction, error)
- type UpdateStage
- func (inst UpdateStage) Build() *Instruction
- func (inst *UpdateStage) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateStage) GetClockAccount() *ag_solanago.AccountMeta
- func (inst *UpdateStage) GetCollectionAccount() *ag_solanago.AccountMeta
- func (inst *UpdateStage) GetManagerAccount() *ag_solanago.AccountMeta
- func (inst *UpdateStage) GetStageAccount() *ag_solanago.AccountMeta
- func (inst *UpdateStage) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj UpdateStage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateStage) SetClockAccount(clock ag_solanago.PublicKey) *UpdateStage
- func (inst *UpdateStage) SetCollectionAccount(collection ag_solanago.PublicKey) *UpdateStage
- func (inst *UpdateStage) SetManagerAccount(manager ag_solanago.PublicKey) *UpdateStage
- func (inst *UpdateStage) SetParams(params UpdateStageParams) *UpdateStage
- func (inst *UpdateStage) SetStageAccount(stage ag_solanago.PublicKey) *UpdateStage
- func (inst *UpdateStage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateStage
- func (obj *UpdateStage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateStage) Validate() error
- func (inst UpdateStage) ValidateAndBuild() (*Instruction, error)
- type UpdateStageParams
Constants ¶
const ProgramName = "Launchpad"
Variables ¶
var ( Instruction_Init = ag_binary.TypeID([8]byte{220, 59, 207, 236, 108, 250, 47, 100}) Instruction_RedeemFunds = ag_binary.TypeID([8]byte{56, 138, 161, 151, 161, 194, 105, 182}) Instruction_PreMint = ag_binary.TypeID([8]byte{128, 218, 2, 216, 241, 28, 93, 200}) Instruction_TransferAuthority = ag_binary.TypeID([8]byte{48, 169, 76, 72, 229, 180, 55, 161}) Instruction_Unfreeze = ag_binary.TypeID([8]byte{133, 160, 68, 253, 80, 232, 218, 247}) Instruction_UpdateMetadata = ag_binary.TypeID([8]byte{170, 182, 43, 239, 97, 78, 225, 186}) Instruction_BuyTicket = ag_binary.TypeID([8]byte{11, 24, 17, 193, 168, 116, 164, 169}) Instruction_CheckTicket = ag_binary.TypeID([8]byte{140, 97, 78, 139, 166, 219, 170, 77}) Instruction_RedeemTicket = ag_binary.TypeID([8]byte{129, 120, 104, 224, 155, 25, 22, 192}) Instruction_FixedRedeemTicket = ag_binary.TypeID([8]byte{164, 106, 189, 103, 187, 247, 167, 34}) Instruction_InitStage = ag_binary.TypeID([8]byte{80, 93, 28, 95, 62, 176, 1, 218}) Instruction_UpdateStage = ag_binary.TypeID([8]byte{159, 10, 194, 3, 171, 184, 44, 218}) Instruction_RedeemPfp = ag_binary.TypeID([8]byte{130, 253, 51, 12, 0, 138, 143, 204}) Instruction_RedeemLegendary = ag_binary.TypeID([8]byte{130, 5, 80, 207, 91, 10, 55, 22}) )
var InstructionImplDef = ag_binary.NewVariantDefinition( ag_binary.AnchorTypeIDEncoding, []ag_binary.VariantType{ { "init", (*Init)(nil), }, { "redeem_funds", (*RedeemFunds)(nil), }, { "pre_mint", (*PreMint)(nil), }, { "transfer_authority", (*TransferAuthority)(nil), }, { "unfreeze", (*Unfreeze)(nil), }, { "update_metadata", (*UpdateMetadata)(nil), }, { "buy_ticket", (*BuyTicket)(nil), }, { "check_ticket", (*CheckTicket)(nil), }, { "redeem_ticket", (*RedeemTicket)(nil), }, { "fixed_redeem_ticket", (*FixedRedeemTicket)(nil), }, { "init_stage", (*InitStage)(nil), }, { "update_stage", (*UpdateStage)(nil), }, { "redeem_pfp", (*RedeemPfp)(nil), }, { "redeem_legendary", (*RedeemLegendary)(nil), }, }, )
var LaunchpadCollectionDiscriminator = [8]byte{27, 0, 138, 77, 96, 136, 136, 28}
var LegendaryTrackerDiscriminator = [8]byte{38, 68, 251, 93, 94, 99, 160, 84}
var ProgramID ag_solanago.PublicKey
var StageDiscriminator = [8]byte{128, 95, 240, 157, 209, 159, 69, 179}
var TicketDiscriminator = [8]byte{41, 228, 24, 165, 78, 90, 235, 200}
Functions ¶
func InstructionIDToName ¶
InstructionIDToName returns the name of the instruction given its ID.
func SetProgramID ¶
func SetProgramID(pubkey ag_solanago.PublicKey)
Types ¶
type BuyTicket ¶
type BuyTicket struct { Amount *uint64 IsMax *bool // [0] = [WRITE, SIGNER] initializer // // [1] = [WRITE] ticket // // [2] = [WRITE] collection // // [3] = [WRITE] stage // // [4] = [WRITE] paymentMint // // [5] = [] whitelistMint // // [6] = [WRITE] initializerTa // // [7] = [WRITE] stageTa // // [8] = [WRITE] initializerWhitelistTa // // [9] = [WRITE] collectionWhitelistTa // // [10] = [] tokenProgram // // [11] = [] associatedTokenProgram // // [12] = [] systemProgram // // [13] = [] rent // // [14] = [] clock ag_solanago.AccountMetaSlice `bin:"-"` }
BuyTicket is the `buyTicket` instruction.
func NewBuyTicketInstruction ¶
func NewBuyTicketInstruction( amount uint64, isMax bool, initializer ag_solanago.PublicKey, ticket ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, paymentMint ag_solanago.PublicKey, whitelistMint ag_solanago.PublicKey, initializerTa ag_solanago.PublicKey, stageTa ag_solanago.PublicKey, initializerWhitelistTa ag_solanago.PublicKey, collectionWhitelistTa ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey, clock ag_solanago.PublicKey) *BuyTicket
NewBuyTicketInstruction declares a new BuyTicket instruction with the provided parameters and accounts.
func NewBuyTicketInstructionBuilder ¶
func NewBuyTicketInstructionBuilder() *BuyTicket
NewBuyTicketInstructionBuilder creates a new `BuyTicket` instruction builder.
func (BuyTicket) Build ¶
func (inst BuyTicket) Build() *Instruction
func (*BuyTicket) EncodeToTree ¶
func (inst *BuyTicket) EncodeToTree(parent ag_treeout.Branches)
func (*BuyTicket) GetAssociatedTokenProgramAccount ¶
func (inst *BuyTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*BuyTicket) GetClockAccount ¶
func (inst *BuyTicket) GetClockAccount() *ag_solanago.AccountMeta
GetClockAccount gets the "clock" account.
func (*BuyTicket) GetCollectionAccount ¶
func (inst *BuyTicket) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*BuyTicket) GetCollectionWhitelistTaAccount ¶
func (inst *BuyTicket) GetCollectionWhitelistTaAccount() *ag_solanago.AccountMeta
GetCollectionWhitelistTaAccount gets the "collectionWhitelistTa" account.
func (*BuyTicket) GetInitializerAccount ¶
func (inst *BuyTicket) GetInitializerAccount() *ag_solanago.AccountMeta
GetInitializerAccount gets the "initializer" account.
func (*BuyTicket) GetInitializerTaAccount ¶
func (inst *BuyTicket) GetInitializerTaAccount() *ag_solanago.AccountMeta
GetInitializerTaAccount gets the "initializerTa" account.
func (*BuyTicket) GetInitializerWhitelistTaAccount ¶
func (inst *BuyTicket) GetInitializerWhitelistTaAccount() *ag_solanago.AccountMeta
GetInitializerWhitelistTaAccount gets the "initializerWhitelistTa" account.
func (*BuyTicket) GetPaymentMintAccount ¶
func (inst *BuyTicket) GetPaymentMintAccount() *ag_solanago.AccountMeta
GetPaymentMintAccount gets the "paymentMint" account.
func (*BuyTicket) GetRentAccount ¶
func (inst *BuyTicket) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*BuyTicket) GetStageAccount ¶
func (inst *BuyTicket) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*BuyTicket) GetStageTaAccount ¶
func (inst *BuyTicket) GetStageTaAccount() *ag_solanago.AccountMeta
GetStageTaAccount gets the "stageTa" account.
func (*BuyTicket) GetSystemProgramAccount ¶
func (inst *BuyTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*BuyTicket) GetTicketAccount ¶
func (inst *BuyTicket) GetTicketAccount() *ag_solanago.AccountMeta
GetTicketAccount gets the "ticket" account.
func (*BuyTicket) GetTokenProgramAccount ¶
func (inst *BuyTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*BuyTicket) GetWhitelistMintAccount ¶
func (inst *BuyTicket) GetWhitelistMintAccount() *ag_solanago.AccountMeta
GetWhitelistMintAccount gets the "whitelistMint" account.
func (BuyTicket) MarshalWithEncoder ¶
func (*BuyTicket) SetAssociatedTokenProgramAccount ¶
func (inst *BuyTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *BuyTicket
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*BuyTicket) SetClockAccount ¶
func (inst *BuyTicket) SetClockAccount(clock ag_solanago.PublicKey) *BuyTicket
SetClockAccount sets the "clock" account.
func (*BuyTicket) SetCollectionAccount ¶
func (inst *BuyTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *BuyTicket
SetCollectionAccount sets the "collection" account.
func (*BuyTicket) SetCollectionWhitelistTaAccount ¶
func (inst *BuyTicket) SetCollectionWhitelistTaAccount(collectionWhitelistTa ag_solanago.PublicKey) *BuyTicket
SetCollectionWhitelistTaAccount sets the "collectionWhitelistTa" account.
func (*BuyTicket) SetInitializerAccount ¶
func (inst *BuyTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *BuyTicket
SetInitializerAccount sets the "initializer" account.
func (*BuyTicket) SetInitializerTaAccount ¶
func (inst *BuyTicket) SetInitializerTaAccount(initializerTa ag_solanago.PublicKey) *BuyTicket
SetInitializerTaAccount sets the "initializerTa" account.
func (*BuyTicket) SetInitializerWhitelistTaAccount ¶
func (inst *BuyTicket) SetInitializerWhitelistTaAccount(initializerWhitelistTa ag_solanago.PublicKey) *BuyTicket
SetInitializerWhitelistTaAccount sets the "initializerWhitelistTa" account.
func (*BuyTicket) SetPaymentMintAccount ¶
func (inst *BuyTicket) SetPaymentMintAccount(paymentMint ag_solanago.PublicKey) *BuyTicket
SetPaymentMintAccount sets the "paymentMint" account.
func (*BuyTicket) SetRentAccount ¶
func (inst *BuyTicket) SetRentAccount(rent ag_solanago.PublicKey) *BuyTicket
SetRentAccount sets the "rent" account.
func (*BuyTicket) SetStageAccount ¶
func (inst *BuyTicket) SetStageAccount(stage ag_solanago.PublicKey) *BuyTicket
SetStageAccount sets the "stage" account.
func (*BuyTicket) SetStageTaAccount ¶
func (inst *BuyTicket) SetStageTaAccount(stageTa ag_solanago.PublicKey) *BuyTicket
SetStageTaAccount sets the "stageTa" account.
func (*BuyTicket) SetSystemProgramAccount ¶
func (inst *BuyTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *BuyTicket
SetSystemProgramAccount sets the "systemProgram" account.
func (*BuyTicket) SetTicketAccount ¶
func (inst *BuyTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *BuyTicket
SetTicketAccount sets the "ticket" account.
func (*BuyTicket) SetTokenProgramAccount ¶
func (inst *BuyTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *BuyTicket
SetTokenProgramAccount sets the "tokenProgram" account.
func (*BuyTicket) SetWhitelistMintAccount ¶
func (inst *BuyTicket) SetWhitelistMintAccount(whitelistMint ag_solanago.PublicKey) *BuyTicket
SetWhitelistMintAccount sets the "whitelistMint" account.
func (*BuyTicket) UnmarshalWithDecoder ¶
func (BuyTicket) ValidateAndBuild ¶
func (inst BuyTicket) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type CheckTicket ¶
type CheckTicket struct { Result *bool // [0] = [WRITE, SIGNER] launchpadManager // // [1] = [] initializer // // [2] = [WRITE] ticket // // [3] = [WRITE] collection // // [4] = [WRITE] stage // // [5] = [] nftMint // // [6] = [] paymentMint // // [7] = [] whitelistMint // // [8] = [WRITE] initializerWhitelistTa // // [9] = [WRITE] collectionWhitelistTa // // [10] = [WRITE] ticketNftTa // // [11] = [WRITE] collectionNftTa // // [12] = [WRITE] initializerTa // // [13] = [WRITE] stageTa // // [14] = [WRITE] nftMetadata // // [15] = [WRITE] nftMasterEdition // // [16] = [] mplTokenMetadata // // [17] = [] tokenProgram // // [18] = [] associatedTokenProgram // // [19] = [] systemProgram // // [20] = [] rent // // [21] = [] clock ag_solanago.AccountMetaSlice `bin:"-"` }
CheckTicket is the `checkTicket` instruction.
func NewCheckTicketInstruction ¶
func NewCheckTicketInstruction( result bool, launchpadManager ag_solanago.PublicKey, initializer ag_solanago.PublicKey, ticket ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, paymentMint ag_solanago.PublicKey, whitelistMint ag_solanago.PublicKey, initializerWhitelistTa ag_solanago.PublicKey, collectionWhitelistTa ag_solanago.PublicKey, ticketNftTa ag_solanago.PublicKey, collectionNftTa ag_solanago.PublicKey, initializerTa ag_solanago.PublicKey, stageTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey, clock ag_solanago.PublicKey) *CheckTicket
NewCheckTicketInstruction declares a new CheckTicket instruction with the provided parameters and accounts.
func NewCheckTicketInstructionBuilder ¶
func NewCheckTicketInstructionBuilder() *CheckTicket
NewCheckTicketInstructionBuilder creates a new `CheckTicket` instruction builder.
func (CheckTicket) Build ¶
func (inst CheckTicket) Build() *Instruction
func (*CheckTicket) EncodeToTree ¶
func (inst *CheckTicket) EncodeToTree(parent ag_treeout.Branches)
func (*CheckTicket) GetAssociatedTokenProgramAccount ¶
func (inst *CheckTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*CheckTicket) GetClockAccount ¶
func (inst *CheckTicket) GetClockAccount() *ag_solanago.AccountMeta
GetClockAccount gets the "clock" account.
func (*CheckTicket) GetCollectionAccount ¶
func (inst *CheckTicket) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*CheckTicket) GetCollectionNftTaAccount ¶
func (inst *CheckTicket) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
GetCollectionNftTaAccount gets the "collectionNftTa" account.
func (*CheckTicket) GetCollectionWhitelistTaAccount ¶
func (inst *CheckTicket) GetCollectionWhitelistTaAccount() *ag_solanago.AccountMeta
GetCollectionWhitelistTaAccount gets the "collectionWhitelistTa" account.
func (*CheckTicket) GetInitializerAccount ¶
func (inst *CheckTicket) GetInitializerAccount() *ag_solanago.AccountMeta
GetInitializerAccount gets the "initializer" account.
func (*CheckTicket) GetInitializerTaAccount ¶
func (inst *CheckTicket) GetInitializerTaAccount() *ag_solanago.AccountMeta
GetInitializerTaAccount gets the "initializerTa" account.
func (*CheckTicket) GetInitializerWhitelistTaAccount ¶
func (inst *CheckTicket) GetInitializerWhitelistTaAccount() *ag_solanago.AccountMeta
GetInitializerWhitelistTaAccount gets the "initializerWhitelistTa" account.
func (*CheckTicket) GetLaunchpadManagerAccount ¶
func (inst *CheckTicket) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
GetLaunchpadManagerAccount gets the "launchpadManager" account.
func (*CheckTicket) GetMplTokenMetadataAccount ¶
func (inst *CheckTicket) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*CheckTicket) GetNftMasterEditionAccount ¶
func (inst *CheckTicket) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*CheckTicket) GetNftMetadataAccount ¶
func (inst *CheckTicket) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*CheckTicket) GetNftMintAccount ¶
func (inst *CheckTicket) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*CheckTicket) GetPaymentMintAccount ¶
func (inst *CheckTicket) GetPaymentMintAccount() *ag_solanago.AccountMeta
GetPaymentMintAccount gets the "paymentMint" account.
func (*CheckTicket) GetRentAccount ¶
func (inst *CheckTicket) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*CheckTicket) GetStageAccount ¶
func (inst *CheckTicket) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*CheckTicket) GetStageTaAccount ¶
func (inst *CheckTicket) GetStageTaAccount() *ag_solanago.AccountMeta
GetStageTaAccount gets the "stageTa" account.
func (*CheckTicket) GetSystemProgramAccount ¶
func (inst *CheckTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*CheckTicket) GetTicketAccount ¶
func (inst *CheckTicket) GetTicketAccount() *ag_solanago.AccountMeta
GetTicketAccount gets the "ticket" account.
func (*CheckTicket) GetTicketNftTaAccount ¶
func (inst *CheckTicket) GetTicketNftTaAccount() *ag_solanago.AccountMeta
GetTicketNftTaAccount gets the "ticketNftTa" account.
func (*CheckTicket) GetTokenProgramAccount ¶
func (inst *CheckTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*CheckTicket) GetWhitelistMintAccount ¶
func (inst *CheckTicket) GetWhitelistMintAccount() *ag_solanago.AccountMeta
GetWhitelistMintAccount gets the "whitelistMint" account.
func (CheckTicket) MarshalWithEncoder ¶
func (obj CheckTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*CheckTicket) SetAssociatedTokenProgramAccount ¶
func (inst *CheckTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *CheckTicket
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*CheckTicket) SetClockAccount ¶
func (inst *CheckTicket) SetClockAccount(clock ag_solanago.PublicKey) *CheckTicket
SetClockAccount sets the "clock" account.
func (*CheckTicket) SetCollectionAccount ¶
func (inst *CheckTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *CheckTicket
SetCollectionAccount sets the "collection" account.
func (*CheckTicket) SetCollectionNftTaAccount ¶
func (inst *CheckTicket) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *CheckTicket
SetCollectionNftTaAccount sets the "collectionNftTa" account.
func (*CheckTicket) SetCollectionWhitelistTaAccount ¶
func (inst *CheckTicket) SetCollectionWhitelistTaAccount(collectionWhitelistTa ag_solanago.PublicKey) *CheckTicket
SetCollectionWhitelistTaAccount sets the "collectionWhitelistTa" account.
func (*CheckTicket) SetInitializerAccount ¶
func (inst *CheckTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *CheckTicket
SetInitializerAccount sets the "initializer" account.
func (*CheckTicket) SetInitializerTaAccount ¶
func (inst *CheckTicket) SetInitializerTaAccount(initializerTa ag_solanago.PublicKey) *CheckTicket
SetInitializerTaAccount sets the "initializerTa" account.
func (*CheckTicket) SetInitializerWhitelistTaAccount ¶
func (inst *CheckTicket) SetInitializerWhitelistTaAccount(initializerWhitelistTa ag_solanago.PublicKey) *CheckTicket
SetInitializerWhitelistTaAccount sets the "initializerWhitelistTa" account.
func (*CheckTicket) SetLaunchpadManagerAccount ¶
func (inst *CheckTicket) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *CheckTicket
SetLaunchpadManagerAccount sets the "launchpadManager" account.
func (*CheckTicket) SetMplTokenMetadataAccount ¶
func (inst *CheckTicket) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *CheckTicket
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*CheckTicket) SetNftMasterEditionAccount ¶
func (inst *CheckTicket) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *CheckTicket
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*CheckTicket) SetNftMetadataAccount ¶
func (inst *CheckTicket) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *CheckTicket
SetNftMetadataAccount sets the "nftMetadata" account.
func (*CheckTicket) SetNftMintAccount ¶
func (inst *CheckTicket) SetNftMintAccount(nftMint ag_solanago.PublicKey) *CheckTicket
SetNftMintAccount sets the "nftMint" account.
func (*CheckTicket) SetPaymentMintAccount ¶
func (inst *CheckTicket) SetPaymentMintAccount(paymentMint ag_solanago.PublicKey) *CheckTicket
SetPaymentMintAccount sets the "paymentMint" account.
func (*CheckTicket) SetRentAccount ¶
func (inst *CheckTicket) SetRentAccount(rent ag_solanago.PublicKey) *CheckTicket
SetRentAccount sets the "rent" account.
func (*CheckTicket) SetResult ¶
func (inst *CheckTicket) SetResult(result bool) *CheckTicket
SetResult sets the "result" parameter.
func (*CheckTicket) SetStageAccount ¶
func (inst *CheckTicket) SetStageAccount(stage ag_solanago.PublicKey) *CheckTicket
SetStageAccount sets the "stage" account.
func (*CheckTicket) SetStageTaAccount ¶
func (inst *CheckTicket) SetStageTaAccount(stageTa ag_solanago.PublicKey) *CheckTicket
SetStageTaAccount sets the "stageTa" account.
func (*CheckTicket) SetSystemProgramAccount ¶
func (inst *CheckTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CheckTicket
SetSystemProgramAccount sets the "systemProgram" account.
func (*CheckTicket) SetTicketAccount ¶
func (inst *CheckTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *CheckTicket
SetTicketAccount sets the "ticket" account.
func (*CheckTicket) SetTicketNftTaAccount ¶
func (inst *CheckTicket) SetTicketNftTaAccount(ticketNftTa ag_solanago.PublicKey) *CheckTicket
SetTicketNftTaAccount sets the "ticketNftTa" account.
func (*CheckTicket) SetTokenProgramAccount ¶
func (inst *CheckTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CheckTicket
SetTokenProgramAccount sets the "tokenProgram" account.
func (*CheckTicket) SetWhitelistMintAccount ¶
func (inst *CheckTicket) SetWhitelistMintAccount(whitelistMint ag_solanago.PublicKey) *CheckTicket
SetWhitelistMintAccount sets the "whitelistMint" account.
func (*CheckTicket) UnmarshalWithDecoder ¶
func (obj *CheckTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*CheckTicket) Validate ¶
func (inst *CheckTicket) Validate() error
func (CheckTicket) ValidateAndBuild ¶
func (inst CheckTicket) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type CollectionState ¶
const ( CollectionStateInitialized CollectionState = iota CollectionStatePreMinted CollectionStatePaused CollectionStateEnded )
func (CollectionState) String ¶
func (value CollectionState) String() string
type FixedRedeemTicket ¶
type FixedRedeemTicket struct { // [0] = [WRITE, SIGNER] initializer // // [1] = [WRITE] ticket // // [2] = [WRITE] collection // // [3] = [WRITE] stage // // [4] = [] nftMint // // [5] = [WRITE] initializerNftTa // // [6] = [WRITE] collectionNftTa // // [7] = [WRITE] nftMetadata // // [8] = [WRITE] nftMasterEdition // // [9] = [] mplTokenMetadata // // [10] = [] tokenProgram // // [11] = [] associatedTokenProgram // // [12] = [] systemProgram // // [13] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
FixedRedeemTicket is the `fixedRedeemTicket` instruction.
func NewFixedRedeemTicketInstruction ¶
func NewFixedRedeemTicketInstruction( initializer ag_solanago.PublicKey, ticket ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, initializerNftTa ag_solanago.PublicKey, collectionNftTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *FixedRedeemTicket
NewFixedRedeemTicketInstruction declares a new FixedRedeemTicket instruction with the provided parameters and accounts.
func NewFixedRedeemTicketInstructionBuilder ¶
func NewFixedRedeemTicketInstructionBuilder() *FixedRedeemTicket
NewFixedRedeemTicketInstructionBuilder creates a new `FixedRedeemTicket` instruction builder.
func (FixedRedeemTicket) Build ¶
func (inst FixedRedeemTicket) Build() *Instruction
func (*FixedRedeemTicket) EncodeToTree ¶
func (inst *FixedRedeemTicket) EncodeToTree(parent ag_treeout.Branches)
func (*FixedRedeemTicket) GetAssociatedTokenProgramAccount ¶
func (inst *FixedRedeemTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*FixedRedeemTicket) GetCollectionAccount ¶
func (inst *FixedRedeemTicket) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*FixedRedeemTicket) GetCollectionNftTaAccount ¶
func (inst *FixedRedeemTicket) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
GetCollectionNftTaAccount gets the "collectionNftTa" account.
func (*FixedRedeemTicket) GetInitializerAccount ¶
func (inst *FixedRedeemTicket) GetInitializerAccount() *ag_solanago.AccountMeta
GetInitializerAccount gets the "initializer" account.
func (*FixedRedeemTicket) GetInitializerNftTaAccount ¶
func (inst *FixedRedeemTicket) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
GetInitializerNftTaAccount gets the "initializerNftTa" account.
func (*FixedRedeemTicket) GetMplTokenMetadataAccount ¶
func (inst *FixedRedeemTicket) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*FixedRedeemTicket) GetNftMasterEditionAccount ¶
func (inst *FixedRedeemTicket) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*FixedRedeemTicket) GetNftMetadataAccount ¶
func (inst *FixedRedeemTicket) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*FixedRedeemTicket) GetNftMintAccount ¶
func (inst *FixedRedeemTicket) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*FixedRedeemTicket) GetRentAccount ¶
func (inst *FixedRedeemTicket) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*FixedRedeemTicket) GetStageAccount ¶
func (inst *FixedRedeemTicket) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*FixedRedeemTicket) GetSystemProgramAccount ¶
func (inst *FixedRedeemTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*FixedRedeemTicket) GetTicketAccount ¶
func (inst *FixedRedeemTicket) GetTicketAccount() *ag_solanago.AccountMeta
GetTicketAccount gets the "ticket" account.
func (*FixedRedeemTicket) GetTokenProgramAccount ¶
func (inst *FixedRedeemTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (FixedRedeemTicket) MarshalWithEncoder ¶
func (obj FixedRedeemTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*FixedRedeemTicket) SetAssociatedTokenProgramAccount ¶
func (inst *FixedRedeemTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *FixedRedeemTicket
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*FixedRedeemTicket) SetCollectionAccount ¶
func (inst *FixedRedeemTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *FixedRedeemTicket
SetCollectionAccount sets the "collection" account.
func (*FixedRedeemTicket) SetCollectionNftTaAccount ¶
func (inst *FixedRedeemTicket) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *FixedRedeemTicket
SetCollectionNftTaAccount sets the "collectionNftTa" account.
func (*FixedRedeemTicket) SetInitializerAccount ¶
func (inst *FixedRedeemTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *FixedRedeemTicket
SetInitializerAccount sets the "initializer" account.
func (*FixedRedeemTicket) SetInitializerNftTaAccount ¶
func (inst *FixedRedeemTicket) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *FixedRedeemTicket
SetInitializerNftTaAccount sets the "initializerNftTa" account.
func (*FixedRedeemTicket) SetMplTokenMetadataAccount ¶
func (inst *FixedRedeemTicket) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *FixedRedeemTicket
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*FixedRedeemTicket) SetNftMasterEditionAccount ¶
func (inst *FixedRedeemTicket) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *FixedRedeemTicket
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*FixedRedeemTicket) SetNftMetadataAccount ¶
func (inst *FixedRedeemTicket) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *FixedRedeemTicket
SetNftMetadataAccount sets the "nftMetadata" account.
func (*FixedRedeemTicket) SetNftMintAccount ¶
func (inst *FixedRedeemTicket) SetNftMintAccount(nftMint ag_solanago.PublicKey) *FixedRedeemTicket
SetNftMintAccount sets the "nftMint" account.
func (*FixedRedeemTicket) SetRentAccount ¶
func (inst *FixedRedeemTicket) SetRentAccount(rent ag_solanago.PublicKey) *FixedRedeemTicket
SetRentAccount sets the "rent" account.
func (*FixedRedeemTicket) SetStageAccount ¶
func (inst *FixedRedeemTicket) SetStageAccount(stage ag_solanago.PublicKey) *FixedRedeemTicket
SetStageAccount sets the "stage" account.
func (*FixedRedeemTicket) SetSystemProgramAccount ¶
func (inst *FixedRedeemTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *FixedRedeemTicket
SetSystemProgramAccount sets the "systemProgram" account.
func (*FixedRedeemTicket) SetTicketAccount ¶
func (inst *FixedRedeemTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *FixedRedeemTicket
SetTicketAccount sets the "ticket" account.
func (*FixedRedeemTicket) SetTokenProgramAccount ¶
func (inst *FixedRedeemTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *FixedRedeemTicket
SetTokenProgramAccount sets the "tokenProgram" account.
func (*FixedRedeemTicket) UnmarshalWithDecoder ¶
func (obj *FixedRedeemTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*FixedRedeemTicket) Validate ¶
func (inst *FixedRedeemTicket) Validate() error
func (FixedRedeemTicket) ValidateAndBuild ¶
func (inst FixedRedeemTicket) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type Init ¶
type Init struct { Params *InitLaunchpadCollectionParams // [0] = [WRITE, SIGNER] launchpadManager // // [1] = [WRITE] collection // // [2] = [WRITE] collectionMint // // [3] = [WRITE] collectionMintTa // // [4] = [WRITE] collectionMetadata // // [5] = [WRITE] collectionMasterEdition // // [6] = [] mplTokenMetadata // // [7] = [] associatedTokenProgram // // [8] = [] tokenProgram // // [9] = [] systemProgram // // [10] = [] rent // // [11] = [] clock ag_solanago.AccountMetaSlice `bin:"-"` }
Init is the `init` instruction.
func NewInitInstruction ¶
func NewInitInstruction( params InitLaunchpadCollectionParams, launchpadManager ag_solanago.PublicKey, collection ag_solanago.PublicKey, collectionMint ag_solanago.PublicKey, collectionMintTa ag_solanago.PublicKey, collectionMetadata ag_solanago.PublicKey, collectionMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey, clock ag_solanago.PublicKey) *Init
NewInitInstruction declares a new Init instruction with the provided parameters and accounts.
func NewInitInstructionBuilder ¶
func NewInitInstructionBuilder() *Init
NewInitInstructionBuilder creates a new `Init` instruction builder.
func (Init) Build ¶
func (inst Init) Build() *Instruction
func (*Init) EncodeToTree ¶
func (inst *Init) EncodeToTree(parent ag_treeout.Branches)
func (*Init) GetAssociatedTokenProgramAccount ¶
func (inst *Init) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*Init) GetClockAccount ¶
func (inst *Init) GetClockAccount() *ag_solanago.AccountMeta
GetClockAccount gets the "clock" account.
func (*Init) GetCollectionAccount ¶
func (inst *Init) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*Init) GetCollectionMasterEditionAccount ¶
func (inst *Init) GetCollectionMasterEditionAccount() *ag_solanago.AccountMeta
GetCollectionMasterEditionAccount gets the "collectionMasterEdition" account.
func (*Init) GetCollectionMetadataAccount ¶
func (inst *Init) GetCollectionMetadataAccount() *ag_solanago.AccountMeta
GetCollectionMetadataAccount gets the "collectionMetadata" account.
func (*Init) GetCollectionMintAccount ¶
func (inst *Init) GetCollectionMintAccount() *ag_solanago.AccountMeta
GetCollectionMintAccount gets the "collectionMint" account.
func (*Init) GetCollectionMintTaAccount ¶
func (inst *Init) GetCollectionMintTaAccount() *ag_solanago.AccountMeta
GetCollectionMintTaAccount gets the "collectionMintTa" account.
func (*Init) GetLaunchpadManagerAccount ¶
func (inst *Init) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
GetLaunchpadManagerAccount gets the "launchpadManager" account.
func (*Init) GetMplTokenMetadataAccount ¶
func (inst *Init) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*Init) GetRentAccount ¶
func (inst *Init) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*Init) GetSystemProgramAccount ¶
func (inst *Init) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Init) GetTokenProgramAccount ¶
func (inst *Init) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (Init) MarshalWithEncoder ¶
func (*Init) SetAssociatedTokenProgramAccount ¶
func (inst *Init) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *Init
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*Init) SetClockAccount ¶
func (inst *Init) SetClockAccount(clock ag_solanago.PublicKey) *Init
SetClockAccount sets the "clock" account.
func (*Init) SetCollectionAccount ¶
func (inst *Init) SetCollectionAccount(collection ag_solanago.PublicKey) *Init
SetCollectionAccount sets the "collection" account.
func (*Init) SetCollectionMasterEditionAccount ¶
func (inst *Init) SetCollectionMasterEditionAccount(collectionMasterEdition ag_solanago.PublicKey) *Init
SetCollectionMasterEditionAccount sets the "collectionMasterEdition" account.
func (*Init) SetCollectionMetadataAccount ¶
func (inst *Init) SetCollectionMetadataAccount(collectionMetadata ag_solanago.PublicKey) *Init
SetCollectionMetadataAccount sets the "collectionMetadata" account.
func (*Init) SetCollectionMintAccount ¶
func (inst *Init) SetCollectionMintAccount(collectionMint ag_solanago.PublicKey) *Init
SetCollectionMintAccount sets the "collectionMint" account.
func (*Init) SetCollectionMintTaAccount ¶
func (inst *Init) SetCollectionMintTaAccount(collectionMintTa ag_solanago.PublicKey) *Init
SetCollectionMintTaAccount sets the "collectionMintTa" account.
func (*Init) SetLaunchpadManagerAccount ¶
func (inst *Init) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *Init
SetLaunchpadManagerAccount sets the "launchpadManager" account.
func (*Init) SetMplTokenMetadataAccount ¶
func (inst *Init) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *Init
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*Init) SetParams ¶
func (inst *Init) SetParams(params InitLaunchpadCollectionParams) *Init
SetParams sets the "params" parameter.
func (*Init) SetRentAccount ¶
func (inst *Init) SetRentAccount(rent ag_solanago.PublicKey) *Init
SetRentAccount sets the "rent" account.
func (*Init) SetSystemProgramAccount ¶
func (inst *Init) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Init
SetSystemProgramAccount sets the "systemProgram" account.
func (*Init) SetTokenProgramAccount ¶
func (inst *Init) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Init
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Init) UnmarshalWithDecoder ¶
func (Init) ValidateAndBuild ¶
func (inst Init) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type InitLaunchpadCollectionParams ¶
type InitLaunchpadCollectionParams struct { Nonce ag_solanago.PublicKey Manager ag_solanago.PublicKey MaxSupply uint64 Name string Symbol string Uri string Creators [5]ag_solanago.PublicKey }
func (InitLaunchpadCollectionParams) MarshalWithEncoder ¶
func (obj InitLaunchpadCollectionParams) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*InitLaunchpadCollectionParams) UnmarshalWithDecoder ¶
func (obj *InitLaunchpadCollectionParams) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type InitStage ¶
type InitStage struct { Params *InitStageParams // [0] = [WRITE, SIGNER] manager // // [1] = [WRITE] collection // // [2] = [WRITE] stage // // [3] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
InitStage is the `initStage` instruction.
func NewInitStageInstruction ¶
func NewInitStageInstruction( params InitStageParams, manager ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *InitStage
NewInitStageInstruction declares a new InitStage instruction with the provided parameters and accounts.
func NewInitStageInstructionBuilder ¶
func NewInitStageInstructionBuilder() *InitStage
NewInitStageInstructionBuilder creates a new `InitStage` instruction builder.
func (InitStage) Build ¶
func (inst InitStage) Build() *Instruction
func (*InitStage) EncodeToTree ¶
func (inst *InitStage) EncodeToTree(parent ag_treeout.Branches)
func (*InitStage) GetCollectionAccount ¶
func (inst *InitStage) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*InitStage) GetManagerAccount ¶
func (inst *InitStage) GetManagerAccount() *ag_solanago.AccountMeta
GetManagerAccount gets the "manager" account.
func (*InitStage) GetStageAccount ¶
func (inst *InitStage) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*InitStage) GetSystemProgramAccount ¶
func (inst *InitStage) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (InitStage) MarshalWithEncoder ¶
func (*InitStage) SetCollectionAccount ¶
func (inst *InitStage) SetCollectionAccount(collection ag_solanago.PublicKey) *InitStage
SetCollectionAccount sets the "collection" account.
func (*InitStage) SetManagerAccount ¶
func (inst *InitStage) SetManagerAccount(manager ag_solanago.PublicKey) *InitStage
SetManagerAccount sets the "manager" account.
func (*InitStage) SetParams ¶
func (inst *InitStage) SetParams(params InitStageParams) *InitStage
SetParams sets the "params" parameter.
func (*InitStage) SetStageAccount ¶
func (inst *InitStage) SetStageAccount(stage ag_solanago.PublicKey) *InitStage
SetStageAccount sets the "stage" account.
func (*InitStage) SetSystemProgramAccount ¶
func (inst *InitStage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *InitStage
SetSystemProgramAccount sets the "systemProgram" account.
func (*InitStage) UnmarshalWithDecoder ¶
func (InitStage) ValidateAndBuild ¶
func (inst InitStage) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type InitStageParams ¶
type InitStageParams struct { Title string Nonce ag_solanago.PublicKey Description string SpendType uint8 PricingType uint8 LimitPerUser uint64 MintPrice uint64 MinDynamicPrice uint64 MaxDynamicPrice uint64 PaymentMint ag_solanago.PublicKey WhitelistMint ag_solanago.PublicKey Supply uint64 CanExceedMaxSupply bool StartTime int64 EndTime int64 }
func (InitStageParams) MarshalWithEncoder ¶
func (obj InitStageParams) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*InitStageParams) UnmarshalWithDecoder ¶
func (obj *InitStageParams) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type Instruction ¶
type Instruction struct {
ag_binary.BaseVariant
}
func DecodeInstruction ¶
func DecodeInstruction(accounts []*ag_solanago.AccountMeta, data []byte) (*Instruction, error)
func (*Instruction) Accounts ¶
func (inst *Instruction) Accounts() (out []*ag_solanago.AccountMeta)
func (*Instruction) Data ¶
func (inst *Instruction) Data() ([]byte, error)
func (*Instruction) EncodeToTree ¶
func (inst *Instruction) EncodeToTree(parent ag_treeout.Branches)
func (*Instruction) MarshalWithEncoder ¶
func (inst *Instruction) MarshalWithEncoder(encoder *ag_binary.Encoder) error
func (*Instruction) ProgramID ¶
func (inst *Instruction) ProgramID() ag_solanago.PublicKey
func (*Instruction) TextEncode ¶
func (*Instruction) UnmarshalWithDecoder ¶
func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error
type LaunchpadCollection ¶
type LaunchpadCollection struct { Manager ag_solanago.PublicKey Nonce ag_solanago.PublicKey State uint8 CreationTime int64 LastUpdateTime int64 StagedSupply uint64 MaxSupply uint64 TotalPreMinted uint64 TotalMinted uint64 SellerFeeBasisPoints uint16 CollectionMint ag_solanago.PublicKey Creators [5]ag_solanago.PublicKey }
func (LaunchpadCollection) MarshalWithEncoder ¶
func (obj LaunchpadCollection) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*LaunchpadCollection) UnmarshalWithDecoder ¶
func (obj *LaunchpadCollection) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type LegendaryTracker ¶
type LegendaryTracker struct { UserAddress ag_solanago.PublicKey LegendaryMint ag_solanago.PublicKey NftMint ag_solanago.PublicKey }
func (LegendaryTracker) MarshalWithEncoder ¶
func (obj LegendaryTracker) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*LegendaryTracker) UnmarshalWithDecoder ¶
func (obj *LegendaryTracker) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type PreMint ¶
type PreMint struct { Nonce *ag_solanago.PublicKey Name *string Symbol *string Uri *string // [0] = [WRITE, SIGNER] launchpadManager // // [1] = [WRITE] authority // // [2] = [WRITE] collection // // [3] = [WRITE] nftMint // // [4] = [WRITE] collectionNftTa // // [5] = [WRITE] nftMetadata // // [6] = [WRITE] nftMasterEdition // // [7] = [WRITE] collectionMint // // [8] = [WRITE] collectionMetadata // // [9] = [WRITE] collectionMasterEdition // // [10] = [] mplTokenMetadata // // [11] = [] tokenProgram // // [12] = [] associatedTokenProgram // // [13] = [] systemProgram // // [14] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
PreMint is the `preMint` instruction.
func NewPreMintInstruction ¶
func NewPreMintInstruction( nonce ag_solanago.PublicKey, name string, symbol string, uri string, launchpadManager ag_solanago.PublicKey, authority ag_solanago.PublicKey, collection ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, collectionNftTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, collectionMint ag_solanago.PublicKey, collectionMetadata ag_solanago.PublicKey, collectionMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *PreMint
NewPreMintInstruction declares a new PreMint instruction with the provided parameters and accounts.
func NewPreMintInstructionBuilder ¶
func NewPreMintInstructionBuilder() *PreMint
NewPreMintInstructionBuilder creates a new `PreMint` instruction builder.
func (PreMint) Build ¶
func (inst PreMint) Build() *Instruction
func (*PreMint) EncodeToTree ¶
func (inst *PreMint) EncodeToTree(parent ag_treeout.Branches)
func (*PreMint) GetAssociatedTokenProgramAccount ¶
func (inst *PreMint) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*PreMint) GetAuthorityAccount ¶
func (inst *PreMint) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*PreMint) GetCollectionAccount ¶
func (inst *PreMint) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*PreMint) GetCollectionMasterEditionAccount ¶
func (inst *PreMint) GetCollectionMasterEditionAccount() *ag_solanago.AccountMeta
GetCollectionMasterEditionAccount gets the "collectionMasterEdition" account.
func (*PreMint) GetCollectionMetadataAccount ¶
func (inst *PreMint) GetCollectionMetadataAccount() *ag_solanago.AccountMeta
GetCollectionMetadataAccount gets the "collectionMetadata" account.
func (*PreMint) GetCollectionMintAccount ¶
func (inst *PreMint) GetCollectionMintAccount() *ag_solanago.AccountMeta
GetCollectionMintAccount gets the "collectionMint" account.
func (*PreMint) GetCollectionNftTaAccount ¶
func (inst *PreMint) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
GetCollectionNftTaAccount gets the "collectionNftTa" account.
func (*PreMint) GetLaunchpadManagerAccount ¶
func (inst *PreMint) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
GetLaunchpadManagerAccount gets the "launchpadManager" account.
func (*PreMint) GetMplTokenMetadataAccount ¶
func (inst *PreMint) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*PreMint) GetNftMasterEditionAccount ¶
func (inst *PreMint) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*PreMint) GetNftMetadataAccount ¶
func (inst *PreMint) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*PreMint) GetNftMintAccount ¶
func (inst *PreMint) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*PreMint) GetRentAccount ¶
func (inst *PreMint) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*PreMint) GetSystemProgramAccount ¶
func (inst *PreMint) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*PreMint) GetTokenProgramAccount ¶
func (inst *PreMint) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (PreMint) MarshalWithEncoder ¶
func (*PreMint) SetAssociatedTokenProgramAccount ¶
func (inst *PreMint) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *PreMint
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*PreMint) SetAuthorityAccount ¶
func (inst *PreMint) SetAuthorityAccount(authority ag_solanago.PublicKey) *PreMint
SetAuthorityAccount sets the "authority" account.
func (*PreMint) SetCollectionAccount ¶
func (inst *PreMint) SetCollectionAccount(collection ag_solanago.PublicKey) *PreMint
SetCollectionAccount sets the "collection" account.
func (*PreMint) SetCollectionMasterEditionAccount ¶
func (inst *PreMint) SetCollectionMasterEditionAccount(collectionMasterEdition ag_solanago.PublicKey) *PreMint
SetCollectionMasterEditionAccount sets the "collectionMasterEdition" account.
func (*PreMint) SetCollectionMetadataAccount ¶
func (inst *PreMint) SetCollectionMetadataAccount(collectionMetadata ag_solanago.PublicKey) *PreMint
SetCollectionMetadataAccount sets the "collectionMetadata" account.
func (*PreMint) SetCollectionMintAccount ¶
func (inst *PreMint) SetCollectionMintAccount(collectionMint ag_solanago.PublicKey) *PreMint
SetCollectionMintAccount sets the "collectionMint" account.
func (*PreMint) SetCollectionNftTaAccount ¶
func (inst *PreMint) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *PreMint
SetCollectionNftTaAccount sets the "collectionNftTa" account.
func (*PreMint) SetLaunchpadManagerAccount ¶
func (inst *PreMint) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *PreMint
SetLaunchpadManagerAccount sets the "launchpadManager" account.
func (*PreMint) SetMplTokenMetadataAccount ¶
func (inst *PreMint) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *PreMint
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*PreMint) SetNftMasterEditionAccount ¶
func (inst *PreMint) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *PreMint
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*PreMint) SetNftMetadataAccount ¶
func (inst *PreMint) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *PreMint
SetNftMetadataAccount sets the "nftMetadata" account.
func (*PreMint) SetNftMintAccount ¶
func (inst *PreMint) SetNftMintAccount(nftMint ag_solanago.PublicKey) *PreMint
SetNftMintAccount sets the "nftMint" account.
func (*PreMint) SetNonce ¶
func (inst *PreMint) SetNonce(nonce ag_solanago.PublicKey) *PreMint
SetNonce sets the "nonce" parameter.
func (*PreMint) SetRentAccount ¶
func (inst *PreMint) SetRentAccount(rent ag_solanago.PublicKey) *PreMint
SetRentAccount sets the "rent" account.
func (*PreMint) SetSystemProgramAccount ¶
func (inst *PreMint) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PreMint
SetSystemProgramAccount sets the "systemProgram" account.
func (*PreMint) SetTokenProgramAccount ¶
func (inst *PreMint) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *PreMint
SetTokenProgramAccount sets the "tokenProgram" account.
func (*PreMint) UnmarshalWithDecoder ¶
func (PreMint) ValidateAndBuild ¶
func (inst PreMint) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type PricingType ¶
const ( PricingTypeFixed PricingType = iota PricingTypeLinear )
func (PricingType) String ¶
func (value PricingType) String() string
type RedeemFunds ¶
type RedeemFunds struct { // [0] = [WRITE, SIGNER] manager // // [1] = [] treasury // // [2] = [WRITE] collection // // [3] = [WRITE] stage // // [4] = [] paymentMint // // [5] = [WRITE] stageTa // // [6] = [WRITE] managerTa // // [7] = [WRITE] treasuryTa // // [8] = [] associatedTokenProgram // // [9] = [] tokenProgram // // [10] = [] systemProgram // // [11] = [] clock // // [12] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
RedeemFunds is the `redeemFunds` instruction.
func NewRedeemFundsInstruction ¶
func NewRedeemFundsInstruction( manager ag_solanago.PublicKey, treasury ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, paymentMint ag_solanago.PublicKey, stageTa ag_solanago.PublicKey, managerTa ag_solanago.PublicKey, treasuryTa ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, clock ag_solanago.PublicKey, rent ag_solanago.PublicKey) *RedeemFunds
NewRedeemFundsInstruction declares a new RedeemFunds instruction with the provided parameters and accounts.
func NewRedeemFundsInstructionBuilder ¶
func NewRedeemFundsInstructionBuilder() *RedeemFunds
NewRedeemFundsInstructionBuilder creates a new `RedeemFunds` instruction builder.
func (RedeemFunds) Build ¶
func (inst RedeemFunds) Build() *Instruction
func (*RedeemFunds) EncodeToTree ¶
func (inst *RedeemFunds) EncodeToTree(parent ag_treeout.Branches)
func (*RedeemFunds) GetAssociatedTokenProgramAccount ¶
func (inst *RedeemFunds) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*RedeemFunds) GetClockAccount ¶
func (inst *RedeemFunds) GetClockAccount() *ag_solanago.AccountMeta
GetClockAccount gets the "clock" account.
func (*RedeemFunds) GetCollectionAccount ¶
func (inst *RedeemFunds) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*RedeemFunds) GetManagerAccount ¶
func (inst *RedeemFunds) GetManagerAccount() *ag_solanago.AccountMeta
GetManagerAccount gets the "manager" account.
func (*RedeemFunds) GetManagerTaAccount ¶
func (inst *RedeemFunds) GetManagerTaAccount() *ag_solanago.AccountMeta
GetManagerTaAccount gets the "managerTa" account.
func (*RedeemFunds) GetPaymentMintAccount ¶
func (inst *RedeemFunds) GetPaymentMintAccount() *ag_solanago.AccountMeta
GetPaymentMintAccount gets the "paymentMint" account.
func (*RedeemFunds) GetRentAccount ¶
func (inst *RedeemFunds) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*RedeemFunds) GetStageAccount ¶
func (inst *RedeemFunds) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*RedeemFunds) GetStageTaAccount ¶
func (inst *RedeemFunds) GetStageTaAccount() *ag_solanago.AccountMeta
GetStageTaAccount gets the "stageTa" account.
func (*RedeemFunds) GetSystemProgramAccount ¶
func (inst *RedeemFunds) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RedeemFunds) GetTokenProgramAccount ¶
func (inst *RedeemFunds) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*RedeemFunds) GetTreasuryAccount ¶
func (inst *RedeemFunds) GetTreasuryAccount() *ag_solanago.AccountMeta
GetTreasuryAccount gets the "treasury" account.
func (*RedeemFunds) GetTreasuryTaAccount ¶
func (inst *RedeemFunds) GetTreasuryTaAccount() *ag_solanago.AccountMeta
GetTreasuryTaAccount gets the "treasuryTa" account.
func (RedeemFunds) MarshalWithEncoder ¶
func (obj RedeemFunds) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RedeemFunds) SetAssociatedTokenProgramAccount ¶
func (inst *RedeemFunds) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemFunds
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*RedeemFunds) SetClockAccount ¶
func (inst *RedeemFunds) SetClockAccount(clock ag_solanago.PublicKey) *RedeemFunds
SetClockAccount sets the "clock" account.
func (*RedeemFunds) SetCollectionAccount ¶
func (inst *RedeemFunds) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemFunds
SetCollectionAccount sets the "collection" account.
func (*RedeemFunds) SetManagerAccount ¶
func (inst *RedeemFunds) SetManagerAccount(manager ag_solanago.PublicKey) *RedeemFunds
SetManagerAccount sets the "manager" account.
func (*RedeemFunds) SetManagerTaAccount ¶
func (inst *RedeemFunds) SetManagerTaAccount(managerTa ag_solanago.PublicKey) *RedeemFunds
SetManagerTaAccount sets the "managerTa" account.
func (*RedeemFunds) SetPaymentMintAccount ¶
func (inst *RedeemFunds) SetPaymentMintAccount(paymentMint ag_solanago.PublicKey) *RedeemFunds
SetPaymentMintAccount sets the "paymentMint" account.
func (*RedeemFunds) SetRentAccount ¶
func (inst *RedeemFunds) SetRentAccount(rent ag_solanago.PublicKey) *RedeemFunds
SetRentAccount sets the "rent" account.
func (*RedeemFunds) SetStageAccount ¶
func (inst *RedeemFunds) SetStageAccount(stage ag_solanago.PublicKey) *RedeemFunds
SetStageAccount sets the "stage" account.
func (*RedeemFunds) SetStageTaAccount ¶
func (inst *RedeemFunds) SetStageTaAccount(stageTa ag_solanago.PublicKey) *RedeemFunds
SetStageTaAccount sets the "stageTa" account.
func (*RedeemFunds) SetSystemProgramAccount ¶
func (inst *RedeemFunds) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemFunds
SetSystemProgramAccount sets the "systemProgram" account.
func (*RedeemFunds) SetTokenProgramAccount ¶
func (inst *RedeemFunds) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemFunds
SetTokenProgramAccount sets the "tokenProgram" account.
func (*RedeemFunds) SetTreasuryAccount ¶
func (inst *RedeemFunds) SetTreasuryAccount(treasury ag_solanago.PublicKey) *RedeemFunds
SetTreasuryAccount sets the "treasury" account.
func (*RedeemFunds) SetTreasuryTaAccount ¶
func (inst *RedeemFunds) SetTreasuryTaAccount(treasuryTa ag_solanago.PublicKey) *RedeemFunds
SetTreasuryTaAccount sets the "treasuryTa" account.
func (*RedeemFunds) UnmarshalWithDecoder ¶
func (obj *RedeemFunds) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RedeemFunds) Validate ¶
func (inst *RedeemFunds) Validate() error
func (RedeemFunds) ValidateAndBuild ¶
func (inst RedeemFunds) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RedeemLegendary ¶
type RedeemLegendary struct { Nonce *ag_solanago.PublicKey // [0] = [WRITE, SIGNER] initializer // // [1] = [WRITE] collection // // [2] = [WRITE] legendaryTracker // // [3] = [] nftMint // // [4] = [WRITE] initializerNftTa // // [5] = [WRITE] collectionNftTa // // [6] = [] legendaryMint // // [7] = [WRITE] initializerLegendaryTa // // [8] = [WRITE] collectionLegendaryTa // // [9] = [WRITE] nftMetadata // // [10] = [WRITE] nftMasterEdition // // [11] = [] mplTokenMetadata // // [12] = [] tokenProgram // // [13] = [] associatedTokenProgram // // [14] = [] systemProgram // // [15] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
RedeemLegendary is the `redeemLegendary` instruction.
func NewRedeemLegendaryInstruction ¶
func NewRedeemLegendaryInstruction( nonce ag_solanago.PublicKey, initializer ag_solanago.PublicKey, collection ag_solanago.PublicKey, legendaryTracker ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, initializerNftTa ag_solanago.PublicKey, collectionNftTa ag_solanago.PublicKey, legendaryMint ag_solanago.PublicKey, initializerLegendaryTa ag_solanago.PublicKey, collectionLegendaryTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *RedeemLegendary
NewRedeemLegendaryInstruction declares a new RedeemLegendary instruction with the provided parameters and accounts.
func NewRedeemLegendaryInstructionBuilder ¶
func NewRedeemLegendaryInstructionBuilder() *RedeemLegendary
NewRedeemLegendaryInstructionBuilder creates a new `RedeemLegendary` instruction builder.
func (RedeemLegendary) Build ¶
func (inst RedeemLegendary) Build() *Instruction
func (*RedeemLegendary) EncodeToTree ¶
func (inst *RedeemLegendary) EncodeToTree(parent ag_treeout.Branches)
func (*RedeemLegendary) GetAssociatedTokenProgramAccount ¶
func (inst *RedeemLegendary) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*RedeemLegendary) GetCollectionAccount ¶
func (inst *RedeemLegendary) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*RedeemLegendary) GetCollectionLegendaryTaAccount ¶
func (inst *RedeemLegendary) GetCollectionLegendaryTaAccount() *ag_solanago.AccountMeta
GetCollectionLegendaryTaAccount gets the "collectionLegendaryTa" account.
func (*RedeemLegendary) GetCollectionNftTaAccount ¶
func (inst *RedeemLegendary) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
GetCollectionNftTaAccount gets the "collectionNftTa" account.
func (*RedeemLegendary) GetInitializerAccount ¶
func (inst *RedeemLegendary) GetInitializerAccount() *ag_solanago.AccountMeta
GetInitializerAccount gets the "initializer" account.
func (*RedeemLegendary) GetInitializerLegendaryTaAccount ¶
func (inst *RedeemLegendary) GetInitializerLegendaryTaAccount() *ag_solanago.AccountMeta
GetInitializerLegendaryTaAccount gets the "initializerLegendaryTa" account.
func (*RedeemLegendary) GetInitializerNftTaAccount ¶
func (inst *RedeemLegendary) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
GetInitializerNftTaAccount gets the "initializerNftTa" account.
func (*RedeemLegendary) GetLegendaryMintAccount ¶
func (inst *RedeemLegendary) GetLegendaryMintAccount() *ag_solanago.AccountMeta
GetLegendaryMintAccount gets the "legendaryMint" account.
func (*RedeemLegendary) GetLegendaryTrackerAccount ¶
func (inst *RedeemLegendary) GetLegendaryTrackerAccount() *ag_solanago.AccountMeta
GetLegendaryTrackerAccount gets the "legendaryTracker" account.
func (*RedeemLegendary) GetMplTokenMetadataAccount ¶
func (inst *RedeemLegendary) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*RedeemLegendary) GetNftMasterEditionAccount ¶
func (inst *RedeemLegendary) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*RedeemLegendary) GetNftMetadataAccount ¶
func (inst *RedeemLegendary) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*RedeemLegendary) GetNftMintAccount ¶
func (inst *RedeemLegendary) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*RedeemLegendary) GetRentAccount ¶
func (inst *RedeemLegendary) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*RedeemLegendary) GetSystemProgramAccount ¶
func (inst *RedeemLegendary) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RedeemLegendary) GetTokenProgramAccount ¶
func (inst *RedeemLegendary) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (RedeemLegendary) MarshalWithEncoder ¶
func (obj RedeemLegendary) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RedeemLegendary) SetAssociatedTokenProgramAccount ¶
func (inst *RedeemLegendary) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemLegendary
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*RedeemLegendary) SetCollectionAccount ¶
func (inst *RedeemLegendary) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemLegendary
SetCollectionAccount sets the "collection" account.
func (*RedeemLegendary) SetCollectionLegendaryTaAccount ¶
func (inst *RedeemLegendary) SetCollectionLegendaryTaAccount(collectionLegendaryTa ag_solanago.PublicKey) *RedeemLegendary
SetCollectionLegendaryTaAccount sets the "collectionLegendaryTa" account.
func (*RedeemLegendary) SetCollectionNftTaAccount ¶
func (inst *RedeemLegendary) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *RedeemLegendary
SetCollectionNftTaAccount sets the "collectionNftTa" account.
func (*RedeemLegendary) SetInitializerAccount ¶
func (inst *RedeemLegendary) SetInitializerAccount(initializer ag_solanago.PublicKey) *RedeemLegendary
SetInitializerAccount sets the "initializer" account.
func (*RedeemLegendary) SetInitializerLegendaryTaAccount ¶
func (inst *RedeemLegendary) SetInitializerLegendaryTaAccount(initializerLegendaryTa ag_solanago.PublicKey) *RedeemLegendary
SetInitializerLegendaryTaAccount sets the "initializerLegendaryTa" account.
func (*RedeemLegendary) SetInitializerNftTaAccount ¶
func (inst *RedeemLegendary) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *RedeemLegendary
SetInitializerNftTaAccount sets the "initializerNftTa" account.
func (*RedeemLegendary) SetLegendaryMintAccount ¶
func (inst *RedeemLegendary) SetLegendaryMintAccount(legendaryMint ag_solanago.PublicKey) *RedeemLegendary
SetLegendaryMintAccount sets the "legendaryMint" account.
func (*RedeemLegendary) SetLegendaryTrackerAccount ¶
func (inst *RedeemLegendary) SetLegendaryTrackerAccount(legendaryTracker ag_solanago.PublicKey) *RedeemLegendary
SetLegendaryTrackerAccount sets the "legendaryTracker" account.
func (*RedeemLegendary) SetMplTokenMetadataAccount ¶
func (inst *RedeemLegendary) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *RedeemLegendary
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*RedeemLegendary) SetNftMasterEditionAccount ¶
func (inst *RedeemLegendary) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *RedeemLegendary
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*RedeemLegendary) SetNftMetadataAccount ¶
func (inst *RedeemLegendary) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *RedeemLegendary
SetNftMetadataAccount sets the "nftMetadata" account.
func (*RedeemLegendary) SetNftMintAccount ¶
func (inst *RedeemLegendary) SetNftMintAccount(nftMint ag_solanago.PublicKey) *RedeemLegendary
SetNftMintAccount sets the "nftMint" account.
func (*RedeemLegendary) SetNonce ¶
func (inst *RedeemLegendary) SetNonce(nonce ag_solanago.PublicKey) *RedeemLegendary
SetNonce sets the "nonce" parameter.
func (*RedeemLegendary) SetRentAccount ¶
func (inst *RedeemLegendary) SetRentAccount(rent ag_solanago.PublicKey) *RedeemLegendary
SetRentAccount sets the "rent" account.
func (*RedeemLegendary) SetSystemProgramAccount ¶
func (inst *RedeemLegendary) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemLegendary
SetSystemProgramAccount sets the "systemProgram" account.
func (*RedeemLegendary) SetTokenProgramAccount ¶
func (inst *RedeemLegendary) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemLegendary
SetTokenProgramAccount sets the "tokenProgram" account.
func (*RedeemLegendary) UnmarshalWithDecoder ¶
func (obj *RedeemLegendary) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RedeemLegendary) Validate ¶
func (inst *RedeemLegendary) Validate() error
func (RedeemLegendary) ValidateAndBuild ¶
func (inst RedeemLegendary) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RedeemPfp ¶
type RedeemPfp struct { // [0] = [WRITE, SIGNER] initializer // // [1] = [WRITE] collection // // [2] = [] nftMint // // [3] = [WRITE] initializerNftTa // // [4] = [WRITE] collectionNftTa // // [5] = [] pfpMint // // [6] = [WRITE] initializerPfpTa // // [7] = [WRITE] collectionPfpTa // // [8] = [WRITE] nftMetadata // // [9] = [WRITE] nftMasterEdition // // [10] = [] mplTokenMetadata // // [11] = [] tokenProgram // // [12] = [] associatedTokenProgram // // [13] = [] systemProgram // // [14] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
RedeemPfp is the `redeemPfp` instruction.
func NewRedeemPfpInstruction ¶
func NewRedeemPfpInstruction( initializer ag_solanago.PublicKey, collection ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, initializerNftTa ag_solanago.PublicKey, collectionNftTa ag_solanago.PublicKey, pfpMint ag_solanago.PublicKey, initializerPfpTa ag_solanago.PublicKey, collectionPfpTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *RedeemPfp
NewRedeemPfpInstruction declares a new RedeemPfp instruction with the provided parameters and accounts.
func NewRedeemPfpInstructionBuilder ¶
func NewRedeemPfpInstructionBuilder() *RedeemPfp
NewRedeemPfpInstructionBuilder creates a new `RedeemPfp` instruction builder.
func (RedeemPfp) Build ¶
func (inst RedeemPfp) Build() *Instruction
func (*RedeemPfp) EncodeToTree ¶
func (inst *RedeemPfp) EncodeToTree(parent ag_treeout.Branches)
func (*RedeemPfp) GetAssociatedTokenProgramAccount ¶
func (inst *RedeemPfp) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*RedeemPfp) GetCollectionAccount ¶
func (inst *RedeemPfp) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*RedeemPfp) GetCollectionNftTaAccount ¶
func (inst *RedeemPfp) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
GetCollectionNftTaAccount gets the "collectionNftTa" account.
func (*RedeemPfp) GetCollectionPfpTaAccount ¶
func (inst *RedeemPfp) GetCollectionPfpTaAccount() *ag_solanago.AccountMeta
GetCollectionPfpTaAccount gets the "collectionPfpTa" account.
func (*RedeemPfp) GetInitializerAccount ¶
func (inst *RedeemPfp) GetInitializerAccount() *ag_solanago.AccountMeta
GetInitializerAccount gets the "initializer" account.
func (*RedeemPfp) GetInitializerNftTaAccount ¶
func (inst *RedeemPfp) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
GetInitializerNftTaAccount gets the "initializerNftTa" account.
func (*RedeemPfp) GetInitializerPfpTaAccount ¶
func (inst *RedeemPfp) GetInitializerPfpTaAccount() *ag_solanago.AccountMeta
GetInitializerPfpTaAccount gets the "initializerPfpTa" account.
func (*RedeemPfp) GetMplTokenMetadataAccount ¶
func (inst *RedeemPfp) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*RedeemPfp) GetNftMasterEditionAccount ¶
func (inst *RedeemPfp) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*RedeemPfp) GetNftMetadataAccount ¶
func (inst *RedeemPfp) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*RedeemPfp) GetNftMintAccount ¶
func (inst *RedeemPfp) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*RedeemPfp) GetPfpMintAccount ¶
func (inst *RedeemPfp) GetPfpMintAccount() *ag_solanago.AccountMeta
GetPfpMintAccount gets the "pfpMint" account.
func (*RedeemPfp) GetRentAccount ¶
func (inst *RedeemPfp) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*RedeemPfp) GetSystemProgramAccount ¶
func (inst *RedeemPfp) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RedeemPfp) GetTokenProgramAccount ¶
func (inst *RedeemPfp) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (RedeemPfp) MarshalWithEncoder ¶
func (*RedeemPfp) SetAssociatedTokenProgramAccount ¶
func (inst *RedeemPfp) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemPfp
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*RedeemPfp) SetCollectionAccount ¶
func (inst *RedeemPfp) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemPfp
SetCollectionAccount sets the "collection" account.
func (*RedeemPfp) SetCollectionNftTaAccount ¶
func (inst *RedeemPfp) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *RedeemPfp
SetCollectionNftTaAccount sets the "collectionNftTa" account.
func (*RedeemPfp) SetCollectionPfpTaAccount ¶
func (inst *RedeemPfp) SetCollectionPfpTaAccount(collectionPfpTa ag_solanago.PublicKey) *RedeemPfp
SetCollectionPfpTaAccount sets the "collectionPfpTa" account.
func (*RedeemPfp) SetInitializerAccount ¶
func (inst *RedeemPfp) SetInitializerAccount(initializer ag_solanago.PublicKey) *RedeemPfp
SetInitializerAccount sets the "initializer" account.
func (*RedeemPfp) SetInitializerNftTaAccount ¶
func (inst *RedeemPfp) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *RedeemPfp
SetInitializerNftTaAccount sets the "initializerNftTa" account.
func (*RedeemPfp) SetInitializerPfpTaAccount ¶
func (inst *RedeemPfp) SetInitializerPfpTaAccount(initializerPfpTa ag_solanago.PublicKey) *RedeemPfp
SetInitializerPfpTaAccount sets the "initializerPfpTa" account.
func (*RedeemPfp) SetMplTokenMetadataAccount ¶
func (inst *RedeemPfp) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *RedeemPfp
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*RedeemPfp) SetNftMasterEditionAccount ¶
func (inst *RedeemPfp) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *RedeemPfp
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*RedeemPfp) SetNftMetadataAccount ¶
func (inst *RedeemPfp) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *RedeemPfp
SetNftMetadataAccount sets the "nftMetadata" account.
func (*RedeemPfp) SetNftMintAccount ¶
func (inst *RedeemPfp) SetNftMintAccount(nftMint ag_solanago.PublicKey) *RedeemPfp
SetNftMintAccount sets the "nftMint" account.
func (*RedeemPfp) SetPfpMintAccount ¶
func (inst *RedeemPfp) SetPfpMintAccount(pfpMint ag_solanago.PublicKey) *RedeemPfp
SetPfpMintAccount sets the "pfpMint" account.
func (*RedeemPfp) SetRentAccount ¶
func (inst *RedeemPfp) SetRentAccount(rent ag_solanago.PublicKey) *RedeemPfp
SetRentAccount sets the "rent" account.
func (*RedeemPfp) SetSystemProgramAccount ¶
func (inst *RedeemPfp) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemPfp
SetSystemProgramAccount sets the "systemProgram" account.
func (*RedeemPfp) SetTokenProgramAccount ¶
func (inst *RedeemPfp) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemPfp
SetTokenProgramAccount sets the "tokenProgram" account.
func (*RedeemPfp) UnmarshalWithDecoder ¶
func (RedeemPfp) ValidateAndBuild ¶
func (inst RedeemPfp) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type RedeemTicket ¶
type RedeemTicket struct { // [0] = [WRITE, SIGNER] initializer // // [1] = [WRITE] ticket // // [2] = [WRITE] collection // // [3] = [WRITE] stage // // [4] = [] nftMint // // [5] = [WRITE] initializerNftTa // // [6] = [WRITE] ticketNftTa // // [7] = [WRITE] nftMetadata // // [8] = [WRITE] nftMasterEdition // // [9] = [] mplTokenMetadata // // [10] = [] tokenProgram // // [11] = [] associatedTokenProgram // // [12] = [] systemProgram // // [13] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
RedeemTicket is the `redeemTicket` instruction.
func NewRedeemTicketInstruction ¶
func NewRedeemTicketInstruction( initializer ag_solanago.PublicKey, ticket ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, initializerNftTa ag_solanago.PublicKey, ticketNftTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *RedeemTicket
NewRedeemTicketInstruction declares a new RedeemTicket instruction with the provided parameters and accounts.
func NewRedeemTicketInstructionBuilder ¶
func NewRedeemTicketInstructionBuilder() *RedeemTicket
NewRedeemTicketInstructionBuilder creates a new `RedeemTicket` instruction builder.
func (RedeemTicket) Build ¶
func (inst RedeemTicket) Build() *Instruction
func (*RedeemTicket) EncodeToTree ¶
func (inst *RedeemTicket) EncodeToTree(parent ag_treeout.Branches)
func (*RedeemTicket) GetAssociatedTokenProgramAccount ¶
func (inst *RedeemTicket) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*RedeemTicket) GetCollectionAccount ¶
func (inst *RedeemTicket) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*RedeemTicket) GetInitializerAccount ¶
func (inst *RedeemTicket) GetInitializerAccount() *ag_solanago.AccountMeta
GetInitializerAccount gets the "initializer" account.
func (*RedeemTicket) GetInitializerNftTaAccount ¶
func (inst *RedeemTicket) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
GetInitializerNftTaAccount gets the "initializerNftTa" account.
func (*RedeemTicket) GetMplTokenMetadataAccount ¶
func (inst *RedeemTicket) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*RedeemTicket) GetNftMasterEditionAccount ¶
func (inst *RedeemTicket) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*RedeemTicket) GetNftMetadataAccount ¶
func (inst *RedeemTicket) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*RedeemTicket) GetNftMintAccount ¶
func (inst *RedeemTicket) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*RedeemTicket) GetRentAccount ¶
func (inst *RedeemTicket) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*RedeemTicket) GetStageAccount ¶
func (inst *RedeemTicket) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*RedeemTicket) GetSystemProgramAccount ¶
func (inst *RedeemTicket) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*RedeemTicket) GetTicketAccount ¶
func (inst *RedeemTicket) GetTicketAccount() *ag_solanago.AccountMeta
GetTicketAccount gets the "ticket" account.
func (*RedeemTicket) GetTicketNftTaAccount ¶
func (inst *RedeemTicket) GetTicketNftTaAccount() *ag_solanago.AccountMeta
GetTicketNftTaAccount gets the "ticketNftTa" account.
func (*RedeemTicket) GetTokenProgramAccount ¶
func (inst *RedeemTicket) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (RedeemTicket) MarshalWithEncoder ¶
func (obj RedeemTicket) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*RedeemTicket) SetAssociatedTokenProgramAccount ¶
func (inst *RedeemTicket) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *RedeemTicket
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*RedeemTicket) SetCollectionAccount ¶
func (inst *RedeemTicket) SetCollectionAccount(collection ag_solanago.PublicKey) *RedeemTicket
SetCollectionAccount sets the "collection" account.
func (*RedeemTicket) SetInitializerAccount ¶
func (inst *RedeemTicket) SetInitializerAccount(initializer ag_solanago.PublicKey) *RedeemTicket
SetInitializerAccount sets the "initializer" account.
func (*RedeemTicket) SetInitializerNftTaAccount ¶
func (inst *RedeemTicket) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *RedeemTicket
SetInitializerNftTaAccount sets the "initializerNftTa" account.
func (*RedeemTicket) SetMplTokenMetadataAccount ¶
func (inst *RedeemTicket) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *RedeemTicket
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*RedeemTicket) SetNftMasterEditionAccount ¶
func (inst *RedeemTicket) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *RedeemTicket
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*RedeemTicket) SetNftMetadataAccount ¶
func (inst *RedeemTicket) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *RedeemTicket
SetNftMetadataAccount sets the "nftMetadata" account.
func (*RedeemTicket) SetNftMintAccount ¶
func (inst *RedeemTicket) SetNftMintAccount(nftMint ag_solanago.PublicKey) *RedeemTicket
SetNftMintAccount sets the "nftMint" account.
func (*RedeemTicket) SetRentAccount ¶
func (inst *RedeemTicket) SetRentAccount(rent ag_solanago.PublicKey) *RedeemTicket
SetRentAccount sets the "rent" account.
func (*RedeemTicket) SetStageAccount ¶
func (inst *RedeemTicket) SetStageAccount(stage ag_solanago.PublicKey) *RedeemTicket
SetStageAccount sets the "stage" account.
func (*RedeemTicket) SetSystemProgramAccount ¶
func (inst *RedeemTicket) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *RedeemTicket
SetSystemProgramAccount sets the "systemProgram" account.
func (*RedeemTicket) SetTicketAccount ¶
func (inst *RedeemTicket) SetTicketAccount(ticket ag_solanago.PublicKey) *RedeemTicket
SetTicketAccount sets the "ticket" account.
func (*RedeemTicket) SetTicketNftTaAccount ¶
func (inst *RedeemTicket) SetTicketNftTaAccount(ticketNftTa ag_solanago.PublicKey) *RedeemTicket
SetTicketNftTaAccount sets the "ticketNftTa" account.
func (*RedeemTicket) SetTokenProgramAccount ¶
func (inst *RedeemTicket) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *RedeemTicket
SetTokenProgramAccount sets the "tokenProgram" account.
func (*RedeemTicket) UnmarshalWithDecoder ¶
func (obj *RedeemTicket) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*RedeemTicket) Validate ¶
func (inst *RedeemTicket) Validate() error
func (RedeemTicket) ValidateAndBuild ¶
func (inst RedeemTicket) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type Stage ¶
type Stage struct { Collection ag_solanago.PublicKey Nonce ag_solanago.PublicKey Title string Description string SpendType uint8 PricingType uint8 LimitPerUser uint64 MintPrice uint64 MinDynamicPrice uint64 MaxDynamicPrice uint64 PaymentMint ag_solanago.PublicKey WhitelistMint ag_solanago.PublicKey MaxSupply uint64 CanExceedMaxSupply bool TicketsAmount uint64 MintedAmount uint64 StartTime int64 EndTime int64 }
func (Stage) MarshalWithEncoder ¶
type Ticket ¶
type Ticket struct { Initializer ag_solanago.PublicKey State uint8 Stage ag_solanago.PublicKey Collection ag_solanago.PublicKey PaymentMint ag_solanago.PublicKey WhitelistMint ag_solanago.PublicKey NftMint ag_solanago.PublicKey UserBid uint64 MaxPrice uint64 IsMaxBid bool NumberMinted uint64 }
func (Ticket) MarshalWithEncoder ¶
type TicketState ¶
const ( TicketStateInitialized TicketState = iota TicketStateToCheck TicketStateRedeemable TicketStateClosed )
func (TicketState) String ¶
func (value TicketState) String() string
type TimeCheckType ¶
const ( TimeCheckTypeShouldNotStart TimeCheckType = iota TimeCheckTypeShouldNotEnd TimeCheckTypeShouldBeEnded )
func (TimeCheckType) String ¶
func (value TimeCheckType) String() string
type TransferAuthority ¶
type TransferAuthority struct { Nonce *ag_solanago.PublicKey Name *string Symbol *string Uri *string // [0] = [WRITE, SIGNER] launchpadManager // // [1] = [WRITE] authority // // [2] = [WRITE] collection // // [3] = [WRITE] nftMint // // [4] = [WRITE] collectionNftTa // // [5] = [WRITE] nftMetadata // // [6] = [WRITE] nftMasterEdition // // [7] = [WRITE] collectionMint // // [8] = [WRITE] collectionMetadata // // [9] = [WRITE] collectionMasterEdition // // [10] = [] mplTokenMetadata // // [11] = [] tokenProgram // // [12] = [] associatedTokenProgram // // [13] = [] systemProgram // // [14] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
TransferAuthority is the `transferAuthority` instruction.
func NewTransferAuthorityInstruction ¶
func NewTransferAuthorityInstruction( nonce ag_solanago.PublicKey, name string, symbol string, uri string, launchpadManager ag_solanago.PublicKey, authority ag_solanago.PublicKey, collection ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, collectionNftTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, collectionMint ag_solanago.PublicKey, collectionMetadata ag_solanago.PublicKey, collectionMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *TransferAuthority
NewTransferAuthorityInstruction declares a new TransferAuthority instruction with the provided parameters and accounts.
func NewTransferAuthorityInstructionBuilder ¶
func NewTransferAuthorityInstructionBuilder() *TransferAuthority
NewTransferAuthorityInstructionBuilder creates a new `TransferAuthority` instruction builder.
func (TransferAuthority) Build ¶
func (inst TransferAuthority) Build() *Instruction
func (*TransferAuthority) EncodeToTree ¶
func (inst *TransferAuthority) EncodeToTree(parent ag_treeout.Branches)
func (*TransferAuthority) GetAssociatedTokenProgramAccount ¶
func (inst *TransferAuthority) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*TransferAuthority) GetAuthorityAccount ¶
func (inst *TransferAuthority) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*TransferAuthority) GetCollectionAccount ¶
func (inst *TransferAuthority) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*TransferAuthority) GetCollectionMasterEditionAccount ¶
func (inst *TransferAuthority) GetCollectionMasterEditionAccount() *ag_solanago.AccountMeta
GetCollectionMasterEditionAccount gets the "collectionMasterEdition" account.
func (*TransferAuthority) GetCollectionMetadataAccount ¶
func (inst *TransferAuthority) GetCollectionMetadataAccount() *ag_solanago.AccountMeta
GetCollectionMetadataAccount gets the "collectionMetadata" account.
func (*TransferAuthority) GetCollectionMintAccount ¶
func (inst *TransferAuthority) GetCollectionMintAccount() *ag_solanago.AccountMeta
GetCollectionMintAccount gets the "collectionMint" account.
func (*TransferAuthority) GetCollectionNftTaAccount ¶
func (inst *TransferAuthority) GetCollectionNftTaAccount() *ag_solanago.AccountMeta
GetCollectionNftTaAccount gets the "collectionNftTa" account.
func (*TransferAuthority) GetLaunchpadManagerAccount ¶
func (inst *TransferAuthority) GetLaunchpadManagerAccount() *ag_solanago.AccountMeta
GetLaunchpadManagerAccount gets the "launchpadManager" account.
func (*TransferAuthority) GetMplTokenMetadataAccount ¶
func (inst *TransferAuthority) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*TransferAuthority) GetNftMasterEditionAccount ¶
func (inst *TransferAuthority) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*TransferAuthority) GetNftMetadataAccount ¶
func (inst *TransferAuthority) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*TransferAuthority) GetNftMintAccount ¶
func (inst *TransferAuthority) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*TransferAuthority) GetRentAccount ¶
func (inst *TransferAuthority) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*TransferAuthority) GetSystemProgramAccount ¶
func (inst *TransferAuthority) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*TransferAuthority) GetTokenProgramAccount ¶
func (inst *TransferAuthority) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (TransferAuthority) MarshalWithEncoder ¶
func (obj TransferAuthority) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*TransferAuthority) SetAssociatedTokenProgramAccount ¶
func (inst *TransferAuthority) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *TransferAuthority
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*TransferAuthority) SetAuthorityAccount ¶
func (inst *TransferAuthority) SetAuthorityAccount(authority ag_solanago.PublicKey) *TransferAuthority
SetAuthorityAccount sets the "authority" account.
func (*TransferAuthority) SetCollectionAccount ¶
func (inst *TransferAuthority) SetCollectionAccount(collection ag_solanago.PublicKey) *TransferAuthority
SetCollectionAccount sets the "collection" account.
func (*TransferAuthority) SetCollectionMasterEditionAccount ¶
func (inst *TransferAuthority) SetCollectionMasterEditionAccount(collectionMasterEdition ag_solanago.PublicKey) *TransferAuthority
SetCollectionMasterEditionAccount sets the "collectionMasterEdition" account.
func (*TransferAuthority) SetCollectionMetadataAccount ¶
func (inst *TransferAuthority) SetCollectionMetadataAccount(collectionMetadata ag_solanago.PublicKey) *TransferAuthority
SetCollectionMetadataAccount sets the "collectionMetadata" account.
func (*TransferAuthority) SetCollectionMintAccount ¶
func (inst *TransferAuthority) SetCollectionMintAccount(collectionMint ag_solanago.PublicKey) *TransferAuthority
SetCollectionMintAccount sets the "collectionMint" account.
func (*TransferAuthority) SetCollectionNftTaAccount ¶
func (inst *TransferAuthority) SetCollectionNftTaAccount(collectionNftTa ag_solanago.PublicKey) *TransferAuthority
SetCollectionNftTaAccount sets the "collectionNftTa" account.
func (*TransferAuthority) SetLaunchpadManagerAccount ¶
func (inst *TransferAuthority) SetLaunchpadManagerAccount(launchpadManager ag_solanago.PublicKey) *TransferAuthority
SetLaunchpadManagerAccount sets the "launchpadManager" account.
func (*TransferAuthority) SetMplTokenMetadataAccount ¶
func (inst *TransferAuthority) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *TransferAuthority
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*TransferAuthority) SetName ¶
func (inst *TransferAuthority) SetName(name string) *TransferAuthority
SetName sets the "name" parameter.
func (*TransferAuthority) SetNftMasterEditionAccount ¶
func (inst *TransferAuthority) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *TransferAuthority
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*TransferAuthority) SetNftMetadataAccount ¶
func (inst *TransferAuthority) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *TransferAuthority
SetNftMetadataAccount sets the "nftMetadata" account.
func (*TransferAuthority) SetNftMintAccount ¶
func (inst *TransferAuthority) SetNftMintAccount(nftMint ag_solanago.PublicKey) *TransferAuthority
SetNftMintAccount sets the "nftMint" account.
func (*TransferAuthority) SetNonce ¶
func (inst *TransferAuthority) SetNonce(nonce ag_solanago.PublicKey) *TransferAuthority
SetNonce sets the "nonce" parameter.
func (*TransferAuthority) SetRentAccount ¶
func (inst *TransferAuthority) SetRentAccount(rent ag_solanago.PublicKey) *TransferAuthority
SetRentAccount sets the "rent" account.
func (*TransferAuthority) SetSymbol ¶
func (inst *TransferAuthority) SetSymbol(symbol string) *TransferAuthority
SetSymbol sets the "symbol" parameter.
func (*TransferAuthority) SetSystemProgramAccount ¶
func (inst *TransferAuthority) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *TransferAuthority
SetSystemProgramAccount sets the "systemProgram" account.
func (*TransferAuthority) SetTokenProgramAccount ¶
func (inst *TransferAuthority) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *TransferAuthority
SetTokenProgramAccount sets the "tokenProgram" account.
func (*TransferAuthority) SetUri ¶
func (inst *TransferAuthority) SetUri(uri string) *TransferAuthority
SetUri sets the "uri" parameter.
func (*TransferAuthority) UnmarshalWithDecoder ¶
func (obj *TransferAuthority) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*TransferAuthority) Validate ¶
func (inst *TransferAuthority) Validate() error
func (TransferAuthority) ValidateAndBuild ¶
func (inst TransferAuthority) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type Unfreeze ¶
type Unfreeze struct { // [0] = [WRITE, SIGNER] authority // // [1] = [WRITE] collection // // [2] = [] nftMint // // [3] = [] initializerNftTa // // [4] = [WRITE] nftMetadata // // [5] = [WRITE] nftMasterEdition // // [6] = [] mplTokenMetadata // // [7] = [] tokenProgram // // [8] = [] associatedTokenProgram // // [9] = [] systemProgram // // [10] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
Unfreeze is the `unfreeze` instruction.
func NewUnfreezeInstruction ¶
func NewUnfreezeInstruction( authority ag_solanago.PublicKey, collection ag_solanago.PublicKey, nftMint ag_solanago.PublicKey, initializerNftTa ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, nftMasterEdition ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, associatedTokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *Unfreeze
NewUnfreezeInstruction declares a new Unfreeze instruction with the provided parameters and accounts.
func NewUnfreezeInstructionBuilder ¶
func NewUnfreezeInstructionBuilder() *Unfreeze
NewUnfreezeInstructionBuilder creates a new `Unfreeze` instruction builder.
func (Unfreeze) Build ¶
func (inst Unfreeze) Build() *Instruction
func (*Unfreeze) EncodeToTree ¶
func (inst *Unfreeze) EncodeToTree(parent ag_treeout.Branches)
func (*Unfreeze) GetAssociatedTokenProgramAccount ¶
func (inst *Unfreeze) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta
GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.
func (*Unfreeze) GetAuthorityAccount ¶
func (inst *Unfreeze) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*Unfreeze) GetCollectionAccount ¶
func (inst *Unfreeze) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*Unfreeze) GetInitializerNftTaAccount ¶
func (inst *Unfreeze) GetInitializerNftTaAccount() *ag_solanago.AccountMeta
GetInitializerNftTaAccount gets the "initializerNftTa" account.
func (*Unfreeze) GetMplTokenMetadataAccount ¶
func (inst *Unfreeze) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*Unfreeze) GetNftMasterEditionAccount ¶
func (inst *Unfreeze) GetNftMasterEditionAccount() *ag_solanago.AccountMeta
GetNftMasterEditionAccount gets the "nftMasterEdition" account.
func (*Unfreeze) GetNftMetadataAccount ¶
func (inst *Unfreeze) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (*Unfreeze) GetNftMintAccount ¶
func (inst *Unfreeze) GetNftMintAccount() *ag_solanago.AccountMeta
GetNftMintAccount gets the "nftMint" account.
func (*Unfreeze) GetRentAccount ¶
func (inst *Unfreeze) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*Unfreeze) GetSystemProgramAccount ¶
func (inst *Unfreeze) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Unfreeze) GetTokenProgramAccount ¶
func (inst *Unfreeze) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (Unfreeze) MarshalWithEncoder ¶
func (*Unfreeze) SetAssociatedTokenProgramAccount ¶
func (inst *Unfreeze) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *Unfreeze
SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.
func (*Unfreeze) SetAuthorityAccount ¶
func (inst *Unfreeze) SetAuthorityAccount(authority ag_solanago.PublicKey) *Unfreeze
SetAuthorityAccount sets the "authority" account.
func (*Unfreeze) SetCollectionAccount ¶
func (inst *Unfreeze) SetCollectionAccount(collection ag_solanago.PublicKey) *Unfreeze
SetCollectionAccount sets the "collection" account.
func (*Unfreeze) SetInitializerNftTaAccount ¶
func (inst *Unfreeze) SetInitializerNftTaAccount(initializerNftTa ag_solanago.PublicKey) *Unfreeze
SetInitializerNftTaAccount sets the "initializerNftTa" account.
func (*Unfreeze) SetMplTokenMetadataAccount ¶
func (inst *Unfreeze) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *Unfreeze
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*Unfreeze) SetNftMasterEditionAccount ¶
func (inst *Unfreeze) SetNftMasterEditionAccount(nftMasterEdition ag_solanago.PublicKey) *Unfreeze
SetNftMasterEditionAccount sets the "nftMasterEdition" account.
func (*Unfreeze) SetNftMetadataAccount ¶
func (inst *Unfreeze) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *Unfreeze
SetNftMetadataAccount sets the "nftMetadata" account.
func (*Unfreeze) SetNftMintAccount ¶
func (inst *Unfreeze) SetNftMintAccount(nftMint ag_solanago.PublicKey) *Unfreeze
SetNftMintAccount sets the "nftMint" account.
func (*Unfreeze) SetRentAccount ¶
func (inst *Unfreeze) SetRentAccount(rent ag_solanago.PublicKey) *Unfreeze
SetRentAccount sets the "rent" account.
func (*Unfreeze) SetSystemProgramAccount ¶
func (inst *Unfreeze) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Unfreeze
SetSystemProgramAccount sets the "systemProgram" account.
func (*Unfreeze) SetTokenProgramAccount ¶
func (inst *Unfreeze) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Unfreeze
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Unfreeze) UnmarshalWithDecoder ¶
func (Unfreeze) ValidateAndBuild ¶
func (inst Unfreeze) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UpdateMetadata ¶
type UpdateMetadata struct { Name *string Symbol *string Uri *string SellerFeeBasisPoints *uint16 // [0] = [WRITE, SIGNER] authority // // [1] = [WRITE] nftMetadata // // [2] = [] mplTokenMetadata ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateMetadata is the `updateMetadata` instruction.
func NewUpdateMetadataInstruction ¶
func NewUpdateMetadataInstruction( name string, symbol string, uri string, sellerFeeBasisPoints uint16, authority ag_solanago.PublicKey, nftMetadata ag_solanago.PublicKey, mplTokenMetadata ag_solanago.PublicKey) *UpdateMetadata
NewUpdateMetadataInstruction declares a new UpdateMetadata instruction with the provided parameters and accounts.
func NewUpdateMetadataInstructionBuilder ¶
func NewUpdateMetadataInstructionBuilder() *UpdateMetadata
NewUpdateMetadataInstructionBuilder creates a new `UpdateMetadata` instruction builder.
func (UpdateMetadata) Build ¶
func (inst UpdateMetadata) Build() *Instruction
func (*UpdateMetadata) EncodeToTree ¶
func (inst *UpdateMetadata) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateMetadata) GetAuthorityAccount ¶
func (inst *UpdateMetadata) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*UpdateMetadata) GetMplTokenMetadataAccount ¶
func (inst *UpdateMetadata) GetMplTokenMetadataAccount() *ag_solanago.AccountMeta
GetMplTokenMetadataAccount gets the "mplTokenMetadata" account.
func (*UpdateMetadata) GetNftMetadataAccount ¶
func (inst *UpdateMetadata) GetNftMetadataAccount() *ag_solanago.AccountMeta
GetNftMetadataAccount gets the "nftMetadata" account.
func (UpdateMetadata) MarshalWithEncoder ¶
func (obj UpdateMetadata) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateMetadata) SetAuthorityAccount ¶
func (inst *UpdateMetadata) SetAuthorityAccount(authority ag_solanago.PublicKey) *UpdateMetadata
SetAuthorityAccount sets the "authority" account.
func (*UpdateMetadata) SetMplTokenMetadataAccount ¶
func (inst *UpdateMetadata) SetMplTokenMetadataAccount(mplTokenMetadata ag_solanago.PublicKey) *UpdateMetadata
SetMplTokenMetadataAccount sets the "mplTokenMetadata" account.
func (*UpdateMetadata) SetName ¶
func (inst *UpdateMetadata) SetName(name string) *UpdateMetadata
SetName sets the "name" parameter.
func (*UpdateMetadata) SetNftMetadataAccount ¶
func (inst *UpdateMetadata) SetNftMetadataAccount(nftMetadata ag_solanago.PublicKey) *UpdateMetadata
SetNftMetadataAccount sets the "nftMetadata" account.
func (*UpdateMetadata) SetSellerFeeBasisPoints ¶
func (inst *UpdateMetadata) SetSellerFeeBasisPoints(sellerFeeBasisPoints uint16) *UpdateMetadata
SetSellerFeeBasisPoints sets the "sellerFeeBasisPoints" parameter.
func (*UpdateMetadata) SetSymbol ¶
func (inst *UpdateMetadata) SetSymbol(symbol string) *UpdateMetadata
SetSymbol sets the "symbol" parameter.
func (*UpdateMetadata) SetUri ¶
func (inst *UpdateMetadata) SetUri(uri string) *UpdateMetadata
SetUri sets the "uri" parameter.
func (*UpdateMetadata) UnmarshalWithDecoder ¶
func (obj *UpdateMetadata) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateMetadata) Validate ¶
func (inst *UpdateMetadata) Validate() error
func (UpdateMetadata) ValidateAndBuild ¶
func (inst UpdateMetadata) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UpdateStage ¶
type UpdateStage struct { Params *UpdateStageParams // [0] = [WRITE, SIGNER] manager // // [1] = [WRITE] collection // // [2] = [WRITE] stage // // [3] = [] systemProgram // // [4] = [] clock ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateStage is the `updateStage` instruction.
func NewUpdateStageInstruction ¶
func NewUpdateStageInstruction( params UpdateStageParams, manager ag_solanago.PublicKey, collection ag_solanago.PublicKey, stage ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, clock ag_solanago.PublicKey) *UpdateStage
NewUpdateStageInstruction declares a new UpdateStage instruction with the provided parameters and accounts.
func NewUpdateStageInstructionBuilder ¶
func NewUpdateStageInstructionBuilder() *UpdateStage
NewUpdateStageInstructionBuilder creates a new `UpdateStage` instruction builder.
func (UpdateStage) Build ¶
func (inst UpdateStage) Build() *Instruction
func (*UpdateStage) EncodeToTree ¶
func (inst *UpdateStage) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateStage) GetClockAccount ¶
func (inst *UpdateStage) GetClockAccount() *ag_solanago.AccountMeta
GetClockAccount gets the "clock" account.
func (*UpdateStage) GetCollectionAccount ¶
func (inst *UpdateStage) GetCollectionAccount() *ag_solanago.AccountMeta
GetCollectionAccount gets the "collection" account.
func (*UpdateStage) GetManagerAccount ¶
func (inst *UpdateStage) GetManagerAccount() *ag_solanago.AccountMeta
GetManagerAccount gets the "manager" account.
func (*UpdateStage) GetStageAccount ¶
func (inst *UpdateStage) GetStageAccount() *ag_solanago.AccountMeta
GetStageAccount gets the "stage" account.
func (*UpdateStage) GetSystemProgramAccount ¶
func (inst *UpdateStage) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (UpdateStage) MarshalWithEncoder ¶
func (obj UpdateStage) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateStage) SetClockAccount ¶
func (inst *UpdateStage) SetClockAccount(clock ag_solanago.PublicKey) *UpdateStage
SetClockAccount sets the "clock" account.
func (*UpdateStage) SetCollectionAccount ¶
func (inst *UpdateStage) SetCollectionAccount(collection ag_solanago.PublicKey) *UpdateStage
SetCollectionAccount sets the "collection" account.
func (*UpdateStage) SetManagerAccount ¶
func (inst *UpdateStage) SetManagerAccount(manager ag_solanago.PublicKey) *UpdateStage
SetManagerAccount sets the "manager" account.
func (*UpdateStage) SetParams ¶
func (inst *UpdateStage) SetParams(params UpdateStageParams) *UpdateStage
SetParams sets the "params" parameter.
func (*UpdateStage) SetStageAccount ¶
func (inst *UpdateStage) SetStageAccount(stage ag_solanago.PublicKey) *UpdateStage
SetStageAccount sets the "stage" account.
func (*UpdateStage) SetSystemProgramAccount ¶
func (inst *UpdateStage) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateStage
SetSystemProgramAccount sets the "systemProgram" account.
func (*UpdateStage) UnmarshalWithDecoder ¶
func (obj *UpdateStage) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateStage) Validate ¶
func (inst *UpdateStage) Validate() error
func (UpdateStage) ValidateAndBuild ¶
func (inst UpdateStage) ValidateAndBuild() (*Instruction, error)
ValidateAndBuild validates the instruction parameters and accounts; if there is a validation error, it returns the error. Otherwise, it builds and returns the instruction.
type UpdateStageParams ¶
type UpdateStageParams struct { Title string Description string SpendType uint8 PricingType uint8 MintPrice uint64 LimitPerUser uint64 PaymentMint ag_solanago.PublicKey WhitelistMint ag_solanago.PublicKey MaxSupply uint64 StartTime int64 EndTime int64 }
func (UpdateStageParams) MarshalWithEncoder ¶
func (obj UpdateStageParams) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateStageParams) UnmarshalWithDecoder ¶
func (obj *UpdateStageParams) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)