nft_candy_machine

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 = "NftCandyMachine"

Variables

View Source
var (
	Instruction_MintV6 = ag_binary.TypeID([8]byte{111, 169, 221, 193, 234, 227, 8, 180})

	Instruction_MintV5 = ag_binary.TypeID([8]byte{96, 114, 250, 235, 203, 205, 188, 36})

	Instruction_EditCmV5 = ag_binary.TypeID([8]byte{43, 25, 89, 26, 165, 209, 229, 92})

	Instruction_EditCmV6 = ag_binary.TypeID([8]byte{8, 151, 9, 92, 26, 236, 43, 194})

	Instruction_RevealV5 = ag_binary.TypeID([8]byte{57, 46, 3, 81, 70, 219, 168, 49})

	Instruction_RevealV6 = ag_binary.TypeID([8]byte{96, 31, 203, 62, 198, 112, 162, 73})

	Instruction_AllowUnfreezeV5 = ag_binary.TypeID([8]byte{156, 1, 166, 135, 249, 139, 95, 54})

	Instruction_AllowRevealV5 = ag_binary.TypeID([8]byte{13, 155, 159, 197, 5, 211, 116, 91})

	Instruction_BurnSupplyV5 = ag_binary.TypeID([8]byte{107, 75, 172, 207, 53, 177, 22, 255})

	Instruction_AllowUnfreezeV6 = ag_binary.TypeID([8]byte{218, 161, 193, 67, 230, 24, 153, 227})

	Instruction_AllowRevealV6 = ag_binary.TypeID([8]byte{26, 70, 81, 233, 255, 128, 149, 36})

	Instruction_BurnSupplyV6 = ag_binary.TypeID([8]byte{155, 195, 120, 109, 95, 193, 192, 151})

	Instruction_BurnFrozen = ag_binary.TypeID([8]byte{115, 215, 82, 186, 58, 93, 69, 24})

	Instruction_Migrate = ag_binary.TypeID([8]byte{155, 234, 231, 146, 236, 158, 162, 30})

	Instruction_ThawV5 = ag_binary.TypeID([8]byte{181, 47, 178, 189, 46, 187, 145, 248})

	Instruction_ThawV6 = ag_binary.TypeID([8]byte{235, 243, 216, 226, 135, 47, 129, 80})

	Instruction_InitCmV5 = ag_binary.TypeID([8]byte{179, 164, 16, 182, 42, 27, 249, 75})

	Instruction_InitCmV6 = ag_binary.TypeID([8]byte{82, 15, 232, 184, 21, 89, 180, 143})
)
View Source
var CandyMachineV2Discriminator = [8]byte{50, 243, 71, 181, 164, 239, 110, 131}
View Source
var CandyMachineV3Discriminator = [8]byte{221, 21, 200, 78, 142, 15, 223, 6}
View Source
var CandyMachineV4Discriminator = [8]byte{247, 230, 179, 162, 114, 0, 193, 179}
View Source
var CandyMachineV5Discriminator = [8]byte{193, 154, 145, 64, 82, 69, 127, 140}
View Source
var CandyMachineV6Discriminator = [8]byte{196, 204, 36, 6, 18, 215, 199, 134}
View Source
var InstructionImplDef = ag_binary.NewVariantDefinition(
	ag_binary.AnchorTypeIDEncoding,
	[]ag_binary.VariantType{
		{
			"mint_v6", (*MintV6)(nil),
		},
		{
			"mint_v5", (*MintV5)(nil),
		},
		{
			"edit_cm_v5", (*EditCmV5)(nil),
		},
		{
			"edit_cm_v6", (*EditCmV6)(nil),
		},
		{
			"reveal_v5", (*RevealV5)(nil),
		},
		{
			"reveal_v6", (*RevealV6)(nil),
		},
		{
			"allow_unfreeze_v5", (*AllowUnfreezeV5)(nil),
		},
		{
			"allow_reveal_v5", (*AllowRevealV5)(nil),
		},
		{
			"burn_supply_v5", (*BurnSupplyV5)(nil),
		},
		{
			"allow_unfreeze_v6", (*AllowUnfreezeV6)(nil),
		},
		{
			"allow_reveal_v6", (*AllowRevealV6)(nil),
		},
		{
			"burn_supply_v6", (*BurnSupplyV6)(nil),
		},
		{
			"burn_frozen", (*BurnFrozen)(nil),
		},
		{
			"migrate", (*Migrate)(nil),
		},
		{
			"thaw_v5", (*ThawV5)(nil),
		},
		{
			"thaw_v6", (*ThawV6)(nil),
		},
		{
			"init_cm_v5", (*InitCmV5)(nil),
		},
		{
			"init_cm_v6", (*InitCmV6)(nil),
		},
	},
)
View Source
var TotalMintsDiscriminator = [8]byte{5, 252, 73, 108, 50, 30, 212, 224}

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 AllowRevealV5

type AllowRevealV5 struct {
	NewUri *string

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

AllowRevealV5 is the `allowRevealV5` instruction.

func NewAllowRevealV5Instruction

func NewAllowRevealV5Instruction(

	newUri string,

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *AllowRevealV5

NewAllowRevealV5Instruction declares a new AllowRevealV5 instruction with the provided parameters and accounts.

func NewAllowRevealV5InstructionBuilder

func NewAllowRevealV5InstructionBuilder() *AllowRevealV5

NewAllowRevealV5InstructionBuilder creates a new `AllowRevealV5` instruction builder.

func (AllowRevealV5) Build

func (inst AllowRevealV5) Build() *Instruction

func (*AllowRevealV5) EncodeToTree

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

func (*AllowRevealV5) GetAuthorityAccount

func (inst *AllowRevealV5) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*AllowRevealV5) GetCandyMachineAccount

func (inst *AllowRevealV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*AllowRevealV5) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (AllowRevealV5) MarshalWithEncoder

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

func (*AllowRevealV5) SetAuthorityAccount

func (inst *AllowRevealV5) SetAuthorityAccount(authority ag_solanago.PublicKey) *AllowRevealV5

SetAuthorityAccount sets the "authority" account.

func (*AllowRevealV5) SetCandyMachineAccount

func (inst *AllowRevealV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *AllowRevealV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*AllowRevealV5) SetNewUri

func (inst *AllowRevealV5) SetNewUri(newUri string) *AllowRevealV5

SetNewUri sets the "newUri" parameter.

func (*AllowRevealV5) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*AllowRevealV5) UnmarshalWithDecoder

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

func (*AllowRevealV5) Validate

func (inst *AllowRevealV5) Validate() error

func (AllowRevealV5) ValidateAndBuild

func (inst AllowRevealV5) 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 AllowRevealV6

type AllowRevealV6 struct {
	NewUri *string

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

AllowRevealV6 is the `allowRevealV6` instruction.

func NewAllowRevealV6Instruction

func NewAllowRevealV6Instruction(

	newUri string,

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *AllowRevealV6

NewAllowRevealV6Instruction declares a new AllowRevealV6 instruction with the provided parameters and accounts.

func NewAllowRevealV6InstructionBuilder

func NewAllowRevealV6InstructionBuilder() *AllowRevealV6

NewAllowRevealV6InstructionBuilder creates a new `AllowRevealV6` instruction builder.

func (AllowRevealV6) Build

func (inst AllowRevealV6) Build() *Instruction

func (*AllowRevealV6) EncodeToTree

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

func (*AllowRevealV6) GetAuthorityAccount

func (inst *AllowRevealV6) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*AllowRevealV6) GetCandyMachineAccount

func (inst *AllowRevealV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*AllowRevealV6) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (AllowRevealV6) MarshalWithEncoder

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

func (*AllowRevealV6) SetAuthorityAccount

func (inst *AllowRevealV6) SetAuthorityAccount(authority ag_solanago.PublicKey) *AllowRevealV6

SetAuthorityAccount sets the "authority" account.

func (*AllowRevealV6) SetCandyMachineAccount

func (inst *AllowRevealV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *AllowRevealV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*AllowRevealV6) SetNewUri

func (inst *AllowRevealV6) SetNewUri(newUri string) *AllowRevealV6

SetNewUri sets the "newUri" parameter.

func (*AllowRevealV6) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*AllowRevealV6) UnmarshalWithDecoder

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

func (*AllowRevealV6) Validate

func (inst *AllowRevealV6) Validate() error

func (AllowRevealV6) ValidateAndBuild

func (inst AllowRevealV6) 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 AllowUnfreezeV5

type AllowUnfreezeV5 struct {

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

AllowUnfreezeV5 is the `allowUnfreezeV5` instruction.

func NewAllowUnfreezeV5Instruction

func NewAllowUnfreezeV5Instruction(

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *AllowUnfreezeV5

NewAllowUnfreezeV5Instruction declares a new AllowUnfreezeV5 instruction with the provided parameters and accounts.

func NewAllowUnfreezeV5InstructionBuilder

func NewAllowUnfreezeV5InstructionBuilder() *AllowUnfreezeV5

NewAllowUnfreezeV5InstructionBuilder creates a new `AllowUnfreezeV5` instruction builder.

func (AllowUnfreezeV5) Build

func (inst AllowUnfreezeV5) Build() *Instruction

func (*AllowUnfreezeV5) EncodeToTree

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

func (*AllowUnfreezeV5) GetAuthorityAccount

func (inst *AllowUnfreezeV5) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*AllowUnfreezeV5) GetCandyMachineAccount

func (inst *AllowUnfreezeV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*AllowUnfreezeV5) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (AllowUnfreezeV5) MarshalWithEncoder

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

func (*AllowUnfreezeV5) SetAuthorityAccount

func (inst *AllowUnfreezeV5) SetAuthorityAccount(authority ag_solanago.PublicKey) *AllowUnfreezeV5

SetAuthorityAccount sets the "authority" account.

func (*AllowUnfreezeV5) SetCandyMachineAccount

func (inst *AllowUnfreezeV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *AllowUnfreezeV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*AllowUnfreezeV5) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*AllowUnfreezeV5) UnmarshalWithDecoder

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

func (*AllowUnfreezeV5) Validate

func (inst *AllowUnfreezeV5) Validate() error

func (AllowUnfreezeV5) ValidateAndBuild

func (inst AllowUnfreezeV5) 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 AllowUnfreezeV6

type AllowUnfreezeV6 struct {

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

AllowUnfreezeV6 is the `allowUnfreezeV6` instruction.

func NewAllowUnfreezeV6Instruction

func NewAllowUnfreezeV6Instruction(

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *AllowUnfreezeV6

NewAllowUnfreezeV6Instruction declares a new AllowUnfreezeV6 instruction with the provided parameters and accounts.

func NewAllowUnfreezeV6InstructionBuilder

func NewAllowUnfreezeV6InstructionBuilder() *AllowUnfreezeV6

NewAllowUnfreezeV6InstructionBuilder creates a new `AllowUnfreezeV6` instruction builder.

func (AllowUnfreezeV6) Build

func (inst AllowUnfreezeV6) Build() *Instruction

func (*AllowUnfreezeV6) EncodeToTree

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

func (*AllowUnfreezeV6) GetAuthorityAccount

func (inst *AllowUnfreezeV6) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*AllowUnfreezeV6) GetCandyMachineAccount

func (inst *AllowUnfreezeV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*AllowUnfreezeV6) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (AllowUnfreezeV6) MarshalWithEncoder

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

func (*AllowUnfreezeV6) SetAuthorityAccount

func (inst *AllowUnfreezeV6) SetAuthorityAccount(authority ag_solanago.PublicKey) *AllowUnfreezeV6

SetAuthorityAccount sets the "authority" account.

func (*AllowUnfreezeV6) SetCandyMachineAccount

func (inst *AllowUnfreezeV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *AllowUnfreezeV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*AllowUnfreezeV6) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*AllowUnfreezeV6) UnmarshalWithDecoder

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

func (*AllowUnfreezeV6) Validate

func (inst *AllowUnfreezeV6) Validate() error

func (AllowUnfreezeV6) ValidateAndBuild

func (inst AllowUnfreezeV6) 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 BurnFrozen

type BurnFrozen struct {

	// [0] = [WRITE] candyMachine
	//
	// [1] = [WRITE] mint
	//
	// [2] = [WRITE] owner
	//
	// [3] = [WRITE] associated
	//
	// [4] = [WRITE] metadata
	//
	// [5] = [WRITE] masterEdition
	//
	// [6] = [] tokenMetadataProgram
	//
	// [7] = [] tokenProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

BurnFrozen is the `burnFrozen` instruction.

func NewBurnFrozenInstruction

func NewBurnFrozenInstruction(

	candyMachine ag_solanago.PublicKey,
	mint ag_solanago.PublicKey,
	owner ag_solanago.PublicKey,
	associated ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	masterEdition ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey) *BurnFrozen

NewBurnFrozenInstruction declares a new BurnFrozen instruction with the provided parameters and accounts.

func NewBurnFrozenInstructionBuilder

func NewBurnFrozenInstructionBuilder() *BurnFrozen

NewBurnFrozenInstructionBuilder creates a new `BurnFrozen` instruction builder.

func (BurnFrozen) Build

func (inst BurnFrozen) Build() *Instruction

func (*BurnFrozen) EncodeToTree

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

func (*BurnFrozen) GetAssociatedAccount

func (inst *BurnFrozen) GetAssociatedAccount() *ag_solanago.AccountMeta

GetAssociatedAccount gets the "associated" account.

func (*BurnFrozen) GetCandyMachineAccount

func (inst *BurnFrozen) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*BurnFrozen) GetMasterEditionAccount

func (inst *BurnFrozen) GetMasterEditionAccount() *ag_solanago.AccountMeta

GetMasterEditionAccount gets the "masterEdition" account.

func (*BurnFrozen) GetMetadataAccount

func (inst *BurnFrozen) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*BurnFrozen) GetMintAccount

func (inst *BurnFrozen) GetMintAccount() *ag_solanago.AccountMeta

GetMintAccount gets the "mint" account.

func (*BurnFrozen) GetOwnerAccount

func (inst *BurnFrozen) GetOwnerAccount() *ag_solanago.AccountMeta

GetOwnerAccount gets the "owner" account.

func (*BurnFrozen) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*BurnFrozen) GetTokenProgramAccount

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

GetTokenProgramAccount gets the "tokenProgram" account.

func (BurnFrozen) MarshalWithEncoder

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

func (*BurnFrozen) SetAssociatedAccount

func (inst *BurnFrozen) SetAssociatedAccount(associated ag_solanago.PublicKey) *BurnFrozen

SetAssociatedAccount sets the "associated" account.

func (*BurnFrozen) SetCandyMachineAccount

func (inst *BurnFrozen) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *BurnFrozen

SetCandyMachineAccount sets the "candyMachine" account.

func (*BurnFrozen) SetMasterEditionAccount

func (inst *BurnFrozen) SetMasterEditionAccount(masterEdition ag_solanago.PublicKey) *BurnFrozen

SetMasterEditionAccount sets the "masterEdition" account.

func (*BurnFrozen) SetMetadataAccount

func (inst *BurnFrozen) SetMetadataAccount(metadata ag_solanago.PublicKey) *BurnFrozen

SetMetadataAccount sets the "metadata" account.

func (*BurnFrozen) SetMintAccount

func (inst *BurnFrozen) SetMintAccount(mint ag_solanago.PublicKey) *BurnFrozen

SetMintAccount sets the "mint" account.

func (*BurnFrozen) SetOwnerAccount

func (inst *BurnFrozen) SetOwnerAccount(owner ag_solanago.PublicKey) *BurnFrozen

SetOwnerAccount sets the "owner" account.

func (*BurnFrozen) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*BurnFrozen) SetTokenProgramAccount

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

SetTokenProgramAccount sets the "tokenProgram" account.

func (*BurnFrozen) UnmarshalWithDecoder

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

func (*BurnFrozen) Validate

func (inst *BurnFrozen) Validate() error

func (BurnFrozen) ValidateAndBuild

func (inst BurnFrozen) 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 BurnSupplyV5

type BurnSupplyV5 struct {
	PercentToBurn *uint8

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

BurnSupplyV5 is the `burnSupplyV5` instruction.

func NewBurnSupplyV5Instruction

func NewBurnSupplyV5Instruction(

	percentToBurn uint8,

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *BurnSupplyV5

NewBurnSupplyV5Instruction declares a new BurnSupplyV5 instruction with the provided parameters and accounts.

func NewBurnSupplyV5InstructionBuilder

func NewBurnSupplyV5InstructionBuilder() *BurnSupplyV5

NewBurnSupplyV5InstructionBuilder creates a new `BurnSupplyV5` instruction builder.

func (BurnSupplyV5) Build

func (inst BurnSupplyV5) Build() *Instruction

func (*BurnSupplyV5) EncodeToTree

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

func (*BurnSupplyV5) GetAuthorityAccount

func (inst *BurnSupplyV5) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*BurnSupplyV5) GetCandyMachineAccount

func (inst *BurnSupplyV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*BurnSupplyV5) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (BurnSupplyV5) MarshalWithEncoder

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

func (*BurnSupplyV5) SetAuthorityAccount

func (inst *BurnSupplyV5) SetAuthorityAccount(authority ag_solanago.PublicKey) *BurnSupplyV5

SetAuthorityAccount sets the "authority" account.

func (*BurnSupplyV5) SetCandyMachineAccount

func (inst *BurnSupplyV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *BurnSupplyV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*BurnSupplyV5) SetPercentToBurn

func (inst *BurnSupplyV5) SetPercentToBurn(percentToBurn uint8) *BurnSupplyV5

SetPercentToBurn sets the "percentToBurn" parameter.

func (*BurnSupplyV5) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*BurnSupplyV5) UnmarshalWithDecoder

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

func (*BurnSupplyV5) Validate

func (inst *BurnSupplyV5) Validate() error

func (BurnSupplyV5) ValidateAndBuild

func (inst BurnSupplyV5) 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 BurnSupplyV6

type BurnSupplyV6 struct {
	PercentToBurn *uint8

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

BurnSupplyV6 is the `burnSupplyV6` instruction.

func NewBurnSupplyV6Instruction

func NewBurnSupplyV6Instruction(

	percentToBurn uint8,

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *BurnSupplyV6

NewBurnSupplyV6Instruction declares a new BurnSupplyV6 instruction with the provided parameters and accounts.

func NewBurnSupplyV6InstructionBuilder

func NewBurnSupplyV6InstructionBuilder() *BurnSupplyV6

NewBurnSupplyV6InstructionBuilder creates a new `BurnSupplyV6` instruction builder.

func (BurnSupplyV6) Build

func (inst BurnSupplyV6) Build() *Instruction

func (*BurnSupplyV6) EncodeToTree

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

func (*BurnSupplyV6) GetAuthorityAccount

func (inst *BurnSupplyV6) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*BurnSupplyV6) GetCandyMachineAccount

func (inst *BurnSupplyV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*BurnSupplyV6) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (BurnSupplyV6) MarshalWithEncoder

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

func (*BurnSupplyV6) SetAuthorityAccount

func (inst *BurnSupplyV6) SetAuthorityAccount(authority ag_solanago.PublicKey) *BurnSupplyV6

SetAuthorityAccount sets the "authority" account.

func (*BurnSupplyV6) SetCandyMachineAccount

func (inst *BurnSupplyV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *BurnSupplyV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*BurnSupplyV6) SetPercentToBurn

func (inst *BurnSupplyV6) SetPercentToBurn(percentToBurn uint8) *BurnSupplyV6

SetPercentToBurn sets the "percentToBurn" parameter.

func (*BurnSupplyV6) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*BurnSupplyV6) UnmarshalWithDecoder

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

func (*BurnSupplyV6) Validate

func (inst *BurnSupplyV6) Validate() error

func (BurnSupplyV6) ValidateAndBuild

func (inst BurnSupplyV6) 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 CM

type CM interface {
	// contains filtered or unexported methods
}

type CMV3

type CMV3 struct {
	Info CandyMachineV3
}

func (CMV3) MarshalWithEncoder

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

func (*CMV3) UnmarshalWithDecoder

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

type CMV4

type CMV4 struct {
	Info CandyMachineV4
}

func (CMV4) MarshalWithEncoder

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

func (*CMV4) UnmarshalWithDecoder

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

type CMV5

type CMV5 struct {
	Info CandyMachineV5
}

func (CMV5) MarshalWithEncoder

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

func (*CMV5) UnmarshalWithDecoder

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

type CandyMachineData

type CandyMachineData struct {
	Uuid           string
	Price          uint64
	ItemsAvailable uint64
	GoLiveDate     *int64 `bin:"optional"`
}

func (CandyMachineData) MarshalWithEncoder

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

func (*CandyMachineData) UnmarshalWithDecoder

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

type CandyMachineDataV2

type CandyMachineDataV2 struct {
	Price                uint64
	ItemsAvailable       uint64
	GoLiveDate           int64
	Symbol               string
	SellerFeeBasisPoints uint16
	Creators             []Creator
	IsMutable            bool
	RetainAuthority      bool
	BaseUrl              string
	MintsPerUser         *uint32      `bin:"optional"`
	Whitelist            *WhitelistV2 `bin:"optional"`
}

func (CandyMachineDataV2) MarshalWithEncoder

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

func (*CandyMachineDataV2) UnmarshalWithDecoder

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

type CandyMachineDataV3

type CandyMachineDataV3 struct {
	ItemsAvailable       uint64
	GoLiveDate           int64
	Symbol               string
	SellerFeeBasisPoints uint16
	Creators             []Creator
	IsMutable            bool
	RetainAuthority      bool
	BaseUrl              string
	SaleFazes            []SaleFaze
}

func (CandyMachineDataV3) MarshalWithEncoder

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

func (*CandyMachineDataV3) UnmarshalWithDecoder

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

type CandyMachineV2

type CandyMachineV2 struct {
	Authority     ag_solanago.PublicKey
	Wallet        ag_solanago.PublicKey
	ItemsRedeemed uint64
	Data          CandyMachineDataV2
}

func (CandyMachineV2) MarshalWithEncoder

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

func (*CandyMachineV2) UnmarshalWithDecoder

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

type CandyMachineV3

type CandyMachineV3 struct {
	Seed          ag_solanago.PublicKey
	Bump          uint8
	Authority     ag_solanago.PublicKey
	Wallet        ag_solanago.PublicKey
	ItemsRedeemed uint64
	Data          CandyMachineDataV2
}

func (CandyMachineV3) MarshalWithEncoder

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

func (*CandyMachineV3) UnmarshalWithDecoder

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

type CandyMachineV4

type CandyMachineV4 struct {
	Seed          ag_solanago.PublicKey
	Bump          uint8
	Authority     ag_solanago.PublicKey
	Wallet        ag_solanago.PublicKey
	ItemsRedeemed uint64
	Data          CandyMachineDataV2
	ThawDate      *int64 `bin:"optional"`
	AllowThaw     bool
	RevealedUri   *string `bin:"optional"`
}

func (CandyMachineV4) MarshalWithEncoder

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

func (*CandyMachineV4) UnmarshalWithDecoder

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

type CandyMachineV5

type CandyMachineV5 struct {
	Seed           ag_solanago.PublicKey
	Bump           uint8
	Authority      ag_solanago.PublicKey
	Wallet         ag_solanago.PublicKey
	ItemsRedeemed  uint64
	ThawDate       *int64 `bin:"optional"`
	AllowThaw      bool
	RevealedUri    *string `bin:"optional"`
	Data           CandyMachineDataV3
	RequiredSigned *ag_solanago.PublicKey `bin:"optional"`
}

func (CandyMachineV5) MarshalWithEncoder

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

func (*CandyMachineV5) UnmarshalWithDecoder

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

type CandyMachineV6

type CandyMachineV6 struct {
	Seed             ag_solanago.PublicKey
	Bump             uint8
	Authority        ag_solanago.PublicKey
	Wallet           ag_solanago.PublicKey
	ItemsRedeemed    uint64
	ThawDate         *int64 `bin:"optional"`
	AllowThaw        bool
	RevealedUri      *string `bin:"optional"`
	Data             CandyMachineDataV3
	RequiredSigned   *ag_solanago.PublicKey `bin:"optional"`
	Name             string
	EnforceRoyalties bool
	CollectionMint   *ag_solanago.PublicKey `bin:"optional"`
}

func (CandyMachineV6) MarshalWithEncoder

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

func (*CandyMachineV6) UnmarshalWithDecoder

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

type CmAccount

type CmAccount interface {
	// contains filtered or unexported methods
}

type CmAccountV5

type CmAccountV5 struct {
	Info CandyMachineV5
}

func (CmAccountV5) MarshalWithEncoder

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

func (*CmAccountV5) UnmarshalWithDecoder

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

type CmAccountV6

type CmAccountV6 struct {
	Info CandyMachineV6
}

func (CmAccountV6) MarshalWithEncoder

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

func (*CmAccountV6) UnmarshalWithDecoder

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

type Creator

type Creator struct {
	Address  ag_solanago.PublicKey
	Verified bool
	Share    uint8
}

func (Creator) MarshalWithEncoder

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

func (*Creator) UnmarshalWithDecoder

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

type EditCmV5

type EditCmV5 struct {
	Data *CandyMachineDataV3

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

EditCmV5 is the `editCmV5` instruction.

func NewEditCmV5Instruction

func NewEditCmV5Instruction(

	data CandyMachineDataV3,

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *EditCmV5

NewEditCmV5Instruction declares a new EditCmV5 instruction with the provided parameters and accounts.

func NewEditCmV5InstructionBuilder

func NewEditCmV5InstructionBuilder() *EditCmV5

NewEditCmV5InstructionBuilder creates a new `EditCmV5` instruction builder.

func (EditCmV5) Build

func (inst EditCmV5) Build() *Instruction

func (*EditCmV5) EncodeToTree

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

func (*EditCmV5) GetAuthorityAccount

func (inst *EditCmV5) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*EditCmV5) GetCandyMachineAccount

func (inst *EditCmV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*EditCmV5) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (EditCmV5) MarshalWithEncoder

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

func (*EditCmV5) SetAuthorityAccount

func (inst *EditCmV5) SetAuthorityAccount(authority ag_solanago.PublicKey) *EditCmV5

SetAuthorityAccount sets the "authority" account.

func (*EditCmV5) SetCandyMachineAccount

func (inst *EditCmV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *EditCmV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*EditCmV5) SetData

func (inst *EditCmV5) SetData(data CandyMachineDataV3) *EditCmV5

SetData sets the "data" parameter.

func (*EditCmV5) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*EditCmV5) UnmarshalWithDecoder

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

func (*EditCmV5) Validate

func (inst *EditCmV5) Validate() error

func (EditCmV5) ValidateAndBuild

func (inst EditCmV5) 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 EditCmV6

type EditCmV6 struct {
	Data *CandyMachineDataV3

	// [0] = [SIGNER] authority
	//
	// [1] = [WRITE] candyMachine
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

EditCmV6 is the `editCmV6` instruction.

func NewEditCmV6Instruction

func NewEditCmV6Instruction(

	data CandyMachineDataV3,

	authority ag_solanago.PublicKey,
	candyMachine ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *EditCmV6

NewEditCmV6Instruction declares a new EditCmV6 instruction with the provided parameters and accounts.

func NewEditCmV6InstructionBuilder

func NewEditCmV6InstructionBuilder() *EditCmV6

NewEditCmV6InstructionBuilder creates a new `EditCmV6` instruction builder.

func (EditCmV6) Build

func (inst EditCmV6) Build() *Instruction

func (*EditCmV6) EncodeToTree

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

func (*EditCmV6) GetAuthorityAccount

func (inst *EditCmV6) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*EditCmV6) GetCandyMachineAccount

func (inst *EditCmV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*EditCmV6) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (EditCmV6) MarshalWithEncoder

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

func (*EditCmV6) SetAuthorityAccount

func (inst *EditCmV6) SetAuthorityAccount(authority ag_solanago.PublicKey) *EditCmV6

SetAuthorityAccount sets the "authority" account.

func (*EditCmV6) SetCandyMachineAccount

func (inst *EditCmV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *EditCmV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*EditCmV6) SetData

func (inst *EditCmV6) SetData(data CandyMachineDataV3) *EditCmV6

SetData sets the "data" parameter.

func (*EditCmV6) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*EditCmV6) UnmarshalWithDecoder

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

func (*EditCmV6) Validate

func (inst *EditCmV6) Validate() error

func (EditCmV6) ValidateAndBuild

func (inst EditCmV6) 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 ErrorCode

type ErrorCode ag_binary.BorshEnum
const (
	ErrorCodeIncorrectOwner ErrorCode = iota
	ErrorCodeUninitialized
	ErrorCodeMintMismatch
	ErrorCodeIndexGreaterThanLength
	ErrorCodeConfigMustHaveAtleastOneEntry
	ErrorCodeNumericalOverflowError
	ErrorCodeTooManyCreators
	ErrorCodeUuidMustBeExactly6Length
	ErrorCodeNotEnoughTokens
	ErrorCodeNotEnoughSOL
	ErrorCodeTokenTransferFailed
	ErrorCodeCandyMachineEmpty
	ErrorCodeCandyMachineNotLiveYet
	ErrorCodeConfigLineMismatch
	ErrorCodeWhitelistExists
	ErrorCodeWhiteListMissing
	ErrorCodeWrongWhitelist
	ErrorCodeNotWhitelisted
	ErrorCodeInvalidFraction
	ErrorCodeBumpMissing
	ErrorCodePriceViolation
	ErrorCodeNotThawable
	ErrorCodeTeePot
	ErrorCodePresentProof
	ErrorCodeInvalidDiscriminator
	ErrorCodeInvalidCollection
)

func (ErrorCode) String

func (value ErrorCode) String() string

type InitCmV5

type InitCmV5 struct {
	Data     *CandyMachineDataV3
	Seed     *ag_solanago.PublicKey
	ThawDate *int64 `bin:"optional"`

	// [0] = [WRITE] candyMachine
	//
	// [1] = [] wallet
	//
	// [2] = [SIGNER] authority
	//
	// [3] = [WRITE, SIGNER] payer
	//
	// [4] = [] systemProgram
	//
	// [5] = [] rent
	ag_solanago.AccountMetaSlice `bin:"-"`
}

InitCmV5 is the `initCmV5` instruction.

func NewInitCmV5Instruction

func NewInitCmV5Instruction(

	data CandyMachineDataV3,
	seed ag_solanago.PublicKey,
	thawDate int64,

	candyMachine ag_solanago.PublicKey,
	wallet ag_solanago.PublicKey,
	authority ag_solanago.PublicKey,
	payer ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey) *InitCmV5

NewInitCmV5Instruction declares a new InitCmV5 instruction with the provided parameters and accounts.

func NewInitCmV5InstructionBuilder

func NewInitCmV5InstructionBuilder() *InitCmV5

NewInitCmV5InstructionBuilder creates a new `InitCmV5` instruction builder.

func (InitCmV5) Build

func (inst InitCmV5) Build() *Instruction

func (*InitCmV5) EncodeToTree

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

func (*InitCmV5) GetAuthorityAccount

func (inst *InitCmV5) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*InitCmV5) GetCandyMachineAccount

func (inst *InitCmV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*InitCmV5) GetPayerAccount

func (inst *InitCmV5) GetPayerAccount() *ag_solanago.AccountMeta

GetPayerAccount gets the "payer" account.

func (*InitCmV5) GetRentAccount

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

GetRentAccount gets the "rent" account.

func (*InitCmV5) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (*InitCmV5) GetWalletAccount

func (inst *InitCmV5) GetWalletAccount() *ag_solanago.AccountMeta

GetWalletAccount gets the "wallet" account.

func (InitCmV5) MarshalWithEncoder

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

func (*InitCmV5) SetAuthorityAccount

func (inst *InitCmV5) SetAuthorityAccount(authority ag_solanago.PublicKey) *InitCmV5

SetAuthorityAccount sets the "authority" account.

func (*InitCmV5) SetCandyMachineAccount

func (inst *InitCmV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *InitCmV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*InitCmV5) SetData

func (inst *InitCmV5) SetData(data CandyMachineDataV3) *InitCmV5

SetData sets the "data" parameter.

func (*InitCmV5) SetPayerAccount

func (inst *InitCmV5) SetPayerAccount(payer ag_solanago.PublicKey) *InitCmV5

SetPayerAccount sets the "payer" account.

func (*InitCmV5) SetRentAccount

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

SetRentAccount sets the "rent" account.

func (*InitCmV5) SetSeed

func (inst *InitCmV5) SetSeed(seed ag_solanago.PublicKey) *InitCmV5

SetSeed sets the "seed" parameter.

func (*InitCmV5) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*InitCmV5) SetThawDate

func (inst *InitCmV5) SetThawDate(thawDate int64) *InitCmV5

SetThawDate sets the "thawDate" parameter.

func (*InitCmV5) SetWalletAccount

func (inst *InitCmV5) SetWalletAccount(wallet ag_solanago.PublicKey) *InitCmV5

SetWalletAccount sets the "wallet" account.

func (*InitCmV5) UnmarshalWithDecoder

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

func (*InitCmV5) Validate

func (inst *InitCmV5) Validate() error

func (InitCmV5) ValidateAndBuild

func (inst InitCmV5) 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 InitCmV6

type InitCmV6 struct {
	Data             *CandyMachineDataV3
	Seed             *ag_solanago.PublicKey
	ThawDate         *int64 `bin:"optional"`
	EnforceRoyalties *bool
	Name             *string

	// [0] = [WRITE] candyMachine
	//
	// [1] = [] wallet
	//
	// [2] = [SIGNER] authority
	//
	// [3] = [WRITE, SIGNER] payer
	//
	// [4] = [] systemProgram
	//
	// [5] = [] rent
	ag_solanago.AccountMetaSlice `bin:"-"`
}

InitCmV6 is the `initCmV6` instruction.

func NewInitCmV6Instruction

func NewInitCmV6Instruction(

	data CandyMachineDataV3,
	seed ag_solanago.PublicKey,
	thawDate int64,
	enforceRoyalties bool,
	name string,

	candyMachine ag_solanago.PublicKey,
	wallet ag_solanago.PublicKey,
	authority ag_solanago.PublicKey,
	payer ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	rent ag_solanago.PublicKey) *InitCmV6

NewInitCmV6Instruction declares a new InitCmV6 instruction with the provided parameters and accounts.

func NewInitCmV6InstructionBuilder

func NewInitCmV6InstructionBuilder() *InitCmV6

NewInitCmV6InstructionBuilder creates a new `InitCmV6` instruction builder.

func (InitCmV6) Build

func (inst InitCmV6) Build() *Instruction

func (*InitCmV6) EncodeToTree

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

func (*InitCmV6) GetAuthorityAccount

func (inst *InitCmV6) GetAuthorityAccount() *ag_solanago.AccountMeta

GetAuthorityAccount gets the "authority" account.

func (*InitCmV6) GetCandyMachineAccount

func (inst *InitCmV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*InitCmV6) GetPayerAccount

func (inst *InitCmV6) GetPayerAccount() *ag_solanago.AccountMeta

GetPayerAccount gets the "payer" account.

func (*InitCmV6) GetRentAccount

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

GetRentAccount gets the "rent" account.

func (*InitCmV6) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (*InitCmV6) GetWalletAccount

func (inst *InitCmV6) GetWalletAccount() *ag_solanago.AccountMeta

GetWalletAccount gets the "wallet" account.

func (InitCmV6) MarshalWithEncoder

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

func (*InitCmV6) SetAuthorityAccount

func (inst *InitCmV6) SetAuthorityAccount(authority ag_solanago.PublicKey) *InitCmV6

SetAuthorityAccount sets the "authority" account.

func (*InitCmV6) SetCandyMachineAccount

func (inst *InitCmV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *InitCmV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*InitCmV6) SetData

func (inst *InitCmV6) SetData(data CandyMachineDataV3) *InitCmV6

SetData sets the "data" parameter.

func (*InitCmV6) SetEnforceRoyalties

func (inst *InitCmV6) SetEnforceRoyalties(enforceRoyalties bool) *InitCmV6

SetEnforceRoyalties sets the "enforceRoyalties" parameter.

func (*InitCmV6) SetName

func (inst *InitCmV6) SetName(name string) *InitCmV6

SetName sets the "name" parameter.

func (*InitCmV6) SetPayerAccount

func (inst *InitCmV6) SetPayerAccount(payer ag_solanago.PublicKey) *InitCmV6

SetPayerAccount sets the "payer" account.

func (*InitCmV6) SetRentAccount

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

SetRentAccount sets the "rent" account.

func (*InitCmV6) SetSeed

func (inst *InitCmV6) SetSeed(seed ag_solanago.PublicKey) *InitCmV6

SetSeed sets the "seed" parameter.

func (*InitCmV6) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*InitCmV6) SetThawDate

func (inst *InitCmV6) SetThawDate(thawDate int64) *InitCmV6

SetThawDate sets the "thawDate" parameter.

func (*InitCmV6) SetWalletAccount

func (inst *InitCmV6) SetWalletAccount(wallet ag_solanago.PublicKey) *InitCmV6

SetWalletAccount sets the "wallet" account.

func (*InitCmV6) UnmarshalWithDecoder

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

func (*InitCmV6) Validate

func (inst *InitCmV6) Validate() error

func (InitCmV6) ValidateAndBuild

func (inst InitCmV6) 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 Migrate

type Migrate struct {

	// [0] = [WRITE, SIGNER] payer
	//
	// [1] = [WRITE] cm
	//
	// [2] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

Migrate is the `migrate` instruction.

func NewMigrateInstruction

func NewMigrateInstruction(

	payer ag_solanago.PublicKey,
	cm ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *Migrate

NewMigrateInstruction declares a new Migrate instruction with the provided parameters and accounts.

func NewMigrateInstructionBuilder

func NewMigrateInstructionBuilder() *Migrate

NewMigrateInstructionBuilder creates a new `Migrate` instruction builder.

func (Migrate) Build

func (inst Migrate) Build() *Instruction

func (*Migrate) EncodeToTree

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

func (*Migrate) GetCmAccount

func (inst *Migrate) GetCmAccount() *ag_solanago.AccountMeta

GetCmAccount gets the "cm" account.

func (*Migrate) GetPayerAccount

func (inst *Migrate) GetPayerAccount() *ag_solanago.AccountMeta

GetPayerAccount gets the "payer" account.

func (*Migrate) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (Migrate) MarshalWithEncoder

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

func (*Migrate) SetCmAccount

func (inst *Migrate) SetCmAccount(cm ag_solanago.PublicKey) *Migrate

SetCmAccount sets the "cm" account.

func (*Migrate) SetPayerAccount

func (inst *Migrate) SetPayerAccount(payer ag_solanago.PublicKey) *Migrate

SetPayerAccount sets the "payer" account.

func (*Migrate) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*Migrate) UnmarshalWithDecoder

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

func (*Migrate) Validate

func (inst *Migrate) Validate() error

func (Migrate) ValidateAndBuild

func (inst Migrate) 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 MintV5

type MintV5 struct {
	Proof  *[][32]uint8
	Expect *uint64

	// [0] = [WRITE] candyMachine
	//
	// [1] = [WRITE, SIGNER] payer
	//
	// [2] = [WRITE] wallet
	//
	// [3] = [WRITE] wallet2
	//
	// [4] = [WRITE] metadata
	//
	// [5] = [WRITE, SIGNER] mint
	//
	// [6] = [WRITE] associated
	//
	// [7] = [WRITE] masterEdition
	//
	// [8] = [WRITE] totalMints
	//
	// [9] = [] associatedTokenProgram
	//
	// [10] = [] tokenMetadataProgram
	//
	// [11] = [] tokenProgram
	//
	// [12] = [] systemProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

MintV5 is the `mintV5` instruction.

func NewMintV5Instruction

func NewMintV5Instruction(

	proof [][32]uint8,
	expect uint64,

	candyMachine ag_solanago.PublicKey,
	payer ag_solanago.PublicKey,
	wallet ag_solanago.PublicKey,
	wallet2 ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	mint ag_solanago.PublicKey,
	associated ag_solanago.PublicKey,
	masterEdition ag_solanago.PublicKey,
	totalMints ag_solanago.PublicKey,
	associatedTokenProgram ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey) *MintV5

NewMintV5Instruction declares a new MintV5 instruction with the provided parameters and accounts.

func NewMintV5InstructionBuilder

func NewMintV5InstructionBuilder() *MintV5

NewMintV5InstructionBuilder creates a new `MintV5` instruction builder.

func (MintV5) Build

func (inst MintV5) Build() *Instruction

func (*MintV5) EncodeToTree

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

func (*MintV5) GetAssociatedAccount

func (inst *MintV5) GetAssociatedAccount() *ag_solanago.AccountMeta

GetAssociatedAccount gets the "associated" account.

func (*MintV5) GetAssociatedTokenProgramAccount

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

GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.

func (*MintV5) GetCandyMachineAccount

func (inst *MintV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*MintV5) GetMasterEditionAccount

func (inst *MintV5) GetMasterEditionAccount() *ag_solanago.AccountMeta

GetMasterEditionAccount gets the "masterEdition" account.

func (*MintV5) GetMetadataAccount

func (inst *MintV5) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*MintV5) GetMintAccount

func (inst *MintV5) GetMintAccount() *ag_solanago.AccountMeta

GetMintAccount gets the "mint" account.

func (*MintV5) GetPayerAccount

func (inst *MintV5) GetPayerAccount() *ag_solanago.AccountMeta

GetPayerAccount gets the "payer" account.

func (*MintV5) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (*MintV5) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*MintV5) GetTokenProgramAccount

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

GetTokenProgramAccount gets the "tokenProgram" account.

func (*MintV5) GetTotalMintsAccount

func (inst *MintV5) GetTotalMintsAccount() *ag_solanago.AccountMeta

GetTotalMintsAccount gets the "totalMints" account.

func (*MintV5) GetWallet2Account

func (inst *MintV5) GetWallet2Account() *ag_solanago.AccountMeta

GetWallet2Account gets the "wallet2" account.

func (*MintV5) GetWalletAccount

func (inst *MintV5) GetWalletAccount() *ag_solanago.AccountMeta

GetWalletAccount gets the "wallet" account.

func (MintV5) MarshalWithEncoder

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

func (*MintV5) SetAssociatedAccount

func (inst *MintV5) SetAssociatedAccount(associated ag_solanago.PublicKey) *MintV5

SetAssociatedAccount sets the "associated" account.

func (*MintV5) SetAssociatedTokenProgramAccount

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

SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.

func (*MintV5) SetCandyMachineAccount

func (inst *MintV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *MintV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*MintV5) SetExpect

func (inst *MintV5) SetExpect(expect uint64) *MintV5

SetExpect sets the "expect" parameter.

func (*MintV5) SetMasterEditionAccount

func (inst *MintV5) SetMasterEditionAccount(masterEdition ag_solanago.PublicKey) *MintV5

SetMasterEditionAccount sets the "masterEdition" account.

func (*MintV5) SetMetadataAccount

func (inst *MintV5) SetMetadataAccount(metadata ag_solanago.PublicKey) *MintV5

SetMetadataAccount sets the "metadata" account.

func (*MintV5) SetMintAccount

func (inst *MintV5) SetMintAccount(mint ag_solanago.PublicKey) *MintV5

SetMintAccount sets the "mint" account.

func (*MintV5) SetPayerAccount

func (inst *MintV5) SetPayerAccount(payer ag_solanago.PublicKey) *MintV5

SetPayerAccount sets the "payer" account.

func (*MintV5) SetProof

func (inst *MintV5) SetProof(proof [][32]uint8) *MintV5

SetProof sets the "proof" parameter.

func (*MintV5) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*MintV5) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*MintV5) SetTokenProgramAccount

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

SetTokenProgramAccount sets the "tokenProgram" account.

func (*MintV5) SetTotalMintsAccount

func (inst *MintV5) SetTotalMintsAccount(totalMints ag_solanago.PublicKey) *MintV5

SetTotalMintsAccount sets the "totalMints" account.

func (*MintV5) SetWallet2Account

func (inst *MintV5) SetWallet2Account(wallet2 ag_solanago.PublicKey) *MintV5

SetWallet2Account sets the "wallet2" account.

func (*MintV5) SetWalletAccount

func (inst *MintV5) SetWalletAccount(wallet ag_solanago.PublicKey) *MintV5

SetWalletAccount sets the "wallet" account.

func (*MintV5) UnmarshalWithDecoder

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

func (*MintV5) Validate

func (inst *MintV5) Validate() error

func (MintV5) ValidateAndBuild

func (inst MintV5) 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 MintV6

type MintV6 struct {
	Proof  *[][32]uint8
	Expect *uint64

	// [0] = [WRITE] candyMachine
	//
	// [1] = [WRITE, SIGNER] payer
	//
	// [2] = [WRITE] wallet
	//
	// [3] = [WRITE] wallet2
	//
	// [4] = [WRITE] metadata
	//
	// [5] = [WRITE, SIGNER] mint
	//
	// [6] = [WRITE] associated
	//
	// [7] = [WRITE] masterEdition
	//
	// [8] = [WRITE] totalMints
	//
	// [9] = [] associatedTokenProgram
	//
	// [10] = [] tokenMetadataProgram
	//
	// [11] = [] tokenProgram
	//
	// [12] = [] systemProgram
	//
	// [13] = [] instructions
	ag_solanago.AccountMetaSlice `bin:"-"`
}

MintV6 is the `mintV6` instruction.

func NewMintV6Instruction

func NewMintV6Instruction(

	proof [][32]uint8,
	expect uint64,

	candyMachine ag_solanago.PublicKey,
	payer ag_solanago.PublicKey,
	wallet ag_solanago.PublicKey,
	wallet2 ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	mint ag_solanago.PublicKey,
	associated ag_solanago.PublicKey,
	masterEdition ag_solanago.PublicKey,
	totalMints ag_solanago.PublicKey,
	associatedTokenProgram ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey,
	systemProgram ag_solanago.PublicKey,
	instructions ag_solanago.PublicKey,
	additionalAccounts []ag_solanago.AccountMeta) *MintV6

NewMintV6Instruction declares a new MintV6 instruction with the provided parameters and accounts.

func NewMintV6InstructionBuilder

func NewMintV6InstructionBuilder() *MintV6

NewMintV6InstructionBuilder creates a new `MintV6` instruction builder.

func (MintV6) Build

func (inst MintV6) Build() *Instruction

func (*MintV6) EncodeToTree

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

func (*MintV6) GetAssociatedAccount

func (inst *MintV6) GetAssociatedAccount() *ag_solanago.AccountMeta

GetAssociatedAccount gets the "associated" account.

func (*MintV6) GetAssociatedTokenProgramAccount

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

GetAssociatedTokenProgramAccount gets the "associatedTokenProgram" account.

func (*MintV6) GetCandyMachineAccount

func (inst *MintV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*MintV6) GetInstructionsAccount added in v0.8.20

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

GetInstructionsAccount gets the "instructions" account.

func (*MintV6) GetMasterEditionAccount

func (inst *MintV6) GetMasterEditionAccount() *ag_solanago.AccountMeta

GetMasterEditionAccount gets the "masterEdition" account.

func (*MintV6) GetMetadataAccount

func (inst *MintV6) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*MintV6) GetMintAccount

func (inst *MintV6) GetMintAccount() *ag_solanago.AccountMeta

GetMintAccount gets the "mint" account.

func (*MintV6) GetPayerAccount

func (inst *MintV6) GetPayerAccount() *ag_solanago.AccountMeta

GetPayerAccount gets the "payer" account.

func (*MintV6) GetSystemProgramAccount

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

GetSystemProgramAccount gets the "systemProgram" account.

func (*MintV6) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*MintV6) GetTokenProgramAccount

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

GetTokenProgramAccount gets the "tokenProgram" account.

func (*MintV6) GetTotalMintsAccount

func (inst *MintV6) GetTotalMintsAccount() *ag_solanago.AccountMeta

GetTotalMintsAccount gets the "totalMints" account.

func (*MintV6) GetWallet2Account

func (inst *MintV6) GetWallet2Account() *ag_solanago.AccountMeta

GetWallet2Account gets the "wallet2" account.

func (*MintV6) GetWalletAccount

func (inst *MintV6) GetWalletAccount() *ag_solanago.AccountMeta

GetWalletAccount gets the "wallet" account.

func (MintV6) MarshalWithEncoder

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

func (*MintV6) SetAdditionalAccounts added in v0.8.14

func (inst *MintV6) SetAdditionalAccounts(pk []ag_solanago.AccountMeta) *MintV6

func (*MintV6) SetAssociatedAccount

func (inst *MintV6) SetAssociatedAccount(associated ag_solanago.PublicKey) *MintV6

SetAssociatedAccount sets the "associated" account.

func (*MintV6) SetAssociatedTokenProgramAccount

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

SetAssociatedTokenProgramAccount sets the "associatedTokenProgram" account.

func (*MintV6) SetCandyMachineAccount

func (inst *MintV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *MintV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*MintV6) SetExpect

func (inst *MintV6) SetExpect(expect uint64) *MintV6

SetExpect sets the "expect" parameter.

func (*MintV6) SetInstructionsAccount added in v0.8.20

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

SetInstructionsAccount sets the "instructions" account.

func (*MintV6) SetMasterEditionAccount

func (inst *MintV6) SetMasterEditionAccount(masterEdition ag_solanago.PublicKey) *MintV6

SetMasterEditionAccount sets the "masterEdition" account.

func (*MintV6) SetMetadataAccount

func (inst *MintV6) SetMetadataAccount(metadata ag_solanago.PublicKey) *MintV6

SetMetadataAccount sets the "metadata" account.

func (*MintV6) SetMintAccount

func (inst *MintV6) SetMintAccount(mint ag_solanago.PublicKey) *MintV6

SetMintAccount sets the "mint" account.

func (*MintV6) SetPayerAccount

func (inst *MintV6) SetPayerAccount(payer ag_solanago.PublicKey) *MintV6

SetPayerAccount sets the "payer" account.

func (*MintV6) SetProof

func (inst *MintV6) SetProof(proof [][32]uint8) *MintV6

SetProof sets the "proof" parameter.

func (*MintV6) SetSystemProgramAccount

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

SetSystemProgramAccount sets the "systemProgram" account.

func (*MintV6) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*MintV6) SetTokenProgramAccount

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

SetTokenProgramAccount sets the "tokenProgram" account.

func (*MintV6) SetTotalMintsAccount

func (inst *MintV6) SetTotalMintsAccount(totalMints ag_solanago.PublicKey) *MintV6

SetTotalMintsAccount sets the "totalMints" account.

func (*MintV6) SetWallet2Account

func (inst *MintV6) SetWallet2Account(wallet2 ag_solanago.PublicKey) *MintV6

SetWallet2Account sets the "wallet2" account.

func (*MintV6) SetWalletAccount

func (inst *MintV6) SetWalletAccount(wallet ag_solanago.PublicKey) *MintV6

SetWalletAccount sets the "wallet" account.

func (*MintV6) UnmarshalWithDecoder

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

func (*MintV6) Validate

func (inst *MintV6) Validate() error

func (MintV6) ValidateAndBuild

func (inst MintV6) 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 NFTHolderMode

type NFTHolderMode struct {
	VerifiedCreator ag_solanago.PublicKey
	MintsPerNft     uint32
}

func (NFTHolderMode) MarshalWithEncoder

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

func (*NFTHolderMode) UnmarshalWithDecoder

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

type PublicMode

type PublicMode struct {
	MintsPerUser *uint32 `bin:"optional"`
}

func (PublicMode) MarshalWithEncoder

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

func (*PublicMode) UnmarshalWithDecoder

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

type RevealV5

type RevealV5 struct {

	// [0] = [WRITE] candyMachine
	//
	// [1] = [WRITE] metadata
	//
	// [2] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

RevealV5 is the `revealV5` instruction.

func NewRevealV5Instruction

func NewRevealV5Instruction(

	candyMachine ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *RevealV5

NewRevealV5Instruction declares a new RevealV5 instruction with the provided parameters and accounts.

func NewRevealV5InstructionBuilder

func NewRevealV5InstructionBuilder() *RevealV5

NewRevealV5InstructionBuilder creates a new `RevealV5` instruction builder.

func (RevealV5) Build

func (inst RevealV5) Build() *Instruction

func (*RevealV5) EncodeToTree

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

func (*RevealV5) GetCandyMachineAccount

func (inst *RevealV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*RevealV5) GetMetadataAccount

func (inst *RevealV5) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*RevealV5) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (RevealV5) MarshalWithEncoder

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

func (*RevealV5) SetCandyMachineAccount

func (inst *RevealV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *RevealV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*RevealV5) SetMetadataAccount

func (inst *RevealV5) SetMetadataAccount(metadata ag_solanago.PublicKey) *RevealV5

SetMetadataAccount sets the "metadata" account.

func (*RevealV5) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*RevealV5) UnmarshalWithDecoder

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

func (*RevealV5) Validate

func (inst *RevealV5) Validate() error

func (RevealV5) ValidateAndBuild

func (inst RevealV5) 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 RevealV6

type RevealV6 struct {

	// [0] = [WRITE] candyMachine
	//
	// [1] = [WRITE] metadata
	//
	// [2] = [] tokenMetadataProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

RevealV6 is the `revealV6` instruction.

func NewRevealV6Instruction

func NewRevealV6Instruction(

	candyMachine ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey) *RevealV6

NewRevealV6Instruction declares a new RevealV6 instruction with the provided parameters and accounts.

func NewRevealV6InstructionBuilder

func NewRevealV6InstructionBuilder() *RevealV6

NewRevealV6InstructionBuilder creates a new `RevealV6` instruction builder.

func (RevealV6) Build

func (inst RevealV6) Build() *Instruction

func (*RevealV6) EncodeToTree

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

func (*RevealV6) GetCandyMachineAccount

func (inst *RevealV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*RevealV6) GetMetadataAccount

func (inst *RevealV6) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*RevealV6) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (RevealV6) MarshalWithEncoder

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

func (*RevealV6) SetCandyMachineAccount

func (inst *RevealV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *RevealV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*RevealV6) SetMetadataAccount

func (inst *RevealV6) SetMetadataAccount(metadata ag_solanago.PublicKey) *RevealV6

SetMetadataAccount sets the "metadata" account.

func (*RevealV6) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*RevealV6) UnmarshalWithDecoder

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

func (*RevealV6) Validate

func (inst *RevealV6) Validate() error

func (RevealV6) ValidateAndBuild

func (inst RevealV6) 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 SaleFaze

type SaleFaze struct {
	Start         int64
	Price         uint64
	Currency      *ag_solanago.PublicKey `bin:"optional"`
	WhitelistMode WhitelistMode
	Name          string
}

func (SaleFaze) MarshalWithEncoder

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

func (*SaleFaze) UnmarshalWithDecoder

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

type ThawV5

type ThawV5 struct {

	// [0] = [WRITE] candyMachine
	//
	// [1] = [] mint
	//
	// [2] = [WRITE] associated
	//
	// [3] = [WRITE] metadata
	//
	// [4] = [WRITE] masterEdition
	//
	// [5] = [] tokenMetadataProgram
	//
	// [6] = [] tokenProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

ThawV5 is the `thawV5` instruction.

func NewThawV5Instruction

func NewThawV5Instruction(

	candyMachine ag_solanago.PublicKey,
	mint ag_solanago.PublicKey,
	associated ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	masterEdition ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey) *ThawV5

NewThawV5Instruction declares a new ThawV5 instruction with the provided parameters and accounts.

func NewThawV5InstructionBuilder

func NewThawV5InstructionBuilder() *ThawV5

NewThawV5InstructionBuilder creates a new `ThawV5` instruction builder.

func (ThawV5) Build

func (inst ThawV5) Build() *Instruction

func (*ThawV5) EncodeToTree

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

func (*ThawV5) GetAssociatedAccount

func (inst *ThawV5) GetAssociatedAccount() *ag_solanago.AccountMeta

GetAssociatedAccount gets the "associated" account.

func (*ThawV5) GetCandyMachineAccount

func (inst *ThawV5) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*ThawV5) GetMasterEditionAccount

func (inst *ThawV5) GetMasterEditionAccount() *ag_solanago.AccountMeta

GetMasterEditionAccount gets the "masterEdition" account.

func (*ThawV5) GetMetadataAccount

func (inst *ThawV5) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*ThawV5) GetMintAccount

func (inst *ThawV5) GetMintAccount() *ag_solanago.AccountMeta

GetMintAccount gets the "mint" account.

func (*ThawV5) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*ThawV5) GetTokenProgramAccount

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

GetTokenProgramAccount gets the "tokenProgram" account.

func (ThawV5) MarshalWithEncoder

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

func (*ThawV5) SetAssociatedAccount

func (inst *ThawV5) SetAssociatedAccount(associated ag_solanago.PublicKey) *ThawV5

SetAssociatedAccount sets the "associated" account.

func (*ThawV5) SetCandyMachineAccount

func (inst *ThawV5) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *ThawV5

SetCandyMachineAccount sets the "candyMachine" account.

func (*ThawV5) SetMasterEditionAccount

func (inst *ThawV5) SetMasterEditionAccount(masterEdition ag_solanago.PublicKey) *ThawV5

SetMasterEditionAccount sets the "masterEdition" account.

func (*ThawV5) SetMetadataAccount

func (inst *ThawV5) SetMetadataAccount(metadata ag_solanago.PublicKey) *ThawV5

SetMetadataAccount sets the "metadata" account.

func (*ThawV5) SetMintAccount

func (inst *ThawV5) SetMintAccount(mint ag_solanago.PublicKey) *ThawV5

SetMintAccount sets the "mint" account.

func (*ThawV5) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*ThawV5) SetTokenProgramAccount

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

SetTokenProgramAccount sets the "tokenProgram" account.

func (*ThawV5) UnmarshalWithDecoder

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

func (*ThawV5) Validate

func (inst *ThawV5) Validate() error

func (ThawV5) ValidateAndBuild

func (inst ThawV5) 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 ThawV6

type ThawV6 struct {

	// [0] = [WRITE] candyMachine
	//
	// [1] = [] mint
	//
	// [2] = [WRITE] associated
	//
	// [3] = [WRITE] metadata
	//
	// [4] = [WRITE] masterEdition
	//
	// [5] = [] tokenMetadataProgram
	//
	// [6] = [] tokenProgram
	ag_solanago.AccountMetaSlice `bin:"-"`
}

ThawV6 is the `thawV6` instruction.

func NewThawV6Instruction

func NewThawV6Instruction(

	candyMachine ag_solanago.PublicKey,
	mint ag_solanago.PublicKey,
	associated ag_solanago.PublicKey,
	metadata ag_solanago.PublicKey,
	masterEdition ag_solanago.PublicKey,
	tokenMetadataProgram ag_solanago.PublicKey,
	tokenProgram ag_solanago.PublicKey) *ThawV6

NewThawV6Instruction declares a new ThawV6 instruction with the provided parameters and accounts.

func NewThawV6InstructionBuilder

func NewThawV6InstructionBuilder() *ThawV6

NewThawV6InstructionBuilder creates a new `ThawV6` instruction builder.

func (ThawV6) Build

func (inst ThawV6) Build() *Instruction

func (*ThawV6) EncodeToTree

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

func (*ThawV6) GetAssociatedAccount

func (inst *ThawV6) GetAssociatedAccount() *ag_solanago.AccountMeta

GetAssociatedAccount gets the "associated" account.

func (*ThawV6) GetCandyMachineAccount

func (inst *ThawV6) GetCandyMachineAccount() *ag_solanago.AccountMeta

GetCandyMachineAccount gets the "candyMachine" account.

func (*ThawV6) GetMasterEditionAccount

func (inst *ThawV6) GetMasterEditionAccount() *ag_solanago.AccountMeta

GetMasterEditionAccount gets the "masterEdition" account.

func (*ThawV6) GetMetadataAccount

func (inst *ThawV6) GetMetadataAccount() *ag_solanago.AccountMeta

GetMetadataAccount gets the "metadata" account.

func (*ThawV6) GetMintAccount

func (inst *ThawV6) GetMintAccount() *ag_solanago.AccountMeta

GetMintAccount gets the "mint" account.

func (*ThawV6) GetTokenMetadataProgramAccount

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

GetTokenMetadataProgramAccount gets the "tokenMetadataProgram" account.

func (*ThawV6) GetTokenProgramAccount

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

GetTokenProgramAccount gets the "tokenProgram" account.

func (ThawV6) MarshalWithEncoder

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

func (*ThawV6) SetAssociatedAccount

func (inst *ThawV6) SetAssociatedAccount(associated ag_solanago.PublicKey) *ThawV6

SetAssociatedAccount sets the "associated" account.

func (*ThawV6) SetCandyMachineAccount

func (inst *ThawV6) SetCandyMachineAccount(candyMachine ag_solanago.PublicKey) *ThawV6

SetCandyMachineAccount sets the "candyMachine" account.

func (*ThawV6) SetMasterEditionAccount

func (inst *ThawV6) SetMasterEditionAccount(masterEdition ag_solanago.PublicKey) *ThawV6

SetMasterEditionAccount sets the "masterEdition" account.

func (*ThawV6) SetMetadataAccount

func (inst *ThawV6) SetMetadataAccount(metadata ag_solanago.PublicKey) *ThawV6

SetMetadataAccount sets the "metadata" account.

func (*ThawV6) SetMintAccount

func (inst *ThawV6) SetMintAccount(mint ag_solanago.PublicKey) *ThawV6

SetMintAccount sets the "mint" account.

func (*ThawV6) SetTokenMetadataProgramAccount

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

SetTokenMetadataProgramAccount sets the "tokenMetadataProgram" account.

func (*ThawV6) SetTokenProgramAccount

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

SetTokenProgramAccount sets the "tokenProgram" account.

func (*ThawV6) UnmarshalWithDecoder

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

func (*ThawV6) Validate

func (inst *ThawV6) Validate() error

func (ThawV6) ValidateAndBuild

func (inst ThawV6) 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 TotalMints

type TotalMints struct {
	Total uint32
}

func (TotalMints) MarshalWithEncoder

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

func (*TotalMints) UnmarshalWithDecoder

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

type WhitelistMode

type WhitelistMode interface {
	// contains filtered or unexported methods
}

type WhitelistModeNFTBased

type WhitelistModeNFTBased struct {
	Info NFTHolderMode
}

func (WhitelistModeNFTBased) MarshalWithEncoder

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

func (*WhitelistModeNFTBased) UnmarshalWithDecoder

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

type WhitelistModePublic

type WhitelistModePublic struct {
	Info PublicMode
}

func (WhitelistModePublic) MarshalWithEncoder

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

func (*WhitelistModePublic) UnmarshalWithDecoder

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

type WhitelistModeTokenBased

type WhitelistModeTokenBased struct {
	Info WhitelistTokenMode
}

func (WhitelistModeTokenBased) MarshalWithEncoder

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

func (*WhitelistModeTokenBased) UnmarshalWithDecoder

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

type WhitelistModeWalletBased

type WhitelistModeWalletBased struct {
	Info WhitelistWalletListMode
}

func (WhitelistModeWalletBased) MarshalWithEncoder

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

func (*WhitelistModeWalletBased) UnmarshalWithDecoder

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

type WhitelistTokenMode

type WhitelistTokenMode struct {
	TokenMint ag_solanago.PublicKey
	Burn      bool
}

func (WhitelistTokenMode) MarshalWithEncoder

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

func (*WhitelistTokenMode) UnmarshalWithDecoder

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

type WhitelistV2

type WhitelistV2 struct {
	MerkleRoot   [32]uint8
	MintsPerUser *uint32 `bin:"optional"`
	GoLiveDate   int64
	Price        *uint64 `bin:"optional"`
}

func (WhitelistV2) MarshalWithEncoder

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

func (*WhitelistV2) UnmarshalWithDecoder

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

type WhitelistWalletListMode

type WhitelistWalletListMode struct {
	MintsPerUser uint32
	MerkleRoot   [32]uint8
}

func (WhitelistWalletListMode) MarshalWithEncoder

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

func (*WhitelistWalletListMode) UnmarshalWithDecoder

func (obj *WhitelistWalletListMode) 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