editions_program_solana

package
v0.8.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ProgramName = "EditionsProgramSolana"

Variables

View Source
var (
	Instruction_CreateFixedPriceEditionSale = ag_binary.TypeID([8]byte{215, 20, 71, 172, 239, 57, 204, 119})

	Instruction_CreateIncrementingPriceEditionSale = ag_binary.TypeID([8]byte{243, 52, 213, 72, 164, 190, 175, 247})

	Instruction_MintIncrementingPriceEdition = ag_binary.TypeID([8]byte{203, 226, 159, 72, 27, 173, 208, 181})

	Instruction_MintFixedPriceEdition = ag_binary.TypeID([8]byte{167, 52, 226, 173, 253, 233, 191, 62})

	Instruction_EndIncrementingPriceEditionSale = ag_binary.TypeID([8]byte{184, 195, 90, 10, 3, 4, 107, 170})

	Instruction_EndFixedPriceEditionSale = ag_binary.TypeID([8]byte{68, 84, 23, 241, 133, 111, 245, 55})

	Instruction_CreateRoyaltyProtectionMarker = ag_binary.TypeID([8]byte{114, 70, 189, 6, 141, 112, 101, 85})

	Instruction_EditBuynowSale = ag_binary.TypeID([8]byte{251, 222, 123, 213, 24, 69, 202, 187})

	Instruction_CancelBuynowSale = ag_binary.TypeID([8]byte{84, 238, 216, 246, 57, 45, 228, 91})

	Instruction_ExecuteBuynowSale = ag_binary.TypeID([8]byte{179, 38, 95, 237, 164, 54, 142, 182})

	Instruction_CreateBuynowRoyaltyProtectedSale = ag_binary.TypeID([8]byte{138, 141, 13, 187, 227, 104, 70, 88})

	Instruction_FreezeAndClaim = ag_binary.TypeID([8]byte{14, 110, 248, 160, 107, 154, 101, 220})

	Instruction_CreateTransferReceipt = ag_binary.TypeID([8]byte{5, 93, 64, 88, 161, 186, 50, 123})
)
View Source
var BuyNowSaleStateDiscriminator = [8]byte{117, 149, 198, 73, 121, 43, 196, 98}
View Source
var FixedPriceEditionSaleStateDiscriminator = [8]byte{59, 241, 46, 90, 15, 4, 181, 79}
View Source
var InstructionImplDef = ag_binary.NewVariantDefinition(
	ag_binary.AnchorTypeIDEncoding,
	[]ag_binary.VariantType{
		{
			"create_fixed_price_edition_sale", (*CreateFixedPriceEditionSale)(nil),
		},
		{
			"create_incrementing_price_edition_sale", (*CreateIncrementingPriceEditionSale)(nil),
		},
		{
			"mint_incrementing_price_edition", (*MintIncrementingPriceEdition)(nil),
		},
		{
			"mint_fixed_price_edition", (*MintFixedPriceEdition)(nil),
		},
		{
			"end_incrementing_price_edition_sale", (*EndIncrementingPriceEditionSale)(nil),
		},
		{
			"end_fixed_price_edition_sale", (*EndFixedPriceEditionSale)(nil),
		},
		{
			"create_royalty_protection_marker", (*CreateRoyaltyProtectionMarker)(nil),
		},
		{
			"edit_buynow_sale", (*EditBuynowSale)(nil),
		},
		{
			"cancel_buynow_sale", (*CancelBuynowSale)(nil),
		},
		{
			"execute_buynow_sale", (*ExecuteBuynowSale)(nil),
		},
		{
			"create_buynow_royalty_protected_sale", (*CreateBuynowRoyaltyProtectedSale)(nil),
		},
		{
			"freeze_and_claim", (*FreezeAndClaim)(nil),
		},
		{
			"create_transfer_receipt", (*CreateTransferReceipt)(nil),
		},
	},
)
View Source
var ProgramID ag_solanago.PublicKey = ag_solanago.MustPublicKeyFromBase58("EXBuYPNgBUXMTsjCbezENRUtFQzjUNZxvPGTd11Pznk5")
View Source
var RoyaltyProtectionMarkerDiscriminator = [8]byte{156, 213, 151, 19, 182, 86, 97, 37}
View Source
var SaleAccountDiscriminator = [8]byte{213, 18, 87, 228, 218, 230, 207, 182}
View Source
var WalletMintingStateDiscriminator = [8]byte{191, 97, 167, 235, 218, 58, 70, 77}

Functions

func InstructionIDToName

func InstructionIDToName(id ag_binary.TypeID) string

InstructionIDToName returns the name of the instruction given its ID.

func SetProgramID

func SetProgramID(pubkey ag_solanago.PublicKey)

Types

type BuyNowSaleState

type BuyNowSaleState struct {
	IsInitialized     bool
	Price             uint64
	Seller            ag_solanago.PublicKey
	MintPubkey        ag_solanago.PublicKey
	Quantity          uint16
	RoyaltyProtection bool
	Padding2          [30]uint8
	Padding3          [30]uint8
	Padding4          [30]uint8
}

func (BuyNowSaleState) MarshalWithEncoder

func (obj BuyNowSaleState) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*BuyNowSaleState) UnmarshalWithDecoder

func (obj *BuyNowSaleState) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type CancelBuynowSale

type CancelBuynowSale struct {

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [WRITE] saleStateAccount
	//
	// [2] = [WRITE] mintKey
	//
	// [3] = [WRITE] sellerMintTokenAccount
	//
	// [4] = [WRITE] exchgDepositAuthority
	//
	// [5] = [WRITE] exchgDepositAccount
	//
	// [6] = [WRITE] cardinalManager
	//
	// [7] = [WRITE] cardinalMintCounter
	//
	// [8] = [] instructions
	//
	// [9] = [] tokenProgram
	//
	// [10] = [] associatedTokenProgram
	//
	// [11] = [] cardinalTokenManagerProgram
	//
	// [12] = [] systemProgram
	//
	// [13] = [] rent
	ag_solanago.AccountMetaSlice `bin:"-"`
}

CancelBuynowSale is the `cancelBuynowSale` instruction.

func NewCancelBuynowSaleInstruction

func NewCancelBuynowSaleInstruction(

	seller ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	mintKey ag_solanago.PublicKey,
	sellerMintTokenAccount ag_solanago.PublicKey,
	exchgDepositAuthority ag_solanago.PublicKey,
	exchgDepositAccount ag_solanago.PublicKey,
	cardinalManager ag_solanago.PublicKey,
	cardinalMintCounter ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	associatedTokenProgram ag_solanago.PublicKey,
	cardinalTokenManagerProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey) *CancelBuynowSale

NewCancelBuynowSaleInstruction declares a new CancelBuynowSale instruction with the provided parameters and accounts.

func NewCancelBuynowSaleInstructionBuilder

func NewCancelBuynowSaleInstructionBuilder() *CancelBuynowSale

NewCancelBuynowSaleInstructionBuilder creates a new `CancelBuynowSale` instruction builder.

func (CancelBuynowSale) Build

func (inst CancelBuynowSale) Build() *Instruction

func (*CancelBuynowSale) EncodeToTree

func (inst *CancelBuynowSale) EncodeToTree(parent ag_treeout.Branches)

func (*CancelBuynowSale) GetAssociatedTokenProgramAccount

func (inst *CancelBuynowSale) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta

GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.

func (*CancelBuynowSale) GetCardinalManagerAccount

func (inst *CancelBuynowSale) GetCardinalManagerAccount() *ag_solanago.AccountMeta

GetCardinalManagerAccount gets the "cardinalManager" account.

func (*CancelBuynowSale) GetCardinalMintCounterAccount

func (inst *CancelBuynowSale) GetCardinalMintCounterAccount() *ag_solanago.AccountMeta

GetCardinalMintCounterAccount gets the "cardinalMintCounter" account.

func (*CancelBuynowSale) GetCardinalTokenManagerProgramAccount

func (inst *CancelBuynowSale) GetCardinalTokenManagerProgramAccount() *ag_solanago.AccountMeta

GetCardinalTokenManagerProgramAccount gets the "cardinalTokenManagerProgram" account.

func (*CancelBuynowSale) GetExchgDepositAccountAccount

func (inst *CancelBuynowSale) GetExchgDepositAccountAccount() *ag_solanago.AccountMeta

GetExchgDepositAccountAccount gets the "exchgDepositAccount" account.

func (*CancelBuynowSale) GetExchgDepositAuthorityAccount

func (inst *CancelBuynowSale) GetExchgDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgDepositAuthorityAccount gets the "exchgDepositAuthority" account.

func (*CancelBuynowSale) GetInstructionsAccount

func (inst *CancelBuynowSale) GetInstructionsAccount() *ag_solanago.AccountMeta

GetInstructionsAccount gets the "instructions" account.

func (*CancelBuynowSale) GetMintKeyAccount

func (inst *CancelBuynowSale) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*CancelBuynowSale) GetRentAccount

func (inst *CancelBuynowSale) GetRentAccount() *ag_solanago.AccountMeta

GetRentAccount gets the "rent" account.

func (*CancelBuynowSale) GetSaleStateAccountAccount

func (inst *CancelBuynowSale) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*CancelBuynowSale) GetSellerAccount

func (inst *CancelBuynowSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*CancelBuynowSale) GetSellerMintTokenAccountAccount

func (inst *CancelBuynowSale) GetSellerMintTokenAccountAccount() *ag_solanago.AccountMeta

GetSellerMintTokenAccountAccount gets the "sellerMintTokenAccount" account.

func (*CancelBuynowSale) GetSystemProgramAccount

func (inst *CancelBuynowSale) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*CancelBuynowSale) GetTokenProgramAccount

func (inst *CancelBuynowSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (CancelBuynowSale) MarshalWithEncoder

func (obj CancelBuynowSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CancelBuynowSale) SetAssociatedTokenProgramAccount

func (inst *CancelBuynowSale) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *CancelBuynowSale

SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.

func (*CancelBuynowSale) SetCardinalManagerAccount

func (inst *CancelBuynowSale) SetCardinalManagerAccount(cardinalManager ag_solanago.PublicKey) *CancelBuynowSale

SetCardinalManagerAccount sets the "cardinalManager" account.

func (*CancelBuynowSale) SetCardinalMintCounterAccount

func (inst *CancelBuynowSale) SetCardinalMintCounterAccount(cardinalMintCounter ag_solanago.PublicKey) *CancelBuynowSale

SetCardinalMintCounterAccount sets the "cardinalMintCounter" account.

func (*CancelBuynowSale) SetCardinalTokenManagerProgramAccount

func (inst *CancelBuynowSale) SetCardinalTokenManagerProgramAccount(cardinalTokenManagerProgram ag_solanago.PublicKey) *CancelBuynowSale

SetCardinalTokenManagerProgramAccount sets the "cardinalTokenManagerProgram" account.

func (*CancelBuynowSale) SetExchgDepositAccountAccount

func (inst *CancelBuynowSale) SetExchgDepositAccountAccount(exchgDepositAccount ag_solanago.PublicKey) *CancelBuynowSale

SetExchgDepositAccountAccount sets the "exchgDepositAccount" account.

func (*CancelBuynowSale) SetExchgDepositAuthorityAccount

func (inst *CancelBuynowSale) SetExchgDepositAuthorityAccount(exchgDepositAuthority ag_solanago.PublicKey) *CancelBuynowSale

SetExchgDepositAuthorityAccount sets the "exchgDepositAuthority" account.

func (*CancelBuynowSale) SetInstructionsAccount

func (inst *CancelBuynowSale) SetInstructionsAccount(instructions ag_solanago.PublicKey) *CancelBuynowSale

SetInstructionsAccount sets the "instructions" account.

func (*CancelBuynowSale) SetMintKeyAccount

func (inst *CancelBuynowSale) SetMintKeyAccount(mintKey ag_solanago.PublicKey) *CancelBuynowSale

SetMintKeyAccount sets the "mintKey" account.

func (*CancelBuynowSale) SetRentAccount

func (inst *CancelBuynowSale) SetRentAccount(rent ag_solanago.PublicKey) *CancelBuynowSale

SetRentAccount sets the "rent" account.

func (*CancelBuynowSale) SetSaleStateAccountAccount

func (inst *CancelBuynowSale) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *CancelBuynowSale

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*CancelBuynowSale) SetSellerAccount

func (inst *CancelBuynowSale) SetSellerAccount(seller ag_solanago.PublicKey) *CancelBuynowSale

SetSellerAccount sets the "seller" account.

func (*CancelBuynowSale) SetSellerMintTokenAccountAccount

func (inst *CancelBuynowSale) SetSellerMintTokenAccountAccount(sellerMintTokenAccount ag_solanago.PublicKey) *CancelBuynowSale

SetSellerMintTokenAccountAccount sets the "sellerMintTokenAccount" account.

func (*CancelBuynowSale) SetSystemProgramAccount

func (inst *CancelBuynowSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CancelBuynowSale

SetSystemProgramAccount sets the "systemProgram" account.

func (*CancelBuynowSale) SetTokenProgramAccount

func (inst *CancelBuynowSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CancelBuynowSale

SetTokenProgramAccount sets the "tokenProgram" account.

func (*CancelBuynowSale) UnmarshalWithDecoder

func (obj *CancelBuynowSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*CancelBuynowSale) Validate

func (inst *CancelBuynowSale) Validate() error

func (CancelBuynowSale) ValidateAndBuild

func (inst CancelBuynowSale) 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 CreateBuyNowSaleIxData

type CreateBuyNowSaleIxData struct {
	Bump     uint8
	Price    uint64
	Quantity uint16
}

func (CreateBuyNowSaleIxData) MarshalWithEncoder

func (obj CreateBuyNowSaleIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateBuyNowSaleIxData) UnmarshalWithDecoder

func (obj *CreateBuyNowSaleIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type CreateBuynowRoyaltyProtectedSale

type CreateBuynowRoyaltyProtectedSale struct {
	Data *CreateBuyNowSaleIxData

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [WRITE] sellerSourceTokenAccount
	//
	// [2] = [] exchgDepositAuthority
	//
	// [3] = [WRITE] exchgDepositAccount
	//
	// [4] = [WRITE, SIGNER] saleStateAccount
	//
	// [5] = [WRITE] mintKey
	//
	// [6] = [] royaltyProtectionMarker
	//
	// [7] = [WRITE] cardinalManager
	//
	// [8] = [WRITE] cardinalManagerTokenAccount
	//
	// [9] = [] editionPda
	//
	// [10] = [WRITE] exchangeFeeRecipient
	//
	// [11] = [] tokenMetadataProgram
	//
	// [12] = [] tokenProgram
	//
	// [13] = [] cardinalTokenManagerProgram
	//
	// [14] = [] systemProgram
	//
	// [15] = [] rent
	ag_solanago.AccountMetaSlice `bin:"-"`
}

CreateBuynowRoyaltyProtectedSale is the `createBuynowRoyaltyProtectedSale` instruction.

func NewCreateBuynowRoyaltyProtectedSaleInstruction

func NewCreateBuynowRoyaltyProtectedSaleInstruction(

	data CreateBuyNowSaleIxData,

	seller ag_solanago.PublicKey,
	sellerSourceTokenAccount ag_solanago.PublicKey,
	exchgDepositAuthority ag_solanago.PublicKey,
	exchgDepositAccount ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	mintKey ag_solanago.PublicKey,
	royaltyProtectionMarker ag_solanago.PublicKey,
	cardinalManager ag_solanago.PublicKey,
	cardinalManagerTokenAccount ag_solanago.PublicKey,
	editionPda ag_solanago.PublicKey,
	exchangeFeeRecipient ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	cardinalTokenManagerProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

NewCreateBuynowRoyaltyProtectedSaleInstruction declares a new CreateBuynowRoyaltyProtectedSale instruction with the provided parameters and accounts.

func NewCreateBuynowRoyaltyProtectedSaleInstructionBuilder

func NewCreateBuynowRoyaltyProtectedSaleInstructionBuilder() *CreateBuynowRoyaltyProtectedSale

NewCreateBuynowRoyaltyProtectedSaleInstructionBuilder creates a new `CreateBuynowRoyaltyProtectedSale` instruction builder.

func (CreateBuynowRoyaltyProtectedSale) Build

func (*CreateBuynowRoyaltyProtectedSale) EncodeToTree

func (inst *CreateBuynowRoyaltyProtectedSale) EncodeToTree(parent ag_treeout.Branches)

func (*CreateBuynowRoyaltyProtectedSale) GetCardinalManagerAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetCardinalManagerAccount() *ag_solanago.AccountMeta

GetCardinalManagerAccount gets the "cardinalManager" account.

func (*CreateBuynowRoyaltyProtectedSale) GetCardinalManagerTokenAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetCardinalManagerTokenAccountAccount() *ag_solanago.AccountMeta

GetCardinalManagerTokenAccountAccount gets the "cardinalManagerTokenAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) GetCardinalTokenManagerProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetCardinalTokenManagerProgramAccount() *ag_solanago.AccountMeta

GetCardinalTokenManagerProgramAccount gets the "cardinalTokenManagerProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) GetEditionPdaAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetEditionPdaAccount() *ag_solanago.AccountMeta

GetEditionPdaAccount gets the "editionPda" account.

func (*CreateBuynowRoyaltyProtectedSale) GetExchangeFeeRecipientAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetExchangeFeeRecipientAccount() *ag_solanago.AccountMeta

GetExchangeFeeRecipientAccount gets the "exchangeFeeRecipient" account.

func (*CreateBuynowRoyaltyProtectedSale) GetExchgDepositAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetExchgDepositAccountAccount() *ag_solanago.AccountMeta

GetExchgDepositAccountAccount gets the "exchgDepositAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) GetExchgDepositAuthorityAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetExchgDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgDepositAuthorityAccount gets the "exchgDepositAuthority" account.

func (*CreateBuynowRoyaltyProtectedSale) GetMintKeyAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*CreateBuynowRoyaltyProtectedSale) GetRentAccount

GetRentAccount gets the "rent" account.

func (*CreateBuynowRoyaltyProtectedSale) GetRoyaltyProtectionMarkerAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetRoyaltyProtectionMarkerAccount() *ag_solanago.AccountMeta

GetRoyaltyProtectionMarkerAccount gets the "royaltyProtectionMarker" account.

func (*CreateBuynowRoyaltyProtectedSale) GetSaleStateAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) GetSellerAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*CreateBuynowRoyaltyProtectedSale) GetSellerSourceTokenAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetSellerSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetSellerSourceTokenAccountAccount gets the "sellerSourceTokenAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) GetSystemProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) GetTokenMetadataProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) GetTokenProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (CreateBuynowRoyaltyProtectedSale) MarshalWithEncoder

func (obj CreateBuynowRoyaltyProtectedSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateBuynowRoyaltyProtectedSale) SetCardinalManagerAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetCardinalManagerAccount(cardinalManager ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetCardinalManagerAccount sets the "cardinalManager" account.

func (*CreateBuynowRoyaltyProtectedSale) SetCardinalManagerTokenAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetCardinalManagerTokenAccountAccount(cardinalManagerTokenAccount ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetCardinalManagerTokenAccountAccount sets the "cardinalManagerTokenAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) SetCardinalTokenManagerProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetCardinalTokenManagerProgramAccount(cardinalTokenManagerProgram ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetCardinalTokenManagerProgramAccount sets the "cardinalTokenManagerProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) SetData

SetData sets the "data" parameter.

func (*CreateBuynowRoyaltyProtectedSale) SetEditionPdaAccount

SetEditionPdaAccount sets the "editionPda" account.

func (*CreateBuynowRoyaltyProtectedSale) SetExchangeFeeRecipientAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetExchangeFeeRecipientAccount(exchangeFeeRecipient ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetExchangeFeeRecipientAccount sets the "exchangeFeeRecipient" account.

func (*CreateBuynowRoyaltyProtectedSale) SetExchgDepositAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetExchgDepositAccountAccount(exchgDepositAccount ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetExchgDepositAccountAccount sets the "exchgDepositAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) SetExchgDepositAuthorityAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetExchgDepositAuthorityAccount(exchgDepositAuthority ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetExchgDepositAuthorityAccount sets the "exchgDepositAuthority" account.

func (*CreateBuynowRoyaltyProtectedSale) SetMintKeyAccount

SetMintKeyAccount sets the "mintKey" account.

func (*CreateBuynowRoyaltyProtectedSale) SetRentAccount

SetRentAccount sets the "rent" account.

func (*CreateBuynowRoyaltyProtectedSale) SetRoyaltyProtectionMarkerAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetRoyaltyProtectionMarkerAccount(royaltyProtectionMarker ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetRoyaltyProtectionMarkerAccount sets the "royaltyProtectionMarker" account.

func (*CreateBuynowRoyaltyProtectedSale) SetSaleStateAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) SetSellerAccount

SetSellerAccount sets the "seller" account.

func (*CreateBuynowRoyaltyProtectedSale) SetSellerSourceTokenAccountAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetSellerSourceTokenAccountAccount(sellerSourceTokenAccount ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetSellerSourceTokenAccountAccount sets the "sellerSourceTokenAccount" account.

func (*CreateBuynowRoyaltyProtectedSale) SetSystemProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetSystemProgramAccount sets the "systemProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) SetTokenMetadataProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) SetTokenProgramAccount

func (inst *CreateBuynowRoyaltyProtectedSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CreateBuynowRoyaltyProtectedSale

SetTokenProgramAccount sets the "tokenProgram" account.

func (*CreateBuynowRoyaltyProtectedSale) UnmarshalWithDecoder

func (obj *CreateBuynowRoyaltyProtectedSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*CreateBuynowRoyaltyProtectedSale) Validate

func (inst *CreateBuynowRoyaltyProtectedSale) Validate() error

func (CreateBuynowRoyaltyProtectedSale) ValidateAndBuild

func (inst CreateBuynowRoyaltyProtectedSale) 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 CreateFixedPriceEditionSale

type CreateFixedPriceEditionSale struct {
	Data *CreateFixedPriceEditionSaleIxData

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [] masterMintKey
	//
	// [2] = [] exchgMasterEditionDepositAuthority
	//
	// [3] = [WRITE] masterEditionPda
	//
	// [4] = [WRITE, SIGNER] saleStateAccount
	//
	// [5] = [WRITE] exchgMasterEditionDepositAccount
	//
	// [6] = [WRITE] sellerSourceTokenAccount
	//
	// [7] = [] systemProgram
	//
	// [8] = [] tokenProgram
	//
	// [9] = [] rent
	//
	// [10] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

CreateFixedPriceEditionSale is the `createFixedPriceEditionSale` instruction.

func NewCreateFixedPriceEditionSaleInstruction

func NewCreateFixedPriceEditionSaleInstruction(

	data CreateFixedPriceEditionSaleIxData,

	seller ag_solanago.PublicKey,
	masterMintKey ag_solanago.PublicKey,
	exchgMasterEditionDepositAuthority ag_solanago.PublicKey,
	masterEditionPda ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	exchgMasterEditionDepositAccount ag_solanago.PublicKey,
	sellerSourceTokenAccount ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *CreateFixedPriceEditionSale

NewCreateFixedPriceEditionSaleInstruction declares a new CreateFixedPriceEditionSale instruction with the provided parameters and accounts.

func NewCreateFixedPriceEditionSaleInstructionBuilder

func NewCreateFixedPriceEditionSaleInstructionBuilder() *CreateFixedPriceEditionSale

NewCreateFixedPriceEditionSaleInstructionBuilder creates a new `CreateFixedPriceEditionSale` instruction builder.

func (CreateFixedPriceEditionSale) Build

func (*CreateFixedPriceEditionSale) EncodeToTree

func (inst *CreateFixedPriceEditionSale) EncodeToTree(parent ag_treeout.Branches)

func (*CreateFixedPriceEditionSale) GetExchgMasterEditionDepositAccountAccount

func (inst *CreateFixedPriceEditionSale) GetExchgMasterEditionDepositAccountAccount() *ag_solanago.AccountMeta

GetExchgMasterEditionDepositAccountAccount gets the "exchgMasterEditionDepositAccount" account.

func (*CreateFixedPriceEditionSale) GetExchgMasterEditionDepositAuthorityAccount

func (inst *CreateFixedPriceEditionSale) GetExchgMasterEditionDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgMasterEditionDepositAuthorityAccount gets the "exchgMasterEditionDepositAuthority" account.

func (*CreateFixedPriceEditionSale) GetMasterEditionPdaAccount

func (inst *CreateFixedPriceEditionSale) GetMasterEditionPdaAccount() *ag_solanago.AccountMeta

GetMasterEditionPdaAccount gets the "masterEditionPda" account.

func (*CreateFixedPriceEditionSale) GetMasterMintKeyAccount

func (inst *CreateFixedPriceEditionSale) GetMasterMintKeyAccount() *ag_solanago.AccountMeta

GetMasterMintKeyAccount gets the "masterMintKey" account.

func (*CreateFixedPriceEditionSale) GetRentAccount

func (inst *CreateFixedPriceEditionSale) GetRentAccount() *ag_solanago.AccountMeta

GetRentAccount gets the "rent" account.

func (*CreateFixedPriceEditionSale) GetSaleStateAccountAccount

func (inst *CreateFixedPriceEditionSale) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*CreateFixedPriceEditionSale) GetSellerAccount

func (inst *CreateFixedPriceEditionSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*CreateFixedPriceEditionSale) GetSellerSourceTokenAccountAccount

func (inst *CreateFixedPriceEditionSale) GetSellerSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetSellerSourceTokenAccountAccount gets the "sellerSourceTokenAccount" account.

func (*CreateFixedPriceEditionSale) GetSystemProgramAccount

func (inst *CreateFixedPriceEditionSale) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*CreateFixedPriceEditionSale) GetTokenMetadataProgramAccount

func (inst *CreateFixedPriceEditionSale) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*CreateFixedPriceEditionSale) GetTokenProgramAccount

func (inst *CreateFixedPriceEditionSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (CreateFixedPriceEditionSale) MarshalWithEncoder

func (obj CreateFixedPriceEditionSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateFixedPriceEditionSale) SetData

SetData sets the "data" parameter.

func (*CreateFixedPriceEditionSale) SetExchgMasterEditionDepositAccountAccount

func (inst *CreateFixedPriceEditionSale) SetExchgMasterEditionDepositAccountAccount(exchgMasterEditionDepositAccount ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetExchgMasterEditionDepositAccountAccount sets the "exchgMasterEditionDepositAccount" account.

func (*CreateFixedPriceEditionSale) SetExchgMasterEditionDepositAuthorityAccount

func (inst *CreateFixedPriceEditionSale) SetExchgMasterEditionDepositAuthorityAccount(exchgMasterEditionDepositAuthority ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetExchgMasterEditionDepositAuthorityAccount sets the "exchgMasterEditionDepositAuthority" account.

func (*CreateFixedPriceEditionSale) SetMasterEditionPdaAccount

func (inst *CreateFixedPriceEditionSale) SetMasterEditionPdaAccount(masterEditionPda ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetMasterEditionPdaAccount sets the "masterEditionPda" account.

func (*CreateFixedPriceEditionSale) SetMasterMintKeyAccount

func (inst *CreateFixedPriceEditionSale) SetMasterMintKeyAccount(masterMintKey ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetMasterMintKeyAccount sets the "masterMintKey" account.

func (*CreateFixedPriceEditionSale) SetRentAccount

SetRentAccount sets the "rent" account.

func (*CreateFixedPriceEditionSale) SetSaleStateAccountAccount

func (inst *CreateFixedPriceEditionSale) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*CreateFixedPriceEditionSale) SetSellerAccount

SetSellerAccount sets the "seller" account.

func (*CreateFixedPriceEditionSale) SetSellerSourceTokenAccountAccount

func (inst *CreateFixedPriceEditionSale) SetSellerSourceTokenAccountAccount(sellerSourceTokenAccount ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetSellerSourceTokenAccountAccount sets the "sellerSourceTokenAccount" account.

func (*CreateFixedPriceEditionSale) SetSystemProgramAccount

func (inst *CreateFixedPriceEditionSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetSystemProgramAccount sets the "systemProgram" account.

func (*CreateFixedPriceEditionSale) SetTokenMetadataProgramAccount

func (inst *CreateFixedPriceEditionSale) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*CreateFixedPriceEditionSale) SetTokenProgramAccount

func (inst *CreateFixedPriceEditionSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CreateFixedPriceEditionSale

SetTokenProgramAccount sets the "tokenProgram" account.

func (*CreateFixedPriceEditionSale) UnmarshalWithDecoder

func (obj *CreateFixedPriceEditionSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*CreateFixedPriceEditionSale) Validate

func (inst *CreateFixedPriceEditionSale) Validate() error

func (CreateFixedPriceEditionSale) ValidateAndBuild

func (inst CreateFixedPriceEditionSale) 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 CreateFixedPriceEditionSaleIxData

type CreateFixedPriceEditionSaleIxData struct {
	Price             uint64
	Start             uint64
	SaleType          uint8
	WalletMintingCap  uint8
	PreSaleWindow     uint32
	RoyaltyProtection bool
}

func (CreateFixedPriceEditionSaleIxData) MarshalWithEncoder

func (obj CreateFixedPriceEditionSaleIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateFixedPriceEditionSaleIxData) UnmarshalWithDecoder

func (obj *CreateFixedPriceEditionSaleIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type CreateIncrementingPriceEditionSale

type CreateIncrementingPriceEditionSale struct {
	Data *CreateIncrementingPriceEditionSaleIxData

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [] masterMintKey
	//
	// [2] = [] pdaDepositAuthority
	//
	// [3] = [WRITE] masterEditionPda
	//
	// [4] = [WRITE, SIGNER] saleStateAccount
	//
	// [5] = [WRITE] depositAccountAddress
	//
	// [6] = [WRITE] sellerSourceTokenAccount
	//
	// [7] = [] systemProgram
	//
	// [8] = [] tokenProgram
	//
	// [9] = [] rent
	//
	// [10] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

CreateIncrementingPriceEditionSale is the `createIncrementingPriceEditionSale` instruction.

func NewCreateIncrementingPriceEditionSaleInstruction

func NewCreateIncrementingPriceEditionSaleInstruction(

	data CreateIncrementingPriceEditionSaleIxData,

	seller ag_solanago.PublicKey,
	masterMintKey ag_solanago.PublicKey,
	pdaDepositAuthority ag_solanago.PublicKey,
	masterEditionPda ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	depositAccountAddress ag_solanago.PublicKey,
	sellerSourceTokenAccount ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

NewCreateIncrementingPriceEditionSaleInstruction declares a new CreateIncrementingPriceEditionSale instruction with the provided parameters and accounts.

func NewCreateIncrementingPriceEditionSaleInstructionBuilder

func NewCreateIncrementingPriceEditionSaleInstructionBuilder() *CreateIncrementingPriceEditionSale

NewCreateIncrementingPriceEditionSaleInstructionBuilder creates a new `CreateIncrementingPriceEditionSale` instruction builder.

func (CreateIncrementingPriceEditionSale) Build

func (*CreateIncrementingPriceEditionSale) EncodeToTree

func (inst *CreateIncrementingPriceEditionSale) EncodeToTree(parent ag_treeout.Branches)

func (*CreateIncrementingPriceEditionSale) GetDepositAccountAddressAccount

func (inst *CreateIncrementingPriceEditionSale) GetDepositAccountAddressAccount() *ag_solanago.AccountMeta

GetDepositAccountAddressAccount gets the "depositAccountAddress" account.

func (*CreateIncrementingPriceEditionSale) GetMasterEditionPdaAccount

func (inst *CreateIncrementingPriceEditionSale) GetMasterEditionPdaAccount() *ag_solanago.AccountMeta

GetMasterEditionPdaAccount gets the "masterEditionPda" account.

func (*CreateIncrementingPriceEditionSale) GetMasterMintKeyAccount

func (inst *CreateIncrementingPriceEditionSale) GetMasterMintKeyAccount() *ag_solanago.AccountMeta

GetMasterMintKeyAccount gets the "masterMintKey" account.

func (*CreateIncrementingPriceEditionSale) GetPdaDepositAuthorityAccount

func (inst *CreateIncrementingPriceEditionSale) GetPdaDepositAuthorityAccount() *ag_solanago.AccountMeta

GetPdaDepositAuthorityAccount gets the "pdaDepositAuthority" account.

func (*CreateIncrementingPriceEditionSale) GetRentAccount

GetRentAccount gets the "rent" account.

func (*CreateIncrementingPriceEditionSale) GetSaleStateAccountAccount

func (inst *CreateIncrementingPriceEditionSale) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*CreateIncrementingPriceEditionSale) GetSellerAccount

GetSellerAccount gets the "seller" account.

func (*CreateIncrementingPriceEditionSale) GetSellerSourceTokenAccountAccount

func (inst *CreateIncrementingPriceEditionSale) GetSellerSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetSellerSourceTokenAccountAccount gets the "sellerSourceTokenAccount" account.

func (*CreateIncrementingPriceEditionSale) GetSystemProgramAccount

func (inst *CreateIncrementingPriceEditionSale) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*CreateIncrementingPriceEditionSale) GetTokenMetadataProgramAccount

func (inst *CreateIncrementingPriceEditionSale) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*CreateIncrementingPriceEditionSale) GetTokenProgramAccount

func (inst *CreateIncrementingPriceEditionSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (CreateIncrementingPriceEditionSale) MarshalWithEncoder

func (obj CreateIncrementingPriceEditionSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateIncrementingPriceEditionSale) SetData

SetData sets the "data" parameter.

func (*CreateIncrementingPriceEditionSale) SetDepositAccountAddressAccount

func (inst *CreateIncrementingPriceEditionSale) SetDepositAccountAddressAccount(depositAccountAddress ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

SetDepositAccountAddressAccount sets the "depositAccountAddress" account.

func (*CreateIncrementingPriceEditionSale) SetMasterEditionPdaAccount

func (inst *CreateIncrementingPriceEditionSale) SetMasterEditionPdaAccount(masterEditionPda ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

SetMasterEditionPdaAccount sets the "masterEditionPda" account.

func (*CreateIncrementingPriceEditionSale) SetMasterMintKeyAccount

SetMasterMintKeyAccount sets the "masterMintKey" account.

func (*CreateIncrementingPriceEditionSale) SetPdaDepositAuthorityAccount

func (inst *CreateIncrementingPriceEditionSale) SetPdaDepositAuthorityAccount(pdaDepositAuthority ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

SetPdaDepositAuthorityAccount sets the "pdaDepositAuthority" account.

func (*CreateIncrementingPriceEditionSale) SetRentAccount

SetRentAccount sets the "rent" account.

func (*CreateIncrementingPriceEditionSale) SetSaleStateAccountAccount

func (inst *CreateIncrementingPriceEditionSale) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*CreateIncrementingPriceEditionSale) SetSellerAccount

SetSellerAccount sets the "seller" account.

func (*CreateIncrementingPriceEditionSale) SetSellerSourceTokenAccountAccount

func (inst *CreateIncrementingPriceEditionSale) SetSellerSourceTokenAccountAccount(sellerSourceTokenAccount ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

SetSellerSourceTokenAccountAccount sets the "sellerSourceTokenAccount" account.

func (*CreateIncrementingPriceEditionSale) SetSystemProgramAccount

SetSystemProgramAccount sets the "systemProgram" account.

func (*CreateIncrementingPriceEditionSale) SetTokenMetadataProgramAccount

func (inst *CreateIncrementingPriceEditionSale) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *CreateIncrementingPriceEditionSale

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*CreateIncrementingPriceEditionSale) SetTokenProgramAccount

SetTokenProgramAccount sets the "tokenProgram" account.

func (*CreateIncrementingPriceEditionSale) UnmarshalWithDecoder

func (obj *CreateIncrementingPriceEditionSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*CreateIncrementingPriceEditionSale) Validate

func (inst *CreateIncrementingPriceEditionSale) Validate() error

func (CreateIncrementingPriceEditionSale) ValidateAndBuild

func (inst CreateIncrementingPriceEditionSale) 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 CreateIncrementingPriceEditionSaleIxData

type CreateIncrementingPriceEditionSaleIxData struct {
	Price       uint64
	PricingType uint64
	Increment   uint64
	SaleType    uint64
	Start       uint64
}

func (CreateIncrementingPriceEditionSaleIxData) MarshalWithEncoder

func (obj CreateIncrementingPriceEditionSaleIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateIncrementingPriceEditionSaleIxData) UnmarshalWithDecoder

func (obj *CreateIncrementingPriceEditionSaleIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type CreateRoyaltyProtectionMarker

type CreateRoyaltyProtectionMarker struct {

	// [0] = [WRITE, SIGNER] buyer
	//
	// [1] = [WRITE] royaltyProtectionMarker
	//
	// [2] = [] mintKey
	//
	// [3] = [] exchgDepositAuthority
	//
	// [4] = [] systemProgram
	//
	// [5] = [] rent
	//
	// [6] = [] instructions
	ag_solanago.AccountMetaSlice `bin:"-"`
}

CreateRoyaltyProtectionMarker is the `createRoyaltyProtectionMarker` instruction.

func NewCreateRoyaltyProtectionMarkerInstruction

func NewCreateRoyaltyProtectionMarkerInstruction(

	buyer ag_solanago.PublicKey,
	royaltyProtectionMarker ag_solanago.PublicKey,
	mintKey ag_solanago.PublicKey,
	exchgDepositAuthority ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey) *CreateRoyaltyProtectionMarker

NewCreateRoyaltyProtectionMarkerInstruction declares a new CreateRoyaltyProtectionMarker instruction with the provided parameters and accounts.

func NewCreateRoyaltyProtectionMarkerInstructionBuilder

func NewCreateRoyaltyProtectionMarkerInstructionBuilder() *CreateRoyaltyProtectionMarker

NewCreateRoyaltyProtectionMarkerInstructionBuilder creates a new `CreateRoyaltyProtectionMarker` instruction builder.

func (CreateRoyaltyProtectionMarker) Build

func (*CreateRoyaltyProtectionMarker) EncodeToTree

func (inst *CreateRoyaltyProtectionMarker) EncodeToTree(parent ag_treeout.Branches)

func (*CreateRoyaltyProtectionMarker) GetBuyerAccount

func (inst *CreateRoyaltyProtectionMarker) GetBuyerAccount() *ag_solanago.AccountMeta

GetBuyerAccount gets the "buyer" account.

func (*CreateRoyaltyProtectionMarker) GetExchgDepositAuthorityAccount

func (inst *CreateRoyaltyProtectionMarker) GetExchgDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgDepositAuthorityAccount gets the "exchgDepositAuthority" account.

func (*CreateRoyaltyProtectionMarker) GetInstructionsAccount

func (inst *CreateRoyaltyProtectionMarker) GetInstructionsAccount() *ag_solanago.AccountMeta

GetInstructionsAccount gets the "instructions" account.

func (*CreateRoyaltyProtectionMarker) GetMintKeyAccount

func (inst *CreateRoyaltyProtectionMarker) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*CreateRoyaltyProtectionMarker) GetRentAccount

func (inst *CreateRoyaltyProtectionMarker) GetRentAccount() *ag_solanago.AccountMeta

GetRentAccount gets the "rent" account.

func (*CreateRoyaltyProtectionMarker) GetRoyaltyProtectionMarkerAccount

func (inst *CreateRoyaltyProtectionMarker) GetRoyaltyProtectionMarkerAccount() *ag_solanago.AccountMeta

GetRoyaltyProtectionMarkerAccount gets the "royaltyProtectionMarker" account.

func (*CreateRoyaltyProtectionMarker) GetSystemProgramAccount

func (inst *CreateRoyaltyProtectionMarker) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (CreateRoyaltyProtectionMarker) MarshalWithEncoder

func (obj CreateRoyaltyProtectionMarker) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateRoyaltyProtectionMarker) SetBuyerAccount

SetBuyerAccount sets the "buyer" account.

func (*CreateRoyaltyProtectionMarker) SetExchgDepositAuthorityAccount

func (inst *CreateRoyaltyProtectionMarker) SetExchgDepositAuthorityAccount(exchgDepositAuthority ag_solanago.PublicKey) *CreateRoyaltyProtectionMarker

SetExchgDepositAuthorityAccount sets the "exchgDepositAuthority" account.

func (*CreateRoyaltyProtectionMarker) SetInstructionsAccount

func (inst *CreateRoyaltyProtectionMarker) SetInstructionsAccount(instructions ag_solanago.PublicKey) *CreateRoyaltyProtectionMarker

SetInstructionsAccount sets the "instructions" account.

func (*CreateRoyaltyProtectionMarker) SetMintKeyAccount

SetMintKeyAccount sets the "mintKey" account.

func (*CreateRoyaltyProtectionMarker) SetRentAccount

SetRentAccount sets the "rent" account.

func (*CreateRoyaltyProtectionMarker) SetRoyaltyProtectionMarkerAccount

func (inst *CreateRoyaltyProtectionMarker) SetRoyaltyProtectionMarkerAccount(royaltyProtectionMarker ag_solanago.PublicKey) *CreateRoyaltyProtectionMarker

SetRoyaltyProtectionMarkerAccount sets the "royaltyProtectionMarker" account.

func (*CreateRoyaltyProtectionMarker) SetSystemProgramAccount

func (inst *CreateRoyaltyProtectionMarker) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CreateRoyaltyProtectionMarker

SetSystemProgramAccount sets the "systemProgram" account.

func (*CreateRoyaltyProtectionMarker) UnmarshalWithDecoder

func (obj *CreateRoyaltyProtectionMarker) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*CreateRoyaltyProtectionMarker) Validate

func (inst *CreateRoyaltyProtectionMarker) Validate() error

func (CreateRoyaltyProtectionMarker) ValidateAndBuild

func (inst CreateRoyaltyProtectionMarker) 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 CreateTransferReceipt

type CreateTransferReceipt struct {
	Data *CreateTransferReceiptIxData

	// [0] = [] exchgDepositAuthority
	//
	// [1] = [WRITE] cardinalManager
	//
	// [2] = [WRITE] mintKey
	//
	// [3] = [WRITE] mintSourceTokenAccount
	//
	// [4] = [WRITE] transferReceipt
	//
	// [5] = [WRITE, SIGNER] currentHolder
	//
	// [6] = [] cardinalTokenManagerProgram
	//
	// [7] = [] tokenProgram
	//
	// [8] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

CreateTransferReceipt is the `createTransferReceipt` instruction.

func NewCreateTransferReceiptInstruction

func NewCreateTransferReceiptInstruction(

	data CreateTransferReceiptIxData,

	exchgDepositAuthority ag_solanago.PublicKey,
	cardinalManager ag_solanago.PublicKey,
	mintKey ag_solanago.PublicKey,
	mintSourceTokenAccount ag_solanago.PublicKey,
	transferReceipt ag_solanago.PublicKey,
	currentHolder ag_solanago.PublicKey,
	cardinalTokenManagerProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *CreateTransferReceipt

NewCreateTransferReceiptInstruction declares a new CreateTransferReceipt instruction with the provided parameters and accounts.

func NewCreateTransferReceiptInstructionBuilder

func NewCreateTransferReceiptInstructionBuilder() *CreateTransferReceipt

NewCreateTransferReceiptInstructionBuilder creates a new `CreateTransferReceipt` instruction builder.

func (CreateTransferReceipt) Build

func (inst CreateTransferReceipt) Build() *Instruction

func (*CreateTransferReceipt) EncodeToTree

func (inst *CreateTransferReceipt) EncodeToTree(parent ag_treeout.Branches)

func (*CreateTransferReceipt) GetCardinalManagerAccount

func (inst *CreateTransferReceipt) GetCardinalManagerAccount() *ag_solanago.AccountMeta

GetCardinalManagerAccount gets the "cardinalManager" account.

func (*CreateTransferReceipt) GetCardinalTokenManagerProgramAccount

func (inst *CreateTransferReceipt) GetCardinalTokenManagerProgramAccount() *ag_solanago.AccountMeta

GetCardinalTokenManagerProgramAccount gets the "cardinalTokenManagerProgram" account.

func (*CreateTransferReceipt) GetCurrentHolderAccount

func (inst *CreateTransferReceipt) GetCurrentHolderAccount() *ag_solanago.AccountMeta

GetCurrentHolderAccount gets the "currentHolder" account.

func (*CreateTransferReceipt) GetExchgDepositAuthorityAccount

func (inst *CreateTransferReceipt) GetExchgDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgDepositAuthorityAccount gets the "exchgDepositAuthority" account.

func (*CreateTransferReceipt) GetMintKeyAccount

func (inst *CreateTransferReceipt) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*CreateTransferReceipt) GetMintSourceTokenAccountAccount

func (inst *CreateTransferReceipt) GetMintSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetMintSourceTokenAccountAccount gets the "mintSourceTokenAccount" account.

func (*CreateTransferReceipt) GetSystemProgramAccount

func (inst *CreateTransferReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*CreateTransferReceipt) GetTokenProgramAccount

func (inst *CreateTransferReceipt) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (*CreateTransferReceipt) GetTransferReceiptAccount

func (inst *CreateTransferReceipt) GetTransferReceiptAccount() *ag_solanago.AccountMeta

GetTransferReceiptAccount gets the "transferReceipt" account.

func (CreateTransferReceipt) MarshalWithEncoder

func (obj CreateTransferReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateTransferReceipt) SetCardinalManagerAccount

func (inst *CreateTransferReceipt) SetCardinalManagerAccount(cardinalManager ag_solanago.PublicKey) *CreateTransferReceipt

SetCardinalManagerAccount sets the "cardinalManager" account.

func (*CreateTransferReceipt) SetCardinalTokenManagerProgramAccount

func (inst *CreateTransferReceipt) SetCardinalTokenManagerProgramAccount(cardinalTokenManagerProgram ag_solanago.PublicKey) *CreateTransferReceipt

SetCardinalTokenManagerProgramAccount sets the "cardinalTokenManagerProgram" account.

func (*CreateTransferReceipt) SetCurrentHolderAccount

func (inst *CreateTransferReceipt) SetCurrentHolderAccount(currentHolder ag_solanago.PublicKey) *CreateTransferReceipt

SetCurrentHolderAccount sets the "currentHolder" account.

func (*CreateTransferReceipt) SetData

SetData sets the "data" parameter.

func (*CreateTransferReceipt) SetExchgDepositAuthorityAccount

func (inst *CreateTransferReceipt) SetExchgDepositAuthorityAccount(exchgDepositAuthority ag_solanago.PublicKey) *CreateTransferReceipt

SetExchgDepositAuthorityAccount sets the "exchgDepositAuthority" account.

func (*CreateTransferReceipt) SetMintKeyAccount

func (inst *CreateTransferReceipt) SetMintKeyAccount(mintKey ag_solanago.PublicKey) *CreateTransferReceipt

SetMintKeyAccount sets the "mintKey" account.

func (*CreateTransferReceipt) SetMintSourceTokenAccountAccount

func (inst *CreateTransferReceipt) SetMintSourceTokenAccountAccount(mintSourceTokenAccount ag_solanago.PublicKey) *CreateTransferReceipt

SetMintSourceTokenAccountAccount sets the "mintSourceTokenAccount" account.

func (*CreateTransferReceipt) SetSystemProgramAccount

func (inst *CreateTransferReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CreateTransferReceipt

SetSystemProgramAccount sets the "systemProgram" account.

func (*CreateTransferReceipt) SetTokenProgramAccount

func (inst *CreateTransferReceipt) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CreateTransferReceipt

SetTokenProgramAccount sets the "tokenProgram" account.

func (*CreateTransferReceipt) SetTransferReceiptAccount

func (inst *CreateTransferReceipt) SetTransferReceiptAccount(transferReceipt ag_solanago.PublicKey) *CreateTransferReceipt

SetTransferReceiptAccount sets the "transferReceipt" account.

func (*CreateTransferReceipt) UnmarshalWithDecoder

func (obj *CreateTransferReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*CreateTransferReceipt) Validate

func (inst *CreateTransferReceipt) Validate() error

func (CreateTransferReceipt) ValidateAndBuild

func (inst CreateTransferReceipt) 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 CreateTransferReceiptIxData

type CreateTransferReceiptIxData struct {
	Target ag_solanago.PublicKey
}

func (CreateTransferReceiptIxData) MarshalWithEncoder

func (obj CreateTransferReceiptIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*CreateTransferReceiptIxData) UnmarshalWithDecoder

func (obj *CreateTransferReceiptIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type EditBuyNowSaleIxData

type EditBuyNowSaleIxData struct {
	NewPrice uint64
}

func (EditBuyNowSaleIxData) MarshalWithEncoder

func (obj EditBuyNowSaleIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*EditBuyNowSaleIxData) UnmarshalWithDecoder

func (obj *EditBuyNowSaleIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type EditBuynowSale

type EditBuynowSale struct {
	Data *EditBuyNowSaleIxData

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [WRITE] saleStateAccount
	//
	// [2] = [] mintKey
	ag_solanago.AccountMetaSlice `bin:"-"`
}

EditBuynowSale is the `editBuynowSale` instruction.

func NewEditBuynowSaleInstruction

func NewEditBuynowSaleInstruction(

	data EditBuyNowSaleIxData,

	seller ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	mintKey ag_solanago.PublicKey) *EditBuynowSale

NewEditBuynowSaleInstruction declares a new EditBuynowSale instruction with the provided parameters and accounts.

func NewEditBuynowSaleInstructionBuilder

func NewEditBuynowSaleInstructionBuilder() *EditBuynowSale

NewEditBuynowSaleInstructionBuilder creates a new `EditBuynowSale` instruction builder.

func (EditBuynowSale) Build

func (inst EditBuynowSale) Build() *Instruction

func (*EditBuynowSale) EncodeToTree

func (inst *EditBuynowSale) EncodeToTree(parent ag_treeout.Branches)

func (*EditBuynowSale) GetMintKeyAccount

func (inst *EditBuynowSale) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*EditBuynowSale) GetSaleStateAccountAccount

func (inst *EditBuynowSale) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*EditBuynowSale) GetSellerAccount

func (inst *EditBuynowSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (EditBuynowSale) MarshalWithEncoder

func (obj EditBuynowSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*EditBuynowSale) SetData

func (inst *EditBuynowSale) SetData(data EditBuyNowSaleIxData) *EditBuynowSale

SetData sets the "data" parameter.

func (*EditBuynowSale) SetMintKeyAccount

func (inst *EditBuynowSale) SetMintKeyAccount(mintKey ag_solanago.PublicKey) *EditBuynowSale

SetMintKeyAccount sets the "mintKey" account.

func (*EditBuynowSale) SetSaleStateAccountAccount

func (inst *EditBuynowSale) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *EditBuynowSale

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*EditBuynowSale) SetSellerAccount

func (inst *EditBuynowSale) SetSellerAccount(seller ag_solanago.PublicKey) *EditBuynowSale

SetSellerAccount sets the "seller" account.

func (*EditBuynowSale) UnmarshalWithDecoder

func (obj *EditBuynowSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*EditBuynowSale) Validate

func (inst *EditBuynowSale) Validate() error

func (EditBuynowSale) ValidateAndBuild

func (inst EditBuynowSale) 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 EndEditionSaleIxData

type EndEditionSaleIxData struct {
	PermanentlyEnd bool
}

func (EndEditionSaleIxData) MarshalWithEncoder

func (obj EndEditionSaleIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*EndEditionSaleIxData) UnmarshalWithDecoder

func (obj *EndEditionSaleIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type EndFixedPriceEditionSale

type EndFixedPriceEditionSale struct {
	Data *EndEditionSaleIxData

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [] masterMintKey
	//
	// [2] = [WRITE] sellerSourceTokenAccount
	//
	// [3] = [WRITE] masterEditionPda
	//
	// [4] = [WRITE] depositAccountAddress
	//
	// [5] = [WRITE] saleAccount
	//
	// [6] = [] pdaDepositAuthority
	//
	// [7] = [] tokenProgram
	//
	// [8] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

EndFixedPriceEditionSale is the `endFixedPriceEditionSale` instruction.

func NewEndFixedPriceEditionSaleInstruction

func NewEndFixedPriceEditionSaleInstruction(

	data EndEditionSaleIxData,

	seller ag_solanago.PublicKey,
	masterMintKey ag_solanago.PublicKey,
	sellerSourceTokenAccount ag_solanago.PublicKey,
	masterEditionPda ag_solanago.PublicKey,
	depositAccountAddress ag_solanago.PublicKey,
	saleAccount ag_solanago.PublicKey,
	pdaDepositAuthority ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *EndFixedPriceEditionSale

NewEndFixedPriceEditionSaleInstruction declares a new EndFixedPriceEditionSale instruction with the provided parameters and accounts.

func NewEndFixedPriceEditionSaleInstructionBuilder

func NewEndFixedPriceEditionSaleInstructionBuilder() *EndFixedPriceEditionSale

NewEndFixedPriceEditionSaleInstructionBuilder creates a new `EndFixedPriceEditionSale` instruction builder.

func (EndFixedPriceEditionSale) Build

func (inst EndFixedPriceEditionSale) Build() *Instruction

func (*EndFixedPriceEditionSale) EncodeToTree

func (inst *EndFixedPriceEditionSale) EncodeToTree(parent ag_treeout.Branches)

func (*EndFixedPriceEditionSale) GetDepositAccountAddressAccount

func (inst *EndFixedPriceEditionSale) GetDepositAccountAddressAccount() *ag_solanago.AccountMeta

GetDepositAccountAddressAccount gets the "depositAccountAddress" account.

func (*EndFixedPriceEditionSale) GetMasterEditionPdaAccount

func (inst *EndFixedPriceEditionSale) GetMasterEditionPdaAccount() *ag_solanago.AccountMeta

GetMasterEditionPdaAccount gets the "masterEditionPda" account.

func (*EndFixedPriceEditionSale) GetMasterMintKeyAccount

func (inst *EndFixedPriceEditionSale) GetMasterMintKeyAccount() *ag_solanago.AccountMeta

GetMasterMintKeyAccount gets the "masterMintKey" account.

func (*EndFixedPriceEditionSale) GetPdaDepositAuthorityAccount

func (inst *EndFixedPriceEditionSale) GetPdaDepositAuthorityAccount() *ag_solanago.AccountMeta

GetPdaDepositAuthorityAccount gets the "pdaDepositAuthority" account.

func (*EndFixedPriceEditionSale) GetSaleAccountAccount

func (inst *EndFixedPriceEditionSale) GetSaleAccountAccount() *ag_solanago.AccountMeta

GetSaleAccountAccount gets the "saleAccount" account.

func (*EndFixedPriceEditionSale) GetSellerAccount

func (inst *EndFixedPriceEditionSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*EndFixedPriceEditionSale) GetSellerSourceTokenAccountAccount

func (inst *EndFixedPriceEditionSale) GetSellerSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetSellerSourceTokenAccountAccount gets the "sellerSourceTokenAccount" account.

func (*EndFixedPriceEditionSale) GetTokenMetadataProgramAccount

func (inst *EndFixedPriceEditionSale) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*EndFixedPriceEditionSale) GetTokenProgramAccount

func (inst *EndFixedPriceEditionSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (EndFixedPriceEditionSale) MarshalWithEncoder

func (obj EndFixedPriceEditionSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*EndFixedPriceEditionSale) SetData

SetData sets the "data" parameter.

func (*EndFixedPriceEditionSale) SetDepositAccountAddressAccount

func (inst *EndFixedPriceEditionSale) SetDepositAccountAddressAccount(depositAccountAddress ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetDepositAccountAddressAccount sets the "depositAccountAddress" account.

func (*EndFixedPriceEditionSale) SetMasterEditionPdaAccount

func (inst *EndFixedPriceEditionSale) SetMasterEditionPdaAccount(masterEditionPda ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetMasterEditionPdaAccount sets the "masterEditionPda" account.

func (*EndFixedPriceEditionSale) SetMasterMintKeyAccount

func (inst *EndFixedPriceEditionSale) SetMasterMintKeyAccount(masterMintKey ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetMasterMintKeyAccount sets the "masterMintKey" account.

func (*EndFixedPriceEditionSale) SetPdaDepositAuthorityAccount

func (inst *EndFixedPriceEditionSale) SetPdaDepositAuthorityAccount(pdaDepositAuthority ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetPdaDepositAuthorityAccount sets the "pdaDepositAuthority" account.

func (*EndFixedPriceEditionSale) SetSaleAccountAccount

func (inst *EndFixedPriceEditionSale) SetSaleAccountAccount(saleAccount ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetSaleAccountAccount sets the "saleAccount" account.

func (*EndFixedPriceEditionSale) SetSellerAccount

SetSellerAccount sets the "seller" account.

func (*EndFixedPriceEditionSale) SetSellerSourceTokenAccountAccount

func (inst *EndFixedPriceEditionSale) SetSellerSourceTokenAccountAccount(sellerSourceTokenAccount ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetSellerSourceTokenAccountAccount sets the "sellerSourceTokenAccount" account.

func (*EndFixedPriceEditionSale) SetTokenMetadataProgramAccount

func (inst *EndFixedPriceEditionSale) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*EndFixedPriceEditionSale) SetTokenProgramAccount

func (inst *EndFixedPriceEditionSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *EndFixedPriceEditionSale

SetTokenProgramAccount sets the "tokenProgram" account.

func (*EndFixedPriceEditionSale) UnmarshalWithDecoder

func (obj *EndFixedPriceEditionSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*EndFixedPriceEditionSale) Validate

func (inst *EndFixedPriceEditionSale) Validate() error

func (EndFixedPriceEditionSale) ValidateAndBuild

func (inst EndFixedPriceEditionSale) 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 EndIncrementingPriceEditionSale

type EndIncrementingPriceEditionSale struct {
	Data *EndEditionSaleIxData

	// [0] = [WRITE, SIGNER] seller
	//
	// [1] = [] masterMintKey
	//
	// [2] = [WRITE] sellerSourceTokenAccount
	//
	// [3] = [WRITE] masterEditionPda
	//
	// [4] = [WRITE] depositAccountAddress
	//
	// [5] = [WRITE] saleAccount
	//
	// [6] = [] pdaDepositAuthority
	//
	// [7] = [] tokenProgram
	//
	// [8] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

EndIncrementingPriceEditionSale is the `endIncrementingPriceEditionSale` instruction.

func NewEndIncrementingPriceEditionSaleInstruction

func NewEndIncrementingPriceEditionSaleInstruction(

	data EndEditionSaleIxData,

	seller ag_solanago.PublicKey,
	masterMintKey ag_solanago.PublicKey,
	sellerSourceTokenAccount ag_solanago.PublicKey,
	masterEditionPda ag_solanago.PublicKey,
	depositAccountAddress ag_solanago.PublicKey,
	saleAccount ag_solanago.PublicKey,
	pdaDepositAuthority ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

NewEndIncrementingPriceEditionSaleInstruction declares a new EndIncrementingPriceEditionSale instruction with the provided parameters and accounts.

func NewEndIncrementingPriceEditionSaleInstructionBuilder

func NewEndIncrementingPriceEditionSaleInstructionBuilder() *EndIncrementingPriceEditionSale

NewEndIncrementingPriceEditionSaleInstructionBuilder creates a new `EndIncrementingPriceEditionSale` instruction builder.

func (EndIncrementingPriceEditionSale) Build

func (*EndIncrementingPriceEditionSale) EncodeToTree

func (inst *EndIncrementingPriceEditionSale) EncodeToTree(parent ag_treeout.Branches)

func (*EndIncrementingPriceEditionSale) GetDepositAccountAddressAccount

func (inst *EndIncrementingPriceEditionSale) GetDepositAccountAddressAccount() *ag_solanago.AccountMeta

GetDepositAccountAddressAccount gets the "depositAccountAddress" account.

func (*EndIncrementingPriceEditionSale) GetMasterEditionPdaAccount

func (inst *EndIncrementingPriceEditionSale) GetMasterEditionPdaAccount() *ag_solanago.AccountMeta

GetMasterEditionPdaAccount gets the "masterEditionPda" account.

func (*EndIncrementingPriceEditionSale) GetMasterMintKeyAccount

func (inst *EndIncrementingPriceEditionSale) GetMasterMintKeyAccount() *ag_solanago.AccountMeta

GetMasterMintKeyAccount gets the "masterMintKey" account.

func (*EndIncrementingPriceEditionSale) GetPdaDepositAuthorityAccount

func (inst *EndIncrementingPriceEditionSale) GetPdaDepositAuthorityAccount() *ag_solanago.AccountMeta

GetPdaDepositAuthorityAccount gets the "pdaDepositAuthority" account.

func (*EndIncrementingPriceEditionSale) GetSaleAccountAccount

func (inst *EndIncrementingPriceEditionSale) GetSaleAccountAccount() *ag_solanago.AccountMeta

GetSaleAccountAccount gets the "saleAccount" account.

func (*EndIncrementingPriceEditionSale) GetSellerAccount

func (inst *EndIncrementingPriceEditionSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*EndIncrementingPriceEditionSale) GetSellerSourceTokenAccountAccount

func (inst *EndIncrementingPriceEditionSale) GetSellerSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetSellerSourceTokenAccountAccount gets the "sellerSourceTokenAccount" account.

func (*EndIncrementingPriceEditionSale) GetTokenMetadataProgramAccount

func (inst *EndIncrementingPriceEditionSale) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*EndIncrementingPriceEditionSale) GetTokenProgramAccount

func (inst *EndIncrementingPriceEditionSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (EndIncrementingPriceEditionSale) MarshalWithEncoder

func (obj EndIncrementingPriceEditionSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*EndIncrementingPriceEditionSale) SetData

SetData sets the "data" parameter.

func (*EndIncrementingPriceEditionSale) SetDepositAccountAddressAccount

func (inst *EndIncrementingPriceEditionSale) SetDepositAccountAddressAccount(depositAccountAddress ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetDepositAccountAddressAccount sets the "depositAccountAddress" account.

func (*EndIncrementingPriceEditionSale) SetMasterEditionPdaAccount

func (inst *EndIncrementingPriceEditionSale) SetMasterEditionPdaAccount(masterEditionPda ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetMasterEditionPdaAccount sets the "masterEditionPda" account.

func (*EndIncrementingPriceEditionSale) SetMasterMintKeyAccount

func (inst *EndIncrementingPriceEditionSale) SetMasterMintKeyAccount(masterMintKey ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetMasterMintKeyAccount sets the "masterMintKey" account.

func (*EndIncrementingPriceEditionSale) SetPdaDepositAuthorityAccount

func (inst *EndIncrementingPriceEditionSale) SetPdaDepositAuthorityAccount(pdaDepositAuthority ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetPdaDepositAuthorityAccount sets the "pdaDepositAuthority" account.

func (*EndIncrementingPriceEditionSale) SetSaleAccountAccount

SetSaleAccountAccount sets the "saleAccount" account.

func (*EndIncrementingPriceEditionSale) SetSellerAccount

SetSellerAccount sets the "seller" account.

func (*EndIncrementingPriceEditionSale) SetSellerSourceTokenAccountAccount

func (inst *EndIncrementingPriceEditionSale) SetSellerSourceTokenAccountAccount(sellerSourceTokenAccount ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetSellerSourceTokenAccountAccount sets the "sellerSourceTokenAccount" account.

func (*EndIncrementingPriceEditionSale) SetTokenMetadataProgramAccount

func (inst *EndIncrementingPriceEditionSale) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*EndIncrementingPriceEditionSale) SetTokenProgramAccount

func (inst *EndIncrementingPriceEditionSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *EndIncrementingPriceEditionSale

SetTokenProgramAccount sets the "tokenProgram" account.

func (*EndIncrementingPriceEditionSale) UnmarshalWithDecoder

func (obj *EndIncrementingPriceEditionSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*EndIncrementingPriceEditionSale) Validate

func (inst *EndIncrementingPriceEditionSale) Validate() error

func (EndIncrementingPriceEditionSale) ValidateAndBuild

func (inst EndIncrementingPriceEditionSale) 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 ExecuteBuyNowSaleIxData

type ExecuteBuyNowSaleIxData struct {
	Bump     uint8
	Price    uint64
	Quantity uint16
}

func (ExecuteBuyNowSaleIxData) MarshalWithEncoder

func (obj ExecuteBuyNowSaleIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*ExecuteBuyNowSaleIxData) UnmarshalWithDecoder

func (obj *ExecuteBuyNowSaleIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type ExecuteBuynowSale

type ExecuteBuynowSale struct {
	Data *ExecuteBuyNowSaleIxData

	// [0] = [WRITE, SIGNER] buyer
	//
	// [1] = [WRITE] seller
	//
	// [2] = [WRITE] saleStateAccount
	//
	// [3] = [] mintKey
	//
	// [4] = [WRITE] buyerTokenAccount
	//
	// [5] = [WRITE] exchgDepositAuthority
	//
	// [6] = [] mintMetadataAccount
	//
	// [7] = [WRITE] exchgDepositAccount
	//
	// [8] = [WRITE] cardinalManager
	//
	// [9] = [WRITE] cardinalMintCounter
	//
	// [10] = [WRITE] exchangeFeeRecipient
	//
	// [11] = [] instructions
	//
	// [12] = [] tokenProgram
	//
	// [13] = [] associatedTokenProgram
	//
	// [14] = [] cardinalTokenManagerProgram
	//
	// [15] = [] systemProgram
	//
	// [16] = [] rent
	ag_solanago.AccountMetaSlice `bin:"-"`
}

ExecuteBuynowSale is the `executeBuynowSale` instruction.

func NewExecuteBuynowSaleInstruction

func NewExecuteBuynowSaleInstruction(

	data ExecuteBuyNowSaleIxData,

	buyer ag_solanago.PublicKey,
	seller ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	mintKey ag_solanago.PublicKey,
	buyerTokenAccount ag_solanago.PublicKey,
	exchgDepositAuthority ag_solanago.PublicKey,
	mintMetadataAccount ag_solanago.PublicKey,
	exchgDepositAccount ag_solanago.PublicKey,
	cardinalManager ag_solanago.PublicKey,
	cardinalMintCounter ag_solanago.PublicKey,
	exchangeFeeRecipient ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	associatedTokenProgram ag_solanago.PublicKey,
	cardinalTokenManagerProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey) *ExecuteBuynowSale

NewExecuteBuynowSaleInstruction declares a new ExecuteBuynowSale instruction with the provided parameters and accounts.

func NewExecuteBuynowSaleInstructionBuilder

func NewExecuteBuynowSaleInstructionBuilder() *ExecuteBuynowSale

NewExecuteBuynowSaleInstructionBuilder creates a new `ExecuteBuynowSale` instruction builder.

func (ExecuteBuynowSale) Build

func (inst ExecuteBuynowSale) Build() *Instruction

func (*ExecuteBuynowSale) EncodeToTree

func (inst *ExecuteBuynowSale) EncodeToTree(parent ag_treeout.Branches)

func (*ExecuteBuynowSale) GetAssociatedTokenProgramAccount

func (inst *ExecuteBuynowSale) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta

GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.

func (*ExecuteBuynowSale) GetBuyerAccount

func (inst *ExecuteBuynowSale) GetBuyerAccount() *ag_solanago.AccountMeta

GetBuyerAccount gets the "buyer" account.

func (*ExecuteBuynowSale) GetBuyerTokenAccountAccount

func (inst *ExecuteBuynowSale) GetBuyerTokenAccountAccount() *ag_solanago.AccountMeta

GetBuyerTokenAccountAccount gets the "buyerTokenAccount" account.

func (*ExecuteBuynowSale) GetCardinalManagerAccount

func (inst *ExecuteBuynowSale) GetCardinalManagerAccount() *ag_solanago.AccountMeta

GetCardinalManagerAccount gets the "cardinalManager" account.

func (*ExecuteBuynowSale) GetCardinalMintCounterAccount

func (inst *ExecuteBuynowSale) GetCardinalMintCounterAccount() *ag_solanago.AccountMeta

GetCardinalMintCounterAccount gets the "cardinalMintCounter" account.

func (*ExecuteBuynowSale) GetCardinalTokenManagerProgramAccount

func (inst *ExecuteBuynowSale) GetCardinalTokenManagerProgramAccount() *ag_solanago.AccountMeta

GetCardinalTokenManagerProgramAccount gets the "cardinalTokenManagerProgram" account.

func (*ExecuteBuynowSale) GetExchangeFeeRecipientAccount

func (inst *ExecuteBuynowSale) GetExchangeFeeRecipientAccount() *ag_solanago.AccountMeta

GetExchangeFeeRecipientAccount gets the "exchangeFeeRecipient" account.

func (*ExecuteBuynowSale) GetExchgDepositAccountAccount

func (inst *ExecuteBuynowSale) GetExchgDepositAccountAccount() *ag_solanago.AccountMeta

GetExchgDepositAccountAccount gets the "exchgDepositAccount" account.

func (*ExecuteBuynowSale) GetExchgDepositAuthorityAccount

func (inst *ExecuteBuynowSale) GetExchgDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgDepositAuthorityAccount gets the "exchgDepositAuthority" account.

func (*ExecuteBuynowSale) GetInstructionsAccount

func (inst *ExecuteBuynowSale) GetInstructionsAccount() *ag_solanago.AccountMeta

GetInstructionsAccount gets the "instructions" account.

func (*ExecuteBuynowSale) GetMintKeyAccount

func (inst *ExecuteBuynowSale) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*ExecuteBuynowSale) GetMintMetadataAccountAccount

func (inst *ExecuteBuynowSale) GetMintMetadataAccountAccount() *ag_solanago.AccountMeta

GetMintMetadataAccountAccount gets the "mintMetadataAccount" account.

func (*ExecuteBuynowSale) GetRentAccount

func (inst *ExecuteBuynowSale) GetRentAccount() *ag_solanago.AccountMeta

GetRentAccount gets the "rent" account.

func (*ExecuteBuynowSale) GetSaleStateAccountAccount

func (inst *ExecuteBuynowSale) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*ExecuteBuynowSale) GetSellerAccount

func (inst *ExecuteBuynowSale) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*ExecuteBuynowSale) GetSystemProgramAccount

func (inst *ExecuteBuynowSale) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*ExecuteBuynowSale) GetTokenProgramAccount

func (inst *ExecuteBuynowSale) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (ExecuteBuynowSale) MarshalWithEncoder

func (obj ExecuteBuynowSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*ExecuteBuynowSale) SetAssociatedTokenProgramAccount

func (inst *ExecuteBuynowSale) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *ExecuteBuynowSale

SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.

func (*ExecuteBuynowSale) SetBuyerAccount

func (inst *ExecuteBuynowSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *ExecuteBuynowSale

SetBuyerAccount sets the "buyer" account.

func (*ExecuteBuynowSale) SetBuyerTokenAccountAccount

func (inst *ExecuteBuynowSale) SetBuyerTokenAccountAccount(buyerTokenAccount ag_solanago.PublicKey) *ExecuteBuynowSale

SetBuyerTokenAccountAccount sets the "buyerTokenAccount" account.

func (*ExecuteBuynowSale) SetCardinalManagerAccount

func (inst *ExecuteBuynowSale) SetCardinalManagerAccount(cardinalManager ag_solanago.PublicKey) *ExecuteBuynowSale

SetCardinalManagerAccount sets the "cardinalManager" account.

func (*ExecuteBuynowSale) SetCardinalMintCounterAccount

func (inst *ExecuteBuynowSale) SetCardinalMintCounterAccount(cardinalMintCounter ag_solanago.PublicKey) *ExecuteBuynowSale

SetCardinalMintCounterAccount sets the "cardinalMintCounter" account.

func (*ExecuteBuynowSale) SetCardinalTokenManagerProgramAccount

func (inst *ExecuteBuynowSale) SetCardinalTokenManagerProgramAccount(cardinalTokenManagerProgram ag_solanago.PublicKey) *ExecuteBuynowSale

SetCardinalTokenManagerProgramAccount sets the "cardinalTokenManagerProgram" account.

func (*ExecuteBuynowSale) SetData

SetData sets the "data" parameter.

func (*ExecuteBuynowSale) SetExchangeFeeRecipientAccount

func (inst *ExecuteBuynowSale) SetExchangeFeeRecipientAccount(exchangeFeeRecipient ag_solanago.PublicKey) *ExecuteBuynowSale

SetExchangeFeeRecipientAccount sets the "exchangeFeeRecipient" account.

func (*ExecuteBuynowSale) SetExchgDepositAccountAccount

func (inst *ExecuteBuynowSale) SetExchgDepositAccountAccount(exchgDepositAccount ag_solanago.PublicKey) *ExecuteBuynowSale

SetExchgDepositAccountAccount sets the "exchgDepositAccount" account.

func (*ExecuteBuynowSale) SetExchgDepositAuthorityAccount

func (inst *ExecuteBuynowSale) SetExchgDepositAuthorityAccount(exchgDepositAuthority ag_solanago.PublicKey) *ExecuteBuynowSale

SetExchgDepositAuthorityAccount sets the "exchgDepositAuthority" account.

func (*ExecuteBuynowSale) SetInstructionsAccount

func (inst *ExecuteBuynowSale) SetInstructionsAccount(instructions ag_solanago.PublicKey) *ExecuteBuynowSale

SetInstructionsAccount sets the "instructions" account.

func (*ExecuteBuynowSale) SetMintKeyAccount

func (inst *ExecuteBuynowSale) SetMintKeyAccount(mintKey ag_solanago.PublicKey) *ExecuteBuynowSale

SetMintKeyAccount sets the "mintKey" account.

func (*ExecuteBuynowSale) SetMintMetadataAccountAccount

func (inst *ExecuteBuynowSale) SetMintMetadataAccountAccount(mintMetadataAccount ag_solanago.PublicKey) *ExecuteBuynowSale

SetMintMetadataAccountAccount sets the "mintMetadataAccount" account.

func (*ExecuteBuynowSale) SetRentAccount

func (inst *ExecuteBuynowSale) SetRentAccount(rent ag_solanago.PublicKey) *ExecuteBuynowSale

SetRentAccount sets the "rent" account.

func (*ExecuteBuynowSale) SetSaleStateAccountAccount

func (inst *ExecuteBuynowSale) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *ExecuteBuynowSale

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*ExecuteBuynowSale) SetSellerAccount

func (inst *ExecuteBuynowSale) SetSellerAccount(seller ag_solanago.PublicKey) *ExecuteBuynowSale

SetSellerAccount sets the "seller" account.

func (*ExecuteBuynowSale) SetSystemProgramAccount

func (inst *ExecuteBuynowSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ExecuteBuynowSale

SetSystemProgramAccount sets the "systemProgram" account.

func (*ExecuteBuynowSale) SetTokenProgramAccount

func (inst *ExecuteBuynowSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ExecuteBuynowSale

SetTokenProgramAccount sets the "tokenProgram" account.

func (*ExecuteBuynowSale) UnmarshalWithDecoder

func (obj *ExecuteBuynowSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*ExecuteBuynowSale) Validate

func (inst *ExecuteBuynowSale) Validate() error

func (ExecuteBuynowSale) ValidateAndBuild

func (inst ExecuteBuynowSale) 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 FixedPriceEditionSaleState

type FixedPriceEditionSaleState struct {
	IsInitialized         bool
	Initializer           ag_solanago.PublicKey
	MasterMintKey         ag_solanago.PublicKey
	DepositAccountAddress ag_solanago.PublicKey
	Price                 uint64
	Start                 uint64
	WalletMintingCap      uint8
	SaleType              uint8
	PreSaleWindow         uint32
	RoyaltyProtection     bool
	Padding2              [25]uint8
	Padding3              [30]uint8
}

func (FixedPriceEditionSaleState) MarshalWithEncoder

func (obj FixedPriceEditionSaleState) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*FixedPriceEditionSaleState) UnmarshalWithDecoder

func (obj *FixedPriceEditionSaleState) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type FreezeAndClaim

type FreezeAndClaim struct {

	// [0] = [] mintKey
	//
	// [1] = [] mintEditionPda
	//
	// [2] = [WRITE] mintSourceTokenAccount
	//
	// [3] = [] mintSourceAuthority
	//
	// [4] = [SIGNER] mintRecipientAuthority
	//
	// [5] = [WRITE] mintRecipientTokenAccount
	//
	// [6] = [WRITE] cardinalManagerTokenAccount
	//
	// [7] = [WRITE] cardinalManager
	//
	// [8] = [] tokenProgram
	//
	// [9] = [] cardinalTokenManagerProgram
	//
	// [10] = [] associatedTokenProgram
	//
	// [11] = [] systemProgram
	//
	// [12] = [] instructions
	//
	// [13] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

FreezeAndClaim is the `freezeAndClaim` instruction.

func NewFreezeAndClaimInstruction

func NewFreezeAndClaimInstruction(

	mintKey ag_solanago.PublicKey,
	mintEditionPda ag_solanago.PublicKey,
	mintSourceTokenAccount ag_solanago.PublicKey,
	mintSourceAuthority ag_solanago.PublicKey,
	mintRecipientAuthority ag_solanago.PublicKey,
	mintRecipientTokenAccount ag_solanago.PublicKey,
	cardinalManagerTokenAccount ag_solanago.PublicKey,
	cardinalManager ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	cardinalTokenManagerProgram ag_solanago.PublicKey,
	associatedTokenProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *FreezeAndClaim

NewFreezeAndClaimInstruction declares a new FreezeAndClaim instruction with the provided parameters and accounts.

func NewFreezeAndClaimInstructionBuilder

func NewFreezeAndClaimInstructionBuilder() *FreezeAndClaim

NewFreezeAndClaimInstructionBuilder creates a new `FreezeAndClaim` instruction builder.

func (FreezeAndClaim) Build

func (inst FreezeAndClaim) Build() *Instruction

func (*FreezeAndClaim) EncodeToTree

func (inst *FreezeAndClaim) EncodeToTree(parent ag_treeout.Branches)

func (*FreezeAndClaim) GetAssociatedTokenProgramAccount

func (inst *FreezeAndClaim) GetAssociatedTokenProgramAccount() *ag_solanago.AccountMeta

GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.

func (*FreezeAndClaim) GetCardinalManagerAccount

func (inst *FreezeAndClaim) GetCardinalManagerAccount() *ag_solanago.AccountMeta

GetCardinalManagerAccount gets the "cardinalManager" account.

func (*FreezeAndClaim) GetCardinalManagerTokenAccountAccount

func (inst *FreezeAndClaim) GetCardinalManagerTokenAccountAccount() *ag_solanago.AccountMeta

GetCardinalManagerTokenAccountAccount gets the "cardinalManagerTokenAccount" account.

func (*FreezeAndClaim) GetCardinalTokenManagerProgramAccount

func (inst *FreezeAndClaim) GetCardinalTokenManagerProgramAccount() *ag_solanago.AccountMeta

GetCardinalTokenManagerProgramAccount gets the "cardinalTokenManagerProgram" account.

func (*FreezeAndClaim) GetInstructionsAccount

func (inst *FreezeAndClaim) GetInstructionsAccount() *ag_solanago.AccountMeta

GetInstructionsAccount gets the "instructions" account.

func (*FreezeAndClaim) GetMintEditionPdaAccount

func (inst *FreezeAndClaim) GetMintEditionPdaAccount() *ag_solanago.AccountMeta

GetMintEditionPdaAccount gets the "mintEditionPda" account.

func (*FreezeAndClaim) GetMintKeyAccount

func (inst *FreezeAndClaim) GetMintKeyAccount() *ag_solanago.AccountMeta

GetMintKeyAccount gets the "mintKey" account.

func (*FreezeAndClaim) GetMintRecipientAuthorityAccount

func (inst *FreezeAndClaim) GetMintRecipientAuthorityAccount() *ag_solanago.AccountMeta

GetMintRecipientAuthorityAccount gets the "mintRecipientAuthority" account.

func (*FreezeAndClaim) GetMintRecipientTokenAccountAccount

func (inst *FreezeAndClaim) GetMintRecipientTokenAccountAccount() *ag_solanago.AccountMeta

GetMintRecipientTokenAccountAccount gets the "mintRecipientTokenAccount" account.

func (*FreezeAndClaim) GetMintSourceAuthorityAccount

func (inst *FreezeAndClaim) GetMintSourceAuthorityAccount() *ag_solanago.AccountMeta

GetMintSourceAuthorityAccount gets the "mintSourceAuthority" account.

func (*FreezeAndClaim) GetMintSourceTokenAccountAccount

func (inst *FreezeAndClaim) GetMintSourceTokenAccountAccount() *ag_solanago.AccountMeta

GetMintSourceTokenAccountAccount gets the "mintSourceTokenAccount" account.

func (*FreezeAndClaim) GetSystemProgramAccount

func (inst *FreezeAndClaim) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*FreezeAndClaim) GetTokenMetadataProgramAccount

func (inst *FreezeAndClaim) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*FreezeAndClaim) GetTokenProgramAccount

func (inst *FreezeAndClaim) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (FreezeAndClaim) MarshalWithEncoder

func (obj FreezeAndClaim) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*FreezeAndClaim) SetAssociatedTokenProgramAccount

func (inst *FreezeAndClaim) SetAssociatedTokenProgramAccount(associatedTokenProgram ag_solanago.PublicKey) *FreezeAndClaim

SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.

func (*FreezeAndClaim) SetCardinalManagerAccount

func (inst *FreezeAndClaim) SetCardinalManagerAccount(cardinalManager ag_solanago.PublicKey) *FreezeAndClaim

SetCardinalManagerAccount sets the "cardinalManager" account.

func (*FreezeAndClaim) SetCardinalManagerTokenAccountAccount

func (inst *FreezeAndClaim) SetCardinalManagerTokenAccountAccount(cardinalManagerTokenAccount ag_solanago.PublicKey) *FreezeAndClaim

SetCardinalManagerTokenAccountAccount sets the "cardinalManagerTokenAccount" account.

func (*FreezeAndClaim) SetCardinalTokenManagerProgramAccount

func (inst *FreezeAndClaim) SetCardinalTokenManagerProgramAccount(cardinalTokenManagerProgram ag_solanago.PublicKey) *FreezeAndClaim

SetCardinalTokenManagerProgramAccount sets the "cardinalTokenManagerProgram" account.

func (*FreezeAndClaim) SetInstructionsAccount

func (inst *FreezeAndClaim) SetInstructionsAccount(instructions ag_solanago.PublicKey) *FreezeAndClaim

SetInstructionsAccount sets the "instructions" account.

func (*FreezeAndClaim) SetMintEditionPdaAccount

func (inst *FreezeAndClaim) SetMintEditionPdaAccount(mintEditionPda ag_solanago.PublicKey) *FreezeAndClaim

SetMintEditionPdaAccount sets the "mintEditionPda" account.

func (*FreezeAndClaim) SetMintKeyAccount

func (inst *FreezeAndClaim) SetMintKeyAccount(mintKey ag_solanago.PublicKey) *FreezeAndClaim

SetMintKeyAccount sets the "mintKey" account.

func (*FreezeAndClaim) SetMintRecipientAuthorityAccount

func (inst *FreezeAndClaim) SetMintRecipientAuthorityAccount(mintRecipientAuthority ag_solanago.PublicKey) *FreezeAndClaim

SetMintRecipientAuthorityAccount sets the "mintRecipientAuthority" account.

func (*FreezeAndClaim) SetMintRecipientTokenAccountAccount

func (inst *FreezeAndClaim) SetMintRecipientTokenAccountAccount(mintRecipientTokenAccount ag_solanago.PublicKey) *FreezeAndClaim

SetMintRecipientTokenAccountAccount sets the "mintRecipientTokenAccount" account.

func (*FreezeAndClaim) SetMintSourceAuthorityAccount

func (inst *FreezeAndClaim) SetMintSourceAuthorityAccount(mintSourceAuthority ag_solanago.PublicKey) *FreezeAndClaim

SetMintSourceAuthorityAccount sets the "mintSourceAuthority" account.

func (*FreezeAndClaim) SetMintSourceTokenAccountAccount

func (inst *FreezeAndClaim) SetMintSourceTokenAccountAccount(mintSourceTokenAccount ag_solanago.PublicKey) *FreezeAndClaim

SetMintSourceTokenAccountAccount sets the "mintSourceTokenAccount" account.

func (*FreezeAndClaim) SetSystemProgramAccount

func (inst *FreezeAndClaim) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *FreezeAndClaim

SetSystemProgramAccount sets the "systemProgram" account.

func (*FreezeAndClaim) SetTokenMetadataProgramAccount

func (inst *FreezeAndClaim) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *FreezeAndClaim

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*FreezeAndClaim) SetTokenProgramAccount

func (inst *FreezeAndClaim) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *FreezeAndClaim

SetTokenProgramAccount sets the "tokenProgram" account.

func (*FreezeAndClaim) UnmarshalWithDecoder

func (obj *FreezeAndClaim) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*FreezeAndClaim) Validate

func (inst *FreezeAndClaim) Validate() error

func (FreezeAndClaim) ValidateAndBuild

func (inst FreezeAndClaim) 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 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 (inst *Instruction) TextEncode(encoder *ag_text.Encoder, option *ag_text.Option) error

func (*Instruction) UnmarshalWithDecoder

func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error

type MintFixedPriceEdition

type MintFixedPriceEdition struct {
	Data *MintFixedPriceEditionIxData

	// [0] = [WRITE, SIGNER] buyer
	//
	// [1] = [] masterMintKey
	//
	// [2] = [WRITE] masterEditionPda
	//
	// [3] = [] masterMetadataPda
	//
	// [4] = [] seller
	//
	// [5] = [WRITE] saleStateAccount
	//
	// [6] = [WRITE] newEditionMetadataPda
	//
	// [7] = [WRITE] newEditionPda
	//
	// [8] = [WRITE] newEditionMintKey
	//
	// [9] = [WRITE] walletMintingState
	//
	// [10] = [WRITE] editionMarkPda
	//
	// [11] = [WRITE] exchgMasterEditionDepositAccount
	//
	// [12] = [WRITE] newEditionDepositAccount
	//
	// [13] = [WRITE] newEditionDepositAuthority
	//
	// [14] = [WRITE] exchangeFeeRecipient
	//
	// [15] = [] exchgMasterEditionDepositAuthority
	//
	// [16] = [WRITE] cardinalManager
	//
	// [17] = [WRITE] cardinalMintCounter
	//
	// [18] = [] tokenProgram
	//
	// [19] = [] tokenMetadataProgram
	//
	// [20] = [] cardinalTokenManagerProgram
	//
	// [21] = [] systemProgram
	//
	// [22] = [] rent
	//
	// [23] = [] instructions
	ag_solanago.AccountMetaSlice `bin:"-"`
}

MintFixedPriceEdition is the `mintFixedPriceEdition` instruction.

func NewMintFixedPriceEditionInstruction

func NewMintFixedPriceEditionInstruction(

	data MintFixedPriceEditionIxData,

	buyer ag_solanago.PublicKey,
	masterMintKey ag_solanago.PublicKey,
	masterEditionPda ag_solanago.PublicKey,
	masterMetadataPda ag_solanago.PublicKey,
	seller ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	newEditionMetadataPda ag_solanago.PublicKey,
	newEditionPda ag_solanago.PublicKey,
	newEditionMintKey ag_solanago.PublicKey,
	walletMintingState ag_solanago.PublicKey,
	editionMarkPda ag_solanago.PublicKey,
	exchgMasterEditionDepositAccount ag_solanago.PublicKey,
	newEditionDepositAccount ag_solanago.PublicKey,
	newEditionDepositAuthority ag_solanago.PublicKey,
	exchangeFeeRecipient ag_solanago.PublicKey,
	exchgMasterEditionDepositAuthority ag_solanago.PublicKey,
	cardinalManager ag_solanago.PublicKey,
	cardinalMintCounter ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	cardinalTokenManagerProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey,
	remainingAccounts []ag_solanago.AccountMeta) *MintFixedPriceEdition

NewMintFixedPriceEditionInstruction declares a new MintFixedPriceEdition instruction with the provided parameters and accounts.

func NewMintFixedPriceEditionInstructionBuilder

func NewMintFixedPriceEditionInstructionBuilder() *MintFixedPriceEdition

NewMintFixedPriceEditionInstructionBuilder creates a new `MintFixedPriceEdition` instruction builder.

func (MintFixedPriceEdition) Build

func (inst MintFixedPriceEdition) Build() *Instruction

func (*MintFixedPriceEdition) EncodeToTree

func (inst *MintFixedPriceEdition) EncodeToTree(parent ag_treeout.Branches)

func (*MintFixedPriceEdition) GetBuyerAccount

func (inst *MintFixedPriceEdition) GetBuyerAccount() *ag_solanago.AccountMeta

GetBuyerAccount gets the "buyer" account.

func (*MintFixedPriceEdition) GetCardinalManagerAccount

func (inst *MintFixedPriceEdition) GetCardinalManagerAccount() *ag_solanago.AccountMeta

GetCardinalManagerAccount gets the "cardinalManager" account.

func (*MintFixedPriceEdition) GetCardinalMintCounterAccount

func (inst *MintFixedPriceEdition) GetCardinalMintCounterAccount() *ag_solanago.AccountMeta

GetCardinalMintCounterAccount gets the "cardinalMintCounter" account.

func (*MintFixedPriceEdition) GetCardinalTokenManagerProgramAccount

func (inst *MintFixedPriceEdition) GetCardinalTokenManagerProgramAccount() *ag_solanago.AccountMeta

GetCardinalTokenManagerProgramAccount gets the "cardinalTokenManagerProgram" account.

func (*MintFixedPriceEdition) GetEditionMarkPdaAccount

func (inst *MintFixedPriceEdition) GetEditionMarkPdaAccount() *ag_solanago.AccountMeta

GetEditionMarkPdaAccount gets the "editionMarkPda" account.

func (*MintFixedPriceEdition) GetExchangeFeeRecipientAccount

func (inst *MintFixedPriceEdition) GetExchangeFeeRecipientAccount() *ag_solanago.AccountMeta

GetExchangeFeeRecipientAccount gets the "exchangeFeeRecipient" account.

func (*MintFixedPriceEdition) GetExchgMasterEditionDepositAccountAccount

func (inst *MintFixedPriceEdition) GetExchgMasterEditionDepositAccountAccount() *ag_solanago.AccountMeta

GetExchgMasterEditionDepositAccountAccount gets the "exchgMasterEditionDepositAccount" account.

func (*MintFixedPriceEdition) GetExchgMasterEditionDepositAuthorityAccount

func (inst *MintFixedPriceEdition) GetExchgMasterEditionDepositAuthorityAccount() *ag_solanago.AccountMeta

GetExchgMasterEditionDepositAuthorityAccount gets the "exchgMasterEditionDepositAuthority" account.

func (*MintFixedPriceEdition) GetInstructionsAccount

func (inst *MintFixedPriceEdition) GetInstructionsAccount() *ag_solanago.AccountMeta

GetInstructionsAccount gets the "instructions" account.

func (*MintFixedPriceEdition) GetMasterEditionPdaAccount

func (inst *MintFixedPriceEdition) GetMasterEditionPdaAccount() *ag_solanago.AccountMeta

GetMasterEditionPdaAccount gets the "masterEditionPda" account.

func (*MintFixedPriceEdition) GetMasterMetadataPdaAccount

func (inst *MintFixedPriceEdition) GetMasterMetadataPdaAccount() *ag_solanago.AccountMeta

GetMasterMetadataPdaAccount gets the "masterMetadataPda" account.

func (*MintFixedPriceEdition) GetMasterMintKeyAccount

func (inst *MintFixedPriceEdition) GetMasterMintKeyAccount() *ag_solanago.AccountMeta

GetMasterMintKeyAccount gets the "masterMintKey" account.

func (*MintFixedPriceEdition) GetNewEditionDepositAccountAccount

func (inst *MintFixedPriceEdition) GetNewEditionDepositAccountAccount() *ag_solanago.AccountMeta

GetNewEditionDepositAccountAccount gets the "newEditionDepositAccount" account.

func (*MintFixedPriceEdition) GetNewEditionDepositAuthorityAccount

func (inst *MintFixedPriceEdition) GetNewEditionDepositAuthorityAccount() *ag_solanago.AccountMeta

GetNewEditionDepositAuthorityAccount gets the "newEditionDepositAuthority" account.

func (*MintFixedPriceEdition) GetNewEditionMetadataPdaAccount

func (inst *MintFixedPriceEdition) GetNewEditionMetadataPdaAccount() *ag_solanago.AccountMeta

GetNewEditionMetadataPdaAccount gets the "newEditionMetadataPda" account.

func (*MintFixedPriceEdition) GetNewEditionMintKeyAccount

func (inst *MintFixedPriceEdition) GetNewEditionMintKeyAccount() *ag_solanago.AccountMeta

GetNewEditionMintKeyAccount gets the "newEditionMintKey" account.

func (*MintFixedPriceEdition) GetNewEditionPdaAccount

func (inst *MintFixedPriceEdition) GetNewEditionPdaAccount() *ag_solanago.AccountMeta

GetNewEditionPdaAccount gets the "newEditionPda" account.

func (*MintFixedPriceEdition) GetRentAccount

func (inst *MintFixedPriceEdition) GetRentAccount() *ag_solanago.AccountMeta

GetRentAccount gets the "rent" account.

func (*MintFixedPriceEdition) GetSaleStateAccountAccount

func (inst *MintFixedPriceEdition) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*MintFixedPriceEdition) GetSellerAccount

func (inst *MintFixedPriceEdition) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*MintFixedPriceEdition) GetSystemProgramAccount

func (inst *MintFixedPriceEdition) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*MintFixedPriceEdition) GetTokenMetadataProgramAccount

func (inst *MintFixedPriceEdition) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*MintFixedPriceEdition) GetTokenProgramAccount

func (inst *MintFixedPriceEdition) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (*MintFixedPriceEdition) GetWalletMintingStateAccount

func (inst *MintFixedPriceEdition) GetWalletMintingStateAccount() *ag_solanago.AccountMeta

GetWalletMintingStateAccount gets the "walletMintingState" account.

func (MintFixedPriceEdition) MarshalWithEncoder

func (obj MintFixedPriceEdition) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*MintFixedPriceEdition) SetBuyerAccount

func (inst *MintFixedPriceEdition) SetBuyerAccount(buyer ag_solanago.PublicKey) *MintFixedPriceEdition

SetBuyerAccount sets the "buyer" account.

func (*MintFixedPriceEdition) SetCardinalManagerAccount

func (inst *MintFixedPriceEdition) SetCardinalManagerAccount(cardinalManager ag_solanago.PublicKey) *MintFixedPriceEdition

SetCardinalManagerAccount sets the "cardinalManager" account.

func (*MintFixedPriceEdition) SetCardinalMintCounterAccount

func (inst *MintFixedPriceEdition) SetCardinalMintCounterAccount(cardinalMintCounter ag_solanago.PublicKey) *MintFixedPriceEdition

SetCardinalMintCounterAccount sets the "cardinalMintCounter" account.

func (*MintFixedPriceEdition) SetCardinalTokenManagerProgramAccount

func (inst *MintFixedPriceEdition) SetCardinalTokenManagerProgramAccount(cardinalTokenManagerProgram ag_solanago.PublicKey) *MintFixedPriceEdition

SetCardinalTokenManagerProgramAccount sets the "cardinalTokenManagerProgram" account.

func (*MintFixedPriceEdition) SetData

SetData sets the "data" parameter.

func (*MintFixedPriceEdition) SetEditionMarkPdaAccount

func (inst *MintFixedPriceEdition) SetEditionMarkPdaAccount(editionMarkPda ag_solanago.PublicKey) *MintFixedPriceEdition

SetEditionMarkPdaAccount sets the "editionMarkPda" account.

func (*MintFixedPriceEdition) SetExchangeFeeRecipientAccount

func (inst *MintFixedPriceEdition) SetExchangeFeeRecipientAccount(exchangeFeeRecipient ag_solanago.PublicKey) *MintFixedPriceEdition

SetExchangeFeeRecipientAccount sets the "exchangeFeeRecipient" account.

func (*MintFixedPriceEdition) SetExchgMasterEditionDepositAccountAccount

func (inst *MintFixedPriceEdition) SetExchgMasterEditionDepositAccountAccount(exchgMasterEditionDepositAccount ag_solanago.PublicKey) *MintFixedPriceEdition

SetExchgMasterEditionDepositAccountAccount sets the "exchgMasterEditionDepositAccount" account.

func (*MintFixedPriceEdition) SetExchgMasterEditionDepositAuthorityAccount

func (inst *MintFixedPriceEdition) SetExchgMasterEditionDepositAuthorityAccount(exchgMasterEditionDepositAuthority ag_solanago.PublicKey) *MintFixedPriceEdition

SetExchgMasterEditionDepositAuthorityAccount sets the "exchgMasterEditionDepositAuthority" account.

func (*MintFixedPriceEdition) SetInstructionsAccount

func (inst *MintFixedPriceEdition) SetInstructionsAccount(instructions ag_solanago.PublicKey) *MintFixedPriceEdition

SetInstructionsAccount sets the "instructions" account.

func (*MintFixedPriceEdition) SetMasterEditionPdaAccount

func (inst *MintFixedPriceEdition) SetMasterEditionPdaAccount(masterEditionPda ag_solanago.PublicKey) *MintFixedPriceEdition

SetMasterEditionPdaAccount sets the "masterEditionPda" account.

func (*MintFixedPriceEdition) SetMasterMetadataPdaAccount

func (inst *MintFixedPriceEdition) SetMasterMetadataPdaAccount(masterMetadataPda ag_solanago.PublicKey) *MintFixedPriceEdition

SetMasterMetadataPdaAccount sets the "masterMetadataPda" account.

func (*MintFixedPriceEdition) SetMasterMintKeyAccount

func (inst *MintFixedPriceEdition) SetMasterMintKeyAccount(masterMintKey ag_solanago.PublicKey) *MintFixedPriceEdition

SetMasterMintKeyAccount sets the "masterMintKey" account.

func (*MintFixedPriceEdition) SetNewEditionDepositAccountAccount

func (inst *MintFixedPriceEdition) SetNewEditionDepositAccountAccount(newEditionDepositAccount ag_solanago.PublicKey) *MintFixedPriceEdition

SetNewEditionDepositAccountAccount sets the "newEditionDepositAccount" account.

func (*MintFixedPriceEdition) SetNewEditionDepositAuthorityAccount

func (inst *MintFixedPriceEdition) SetNewEditionDepositAuthorityAccount(newEditionDepositAuthority ag_solanago.PublicKey) *MintFixedPriceEdition

SetNewEditionDepositAuthorityAccount sets the "newEditionDepositAuthority" account.

func (*MintFixedPriceEdition) SetNewEditionMetadataPdaAccount

func (inst *MintFixedPriceEdition) SetNewEditionMetadataPdaAccount(newEditionMetadataPda ag_solanago.PublicKey) *MintFixedPriceEdition

SetNewEditionMetadataPdaAccount sets the "newEditionMetadataPda" account.

func (*MintFixedPriceEdition) SetNewEditionMintKeyAccount

func (inst *MintFixedPriceEdition) SetNewEditionMintKeyAccount(newEditionMintKey ag_solanago.PublicKey) *MintFixedPriceEdition

SetNewEditionMintKeyAccount sets the "newEditionMintKey" account.

func (*MintFixedPriceEdition) SetNewEditionPdaAccount

func (inst *MintFixedPriceEdition) SetNewEditionPdaAccount(newEditionPda ag_solanago.PublicKey) *MintFixedPriceEdition

SetNewEditionPdaAccount sets the "newEditionPda" account.

func (*MintFixedPriceEdition) SetRemainingAccounts added in v0.8.12

func (inst *MintFixedPriceEdition) SetRemainingAccounts(pk []ag_solanago.AccountMeta) *MintFixedPriceEdition

SetRemainingAccounts sets the additional accounts required in the instruction.

func (*MintFixedPriceEdition) SetRentAccount

SetRentAccount sets the "rent" account.

func (*MintFixedPriceEdition) SetSaleStateAccountAccount

func (inst *MintFixedPriceEdition) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *MintFixedPriceEdition

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*MintFixedPriceEdition) SetSellerAccount

func (inst *MintFixedPriceEdition) SetSellerAccount(seller ag_solanago.PublicKey) *MintFixedPriceEdition

SetSellerAccount sets the "seller" account.

func (*MintFixedPriceEdition) SetSystemProgramAccount

func (inst *MintFixedPriceEdition) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MintFixedPriceEdition

SetSystemProgramAccount sets the "systemProgram" account.

func (*MintFixedPriceEdition) SetTokenMetadataProgramAccount

func (inst *MintFixedPriceEdition) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *MintFixedPriceEdition

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*MintFixedPriceEdition) SetTokenProgramAccount

func (inst *MintFixedPriceEdition) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *MintFixedPriceEdition

SetTokenProgramAccount sets the "tokenProgram" account.

func (*MintFixedPriceEdition) SetWalletMintingStateAccount

func (inst *MintFixedPriceEdition) SetWalletMintingStateAccount(walletMintingState ag_solanago.PublicKey) *MintFixedPriceEdition

SetWalletMintingStateAccount sets the "walletMintingState" account.

func (*MintFixedPriceEdition) UnmarshalWithDecoder

func (obj *MintFixedPriceEdition) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*MintFixedPriceEdition) Validate

func (inst *MintFixedPriceEdition) Validate() error

func (MintFixedPriceEdition) ValidateAndBuild

func (inst MintFixedPriceEdition) 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 MintFixedPriceEditionIxData

type MintFixedPriceEditionIxData struct {
	Timestamp uint32
	Price     uint64
	HmacCode  [32]uint8
}

func (MintFixedPriceEditionIxData) MarshalWithEncoder

func (obj MintFixedPriceEditionIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*MintFixedPriceEditionIxData) UnmarshalWithDecoder

func (obj *MintFixedPriceEditionIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type MintIncrementingPriceEdition

type MintIncrementingPriceEdition struct {
	Data *MintIncrementingPriceEditionIxData

	// [0] = [WRITE, SIGNER] buyer
	//
	// [1] = [] masterMintKey
	//
	// [2] = [WRITE] masterEditionPda
	//
	// [3] = [] masterMetadataPda
	//
	// [4] = [] seller
	//
	// [5] = [WRITE] saleStateAccount
	//
	// [6] = [WRITE] newEditionMetadataPda
	//
	// [7] = [WRITE] newEditionPda
	//
	// [8] = [WRITE] newEditionMintKey
	//
	// [9] = [WRITE] editionMarkPda
	//
	// [10] = [WRITE] depositAccountAddress
	//
	// [11] = [WRITE] buyerEditionTokenAccount
	//
	// [12] = [WRITE] exchangeFeeRecipient
	//
	// [13] = [] pdaDepositAuthority
	//
	// [14] = [] tokenProgram
	//
	// [15] = [] tokenMetadataProgram
	//
	// [16] = [] systemProgram
	//
	// [17] = [] rent
	//
	// [18] = [] instructions
	ag_solanago.AccountMetaSlice `bin:"-"`
}

MintIncrementingPriceEdition is the `mintIncrementingPriceEdition` instruction.

func NewMintIncrementingPriceEditionInstruction

func NewMintIncrementingPriceEditionInstruction(

	data MintIncrementingPriceEditionIxData,

	buyer ag_solanago.PublicKey,
	masterMintKey ag_solanago.PublicKey,
	masterEditionPda ag_solanago.PublicKey,
	masterMetadataPda ag_solanago.PublicKey,
	seller ag_solanago.PublicKey,
	saleStateAccount ag_solanago.PublicKey,
	newEditionMetadataPda ag_solanago.PublicKey,
	newEditionPda ag_solanago.PublicKey,
	newEditionMintKey ag_solanago.PublicKey,
	editionMarkPda ag_solanago.PublicKey,
	depositAccountAddress ag_solanago.PublicKey,
	buyerEditionTokenAccount ag_solanago.PublicKey,
	exchangeFeeRecipient ag_solanago.PublicKey,
	pdaDepositAuthority ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey,
	remainingAccounts []ag_solanago.AccountMeta) *MintIncrementingPriceEdition

NewMintIncrementingPriceEditionInstruction declares a new MintIncrementingPriceEdition instruction with the provided parameters and accounts.

func NewMintIncrementingPriceEditionInstructionBuilder

func NewMintIncrementingPriceEditionInstructionBuilder() *MintIncrementingPriceEdition

NewMintIncrementingPriceEditionInstructionBuilder creates a new `MintIncrementingPriceEdition` instruction builder.

func (MintIncrementingPriceEdition) Build

func (*MintIncrementingPriceEdition) EncodeToTree

func (inst *MintIncrementingPriceEdition) EncodeToTree(parent ag_treeout.Branches)

func (*MintIncrementingPriceEdition) GetBuyerAccount

func (inst *MintIncrementingPriceEdition) GetBuyerAccount() *ag_solanago.AccountMeta

GetBuyerAccount gets the "buyer" account.

func (*MintIncrementingPriceEdition) GetBuyerEditionTokenAccountAccount

func (inst *MintIncrementingPriceEdition) GetBuyerEditionTokenAccountAccount() *ag_solanago.AccountMeta

GetBuyerEditionTokenAccountAccount gets the "buyerEditionTokenAccount" account.

func (*MintIncrementingPriceEdition) GetDepositAccountAddressAccount

func (inst *MintIncrementingPriceEdition) GetDepositAccountAddressAccount() *ag_solanago.AccountMeta

GetDepositAccountAddressAccount gets the "depositAccountAddress" account.

func (*MintIncrementingPriceEdition) GetEditionMarkPdaAccount

func (inst *MintIncrementingPriceEdition) GetEditionMarkPdaAccount() *ag_solanago.AccountMeta

GetEditionMarkPdaAccount gets the "editionMarkPda" account.

func (*MintIncrementingPriceEdition) GetExchangeFeeRecipientAccount

func (inst *MintIncrementingPriceEdition) GetExchangeFeeRecipientAccount() *ag_solanago.AccountMeta

GetExchangeFeeRecipientAccount gets the "exchangeFeeRecipient" account.

func (*MintIncrementingPriceEdition) GetInstructionsAccount

func (inst *MintIncrementingPriceEdition) GetInstructionsAccount() *ag_solanago.AccountMeta

GetInstructionsAccount gets the "instructions" account.

func (*MintIncrementingPriceEdition) GetMasterEditionPdaAccount

func (inst *MintIncrementingPriceEdition) GetMasterEditionPdaAccount() *ag_solanago.AccountMeta

GetMasterEditionPdaAccount gets the "masterEditionPda" account.

func (*MintIncrementingPriceEdition) GetMasterMetadataPdaAccount

func (inst *MintIncrementingPriceEdition) GetMasterMetadataPdaAccount() *ag_solanago.AccountMeta

GetMasterMetadataPdaAccount gets the "masterMetadataPda" account.

func (*MintIncrementingPriceEdition) GetMasterMintKeyAccount

func (inst *MintIncrementingPriceEdition) GetMasterMintKeyAccount() *ag_solanago.AccountMeta

GetMasterMintKeyAccount gets the "masterMintKey" account.

func (*MintIncrementingPriceEdition) GetNewEditionMetadataPdaAccount

func (inst *MintIncrementingPriceEdition) GetNewEditionMetadataPdaAccount() *ag_solanago.AccountMeta

GetNewEditionMetadataPdaAccount gets the "newEditionMetadataPda" account.

func (*MintIncrementingPriceEdition) GetNewEditionMintKeyAccount

func (inst *MintIncrementingPriceEdition) GetNewEditionMintKeyAccount() *ag_solanago.AccountMeta

GetNewEditionMintKeyAccount gets the "newEditionMintKey" account.

func (*MintIncrementingPriceEdition) GetNewEditionPdaAccount

func (inst *MintIncrementingPriceEdition) GetNewEditionPdaAccount() *ag_solanago.AccountMeta

GetNewEditionPdaAccount gets the "newEditionPda" account.

func (*MintIncrementingPriceEdition) GetPdaDepositAuthorityAccount

func (inst *MintIncrementingPriceEdition) GetPdaDepositAuthorityAccount() *ag_solanago.AccountMeta

GetPdaDepositAuthorityAccount gets the "pdaDepositAuthority" account.

func (*MintIncrementingPriceEdition) GetRentAccount

func (inst *MintIncrementingPriceEdition) GetRentAccount() *ag_solanago.AccountMeta

GetRentAccount gets the "rent" account.

func (*MintIncrementingPriceEdition) GetSaleStateAccountAccount

func (inst *MintIncrementingPriceEdition) GetSaleStateAccountAccount() *ag_solanago.AccountMeta

GetSaleStateAccountAccount gets the "saleStateAccount" account.

func (*MintIncrementingPriceEdition) GetSellerAccount

func (inst *MintIncrementingPriceEdition) GetSellerAccount() *ag_solanago.AccountMeta

GetSellerAccount gets the "seller" account.

func (*MintIncrementingPriceEdition) GetSystemProgramAccount

func (inst *MintIncrementingPriceEdition) GetSystemProgramAccount() *ag_solanago.AccountMeta

GetSystemProgramAccount gets the "systemProgram" account.

func (*MintIncrementingPriceEdition) GetTokenMetadataProgramAccount

func (inst *MintIncrementingPriceEdition) GetTokenMetadataProgramAccount() *ag_solanago.AccountMeta

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*MintIncrementingPriceEdition) GetTokenProgramAccount

func (inst *MintIncrementingPriceEdition) GetTokenProgramAccount() *ag_solanago.AccountMeta

GetTokenProgramAccount gets the "tokenProgram" account.

func (MintIncrementingPriceEdition) MarshalWithEncoder

func (obj MintIncrementingPriceEdition) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*MintIncrementingPriceEdition) SetBuyerAccount

SetBuyerAccount sets the "buyer" account.

func (*MintIncrementingPriceEdition) SetBuyerEditionTokenAccountAccount

func (inst *MintIncrementingPriceEdition) SetBuyerEditionTokenAccountAccount(buyerEditionTokenAccount ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetBuyerEditionTokenAccountAccount sets the "buyerEditionTokenAccount" account.

func (*MintIncrementingPriceEdition) SetData

SetData sets the "data" parameter.

func (*MintIncrementingPriceEdition) SetDepositAccountAddressAccount

func (inst *MintIncrementingPriceEdition) SetDepositAccountAddressAccount(depositAccountAddress ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetDepositAccountAddressAccount sets the "depositAccountAddress" account.

func (*MintIncrementingPriceEdition) SetEditionMarkPdaAccount

func (inst *MintIncrementingPriceEdition) SetEditionMarkPdaAccount(editionMarkPda ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetEditionMarkPdaAccount sets the "editionMarkPda" account.

func (*MintIncrementingPriceEdition) SetExchangeFeeRecipientAccount

func (inst *MintIncrementingPriceEdition) SetExchangeFeeRecipientAccount(exchangeFeeRecipient ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetExchangeFeeRecipientAccount sets the "exchangeFeeRecipient" account.

func (*MintIncrementingPriceEdition) SetInstructionsAccount

func (inst *MintIncrementingPriceEdition) SetInstructionsAccount(instructions ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetInstructionsAccount sets the "instructions" account.

func (*MintIncrementingPriceEdition) SetMasterEditionPdaAccount

func (inst *MintIncrementingPriceEdition) SetMasterEditionPdaAccount(masterEditionPda ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetMasterEditionPdaAccount sets the "masterEditionPda" account.

func (*MintIncrementingPriceEdition) SetMasterMetadataPdaAccount

func (inst *MintIncrementingPriceEdition) SetMasterMetadataPdaAccount(masterMetadataPda ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetMasterMetadataPdaAccount sets the "masterMetadataPda" account.

func (*MintIncrementingPriceEdition) SetMasterMintKeyAccount

func (inst *MintIncrementingPriceEdition) SetMasterMintKeyAccount(masterMintKey ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetMasterMintKeyAccount sets the "masterMintKey" account.

func (*MintIncrementingPriceEdition) SetNewEditionMetadataPdaAccount

func (inst *MintIncrementingPriceEdition) SetNewEditionMetadataPdaAccount(newEditionMetadataPda ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetNewEditionMetadataPdaAccount sets the "newEditionMetadataPda" account.

func (*MintIncrementingPriceEdition) SetNewEditionMintKeyAccount

func (inst *MintIncrementingPriceEdition) SetNewEditionMintKeyAccount(newEditionMintKey ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetNewEditionMintKeyAccount sets the "newEditionMintKey" account.

func (*MintIncrementingPriceEdition) SetNewEditionPdaAccount

func (inst *MintIncrementingPriceEdition) SetNewEditionPdaAccount(newEditionPda ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetNewEditionPdaAccount sets the "newEditionPda" account.

func (*MintIncrementingPriceEdition) SetPdaDepositAuthorityAccount

func (inst *MintIncrementingPriceEdition) SetPdaDepositAuthorityAccount(pdaDepositAuthority ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetPdaDepositAuthorityAccount sets the "pdaDepositAuthority" account.

func (*MintIncrementingPriceEdition) SetRemainingAccounts added in v0.8.12

SetRemainingAccounts sets the additional accounts required in the instruction.

func (*MintIncrementingPriceEdition) SetRentAccount

SetRentAccount sets the "rent" account.

func (*MintIncrementingPriceEdition) SetSaleStateAccountAccount

func (inst *MintIncrementingPriceEdition) SetSaleStateAccountAccount(saleStateAccount ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetSaleStateAccountAccount sets the "saleStateAccount" account.

func (*MintIncrementingPriceEdition) SetSellerAccount

SetSellerAccount sets the "seller" account.

func (*MintIncrementingPriceEdition) SetSystemProgramAccount

func (inst *MintIncrementingPriceEdition) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetSystemProgramAccount sets the "systemProgram" account.

func (*MintIncrementingPriceEdition) SetTokenMetadataProgramAccount

func (inst *MintIncrementingPriceEdition) SetTokenMetadataProgramAccount(tokenMetadataProgram ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*MintIncrementingPriceEdition) SetTokenProgramAccount

func (inst *MintIncrementingPriceEdition) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *MintIncrementingPriceEdition

SetTokenProgramAccount sets the "tokenProgram" account.

func (*MintIncrementingPriceEdition) UnmarshalWithDecoder

func (obj *MintIncrementingPriceEdition) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

func (*MintIncrementingPriceEdition) Validate

func (inst *MintIncrementingPriceEdition) Validate() error

func (MintIncrementingPriceEdition) ValidateAndBuild

func (inst MintIncrementingPriceEdition) 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 MintIncrementingPriceEditionIxData

type MintIncrementingPriceEditionIxData struct {
	EditionNo uint64
	Timestamp uint64
	Price     uint64
	HmacCode  [32]uint8
}

func (MintIncrementingPriceEditionIxData) MarshalWithEncoder

func (obj MintIncrementingPriceEditionIxData) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*MintIncrementingPriceEditionIxData) UnmarshalWithDecoder

func (obj *MintIncrementingPriceEditionIxData) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type RoyaltyProtectionMarker

type RoyaltyProtectionMarker struct {
	IsProtected bool
	Authority   ag_solanago.PublicKey
	Payer       ag_solanago.PublicKey
	Padding1    [30]uint8
}

func (RoyaltyProtectionMarker) MarshalWithEncoder

func (obj RoyaltyProtectionMarker) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*RoyaltyProtectionMarker) UnmarshalWithDecoder

func (obj *RoyaltyProtectionMarker) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type SaleAccount

type SaleAccount struct {
	IsInitialized         bool
	Initializer           ag_solanago.PublicKey
	MasterMintKey         ag_solanago.PublicKey
	DepositAccountAddress ag_solanago.PublicKey
	PricingType           uint64
	Price                 uint64
	Increment             uint64
	SaleType              uint64
	Start                 uint64
	PrevMintTimestamp     uint64
	Padding1              [22]uint8
	Padding2              [30]uint8
	Padding3              [30]uint8
	Padding4              [30]uint8
}

func (SaleAccount) MarshalWithEncoder

func (obj SaleAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*SaleAccount) UnmarshalWithDecoder

func (obj *SaleAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

type WalletMintingState

type WalletMintingState struct {
	NumMinted uint8
}

func (WalletMintingState) MarshalWithEncoder

func (obj WalletMintingState) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)

func (*WalletMintingState) UnmarshalWithDecoder

func (obj *WalletMintingState) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL