Documentation ¶
Index ¶
- Constants
- Variables
- func InstructionIDToName(id ag_binary.TypeID) string
- func SetProgramID(pubkey ag_solanago.PublicKey)
- type AuctionHouse
- type Auctioneer
- type AuctioneerBuy
- func (inst AuctioneerBuy) Build() *Instruction
- func (inst *AuctioneerBuy) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerBuy) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerBuy) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerBuy) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerBuy) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetBuyerPrice(buyerPrice uint64) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetTokenSize(tokenSize uint64) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetTradeStateBump(tradeStateBump uint8) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerBuy
- func (inst *AuctioneerBuy) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerBuy
- func (obj *AuctioneerBuy) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerBuy) Validate() error
- func (inst AuctioneerBuy) ValidateAndBuild() (*Instruction, error)
- type AuctioneerCancel
- func (inst AuctioneerCancel) Build() *Instruction
- func (inst *AuctioneerCancel) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerCancel) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerCancel) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerCancel) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerCancel) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetBuyerPrice(buyerPrice uint64) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetTokenSize(tokenSize uint64) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetTradeStateAccount(tradeState ag_solanago.PublicKey) *AuctioneerCancel
- func (inst *AuctioneerCancel) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerCancel
- func (obj *AuctioneerCancel) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerCancel) Validate() error
- func (inst AuctioneerCancel) ValidateAndBuild() (*Instruction, error)
- type AuctioneerDeposit
- func (inst AuctioneerDeposit) Build() *Instruction
- func (inst *AuctioneerDeposit) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerDeposit) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerDeposit) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerDeposit) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerDeposit) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetAmount(amount uint64) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerDeposit
- func (inst *AuctioneerDeposit) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerDeposit
- func (obj *AuctioneerDeposit) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerDeposit) Validate() error
- func (inst AuctioneerDeposit) ValidateAndBuild() (*Instruction, error)
- type AuctioneerExecutePartialSale
- func (inst AuctioneerExecutePartialSale) Build() *Instruction
- func (inst *AuctioneerExecutePartialSale) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerExecutePartialSale) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetBuyerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetSellerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecutePartialSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerExecutePartialSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerExecutePartialSale) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetBuyerPrice(buyerPrice uint64) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetPartialOrderPrice(partialOrderPrice uint64) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetPartialOrderSize(partialOrderSize uint64) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetProgramAsSignerBump(programAsSignerBump uint8) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetSellerAccount(seller ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetTokenSize(tokenSize uint64) *AuctioneerExecutePartialSale
- func (inst *AuctioneerExecutePartialSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerExecutePartialSale
- func (obj *AuctioneerExecutePartialSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerExecutePartialSale) Validate() error
- func (inst AuctioneerExecutePartialSale) ValidateAndBuild() (*Instruction, error)
- type AuctioneerExecuteSale
- func (inst AuctioneerExecuteSale) Build() *Instruction
- func (inst *AuctioneerExecuteSale) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerExecuteSale) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetBuyerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetSellerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerExecuteSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerExecuteSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerExecuteSale) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetBuyerPrice(buyerPrice uint64) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetProgramAsSignerBump(programAsSignerBump uint8) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetSellerAccount(seller ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetTokenSize(tokenSize uint64) *AuctioneerExecuteSale
- func (inst *AuctioneerExecuteSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerExecuteSale
- func (obj *AuctioneerExecuteSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerExecuteSale) Validate() error
- func (inst AuctioneerExecuteSale) ValidateAndBuild() (*Instruction, error)
- type AuctioneerPublicBuy
- func (inst AuctioneerPublicBuy) Build() *Instruction
- func (inst *AuctioneerPublicBuy) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerPublicBuy) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerPublicBuy) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerPublicBuy) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerPublicBuy) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetBuyerPrice(buyerPrice uint64) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetTokenSize(tokenSize uint64) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetTradeStateBump(tradeStateBump uint8) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (inst *AuctioneerPublicBuy) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerPublicBuy
- func (obj *AuctioneerPublicBuy) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerPublicBuy) Validate() error
- func (inst AuctioneerPublicBuy) ValidateAndBuild() (*Instruction, error)
- type AuctioneerSell
- func (inst AuctioneerSell) Build() *Instruction
- func (inst *AuctioneerSell) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerSell) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetFreeSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerSell) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerSell) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerSell) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetFreeSellerTradeStateAccount(freeSellerTradeState ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetFreeTradeStateBump(freeTradeStateBump uint8) *AuctioneerSell
- func (inst *AuctioneerSell) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetProgramAsSignerBump(programAsSignerBump uint8) *AuctioneerSell
- func (inst *AuctioneerSell) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerSell
- func (inst *AuctioneerSell) SetTokenSize(tokenSize uint64) *AuctioneerSell
- func (inst *AuctioneerSell) SetTradeStateBump(tradeStateBump uint8) *AuctioneerSell
- func (inst *AuctioneerSell) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerSell
- func (obj *AuctioneerSell) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerSell) Validate() error
- func (inst AuctioneerSell) ValidateAndBuild() (*Instruction, error)
- type AuctioneerWithdraw
- func (inst AuctioneerWithdraw) Build() *Instruction
- func (inst *AuctioneerWithdraw) EncodeToTree(parent ag_treeout.Branches)
- func (inst *AuctioneerWithdraw) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetReceiptAccountAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *AuctioneerWithdraw) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj AuctioneerWithdraw) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *AuctioneerWithdraw) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetAmount(amount uint64) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetReceiptAccountAccount(receiptAccount ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerWithdraw
- func (inst *AuctioneerWithdraw) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerWithdraw
- func (obj *AuctioneerWithdraw) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *AuctioneerWithdraw) Validate() error
- func (inst AuctioneerWithdraw) ValidateAndBuild() (*Instruction, error)
- type AuthorityScope
- type BidReceipt
- type BidType
- type Buy
- func (inst Buy) Build() *Instruction
- func (inst *Buy) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Buy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *Buy) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj Buy) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Buy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetAuthorityAccount(authority ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetBuyerPrice(buyerPrice uint64) *Buy
- func (inst *Buy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetEscrowPaymentBump(escrowPaymentBump uint8) *Buy
- func (inst *Buy) SetMetadataAccount(metadata ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetRentAccount(rent ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetTokenSize(tokenSize uint64) *Buy
- func (inst *Buy) SetTradeStateBump(tradeStateBump uint8) *Buy
- func (inst *Buy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *Buy
- func (inst *Buy) SetWalletAccount(wallet ag_solanago.PublicKey) *Buy
- func (obj *Buy) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Buy) Validate() error
- func (inst Buy) ValidateAndBuild() (*Instruction, error)
- type Cancel
- func (inst Cancel) Build() *Instruction
- func (inst *Cancel) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Cancel) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *Cancel) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj Cancel) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Cancel) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetAuthorityAccount(authority ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetBuyerPrice(buyerPrice uint64) *Cancel
- func (inst *Cancel) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetTokenSize(tokenSize uint64) *Cancel
- func (inst *Cancel) SetTradeStateAccount(tradeState ag_solanago.PublicKey) *Cancel
- func (inst *Cancel) SetWalletAccount(wallet ag_solanago.PublicKey) *Cancel
- func (obj *Cancel) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Cancel) Validate() error
- func (inst Cancel) ValidateAndBuild() (*Instruction, error)
- type CancelBidReceipt
- func (inst CancelBidReceipt) Build() *Instruction
- func (inst *CancelBidReceipt) EncodeToTree(parent ag_treeout.Branches)
- func (inst *CancelBidReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
- func (inst *CancelBidReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
- func (inst *CancelBidReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj CancelBidReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *CancelBidReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *CancelBidReceipt
- func (inst *CancelBidReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *CancelBidReceipt
- func (inst *CancelBidReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CancelBidReceipt
- func (obj *CancelBidReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *CancelBidReceipt) Validate() error
- func (inst CancelBidReceipt) ValidateAndBuild() (*Instruction, error)
- type CancelListingReceipt
- func (inst CancelListingReceipt) Build() *Instruction
- func (inst *CancelListingReceipt) EncodeToTree(parent ag_treeout.Branches)
- func (inst *CancelListingReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
- func (inst *CancelListingReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
- func (inst *CancelListingReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj CancelListingReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *CancelListingReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *CancelListingReceipt
- func (inst *CancelListingReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *CancelListingReceipt
- func (inst *CancelListingReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CancelListingReceipt
- func (obj *CancelListingReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *CancelListingReceipt) Validate() error
- func (inst CancelListingReceipt) ValidateAndBuild() (*Instruction, error)
- type CancelType
- type CloseEscrowAccount
- func (inst CloseEscrowAccount) Build() *Instruction
- func (inst *CloseEscrowAccount) EncodeToTree(parent ag_treeout.Branches)
- func (inst *CloseEscrowAccount) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *CloseEscrowAccount) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *CloseEscrowAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *CloseEscrowAccount) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj CloseEscrowAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *CloseEscrowAccount) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *CloseEscrowAccount
- func (inst *CloseEscrowAccount) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *CloseEscrowAccount
- func (inst *CloseEscrowAccount) SetEscrowPaymentBump(escrowPaymentBump uint8) *CloseEscrowAccount
- func (inst *CloseEscrowAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CloseEscrowAccount
- func (inst *CloseEscrowAccount) SetWalletAccount(wallet ag_solanago.PublicKey) *CloseEscrowAccount
- func (obj *CloseEscrowAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *CloseEscrowAccount) Validate() error
- func (inst CloseEscrowAccount) ValidateAndBuild() (*Instruction, error)
- type CreateAuctionHouse
- func (inst CreateAuctionHouse) Build() *Instruction
- func (inst *CreateAuctionHouse) EncodeToTree(parent ag_treeout.Branches)
- func (inst *CreateAuctionHouse) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetFeeWithdrawalDestinationAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetPayerAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetTreasuryWithdrawalDestinationAccount() *ag_solanago.AccountMeta
- func (inst *CreateAuctionHouse) GetTreasuryWithdrawalDestinationOwnerAccount() *ag_solanago.AccountMeta
- func (obj CreateAuctionHouse) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *CreateAuctionHouse) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetAuthorityAccount(authority ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetBump(bump uint8) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetCanChangeSalePrice(canChangeSalePrice bool) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetFeePayerBump(feePayerBump uint8) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetFeeWithdrawalDestinationAccount(feeWithdrawalDestination ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetPayerAccount(payer ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetRentAccount(rent ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetRequiresSignOff(requiresSignOff bool) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetSellerFeeBasisPoints(sellerFeeBasisPoints uint16) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetTreasuryBump(treasuryBump uint8) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetTreasuryWithdrawalDestinationAccount(treasuryWithdrawalDestination ag_solanago.PublicKey) *CreateAuctionHouse
- func (inst *CreateAuctionHouse) SetTreasuryWithdrawalDestinationOwnerAccount(treasuryWithdrawalDestinationOwner ag_solanago.PublicKey) *CreateAuctionHouse
- func (obj *CreateAuctionHouse) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *CreateAuctionHouse) Validate() error
- func (inst CreateAuctionHouse) ValidateAndBuild() (*Instruction, error)
- type DelegateAuctioneer
- func (inst DelegateAuctioneer) Build() *Instruction
- func (inst *DelegateAuctioneer) EncodeToTree(parent ag_treeout.Branches)
- func (inst *DelegateAuctioneer) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *DelegateAuctioneer) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *DelegateAuctioneer) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *DelegateAuctioneer) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *DelegateAuctioneer) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj DelegateAuctioneer) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *DelegateAuctioneer) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *DelegateAuctioneer
- func (inst *DelegateAuctioneer) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *DelegateAuctioneer
- func (inst *DelegateAuctioneer) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *DelegateAuctioneer
- func (inst *DelegateAuctioneer) SetAuthorityAccount(authority ag_solanago.PublicKey) *DelegateAuctioneer
- func (inst *DelegateAuctioneer) SetScopes(scopes []AuthorityScope) *DelegateAuctioneer
- func (inst *DelegateAuctioneer) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DelegateAuctioneer
- func (obj *DelegateAuctioneer) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *DelegateAuctioneer) Validate() error
- func (inst DelegateAuctioneer) ValidateAndBuild() (*Instruction, error)
- type Deposit
- func (inst Deposit) Build() *Instruction
- func (inst *Deposit) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Deposit) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *Deposit) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj Deposit) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Deposit) SetAmount(amount uint64) *Deposit
- func (inst *Deposit) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetAuthorityAccount(authority ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetEscrowPaymentBump(escrowPaymentBump uint8) *Deposit
- func (inst *Deposit) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetRentAccount(rent ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *Deposit
- func (inst *Deposit) SetWalletAccount(wallet ag_solanago.PublicKey) *Deposit
- func (obj *Deposit) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Deposit) Validate() error
- func (inst Deposit) ValidateAndBuild() (*Instruction, error)
- type ExecutePartialSale
- func (inst ExecutePartialSale) Build() *Instruction
- func (inst *ExecutePartialSale) EncodeToTree(parent ag_treeout.Branches)
- func (inst *ExecutePartialSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetBuyerAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetSellerAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *ExecutePartialSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (obj ExecutePartialSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *ExecutePartialSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetBuyerPrice(buyerPrice uint64) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetPartialOrderPrice(partialOrderPrice uint64) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetPartialOrderSize(partialOrderSize uint64) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetProgramAsSignerBump(programAsSignerBump uint8) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetRentAccount(rent ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetSellerAccount(seller ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetTokenSize(tokenSize uint64) *ExecutePartialSale
- func (inst *ExecutePartialSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *ExecutePartialSale
- func (obj *ExecutePartialSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *ExecutePartialSale) Validate() error
- func (inst ExecutePartialSale) ValidateAndBuild() (*Instruction, error)
- type ExecuteSale
- func (inst ExecuteSale) Build() *Instruction
- func (inst *ExecuteSale) EncodeToTree(parent ag_treeout.Branches)
- func (inst *ExecuteSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetBuyerAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetSellerAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetTokenMintAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *ExecuteSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (obj ExecuteSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *ExecuteSale) SetAdditionalAccounts(additionalAccounts []ag_solanago.AccountMeta) *ExecuteSale
- func (inst *ExecuteSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetBuyerPrice(buyerPrice uint64) *ExecuteSale
- func (inst *ExecuteSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *ExecuteSale
- func (inst *ExecuteSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *ExecuteSale
- func (inst *ExecuteSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetProgramAsSignerBump(programAsSignerBump uint8) *ExecuteSale
- func (inst *ExecuteSale) SetRentAccount(rent ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetSellerAccount(seller ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ExecuteSale
- func (inst *ExecuteSale) SetTokenSize(tokenSize uint64) *ExecuteSale
- func (inst *ExecuteSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *ExecuteSale
- func (obj *ExecuteSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *ExecuteSale) Validate() error
- func (inst ExecuteSale) ValidateAndBuild() (*Instruction, error)
- type Instruction
- func (inst *Instruction) Accounts() (out []*ag_solanago.AccountMeta)
- func (inst *Instruction) Data() ([]byte, error)
- func (inst *Instruction) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Instruction) MarshalWithEncoder(encoder *ag_binary.Encoder) error
- func (inst *Instruction) ProgramID() ag_solanago.PublicKey
- func (inst *Instruction) TextEncode(encoder *ag_text.Encoder, option *ag_text.Option) error
- func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error
- type ListingReceipt
- type ListingType
- type PrintBidReceipt
- func (inst PrintBidReceipt) Build() *Instruction
- func (inst *PrintBidReceipt) EncodeToTree(parent ag_treeout.Branches)
- func (inst *PrintBidReceipt) GetBookkeeperAccount() *ag_solanago.AccountMeta
- func (inst *PrintBidReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
- func (inst *PrintBidReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
- func (inst *PrintBidReceipt) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *PrintBidReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj PrintBidReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *PrintBidReceipt) SetBookkeeperAccount(bookkeeper ag_solanago.PublicKey) *PrintBidReceipt
- func (inst *PrintBidReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *PrintBidReceipt
- func (inst *PrintBidReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *PrintBidReceipt
- func (inst *PrintBidReceipt) SetReceiptBump(receiptBump uint8) *PrintBidReceipt
- func (inst *PrintBidReceipt) SetRentAccount(rent ag_solanago.PublicKey) *PrintBidReceipt
- func (inst *PrintBidReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PrintBidReceipt
- func (obj *PrintBidReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *PrintBidReceipt) Validate() error
- func (inst PrintBidReceipt) ValidateAndBuild() (*Instruction, error)
- type PrintListingReceipt
- func (inst PrintListingReceipt) Build() *Instruction
- func (inst *PrintListingReceipt) EncodeToTree(parent ag_treeout.Branches)
- func (inst *PrintListingReceipt) GetBookkeeperAccount() *ag_solanago.AccountMeta
- func (inst *PrintListingReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
- func (inst *PrintListingReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
- func (inst *PrintListingReceipt) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *PrintListingReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj PrintListingReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *PrintListingReceipt) SetBookkeeperAccount(bookkeeper ag_solanago.PublicKey) *PrintListingReceipt
- func (inst *PrintListingReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *PrintListingReceipt
- func (inst *PrintListingReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *PrintListingReceipt
- func (inst *PrintListingReceipt) SetReceiptBump(receiptBump uint8) *PrintListingReceipt
- func (inst *PrintListingReceipt) SetRentAccount(rent ag_solanago.PublicKey) *PrintListingReceipt
- func (inst *PrintListingReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PrintListingReceipt
- func (obj *PrintListingReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *PrintListingReceipt) Validate() error
- func (inst PrintListingReceipt) ValidateAndBuild() (*Instruction, error)
- type PrintPurchaseReceipt
- func (inst PrintPurchaseReceipt) Build() *Instruction
- func (inst *PrintPurchaseReceipt) EncodeToTree(parent ag_treeout.Branches)
- func (inst *PrintPurchaseReceipt) GetBidReceiptAccount() *ag_solanago.AccountMeta
- func (inst *PrintPurchaseReceipt) GetBookkeeperAccount() *ag_solanago.AccountMeta
- func (inst *PrintPurchaseReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
- func (inst *PrintPurchaseReceipt) GetListingReceiptAccount() *ag_solanago.AccountMeta
- func (inst *PrintPurchaseReceipt) GetPurchaseReceiptAccount() *ag_solanago.AccountMeta
- func (inst *PrintPurchaseReceipt) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *PrintPurchaseReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj PrintPurchaseReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *PrintPurchaseReceipt) SetBidReceiptAccount(bidReceipt ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetBookkeeperAccount(bookkeeper ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetListingReceiptAccount(listingReceipt ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetPurchaseReceiptAccount(purchaseReceipt ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetPurchaseReceiptBump(purchaseReceiptBump uint8) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetRentAccount(rent ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (inst *PrintPurchaseReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PrintPurchaseReceipt
- func (obj *PrintPurchaseReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *PrintPurchaseReceipt) Validate() error
- func (inst PrintPurchaseReceipt) ValidateAndBuild() (*Instruction, error)
- type PublicBuy
- func (inst PublicBuy) Build() *Instruction
- func (inst *PublicBuy) EncodeToTree(parent ag_treeout.Branches)
- func (inst *PublicBuy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *PublicBuy) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj PublicBuy) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *PublicBuy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetAuthorityAccount(authority ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetBuyerPrice(buyerPrice uint64) *PublicBuy
- func (inst *PublicBuy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetEscrowPaymentBump(escrowPaymentBump uint8) *PublicBuy
- func (inst *PublicBuy) SetMetadataAccount(metadata ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetRentAccount(rent ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetTokenSize(tokenSize uint64) *PublicBuy
- func (inst *PublicBuy) SetTradeStateBump(tradeStateBump uint8) *PublicBuy
- func (inst *PublicBuy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *PublicBuy
- func (inst *PublicBuy) SetWalletAccount(wallet ag_solanago.PublicKey) *PublicBuy
- func (obj *PublicBuy) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *PublicBuy) Validate() error
- func (inst PublicBuy) ValidateAndBuild() (*Instruction, error)
- type PurchaseReceipt
- type PurchaseType
- type Sell
- func (inst Sell) Build() *Instruction
- func (inst *Sell) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Sell) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetFreeSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetMetadataAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetTokenAccountAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Sell) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj Sell) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Sell) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetAuthorityAccount(authority ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetBuyerPrice(buyerPrice uint64) *Sell
- func (inst *Sell) SetFreeSellerTradeStateAccount(freeSellerTradeState ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetFreeTradeStateBump(freeTradeStateBump uint8) *Sell
- func (inst *Sell) SetMetadataAccount(metadata ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetProgramAsSignerBump(programAsSignerBump uint8) *Sell
- func (inst *Sell) SetRentAccount(rent ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Sell
- func (inst *Sell) SetTokenSize(tokenSize uint64) *Sell
- func (inst *Sell) SetTradeStateBump(tradeStateBump uint8) *Sell
- func (inst *Sell) SetWalletAccount(wallet ag_solanago.PublicKey) *Sell
- func (obj *Sell) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Sell) Validate() error
- func (inst Sell) ValidateAndBuild() (*Instruction, error)
- type UpdateAuctionHouse
- func (inst UpdateAuctionHouse) Build() *Instruction
- func (inst *UpdateAuctionHouse) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateAuctionHouse) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetFeeWithdrawalDestinationAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetNewAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetPayerAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetTreasuryWithdrawalDestinationAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctionHouse) GetTreasuryWithdrawalDestinationOwnerAccount() *ag_solanago.AccountMeta
- func (obj UpdateAuctionHouse) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateAuctionHouse) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetAuthorityAccount(authority ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetCanChangeSalePrice(canChangeSalePrice bool) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetFeeWithdrawalDestinationAccount(feeWithdrawalDestination ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetNewAuthorityAccount(newAuthority ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetPayerAccount(payer ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetRentAccount(rent ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetRequiresSignOff(requiresSignOff bool) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetSellerFeeBasisPoints(sellerFeeBasisPoints uint16) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetTreasuryWithdrawalDestinationAccount(treasuryWithdrawalDestination ag_solanago.PublicKey) *UpdateAuctionHouse
- func (inst *UpdateAuctionHouse) SetTreasuryWithdrawalDestinationOwnerAccount(treasuryWithdrawalDestinationOwner ag_solanago.PublicKey) *UpdateAuctionHouse
- func (obj *UpdateAuctionHouse) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateAuctionHouse) Validate() error
- func (inst UpdateAuctionHouse) ValidateAndBuild() (*Instruction, error)
- type UpdateAuctioneer
- func (inst UpdateAuctioneer) Build() *Instruction
- func (inst *UpdateAuctioneer) EncodeToTree(parent ag_treeout.Branches)
- func (inst *UpdateAuctioneer) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctioneer) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctioneer) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctioneer) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *UpdateAuctioneer) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj UpdateAuctioneer) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *UpdateAuctioneer) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *UpdateAuctioneer
- func (inst *UpdateAuctioneer) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *UpdateAuctioneer
- func (inst *UpdateAuctioneer) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *UpdateAuctioneer
- func (inst *UpdateAuctioneer) SetAuthorityAccount(authority ag_solanago.PublicKey) *UpdateAuctioneer
- func (inst *UpdateAuctioneer) SetScopes(scopes []AuthorityScope) *UpdateAuctioneer
- func (inst *UpdateAuctioneer) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAuctioneer
- func (obj *UpdateAuctioneer) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *UpdateAuctioneer) Validate() error
- func (inst UpdateAuctioneer) ValidateAndBuild() (*Instruction, error)
- type Withdraw
- func (inst Withdraw) Build() *Instruction
- func (inst *Withdraw) EncodeToTree(parent ag_treeout.Branches)
- func (inst *Withdraw) GetAtaProgramAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetReceiptAccountAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetRentAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *Withdraw) GetWalletAccount() *ag_solanago.AccountMeta
- func (obj Withdraw) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *Withdraw) SetAmount(amount uint64) *Withdraw
- func (inst *Withdraw) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetAuthorityAccount(authority ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetEscrowPaymentBump(escrowPaymentBump uint8) *Withdraw
- func (inst *Withdraw) SetReceiptAccountAccount(receiptAccount ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetRentAccount(rent ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *Withdraw
- func (inst *Withdraw) SetWalletAccount(wallet ag_solanago.PublicKey) *Withdraw
- func (obj *Withdraw) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *Withdraw) Validate() error
- func (inst Withdraw) ValidateAndBuild() (*Instruction, error)
- type WithdrawFromFee
- func (inst WithdrawFromFee) Build() *Instruction
- func (inst *WithdrawFromFee) EncodeToTree(parent ag_treeout.Branches)
- func (inst *WithdrawFromFee) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromFee) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromFee) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromFee) GetFeeWithdrawalDestinationAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromFee) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (obj WithdrawFromFee) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *WithdrawFromFee) SetAmount(amount uint64) *WithdrawFromFee
- func (inst *WithdrawFromFee) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *WithdrawFromFee
- func (inst *WithdrawFromFee) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *WithdrawFromFee
- func (inst *WithdrawFromFee) SetAuthorityAccount(authority ag_solanago.PublicKey) *WithdrawFromFee
- func (inst *WithdrawFromFee) SetFeeWithdrawalDestinationAccount(feeWithdrawalDestination ag_solanago.PublicKey) *WithdrawFromFee
- func (inst *WithdrawFromFee) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *WithdrawFromFee
- func (obj *WithdrawFromFee) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *WithdrawFromFee) Validate() error
- func (inst WithdrawFromFee) ValidateAndBuild() (*Instruction, error)
- type WithdrawFromTreasury
- func (inst WithdrawFromTreasury) Build() *Instruction
- func (inst *WithdrawFromTreasury) EncodeToTree(parent ag_treeout.Branches)
- func (inst *WithdrawFromTreasury) GetAuctionHouseAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromTreasury) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromTreasury) GetAuthorityAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromTreasury) GetSystemProgramAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromTreasury) GetTokenProgramAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromTreasury) GetTreasuryMintAccount() *ag_solanago.AccountMeta
- func (inst *WithdrawFromTreasury) GetTreasuryWithdrawalDestinationAccount() *ag_solanago.AccountMeta
- func (obj WithdrawFromTreasury) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
- func (inst *WithdrawFromTreasury) SetAmount(amount uint64) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetAuthorityAccount(authority ag_solanago.PublicKey) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *WithdrawFromTreasury
- func (inst *WithdrawFromTreasury) SetTreasuryWithdrawalDestinationAccount(treasuryWithdrawalDestination ag_solanago.PublicKey) *WithdrawFromTreasury
- func (obj *WithdrawFromTreasury) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
- func (inst *WithdrawFromTreasury) Validate() error
- func (inst WithdrawFromTreasury) ValidateAndBuild() (*Instruction, error)
Constants ¶
const ProgramName = "AuctionHouse"
Variables ¶
var ( Instruction_WithdrawFromFee = ag_binary.TypeID([8]byte{179, 208, 190, 154, 32, 179, 19, 59}) Instruction_WithdrawFromTreasury = ag_binary.TypeID([8]byte{0, 164, 86, 76, 56, 72, 12, 170}) Instruction_UpdateAuctionHouse = ag_binary.TypeID([8]byte{84, 215, 2, 172, 241, 0, 245, 219}) Instruction_CreateAuctionHouse = ag_binary.TypeID([8]byte{221, 66, 242, 159, 249, 206, 134, 241}) Instruction_Buy = ag_binary.TypeID([8]byte{102, 6, 61, 18, 1, 218, 235, 234}) Instruction_AuctioneerBuy = ag_binary.TypeID([8]byte{17, 106, 133, 46, 229, 48, 45, 208}) Instruction_PublicBuy = ag_binary.TypeID([8]byte{169, 84, 218, 35, 42, 206, 16, 171}) Instruction_AuctioneerPublicBuy = ag_binary.TypeID([8]byte{221, 239, 99, 240, 86, 46, 213, 126}) Instruction_Cancel = ag_binary.TypeID([8]byte{232, 219, 223, 41, 219, 236, 220, 190}) Instruction_AuctioneerCancel = ag_binary.TypeID([8]byte{197, 97, 152, 196, 115, 204, 64, 215}) Instruction_Deposit = ag_binary.TypeID([8]byte{242, 35, 198, 137, 82, 225, 242, 182}) Instruction_AuctioneerDeposit = ag_binary.TypeID([8]byte{79, 122, 37, 162, 120, 173, 57, 127}) Instruction_ExecuteSale = ag_binary.TypeID([8]byte{37, 74, 217, 157, 79, 49, 35, 6}) Instruction_ExecutePartialSale = ag_binary.TypeID([8]byte{163, 18, 35, 157, 49, 164, 203, 133}) Instruction_AuctioneerExecuteSale = ag_binary.TypeID([8]byte{68, 125, 32, 65, 251, 43, 35, 53}) Instruction_AuctioneerExecutePartialSale = ag_binary.TypeID([8]byte{9, 44, 46, 15, 161, 143, 21, 54}) Instruction_Sell = ag_binary.TypeID([8]byte{51, 230, 133, 164, 1, 127, 131, 173}) Instruction_AuctioneerSell = ag_binary.TypeID([8]byte{251, 60, 142, 195, 121, 203, 26, 183}) Instruction_Withdraw = ag_binary.TypeID([8]byte{183, 18, 70, 156, 148, 109, 161, 34}) Instruction_AuctioneerWithdraw = ag_binary.TypeID([8]byte{85, 166, 219, 110, 168, 143, 180, 236}) Instruction_CloseEscrowAccount = ag_binary.TypeID([8]byte{209, 42, 208, 179, 140, 78, 18, 43}) Instruction_DelegateAuctioneer = ag_binary.TypeID([8]byte{106, 178, 12, 122, 74, 173, 251, 222}) Instruction_UpdateAuctioneer = ag_binary.TypeID([8]byte{103, 255, 80, 234, 94, 56, 168, 208}) Instruction_PrintListingReceipt = ag_binary.TypeID([8]byte{207, 107, 44, 160, 75, 222, 195, 27}) Instruction_CancelListingReceipt = ag_binary.TypeID([8]byte{171, 59, 138, 126, 246, 189, 91, 11}) Instruction_PrintBidReceipt = ag_binary.TypeID([8]byte{94, 249, 90, 230, 239, 64, 68, 218}) Instruction_CancelBidReceipt = ag_binary.TypeID([8]byte{246, 108, 27, 229, 220, 42, 176, 43}) Instruction_PrintPurchaseReceipt = ag_binary.TypeID([8]byte{227, 154, 251, 7, 180, 56, 100, 143}) )
var AuctionHouseDiscriminator = [8]byte{40, 108, 215, 107, 213, 85, 245, 48}
var AuctioneerDiscriminator = [8]byte{46, 101, 92, 150, 138, 30, 245, 120}
var BidReceiptDiscriminator = [8]byte{186, 150, 141, 135, 59, 122, 39, 99}
var InstructionImplDef = ag_binary.NewVariantDefinition( ag_binary.AnchorTypeIDEncoding, []ag_binary.VariantType{ { "withdraw_from_fee", (*WithdrawFromFee)(nil), }, { "withdraw_from_treasury", (*WithdrawFromTreasury)(nil), }, { "update_auction_house", (*UpdateAuctionHouse)(nil), }, { "create_auction_house", (*CreateAuctionHouse)(nil), }, { "buy", (*Buy)(nil), }, { "auctioneer_buy", (*AuctioneerBuy)(nil), }, { "public_buy", (*PublicBuy)(nil), }, { "auctioneer_public_buy", (*AuctioneerPublicBuy)(nil), }, { "cancel", (*Cancel)(nil), }, { "auctioneer_cancel", (*AuctioneerCancel)(nil), }, { "deposit", (*Deposit)(nil), }, { "auctioneer_deposit", (*AuctioneerDeposit)(nil), }, { "execute_sale", (*ExecuteSale)(nil), }, { "execute_partial_sale", (*ExecutePartialSale)(nil), }, { "auctioneer_execute_sale", (*AuctioneerExecuteSale)(nil), }, { "auctioneer_execute_partial_sale", (*AuctioneerExecutePartialSale)(nil), }, { "sell", (*Sell)(nil), }, { "auctioneer_sell", (*AuctioneerSell)(nil), }, { "withdraw", (*Withdraw)(nil), }, { "auctioneer_withdraw", (*AuctioneerWithdraw)(nil), }, { "close_escrow_account", (*CloseEscrowAccount)(nil), }, { "delegate_auctioneer", (*DelegateAuctioneer)(nil), }, { "update_auctioneer", (*UpdateAuctioneer)(nil), }, { "print_listing_receipt", (*PrintListingReceipt)(nil), }, { "cancel_listing_receipt", (*CancelListingReceipt)(nil), }, { "print_bid_receipt", (*PrintBidReceipt)(nil), }, { "cancel_bid_receipt", (*CancelBidReceipt)(nil), }, { "print_purchase_receipt", (*PrintPurchaseReceipt)(nil), }, }, )
var ListingReceiptDiscriminator = [8]byte{240, 71, 225, 94, 200, 75, 84, 231}
var ProgramID ag_solanago.PublicKey = ag_solanago.MustPublicKeyFromBase58("hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk")
var PurchaseReceiptDiscriminator = [8]byte{79, 127, 222, 137, 154, 131, 150, 134}
Functions ¶
func InstructionIDToName ¶
InstructionIDToName returns the name of the instruction given its ID.
func SetProgramID ¶
func SetProgramID(pubkey ag_solanago.PublicKey)
Types ¶
type AuctionHouse ¶
type AuctionHouse struct { AuctionHouseFeeAccount ag_solanago.PublicKey AuctionHouseTreasury ag_solanago.PublicKey TreasuryWithdrawalDestination ag_solanago.PublicKey FeeWithdrawalDestination ag_solanago.PublicKey TreasuryMint ag_solanago.PublicKey Authority ag_solanago.PublicKey Creator ag_solanago.PublicKey Bump uint8 TreasuryBump uint8 FeePayerBump uint8 SellerFeeBasisPoints uint16 RequiresSignOff bool CanChangeSalePrice bool EscrowPaymentBump uint8 HasAuctioneer bool AuctioneerPdaBump uint8 }
func (AuctionHouse) MarshalWithEncoder ¶
func (obj AuctionHouse) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctionHouse) UnmarshalWithDecoder ¶
func (obj *AuctionHouse) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type Auctioneer ¶
type Auctioneer struct { AuctioneerAuthority ag_solanago.PublicKey AuctionHouse ag_solanago.PublicKey Scopes [7]bool }
func (Auctioneer) MarshalWithEncoder ¶
func (obj Auctioneer) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*Auctioneer) UnmarshalWithDecoder ¶
func (obj *Auctioneer) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type AuctioneerBuy ¶
type AuctioneerBuy struct { TradeStateBump *uint8 EscrowPaymentBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [SIGNER] wallet // // [1] = [WRITE] paymentAccount // // [2] = [] transferAuthority // // [3] = [] treasuryMint // // [4] = [] tokenAccount // // [5] = [] metadata // // [6] = [WRITE] escrowPaymentAccount // // [7] = [] authority // // [8] = [SIGNER] auctioneerAuthority // // [9] = [] auctionHouse // // [10] = [WRITE] auctionHouseFeeAccount // // [11] = [WRITE] buyerTradeState // // [12] = [] ahAuctioneerPda // // [13] = [] tokenProgram // // [14] = [] systemProgram // // [15] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerBuy is the `auctioneerBuy` instruction.
func NewAuctioneerBuyInstruction ¶
func NewAuctioneerBuyInstruction( tradeStateBump uint8, escrowPaymentBump uint8, buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, paymentAccount ag_solanago.PublicKey, transferAuthority ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, metadata ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerBuy
NewAuctioneerBuyInstruction declares a new AuctioneerBuy instruction with the provided parameters and accounts.
func NewAuctioneerBuyInstructionBuilder ¶
func NewAuctioneerBuyInstructionBuilder() *AuctioneerBuy
NewAuctioneerBuyInstructionBuilder creates a new `AuctioneerBuy` instruction builder.
func (AuctioneerBuy) Build ¶
func (inst AuctioneerBuy) Build() *Instruction
func (*AuctioneerBuy) EncodeToTree ¶
func (inst *AuctioneerBuy) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerBuy) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerBuy) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerBuy) GetAuctionHouseAccount ¶
func (inst *AuctioneerBuy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerBuy) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerBuy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerBuy) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerBuy) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerBuy) GetAuthorityAccount ¶
func (inst *AuctioneerBuy) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerBuy) GetBuyerTradeStateAccount ¶
func (inst *AuctioneerBuy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*AuctioneerBuy) GetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerBuy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*AuctioneerBuy) GetMetadataAccount ¶
func (inst *AuctioneerBuy) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*AuctioneerBuy) GetPaymentAccountAccount ¶
func (inst *AuctioneerBuy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
GetPaymentAccountAccount gets the "paymentAccount" account.
func (*AuctioneerBuy) GetRentAccount ¶
func (inst *AuctioneerBuy) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerBuy) GetSystemProgramAccount ¶
func (inst *AuctioneerBuy) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerBuy) GetTokenAccountAccount ¶
func (inst *AuctioneerBuy) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*AuctioneerBuy) GetTokenProgramAccount ¶
func (inst *AuctioneerBuy) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerBuy) GetTransferAuthorityAccount ¶
func (inst *AuctioneerBuy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
GetTransferAuthorityAccount gets the "transferAuthority" account.
func (*AuctioneerBuy) GetTreasuryMintAccount ¶
func (inst *AuctioneerBuy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*AuctioneerBuy) GetWalletAccount ¶
func (inst *AuctioneerBuy) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (AuctioneerBuy) MarshalWithEncoder ¶
func (obj AuctioneerBuy) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerBuy) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerBuy) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerBuy
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerBuy) SetAuctionHouseAccount ¶
func (inst *AuctioneerBuy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerBuy
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerBuy) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerBuy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerBuy
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerBuy) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerBuy) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerBuy
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerBuy) SetAuthorityAccount ¶
func (inst *AuctioneerBuy) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerBuy
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerBuy) SetBuyerPrice ¶
func (inst *AuctioneerBuy) SetBuyerPrice(buyerPrice uint64) *AuctioneerBuy
SetBuyerPrice sets the "buyerPrice" parameter.
func (*AuctioneerBuy) SetBuyerTradeStateAccount ¶
func (inst *AuctioneerBuy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerBuy
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*AuctioneerBuy) SetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerBuy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerBuy
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*AuctioneerBuy) SetEscrowPaymentBump ¶
func (inst *AuctioneerBuy) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerBuy
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*AuctioneerBuy) SetMetadataAccount ¶
func (inst *AuctioneerBuy) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerBuy
SetMetadataAccount sets the "metadata" account.
func (*AuctioneerBuy) SetPaymentAccountAccount ¶
func (inst *AuctioneerBuy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *AuctioneerBuy
SetPaymentAccountAccount sets the "paymentAccount" account.
func (*AuctioneerBuy) SetRentAccount ¶
func (inst *AuctioneerBuy) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerBuy
SetRentAccount sets the "rent" account.
func (*AuctioneerBuy) SetSystemProgramAccount ¶
func (inst *AuctioneerBuy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerBuy
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerBuy) SetTokenAccountAccount ¶
func (inst *AuctioneerBuy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerBuy
SetTokenAccountAccount sets the "tokenAccount" account.
func (*AuctioneerBuy) SetTokenProgramAccount ¶
func (inst *AuctioneerBuy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerBuy
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerBuy) SetTokenSize ¶
func (inst *AuctioneerBuy) SetTokenSize(tokenSize uint64) *AuctioneerBuy
SetTokenSize sets the "tokenSize" parameter.
func (*AuctioneerBuy) SetTradeStateBump ¶
func (inst *AuctioneerBuy) SetTradeStateBump(tradeStateBump uint8) *AuctioneerBuy
SetTradeStateBump sets the "tradeStateBump" parameter.
func (*AuctioneerBuy) SetTransferAuthorityAccount ¶
func (inst *AuctioneerBuy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *AuctioneerBuy
SetTransferAuthorityAccount sets the "transferAuthority" account.
func (*AuctioneerBuy) SetTreasuryMintAccount ¶
func (inst *AuctioneerBuy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerBuy
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*AuctioneerBuy) SetWalletAccount ¶
func (inst *AuctioneerBuy) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerBuy
SetWalletAccount sets the "wallet" account.
func (*AuctioneerBuy) UnmarshalWithDecoder ¶
func (obj *AuctioneerBuy) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerBuy) Validate ¶
func (inst *AuctioneerBuy) Validate() error
func (AuctioneerBuy) ValidateAndBuild ¶
func (inst AuctioneerBuy) 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 AuctioneerCancel ¶
type AuctioneerCancel struct { BuyerPrice *uint64 TokenSize *uint64 // [0] = [WRITE] wallet // // [1] = [WRITE] tokenAccount // // [2] = [] tokenMint // // [3] = [] authority // // [4] = [SIGNER] auctioneerAuthority // // [5] = [] auctionHouse // // [6] = [WRITE] auctionHouseFeeAccount // // [7] = [WRITE] tradeState // // [8] = [] ahAuctioneerPda // // [9] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerCancel is the `auctioneerCancel` instruction.
func NewAuctioneerCancelInstruction ¶
func NewAuctioneerCancelInstruction( buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, tradeState ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *AuctioneerCancel
NewAuctioneerCancelInstruction declares a new AuctioneerCancel instruction with the provided parameters and accounts.
func NewAuctioneerCancelInstructionBuilder ¶
func NewAuctioneerCancelInstructionBuilder() *AuctioneerCancel
NewAuctioneerCancelInstructionBuilder creates a new `AuctioneerCancel` instruction builder.
func (AuctioneerCancel) Build ¶
func (inst AuctioneerCancel) Build() *Instruction
func (*AuctioneerCancel) EncodeToTree ¶
func (inst *AuctioneerCancel) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerCancel) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerCancel) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerCancel) GetAuctionHouseAccount ¶
func (inst *AuctioneerCancel) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerCancel) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerCancel) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerCancel) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerCancel) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerCancel) GetAuthorityAccount ¶
func (inst *AuctioneerCancel) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerCancel) GetTokenAccountAccount ¶
func (inst *AuctioneerCancel) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*AuctioneerCancel) GetTokenMintAccount ¶
func (inst *AuctioneerCancel) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*AuctioneerCancel) GetTokenProgramAccount ¶
func (inst *AuctioneerCancel) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerCancel) GetTradeStateAccount ¶
func (inst *AuctioneerCancel) GetTradeStateAccount() *ag_solanago.AccountMeta
GetTradeStateAccount gets the "tradeState" account.
func (*AuctioneerCancel) GetWalletAccount ¶
func (inst *AuctioneerCancel) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (AuctioneerCancel) MarshalWithEncoder ¶
func (obj AuctioneerCancel) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerCancel) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerCancel) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerCancel
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerCancel) SetAuctionHouseAccount ¶
func (inst *AuctioneerCancel) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerCancel
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerCancel) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerCancel) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerCancel
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerCancel) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerCancel) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerCancel
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerCancel) SetAuthorityAccount ¶
func (inst *AuctioneerCancel) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerCancel
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerCancel) SetBuyerPrice ¶
func (inst *AuctioneerCancel) SetBuyerPrice(buyerPrice uint64) *AuctioneerCancel
SetBuyerPrice sets the "buyerPrice" parameter.
func (*AuctioneerCancel) SetTokenAccountAccount ¶
func (inst *AuctioneerCancel) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerCancel
SetTokenAccountAccount sets the "tokenAccount" account.
func (*AuctioneerCancel) SetTokenMintAccount ¶
func (inst *AuctioneerCancel) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *AuctioneerCancel
SetTokenMintAccount sets the "tokenMint" account.
func (*AuctioneerCancel) SetTokenProgramAccount ¶
func (inst *AuctioneerCancel) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerCancel
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerCancel) SetTokenSize ¶
func (inst *AuctioneerCancel) SetTokenSize(tokenSize uint64) *AuctioneerCancel
SetTokenSize sets the "tokenSize" parameter.
func (*AuctioneerCancel) SetTradeStateAccount ¶
func (inst *AuctioneerCancel) SetTradeStateAccount(tradeState ag_solanago.PublicKey) *AuctioneerCancel
SetTradeStateAccount sets the "tradeState" account.
func (*AuctioneerCancel) SetWalletAccount ¶
func (inst *AuctioneerCancel) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerCancel
SetWalletAccount sets the "wallet" account.
func (*AuctioneerCancel) UnmarshalWithDecoder ¶
func (obj *AuctioneerCancel) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerCancel) Validate ¶
func (inst *AuctioneerCancel) Validate() error
func (AuctioneerCancel) ValidateAndBuild ¶
func (inst AuctioneerCancel) 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 AuctioneerDeposit ¶
type AuctioneerDeposit struct { EscrowPaymentBump *uint8 Amount *uint64 // [0] = [SIGNER] wallet // // [1] = [WRITE] paymentAccount // // [2] = [] transferAuthority // // [3] = [WRITE] escrowPaymentAccount // // [4] = [] treasuryMint // // [5] = [] authority // // [6] = [SIGNER] auctioneerAuthority // // [7] = [] auctionHouse // // [8] = [WRITE] auctionHouseFeeAccount // // [9] = [] ahAuctioneerPda // // [10] = [] tokenProgram // // [11] = [] systemProgram // // [12] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerDeposit is the `auctioneerDeposit` instruction.
func NewAuctioneerDepositInstruction ¶
func NewAuctioneerDepositInstruction( escrowPaymentBump uint8, amount uint64, wallet ag_solanago.PublicKey, paymentAccount ag_solanago.PublicKey, transferAuthority ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerDeposit
NewAuctioneerDepositInstruction declares a new AuctioneerDeposit instruction with the provided parameters and accounts.
func NewAuctioneerDepositInstructionBuilder ¶
func NewAuctioneerDepositInstructionBuilder() *AuctioneerDeposit
NewAuctioneerDepositInstructionBuilder creates a new `AuctioneerDeposit` instruction builder.
func (AuctioneerDeposit) Build ¶
func (inst AuctioneerDeposit) Build() *Instruction
func (*AuctioneerDeposit) EncodeToTree ¶
func (inst *AuctioneerDeposit) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerDeposit) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerDeposit) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerDeposit) GetAuctionHouseAccount ¶
func (inst *AuctioneerDeposit) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerDeposit) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerDeposit) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerDeposit) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerDeposit) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerDeposit) GetAuthorityAccount ¶
func (inst *AuctioneerDeposit) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerDeposit) GetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerDeposit) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*AuctioneerDeposit) GetPaymentAccountAccount ¶
func (inst *AuctioneerDeposit) GetPaymentAccountAccount() *ag_solanago.AccountMeta
GetPaymentAccountAccount gets the "paymentAccount" account.
func (*AuctioneerDeposit) GetRentAccount ¶
func (inst *AuctioneerDeposit) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerDeposit) GetSystemProgramAccount ¶
func (inst *AuctioneerDeposit) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerDeposit) GetTokenProgramAccount ¶
func (inst *AuctioneerDeposit) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerDeposit) GetTransferAuthorityAccount ¶
func (inst *AuctioneerDeposit) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
GetTransferAuthorityAccount gets the "transferAuthority" account.
func (*AuctioneerDeposit) GetTreasuryMintAccount ¶
func (inst *AuctioneerDeposit) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*AuctioneerDeposit) GetWalletAccount ¶
func (inst *AuctioneerDeposit) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (AuctioneerDeposit) MarshalWithEncoder ¶
func (obj AuctioneerDeposit) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerDeposit) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerDeposit) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerDeposit
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerDeposit) SetAmount ¶
func (inst *AuctioneerDeposit) SetAmount(amount uint64) *AuctioneerDeposit
SetAmount sets the "amount" parameter.
func (*AuctioneerDeposit) SetAuctionHouseAccount ¶
func (inst *AuctioneerDeposit) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerDeposit
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerDeposit) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerDeposit) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerDeposit
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerDeposit) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerDeposit) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerDeposit
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerDeposit) SetAuthorityAccount ¶
func (inst *AuctioneerDeposit) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerDeposit
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerDeposit) SetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerDeposit) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerDeposit
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*AuctioneerDeposit) SetEscrowPaymentBump ¶
func (inst *AuctioneerDeposit) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerDeposit
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*AuctioneerDeposit) SetPaymentAccountAccount ¶
func (inst *AuctioneerDeposit) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *AuctioneerDeposit
SetPaymentAccountAccount sets the "paymentAccount" account.
func (*AuctioneerDeposit) SetRentAccount ¶
func (inst *AuctioneerDeposit) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerDeposit
SetRentAccount sets the "rent" account.
func (*AuctioneerDeposit) SetSystemProgramAccount ¶
func (inst *AuctioneerDeposit) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerDeposit
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerDeposit) SetTokenProgramAccount ¶
func (inst *AuctioneerDeposit) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerDeposit
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerDeposit) SetTransferAuthorityAccount ¶
func (inst *AuctioneerDeposit) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *AuctioneerDeposit
SetTransferAuthorityAccount sets the "transferAuthority" account.
func (*AuctioneerDeposit) SetTreasuryMintAccount ¶
func (inst *AuctioneerDeposit) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerDeposit
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*AuctioneerDeposit) SetWalletAccount ¶
func (inst *AuctioneerDeposit) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerDeposit
SetWalletAccount sets the "wallet" account.
func (*AuctioneerDeposit) UnmarshalWithDecoder ¶
func (obj *AuctioneerDeposit) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerDeposit) Validate ¶
func (inst *AuctioneerDeposit) Validate() error
func (AuctioneerDeposit) ValidateAndBuild ¶
func (inst AuctioneerDeposit) 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 AuctioneerExecutePartialSale ¶
type AuctioneerExecutePartialSale struct { EscrowPaymentBump *uint8 FreeTradeStateBump *uint8 ProgramAsSignerBump *uint8 BuyerPrice *uint64 TokenSize *uint64 PartialOrderSize *uint64 `bin:"optional"` PartialOrderPrice *uint64 `bin:"optional"` // [0] = [WRITE] buyer // // [1] = [WRITE] seller // // [2] = [WRITE] tokenAccount // // [3] = [] tokenMint // // [4] = [] metadata // // [5] = [] treasuryMint // // [6] = [WRITE] escrowPaymentAccount // // [7] = [WRITE] sellerPaymentReceiptAccount // // [8] = [WRITE] buyerReceiptTokenAccount // // [9] = [] authority // // [10] = [SIGNER] auctioneerAuthority // // [11] = [] auctionHouse // // [12] = [WRITE] auctionHouseFeeAccount // // [13] = [WRITE] auctionHouseTreasury // // [14] = [WRITE] buyerTradeState // // [15] = [WRITE] sellerTradeState // // [16] = [WRITE] freeTradeState // // [17] = [] ahAuctioneerPda // // [18] = [] tokenProgram // // [19] = [] systemProgram // // [20] = [] ataProgram // // [21] = [] programAsSigner // // [22] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerExecutePartialSale is the `auctioneerExecutePartialSale` instruction.
func NewAuctioneerExecutePartialSaleInstruction ¶
func NewAuctioneerExecutePartialSaleInstruction( escrowPaymentBump uint8, freeTradeStateBump uint8, programAsSignerBump uint8, buyerPrice uint64, tokenSize uint64, partialOrderSize uint64, partialOrderPrice uint64, buyer ag_solanago.PublicKey, seller ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, metadata ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, sellerPaymentReceiptAccount ag_solanago.PublicKey, buyerReceiptTokenAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, auctionHouseTreasury ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, sellerTradeState ag_solanago.PublicKey, freeTradeState ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, programAsSigner ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerExecutePartialSale
NewAuctioneerExecutePartialSaleInstruction declares a new AuctioneerExecutePartialSale instruction with the provided parameters and accounts.
func NewAuctioneerExecutePartialSaleInstructionBuilder ¶
func NewAuctioneerExecutePartialSaleInstructionBuilder() *AuctioneerExecutePartialSale
NewAuctioneerExecutePartialSaleInstructionBuilder creates a new `AuctioneerExecutePartialSale` instruction builder.
func (AuctioneerExecutePartialSale) Build ¶
func (inst AuctioneerExecutePartialSale) Build() *Instruction
func (*AuctioneerExecutePartialSale) EncodeToTree ¶
func (inst *AuctioneerExecutePartialSale) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerExecutePartialSale) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerExecutePartialSale) GetAtaProgramAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*AuctioneerExecutePartialSale) GetAuctionHouseAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerExecutePartialSale) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerExecutePartialSale) GetAuctionHouseTreasuryAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
GetAuctionHouseTreasuryAccount gets the "auctionHouseTreasury" account.
func (*AuctioneerExecutePartialSale) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerExecutePartialSale) GetAuthorityAccount ¶
func (inst *AuctioneerExecutePartialSale) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerExecutePartialSale) GetBuyerAccount ¶
func (inst *AuctioneerExecutePartialSale) GetBuyerAccount() *ag_solanago.AccountMeta
GetBuyerAccount gets the "buyer" account.
func (*AuctioneerExecutePartialSale) GetBuyerReceiptTokenAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
GetBuyerReceiptTokenAccountAccount gets the "buyerReceiptTokenAccount" account.
func (*AuctioneerExecutePartialSale) GetBuyerTradeStateAccount ¶
func (inst *AuctioneerExecutePartialSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*AuctioneerExecutePartialSale) GetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*AuctioneerExecutePartialSale) GetFreeTradeStateAccount ¶
func (inst *AuctioneerExecutePartialSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
GetFreeTradeStateAccount gets the "freeTradeState" account.
func (*AuctioneerExecutePartialSale) GetMetadataAccount ¶
func (inst *AuctioneerExecutePartialSale) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*AuctioneerExecutePartialSale) GetProgramAsSignerAccount ¶
func (inst *AuctioneerExecutePartialSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
GetProgramAsSignerAccount gets the "programAsSigner" account.
func (*AuctioneerExecutePartialSale) GetRentAccount ¶
func (inst *AuctioneerExecutePartialSale) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerExecutePartialSale) GetSellerAccount ¶
func (inst *AuctioneerExecutePartialSale) GetSellerAccount() *ag_solanago.AccountMeta
GetSellerAccount gets the "seller" account.
func (*AuctioneerExecutePartialSale) GetSellerPaymentReceiptAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
GetSellerPaymentReceiptAccountAccount gets the "sellerPaymentReceiptAccount" account.
func (*AuctioneerExecutePartialSale) GetSellerTradeStateAccount ¶
func (inst *AuctioneerExecutePartialSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
GetSellerTradeStateAccount gets the "sellerTradeState" account.
func (*AuctioneerExecutePartialSale) GetSystemProgramAccount ¶
func (inst *AuctioneerExecutePartialSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerExecutePartialSale) GetTokenAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*AuctioneerExecutePartialSale) GetTokenMintAccount ¶
func (inst *AuctioneerExecutePartialSale) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*AuctioneerExecutePartialSale) GetTokenProgramAccount ¶
func (inst *AuctioneerExecutePartialSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerExecutePartialSale) GetTreasuryMintAccount ¶
func (inst *AuctioneerExecutePartialSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (AuctioneerExecutePartialSale) MarshalWithEncoder ¶
func (obj AuctioneerExecutePartialSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerExecutePartialSale) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerExecutePartialSale) SetAtaProgramAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAtaProgramAccount sets the "ataProgram" account.
func (*AuctioneerExecutePartialSale) SetAuctionHouseAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerExecutePartialSale) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerExecutePartialSale) SetAuctionHouseTreasuryAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAuctionHouseTreasuryAccount sets the "auctionHouseTreasury" account.
func (*AuctioneerExecutePartialSale) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerExecutePartialSale) SetAuthorityAccount ¶
func (inst *AuctioneerExecutePartialSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerExecutePartialSale) SetBuyerAccount ¶
func (inst *AuctioneerExecutePartialSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetBuyerAccount sets the "buyer" account.
func (*AuctioneerExecutePartialSale) SetBuyerPrice ¶
func (inst *AuctioneerExecutePartialSale) SetBuyerPrice(buyerPrice uint64) *AuctioneerExecutePartialSale
SetBuyerPrice sets the "buyerPrice" parameter.
func (*AuctioneerExecutePartialSale) SetBuyerReceiptTokenAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetBuyerReceiptTokenAccountAccount sets the "buyerReceiptTokenAccount" account.
func (*AuctioneerExecutePartialSale) SetBuyerTradeStateAccount ¶
func (inst *AuctioneerExecutePartialSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*AuctioneerExecutePartialSale) SetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*AuctioneerExecutePartialSale) SetEscrowPaymentBump ¶
func (inst *AuctioneerExecutePartialSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerExecutePartialSale
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*AuctioneerExecutePartialSale) SetFreeTradeStateAccount ¶
func (inst *AuctioneerExecutePartialSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetFreeTradeStateAccount sets the "freeTradeState" account.
func (*AuctioneerExecutePartialSale) SetFreeTradeStateBump ¶
func (inst *AuctioneerExecutePartialSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *AuctioneerExecutePartialSale
SetFreeTradeStateBump sets the "freeTradeStateBump" parameter.
func (*AuctioneerExecutePartialSale) SetMetadataAccount ¶
func (inst *AuctioneerExecutePartialSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetMetadataAccount sets the "metadata" account.
func (*AuctioneerExecutePartialSale) SetPartialOrderPrice ¶
func (inst *AuctioneerExecutePartialSale) SetPartialOrderPrice(partialOrderPrice uint64) *AuctioneerExecutePartialSale
SetPartialOrderPrice sets the "partialOrderPrice" parameter.
func (*AuctioneerExecutePartialSale) SetPartialOrderSize ¶
func (inst *AuctioneerExecutePartialSale) SetPartialOrderSize(partialOrderSize uint64) *AuctioneerExecutePartialSale
SetPartialOrderSize sets the "partialOrderSize" parameter.
func (*AuctioneerExecutePartialSale) SetProgramAsSignerAccount ¶
func (inst *AuctioneerExecutePartialSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetProgramAsSignerAccount sets the "programAsSigner" account.
func (*AuctioneerExecutePartialSale) SetProgramAsSignerBump ¶
func (inst *AuctioneerExecutePartialSale) SetProgramAsSignerBump(programAsSignerBump uint8) *AuctioneerExecutePartialSale
SetProgramAsSignerBump sets the "programAsSignerBump" parameter.
func (*AuctioneerExecutePartialSale) SetRentAccount ¶
func (inst *AuctioneerExecutePartialSale) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetRentAccount sets the "rent" account.
func (*AuctioneerExecutePartialSale) SetSellerAccount ¶
func (inst *AuctioneerExecutePartialSale) SetSellerAccount(seller ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetSellerAccount sets the "seller" account.
func (*AuctioneerExecutePartialSale) SetSellerPaymentReceiptAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetSellerPaymentReceiptAccountAccount sets the "sellerPaymentReceiptAccount" account.
func (*AuctioneerExecutePartialSale) SetSellerTradeStateAccount ¶
func (inst *AuctioneerExecutePartialSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetSellerTradeStateAccount sets the "sellerTradeState" account.
func (*AuctioneerExecutePartialSale) SetSystemProgramAccount ¶
func (inst *AuctioneerExecutePartialSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerExecutePartialSale) SetTokenAccountAccount ¶
func (inst *AuctioneerExecutePartialSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetTokenAccountAccount sets the "tokenAccount" account.
func (*AuctioneerExecutePartialSale) SetTokenMintAccount ¶
func (inst *AuctioneerExecutePartialSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetTokenMintAccount sets the "tokenMint" account.
func (*AuctioneerExecutePartialSale) SetTokenProgramAccount ¶
func (inst *AuctioneerExecutePartialSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerExecutePartialSale) SetTokenSize ¶
func (inst *AuctioneerExecutePartialSale) SetTokenSize(tokenSize uint64) *AuctioneerExecutePartialSale
SetTokenSize sets the "tokenSize" parameter.
func (*AuctioneerExecutePartialSale) SetTreasuryMintAccount ¶
func (inst *AuctioneerExecutePartialSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerExecutePartialSale
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*AuctioneerExecutePartialSale) UnmarshalWithDecoder ¶
func (obj *AuctioneerExecutePartialSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerExecutePartialSale) Validate ¶
func (inst *AuctioneerExecutePartialSale) Validate() error
func (AuctioneerExecutePartialSale) ValidateAndBuild ¶
func (inst AuctioneerExecutePartialSale) 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 AuctioneerExecuteSale ¶
type AuctioneerExecuteSale struct { EscrowPaymentBump *uint8 FreeTradeStateBump *uint8 ProgramAsSignerBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [WRITE] buyer // // [1] = [WRITE] seller // // [2] = [WRITE] tokenAccount // // [3] = [] tokenMint // // [4] = [] metadata // // [5] = [] treasuryMint // // [6] = [WRITE] escrowPaymentAccount // // [7] = [WRITE] sellerPaymentReceiptAccount // // [8] = [WRITE] buyerReceiptTokenAccount // // [9] = [] authority // // [10] = [SIGNER] auctioneerAuthority // // [11] = [] auctionHouse // // [12] = [WRITE] auctionHouseFeeAccount // // [13] = [WRITE] auctionHouseTreasury // // [14] = [WRITE] buyerTradeState // // [15] = [WRITE] sellerTradeState // // [16] = [WRITE] freeTradeState // // [17] = [] ahAuctioneerPda // // [18] = [] tokenProgram // // [19] = [] systemProgram // // [20] = [] ataProgram // // [21] = [] programAsSigner // // [22] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerExecuteSale is the `auctioneerExecuteSale` instruction.
func NewAuctioneerExecuteSaleInstruction ¶
func NewAuctioneerExecuteSaleInstruction( escrowPaymentBump uint8, freeTradeStateBump uint8, programAsSignerBump uint8, buyerPrice uint64, tokenSize uint64, buyer ag_solanago.PublicKey, seller ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, metadata ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, sellerPaymentReceiptAccount ag_solanago.PublicKey, buyerReceiptTokenAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, auctionHouseTreasury ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, sellerTradeState ag_solanago.PublicKey, freeTradeState ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, programAsSigner ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerExecuteSale
NewAuctioneerExecuteSaleInstruction declares a new AuctioneerExecuteSale instruction with the provided parameters and accounts.
func NewAuctioneerExecuteSaleInstructionBuilder ¶
func NewAuctioneerExecuteSaleInstructionBuilder() *AuctioneerExecuteSale
NewAuctioneerExecuteSaleInstructionBuilder creates a new `AuctioneerExecuteSale` instruction builder.
func (AuctioneerExecuteSale) Build ¶
func (inst AuctioneerExecuteSale) Build() *Instruction
func (*AuctioneerExecuteSale) EncodeToTree ¶
func (inst *AuctioneerExecuteSale) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerExecuteSale) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerExecuteSale) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerExecuteSale) GetAtaProgramAccount ¶
func (inst *AuctioneerExecuteSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*AuctioneerExecuteSale) GetAuctionHouseAccount ¶
func (inst *AuctioneerExecuteSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerExecuteSale) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerExecuteSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerExecuteSale) GetAuctionHouseTreasuryAccount ¶
func (inst *AuctioneerExecuteSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
GetAuctionHouseTreasuryAccount gets the "auctionHouseTreasury" account.
func (*AuctioneerExecuteSale) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerExecuteSale) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerExecuteSale) GetAuthorityAccount ¶
func (inst *AuctioneerExecuteSale) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerExecuteSale) GetBuyerAccount ¶
func (inst *AuctioneerExecuteSale) GetBuyerAccount() *ag_solanago.AccountMeta
GetBuyerAccount gets the "buyer" account.
func (*AuctioneerExecuteSale) GetBuyerReceiptTokenAccountAccount ¶
func (inst *AuctioneerExecuteSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
GetBuyerReceiptTokenAccountAccount gets the "buyerReceiptTokenAccount" account.
func (*AuctioneerExecuteSale) GetBuyerTradeStateAccount ¶
func (inst *AuctioneerExecuteSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*AuctioneerExecuteSale) GetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerExecuteSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*AuctioneerExecuteSale) GetFreeTradeStateAccount ¶
func (inst *AuctioneerExecuteSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
GetFreeTradeStateAccount gets the "freeTradeState" account.
func (*AuctioneerExecuteSale) GetMetadataAccount ¶
func (inst *AuctioneerExecuteSale) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*AuctioneerExecuteSale) GetProgramAsSignerAccount ¶
func (inst *AuctioneerExecuteSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
GetProgramAsSignerAccount gets the "programAsSigner" account.
func (*AuctioneerExecuteSale) GetRentAccount ¶
func (inst *AuctioneerExecuteSale) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerExecuteSale) GetSellerAccount ¶
func (inst *AuctioneerExecuteSale) GetSellerAccount() *ag_solanago.AccountMeta
GetSellerAccount gets the "seller" account.
func (*AuctioneerExecuteSale) GetSellerPaymentReceiptAccountAccount ¶
func (inst *AuctioneerExecuteSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
GetSellerPaymentReceiptAccountAccount gets the "sellerPaymentReceiptAccount" account.
func (*AuctioneerExecuteSale) GetSellerTradeStateAccount ¶
func (inst *AuctioneerExecuteSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
GetSellerTradeStateAccount gets the "sellerTradeState" account.
func (*AuctioneerExecuteSale) GetSystemProgramAccount ¶
func (inst *AuctioneerExecuteSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerExecuteSale) GetTokenAccountAccount ¶
func (inst *AuctioneerExecuteSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*AuctioneerExecuteSale) GetTokenMintAccount ¶
func (inst *AuctioneerExecuteSale) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*AuctioneerExecuteSale) GetTokenProgramAccount ¶
func (inst *AuctioneerExecuteSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerExecuteSale) GetTreasuryMintAccount ¶
func (inst *AuctioneerExecuteSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (AuctioneerExecuteSale) MarshalWithEncoder ¶
func (obj AuctioneerExecuteSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerExecuteSale) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerExecuteSale) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerExecuteSale) SetAtaProgramAccount ¶
func (inst *AuctioneerExecuteSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAtaProgramAccount sets the "ataProgram" account.
func (*AuctioneerExecuteSale) SetAuctionHouseAccount ¶
func (inst *AuctioneerExecuteSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerExecuteSale) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerExecuteSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerExecuteSale) SetAuctionHouseTreasuryAccount ¶
func (inst *AuctioneerExecuteSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAuctionHouseTreasuryAccount sets the "auctionHouseTreasury" account.
func (*AuctioneerExecuteSale) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerExecuteSale) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerExecuteSale) SetAuthorityAccount ¶
func (inst *AuctioneerExecuteSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerExecuteSale
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerExecuteSale) SetBuyerAccount ¶
func (inst *AuctioneerExecuteSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *AuctioneerExecuteSale
SetBuyerAccount sets the "buyer" account.
func (*AuctioneerExecuteSale) SetBuyerPrice ¶
func (inst *AuctioneerExecuteSale) SetBuyerPrice(buyerPrice uint64) *AuctioneerExecuteSale
SetBuyerPrice sets the "buyerPrice" parameter.
func (*AuctioneerExecuteSale) SetBuyerReceiptTokenAccountAccount ¶
func (inst *AuctioneerExecuteSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
SetBuyerReceiptTokenAccountAccount sets the "buyerReceiptTokenAccount" account.
func (*AuctioneerExecuteSale) SetBuyerTradeStateAccount ¶
func (inst *AuctioneerExecuteSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerExecuteSale
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*AuctioneerExecuteSale) SetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerExecuteSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*AuctioneerExecuteSale) SetEscrowPaymentBump ¶
func (inst *AuctioneerExecuteSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerExecuteSale
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*AuctioneerExecuteSale) SetFreeTradeStateAccount ¶
func (inst *AuctioneerExecuteSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *AuctioneerExecuteSale
SetFreeTradeStateAccount sets the "freeTradeState" account.
func (*AuctioneerExecuteSale) SetFreeTradeStateBump ¶
func (inst *AuctioneerExecuteSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *AuctioneerExecuteSale
SetFreeTradeStateBump sets the "freeTradeStateBump" parameter.
func (*AuctioneerExecuteSale) SetMetadataAccount ¶
func (inst *AuctioneerExecuteSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerExecuteSale
SetMetadataAccount sets the "metadata" account.
func (*AuctioneerExecuteSale) SetProgramAsSignerAccount ¶
func (inst *AuctioneerExecuteSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *AuctioneerExecuteSale
SetProgramAsSignerAccount sets the "programAsSigner" account.
func (*AuctioneerExecuteSale) SetProgramAsSignerBump ¶
func (inst *AuctioneerExecuteSale) SetProgramAsSignerBump(programAsSignerBump uint8) *AuctioneerExecuteSale
SetProgramAsSignerBump sets the "programAsSignerBump" parameter.
func (*AuctioneerExecuteSale) SetRentAccount ¶
func (inst *AuctioneerExecuteSale) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerExecuteSale
SetRentAccount sets the "rent" account.
func (*AuctioneerExecuteSale) SetSellerAccount ¶
func (inst *AuctioneerExecuteSale) SetSellerAccount(seller ag_solanago.PublicKey) *AuctioneerExecuteSale
SetSellerAccount sets the "seller" account.
func (*AuctioneerExecuteSale) SetSellerPaymentReceiptAccountAccount ¶
func (inst *AuctioneerExecuteSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
SetSellerPaymentReceiptAccountAccount sets the "sellerPaymentReceiptAccount" account.
func (*AuctioneerExecuteSale) SetSellerTradeStateAccount ¶
func (inst *AuctioneerExecuteSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *AuctioneerExecuteSale
SetSellerTradeStateAccount sets the "sellerTradeState" account.
func (*AuctioneerExecuteSale) SetSystemProgramAccount ¶
func (inst *AuctioneerExecuteSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerExecuteSale
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerExecuteSale) SetTokenAccountAccount ¶
func (inst *AuctioneerExecuteSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerExecuteSale
SetTokenAccountAccount sets the "tokenAccount" account.
func (*AuctioneerExecuteSale) SetTokenMintAccount ¶
func (inst *AuctioneerExecuteSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *AuctioneerExecuteSale
SetTokenMintAccount sets the "tokenMint" account.
func (*AuctioneerExecuteSale) SetTokenProgramAccount ¶
func (inst *AuctioneerExecuteSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerExecuteSale
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerExecuteSale) SetTokenSize ¶
func (inst *AuctioneerExecuteSale) SetTokenSize(tokenSize uint64) *AuctioneerExecuteSale
SetTokenSize sets the "tokenSize" parameter.
func (*AuctioneerExecuteSale) SetTreasuryMintAccount ¶
func (inst *AuctioneerExecuteSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerExecuteSale
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*AuctioneerExecuteSale) UnmarshalWithDecoder ¶
func (obj *AuctioneerExecuteSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerExecuteSale) Validate ¶
func (inst *AuctioneerExecuteSale) Validate() error
func (AuctioneerExecuteSale) ValidateAndBuild ¶
func (inst AuctioneerExecuteSale) 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 AuctioneerPublicBuy ¶
type AuctioneerPublicBuy struct { TradeStateBump *uint8 EscrowPaymentBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [SIGNER] wallet // // [1] = [WRITE] paymentAccount // // [2] = [] transferAuthority // // [3] = [] treasuryMint // // [4] = [] tokenAccount // // [5] = [] metadata // // [6] = [WRITE] escrowPaymentAccount // // [7] = [] authority // // [8] = [SIGNER] auctioneerAuthority // // [9] = [] auctionHouse // // [10] = [WRITE] auctionHouseFeeAccount // // [11] = [WRITE] buyerTradeState // // [12] = [] ahAuctioneerPda // // [13] = [] tokenProgram // // [14] = [] systemProgram // // [15] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerPublicBuy is the `auctioneerPublicBuy` instruction.
func NewAuctioneerPublicBuyInstruction ¶
func NewAuctioneerPublicBuyInstruction( tradeStateBump uint8, escrowPaymentBump uint8, buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, paymentAccount ag_solanago.PublicKey, transferAuthority ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, metadata ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerPublicBuy
NewAuctioneerPublicBuyInstruction declares a new AuctioneerPublicBuy instruction with the provided parameters and accounts.
func NewAuctioneerPublicBuyInstructionBuilder ¶
func NewAuctioneerPublicBuyInstructionBuilder() *AuctioneerPublicBuy
NewAuctioneerPublicBuyInstructionBuilder creates a new `AuctioneerPublicBuy` instruction builder.
func (AuctioneerPublicBuy) Build ¶
func (inst AuctioneerPublicBuy) Build() *Instruction
func (*AuctioneerPublicBuy) EncodeToTree ¶
func (inst *AuctioneerPublicBuy) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerPublicBuy) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerPublicBuy) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerPublicBuy) GetAuctionHouseAccount ¶
func (inst *AuctioneerPublicBuy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerPublicBuy) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerPublicBuy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerPublicBuy) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerPublicBuy) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerPublicBuy) GetAuthorityAccount ¶
func (inst *AuctioneerPublicBuy) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerPublicBuy) GetBuyerTradeStateAccount ¶
func (inst *AuctioneerPublicBuy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*AuctioneerPublicBuy) GetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerPublicBuy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*AuctioneerPublicBuy) GetMetadataAccount ¶
func (inst *AuctioneerPublicBuy) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*AuctioneerPublicBuy) GetPaymentAccountAccount ¶
func (inst *AuctioneerPublicBuy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
GetPaymentAccountAccount gets the "paymentAccount" account.
func (*AuctioneerPublicBuy) GetRentAccount ¶
func (inst *AuctioneerPublicBuy) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerPublicBuy) GetSystemProgramAccount ¶
func (inst *AuctioneerPublicBuy) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerPublicBuy) GetTokenAccountAccount ¶
func (inst *AuctioneerPublicBuy) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*AuctioneerPublicBuy) GetTokenProgramAccount ¶
func (inst *AuctioneerPublicBuy) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerPublicBuy) GetTransferAuthorityAccount ¶
func (inst *AuctioneerPublicBuy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
GetTransferAuthorityAccount gets the "transferAuthority" account.
func (*AuctioneerPublicBuy) GetTreasuryMintAccount ¶
func (inst *AuctioneerPublicBuy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*AuctioneerPublicBuy) GetWalletAccount ¶
func (inst *AuctioneerPublicBuy) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (AuctioneerPublicBuy) MarshalWithEncoder ¶
func (obj AuctioneerPublicBuy) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerPublicBuy) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerPublicBuy) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerPublicBuy
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerPublicBuy) SetAuctionHouseAccount ¶
func (inst *AuctioneerPublicBuy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerPublicBuy
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerPublicBuy) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerPublicBuy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerPublicBuy) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerPublicBuy) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerPublicBuy
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerPublicBuy) SetAuthorityAccount ¶
func (inst *AuctioneerPublicBuy) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerPublicBuy
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerPublicBuy) SetBuyerPrice ¶
func (inst *AuctioneerPublicBuy) SetBuyerPrice(buyerPrice uint64) *AuctioneerPublicBuy
SetBuyerPrice sets the "buyerPrice" parameter.
func (*AuctioneerPublicBuy) SetBuyerTradeStateAccount ¶
func (inst *AuctioneerPublicBuy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *AuctioneerPublicBuy
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*AuctioneerPublicBuy) SetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerPublicBuy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*AuctioneerPublicBuy) SetEscrowPaymentBump ¶
func (inst *AuctioneerPublicBuy) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerPublicBuy
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*AuctioneerPublicBuy) SetMetadataAccount ¶
func (inst *AuctioneerPublicBuy) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerPublicBuy
SetMetadataAccount sets the "metadata" account.
func (*AuctioneerPublicBuy) SetPaymentAccountAccount ¶
func (inst *AuctioneerPublicBuy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
SetPaymentAccountAccount sets the "paymentAccount" account.
func (*AuctioneerPublicBuy) SetRentAccount ¶
func (inst *AuctioneerPublicBuy) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerPublicBuy
SetRentAccount sets the "rent" account.
func (*AuctioneerPublicBuy) SetSystemProgramAccount ¶
func (inst *AuctioneerPublicBuy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerPublicBuy
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerPublicBuy) SetTokenAccountAccount ¶
func (inst *AuctioneerPublicBuy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerPublicBuy
SetTokenAccountAccount sets the "tokenAccount" account.
func (*AuctioneerPublicBuy) SetTokenProgramAccount ¶
func (inst *AuctioneerPublicBuy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerPublicBuy
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerPublicBuy) SetTokenSize ¶
func (inst *AuctioneerPublicBuy) SetTokenSize(tokenSize uint64) *AuctioneerPublicBuy
SetTokenSize sets the "tokenSize" parameter.
func (*AuctioneerPublicBuy) SetTradeStateBump ¶
func (inst *AuctioneerPublicBuy) SetTradeStateBump(tradeStateBump uint8) *AuctioneerPublicBuy
SetTradeStateBump sets the "tradeStateBump" parameter.
func (*AuctioneerPublicBuy) SetTransferAuthorityAccount ¶
func (inst *AuctioneerPublicBuy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *AuctioneerPublicBuy
SetTransferAuthorityAccount sets the "transferAuthority" account.
func (*AuctioneerPublicBuy) SetTreasuryMintAccount ¶
func (inst *AuctioneerPublicBuy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerPublicBuy
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*AuctioneerPublicBuy) SetWalletAccount ¶
func (inst *AuctioneerPublicBuy) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerPublicBuy
SetWalletAccount sets the "wallet" account.
func (*AuctioneerPublicBuy) UnmarshalWithDecoder ¶
func (obj *AuctioneerPublicBuy) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerPublicBuy) Validate ¶
func (inst *AuctioneerPublicBuy) Validate() error
func (AuctioneerPublicBuy) ValidateAndBuild ¶
func (inst AuctioneerPublicBuy) 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 AuctioneerSell ¶
type AuctioneerSell struct { TradeStateBump *uint8 FreeTradeStateBump *uint8 ProgramAsSignerBump *uint8 TokenSize *uint64 // [0] = [WRITE] wallet // // [1] = [WRITE] tokenAccount // // [2] = [] metadata // // [3] = [] authority // // [4] = [SIGNER] auctioneerAuthority // // [5] = [] auctionHouse // // [6] = [WRITE] auctionHouseFeeAccount // // [7] = [WRITE] sellerTradeState // // [8] = [WRITE] freeSellerTradeState // // [9] = [] ahAuctioneerPda // // [10] = [] programAsSigner // // [11] = [] tokenProgram // // [12] = [] systemProgram // // [13] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerSell is the `auctioneerSell` instruction.
func NewAuctioneerSellInstruction ¶
func NewAuctioneerSellInstruction( tradeStateBump uint8, freeTradeStateBump uint8, programAsSignerBump uint8, tokenSize uint64, wallet ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, metadata ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, sellerTradeState ag_solanago.PublicKey, freeSellerTradeState ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, programAsSigner ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerSell
NewAuctioneerSellInstruction declares a new AuctioneerSell instruction with the provided parameters and accounts.
func NewAuctioneerSellInstructionBuilder ¶
func NewAuctioneerSellInstructionBuilder() *AuctioneerSell
NewAuctioneerSellInstructionBuilder creates a new `AuctioneerSell` instruction builder.
func (AuctioneerSell) Build ¶
func (inst AuctioneerSell) Build() *Instruction
func (*AuctioneerSell) EncodeToTree ¶
func (inst *AuctioneerSell) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerSell) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerSell) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerSell) GetAuctionHouseAccount ¶
func (inst *AuctioneerSell) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerSell) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerSell) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerSell) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerSell) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerSell) GetAuthorityAccount ¶
func (inst *AuctioneerSell) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerSell) GetFreeSellerTradeStateAccount ¶
func (inst *AuctioneerSell) GetFreeSellerTradeStateAccount() *ag_solanago.AccountMeta
GetFreeSellerTradeStateAccount gets the "freeSellerTradeState" account.
func (*AuctioneerSell) GetMetadataAccount ¶
func (inst *AuctioneerSell) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*AuctioneerSell) GetProgramAsSignerAccount ¶
func (inst *AuctioneerSell) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
GetProgramAsSignerAccount gets the "programAsSigner" account.
func (*AuctioneerSell) GetRentAccount ¶
func (inst *AuctioneerSell) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerSell) GetSellerTradeStateAccount ¶
func (inst *AuctioneerSell) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
GetSellerTradeStateAccount gets the "sellerTradeState" account.
func (*AuctioneerSell) GetSystemProgramAccount ¶
func (inst *AuctioneerSell) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerSell) GetTokenAccountAccount ¶
func (inst *AuctioneerSell) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*AuctioneerSell) GetTokenProgramAccount ¶
func (inst *AuctioneerSell) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerSell) GetWalletAccount ¶
func (inst *AuctioneerSell) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (AuctioneerSell) MarshalWithEncoder ¶
func (obj AuctioneerSell) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerSell) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerSell) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerSell
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerSell) SetAuctionHouseAccount ¶
func (inst *AuctioneerSell) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerSell
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerSell) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerSell) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerSell
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerSell) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerSell) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerSell
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerSell) SetAuthorityAccount ¶
func (inst *AuctioneerSell) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerSell
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerSell) SetFreeSellerTradeStateAccount ¶
func (inst *AuctioneerSell) SetFreeSellerTradeStateAccount(freeSellerTradeState ag_solanago.PublicKey) *AuctioneerSell
SetFreeSellerTradeStateAccount sets the "freeSellerTradeState" account.
func (*AuctioneerSell) SetFreeTradeStateBump ¶
func (inst *AuctioneerSell) SetFreeTradeStateBump(freeTradeStateBump uint8) *AuctioneerSell
SetFreeTradeStateBump sets the "freeTradeStateBump" parameter.
func (*AuctioneerSell) SetMetadataAccount ¶
func (inst *AuctioneerSell) SetMetadataAccount(metadata ag_solanago.PublicKey) *AuctioneerSell
SetMetadataAccount sets the "metadata" account.
func (*AuctioneerSell) SetProgramAsSignerAccount ¶
func (inst *AuctioneerSell) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *AuctioneerSell
SetProgramAsSignerAccount sets the "programAsSigner" account.
func (*AuctioneerSell) SetProgramAsSignerBump ¶
func (inst *AuctioneerSell) SetProgramAsSignerBump(programAsSignerBump uint8) *AuctioneerSell
SetProgramAsSignerBump sets the "programAsSignerBump" parameter.
func (*AuctioneerSell) SetRentAccount ¶
func (inst *AuctioneerSell) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerSell
SetRentAccount sets the "rent" account.
func (*AuctioneerSell) SetSellerTradeStateAccount ¶
func (inst *AuctioneerSell) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *AuctioneerSell
SetSellerTradeStateAccount sets the "sellerTradeState" account.
func (*AuctioneerSell) SetSystemProgramAccount ¶
func (inst *AuctioneerSell) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerSell
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerSell) SetTokenAccountAccount ¶
func (inst *AuctioneerSell) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *AuctioneerSell
SetTokenAccountAccount sets the "tokenAccount" account.
func (*AuctioneerSell) SetTokenProgramAccount ¶
func (inst *AuctioneerSell) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerSell
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerSell) SetTokenSize ¶
func (inst *AuctioneerSell) SetTokenSize(tokenSize uint64) *AuctioneerSell
SetTokenSize sets the "tokenSize" parameter.
func (*AuctioneerSell) SetTradeStateBump ¶
func (inst *AuctioneerSell) SetTradeStateBump(tradeStateBump uint8) *AuctioneerSell
SetTradeStateBump sets the "tradeStateBump" parameter.
func (*AuctioneerSell) SetWalletAccount ¶
func (inst *AuctioneerSell) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerSell
SetWalletAccount sets the "wallet" account.
func (*AuctioneerSell) UnmarshalWithDecoder ¶
func (obj *AuctioneerSell) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerSell) Validate ¶
func (inst *AuctioneerSell) Validate() error
func (AuctioneerSell) ValidateAndBuild ¶
func (inst AuctioneerSell) 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 AuctioneerWithdraw ¶
type AuctioneerWithdraw struct { EscrowPaymentBump *uint8 Amount *uint64 // [0] = [] wallet // // [1] = [WRITE] receiptAccount // // [2] = [WRITE] escrowPaymentAccount // // [3] = [] treasuryMint // // [4] = [] authority // // [5] = [SIGNER] auctioneerAuthority // // [6] = [] auctionHouse // // [7] = [WRITE] auctionHouseFeeAccount // // [8] = [] ahAuctioneerPda // // [9] = [] tokenProgram // // [10] = [] systemProgram // // [11] = [] ataProgram // // [12] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
AuctioneerWithdraw is the `auctioneerWithdraw` instruction.
func NewAuctioneerWithdrawInstruction ¶
func NewAuctioneerWithdrawInstruction( escrowPaymentBump uint8, amount uint64, wallet ag_solanago.PublicKey, receiptAccount ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *AuctioneerWithdraw
NewAuctioneerWithdrawInstruction declares a new AuctioneerWithdraw instruction with the provided parameters and accounts.
func NewAuctioneerWithdrawInstructionBuilder ¶
func NewAuctioneerWithdrawInstructionBuilder() *AuctioneerWithdraw
NewAuctioneerWithdrawInstructionBuilder creates a new `AuctioneerWithdraw` instruction builder.
func (AuctioneerWithdraw) Build ¶
func (inst AuctioneerWithdraw) Build() *Instruction
func (*AuctioneerWithdraw) EncodeToTree ¶
func (inst *AuctioneerWithdraw) EncodeToTree(parent ag_treeout.Branches)
func (*AuctioneerWithdraw) GetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerWithdraw) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*AuctioneerWithdraw) GetAtaProgramAccount ¶
func (inst *AuctioneerWithdraw) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*AuctioneerWithdraw) GetAuctionHouseAccount ¶
func (inst *AuctioneerWithdraw) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*AuctioneerWithdraw) GetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerWithdraw) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*AuctioneerWithdraw) GetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerWithdraw) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*AuctioneerWithdraw) GetAuthorityAccount ¶
func (inst *AuctioneerWithdraw) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*AuctioneerWithdraw) GetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerWithdraw) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*AuctioneerWithdraw) GetReceiptAccountAccount ¶
func (inst *AuctioneerWithdraw) GetReceiptAccountAccount() *ag_solanago.AccountMeta
GetReceiptAccountAccount gets the "receiptAccount" account.
func (*AuctioneerWithdraw) GetRentAccount ¶
func (inst *AuctioneerWithdraw) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*AuctioneerWithdraw) GetSystemProgramAccount ¶
func (inst *AuctioneerWithdraw) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*AuctioneerWithdraw) GetTokenProgramAccount ¶
func (inst *AuctioneerWithdraw) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*AuctioneerWithdraw) GetTreasuryMintAccount ¶
func (inst *AuctioneerWithdraw) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*AuctioneerWithdraw) GetWalletAccount ¶
func (inst *AuctioneerWithdraw) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (AuctioneerWithdraw) MarshalWithEncoder ¶
func (obj AuctioneerWithdraw) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*AuctioneerWithdraw) SetAhAuctioneerPdaAccount ¶
func (inst *AuctioneerWithdraw) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *AuctioneerWithdraw
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*AuctioneerWithdraw) SetAmount ¶
func (inst *AuctioneerWithdraw) SetAmount(amount uint64) *AuctioneerWithdraw
SetAmount sets the "amount" parameter.
func (*AuctioneerWithdraw) SetAtaProgramAccount ¶
func (inst *AuctioneerWithdraw) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *AuctioneerWithdraw
SetAtaProgramAccount sets the "ataProgram" account.
func (*AuctioneerWithdraw) SetAuctionHouseAccount ¶
func (inst *AuctioneerWithdraw) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *AuctioneerWithdraw
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*AuctioneerWithdraw) SetAuctionHouseFeeAccountAccount ¶
func (inst *AuctioneerWithdraw) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *AuctioneerWithdraw
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*AuctioneerWithdraw) SetAuctioneerAuthorityAccount ¶
func (inst *AuctioneerWithdraw) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *AuctioneerWithdraw
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*AuctioneerWithdraw) SetAuthorityAccount ¶
func (inst *AuctioneerWithdraw) SetAuthorityAccount(authority ag_solanago.PublicKey) *AuctioneerWithdraw
SetAuthorityAccount sets the "authority" account.
func (*AuctioneerWithdraw) SetEscrowPaymentAccountAccount ¶
func (inst *AuctioneerWithdraw) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *AuctioneerWithdraw
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*AuctioneerWithdraw) SetEscrowPaymentBump ¶
func (inst *AuctioneerWithdraw) SetEscrowPaymentBump(escrowPaymentBump uint8) *AuctioneerWithdraw
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*AuctioneerWithdraw) SetReceiptAccountAccount ¶
func (inst *AuctioneerWithdraw) SetReceiptAccountAccount(receiptAccount ag_solanago.PublicKey) *AuctioneerWithdraw
SetReceiptAccountAccount sets the "receiptAccount" account.
func (*AuctioneerWithdraw) SetRentAccount ¶
func (inst *AuctioneerWithdraw) SetRentAccount(rent ag_solanago.PublicKey) *AuctioneerWithdraw
SetRentAccount sets the "rent" account.
func (*AuctioneerWithdraw) SetSystemProgramAccount ¶
func (inst *AuctioneerWithdraw) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *AuctioneerWithdraw
SetSystemProgramAccount sets the "systemProgram" account.
func (*AuctioneerWithdraw) SetTokenProgramAccount ¶
func (inst *AuctioneerWithdraw) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *AuctioneerWithdraw
SetTokenProgramAccount sets the "tokenProgram" account.
func (*AuctioneerWithdraw) SetTreasuryMintAccount ¶
func (inst *AuctioneerWithdraw) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *AuctioneerWithdraw
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*AuctioneerWithdraw) SetWalletAccount ¶
func (inst *AuctioneerWithdraw) SetWalletAccount(wallet ag_solanago.PublicKey) *AuctioneerWithdraw
SetWalletAccount sets the "wallet" account.
func (*AuctioneerWithdraw) UnmarshalWithDecoder ¶
func (obj *AuctioneerWithdraw) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*AuctioneerWithdraw) Validate ¶
func (inst *AuctioneerWithdraw) Validate() error
func (AuctioneerWithdraw) ValidateAndBuild ¶
func (inst AuctioneerWithdraw) 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 AuthorityScope ¶
const ( AuthorityScopeDeposit AuthorityScope = iota AuthorityScopeBuy AuthorityScopePublicBuy AuthorityScopeExecuteSale AuthorityScopeSell AuthorityScopeCancel AuthorityScopeWithdraw )
func (AuthorityScope) String ¶
func (value AuthorityScope) String() string
type BidReceipt ¶
type BidReceipt struct { TradeState ag_solanago.PublicKey Bookkeeper ag_solanago.PublicKey AuctionHouse ag_solanago.PublicKey Buyer ag_solanago.PublicKey Metadata ag_solanago.PublicKey TokenAccount *ag_solanago.PublicKey `bin:"optional"` PurchaseReceipt *ag_solanago.PublicKey `bin:"optional"` Price uint64 TokenSize uint64 Bump uint8 TradeStateBump uint8 CreatedAt int64 CanceledAt *int64 `bin:"optional"` }
func (BidReceipt) MarshalWithEncoder ¶
func (obj BidReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*BidReceipt) UnmarshalWithDecoder ¶
func (obj *BidReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type Buy ¶
type Buy struct { TradeStateBump *uint8 EscrowPaymentBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [SIGNER] wallet // // [1] = [WRITE] paymentAccount // // [2] = [] transferAuthority // // [3] = [] treasuryMint // // [4] = [] tokenAccount // // [5] = [] metadata // // [6] = [WRITE] escrowPaymentAccount // // [7] = [] authority // // [8] = [] auctionHouse // // [9] = [WRITE] auctionHouseFeeAccount // // [10] = [WRITE] buyerTradeState // // [11] = [] tokenProgram // // [12] = [] systemProgram // // [13] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
Buy is the `buy` instruction.
func NewBuyInstruction ¶
func NewBuyInstruction( tradeStateBump uint8, escrowPaymentBump uint8, buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, paymentAccount ag_solanago.PublicKey, transferAuthority ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, metadata ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *Buy
NewBuyInstruction declares a new Buy instruction with the provided parameters and accounts.
func NewBuyInstructionBuilder ¶
func NewBuyInstructionBuilder() *Buy
NewBuyInstructionBuilder creates a new `Buy` instruction builder.
func (Buy) Build ¶
func (inst Buy) Build() *Instruction
func (*Buy) EncodeToTree ¶
func (inst *Buy) EncodeToTree(parent ag_treeout.Branches)
func (*Buy) GetAuctionHouseAccount ¶
func (inst *Buy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*Buy) GetAuctionHouseFeeAccountAccount ¶
func (inst *Buy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*Buy) GetAuthorityAccount ¶
func (inst *Buy) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*Buy) GetBuyerTradeStateAccount ¶
func (inst *Buy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*Buy) GetEscrowPaymentAccountAccount ¶
func (inst *Buy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*Buy) GetMetadataAccount ¶
func (inst *Buy) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*Buy) GetPaymentAccountAccount ¶
func (inst *Buy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
GetPaymentAccountAccount gets the "paymentAccount" account.
func (*Buy) GetRentAccount ¶
func (inst *Buy) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*Buy) GetSystemProgramAccount ¶
func (inst *Buy) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Buy) GetTokenAccountAccount ¶
func (inst *Buy) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*Buy) GetTokenProgramAccount ¶
func (inst *Buy) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*Buy) GetTransferAuthorityAccount ¶
func (inst *Buy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
GetTransferAuthorityAccount gets the "transferAuthority" account.
func (*Buy) GetTreasuryMintAccount ¶
func (inst *Buy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*Buy) GetWalletAccount ¶
func (inst *Buy) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (Buy) MarshalWithEncoder ¶
func (*Buy) SetAuctionHouseAccount ¶
func (inst *Buy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Buy
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*Buy) SetAuctionHouseFeeAccountAccount ¶
func (inst *Buy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Buy
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*Buy) SetAuthorityAccount ¶
func (inst *Buy) SetAuthorityAccount(authority ag_solanago.PublicKey) *Buy
SetAuthorityAccount sets the "authority" account.
func (*Buy) SetBuyerPrice ¶
SetBuyerPrice sets the "buyerPrice" parameter.
func (*Buy) SetBuyerTradeStateAccount ¶
func (inst *Buy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *Buy
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*Buy) SetEscrowPaymentAccountAccount ¶
func (inst *Buy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *Buy
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*Buy) SetEscrowPaymentBump ¶
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*Buy) SetMetadataAccount ¶
func (inst *Buy) SetMetadataAccount(metadata ag_solanago.PublicKey) *Buy
SetMetadataAccount sets the "metadata" account.
func (*Buy) SetPaymentAccountAccount ¶
func (inst *Buy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *Buy
SetPaymentAccountAccount sets the "paymentAccount" account.
func (*Buy) SetRentAccount ¶
func (inst *Buy) SetRentAccount(rent ag_solanago.PublicKey) *Buy
SetRentAccount sets the "rent" account.
func (*Buy) SetSystemProgramAccount ¶
func (inst *Buy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Buy
SetSystemProgramAccount sets the "systemProgram" account.
func (*Buy) SetTokenAccountAccount ¶
func (inst *Buy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *Buy
SetTokenAccountAccount sets the "tokenAccount" account.
func (*Buy) SetTokenProgramAccount ¶
func (inst *Buy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Buy
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Buy) SetTokenSize ¶
SetTokenSize sets the "tokenSize" parameter.
func (*Buy) SetTradeStateBump ¶
SetTradeStateBump sets the "tradeStateBump" parameter.
func (*Buy) SetTransferAuthorityAccount ¶
func (inst *Buy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *Buy
SetTransferAuthorityAccount sets the "transferAuthority" account.
func (*Buy) SetTreasuryMintAccount ¶
func (inst *Buy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *Buy
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*Buy) SetWalletAccount ¶
func (inst *Buy) SetWalletAccount(wallet ag_solanago.PublicKey) *Buy
SetWalletAccount sets the "wallet" account.
func (*Buy) UnmarshalWithDecoder ¶
func (Buy) ValidateAndBuild ¶
func (inst Buy) 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 Cancel ¶
type Cancel struct { BuyerPrice *uint64 TokenSize *uint64 // [0] = [WRITE] wallet // // [1] = [WRITE] tokenAccount // // [2] = [] tokenMint // // [3] = [] authority // // [4] = [] auctionHouse // // [5] = [WRITE] auctionHouseFeeAccount // // [6] = [WRITE] tradeState // // [7] = [] tokenProgram ag_solanago.AccountMetaSlice `bin:"-"` }
Cancel is the `cancel` instruction.
func NewCancelInstruction ¶
func NewCancelInstruction( buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, tradeState ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey) *Cancel
NewCancelInstruction declares a new Cancel instruction with the provided parameters and accounts.
func NewCancelInstructionBuilder ¶
func NewCancelInstructionBuilder() *Cancel
NewCancelInstructionBuilder creates a new `Cancel` instruction builder.
func (Cancel) Build ¶
func (inst Cancel) Build() *Instruction
func (*Cancel) EncodeToTree ¶
func (inst *Cancel) EncodeToTree(parent ag_treeout.Branches)
func (*Cancel) GetAuctionHouseAccount ¶
func (inst *Cancel) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*Cancel) GetAuctionHouseFeeAccountAccount ¶
func (inst *Cancel) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*Cancel) GetAuthorityAccount ¶
func (inst *Cancel) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*Cancel) GetTokenAccountAccount ¶
func (inst *Cancel) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*Cancel) GetTokenMintAccount ¶
func (inst *Cancel) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*Cancel) GetTokenProgramAccount ¶
func (inst *Cancel) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*Cancel) GetTradeStateAccount ¶
func (inst *Cancel) GetTradeStateAccount() *ag_solanago.AccountMeta
GetTradeStateAccount gets the "tradeState" account.
func (*Cancel) GetWalletAccount ¶
func (inst *Cancel) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (Cancel) MarshalWithEncoder ¶
func (*Cancel) SetAuctionHouseAccount ¶
func (inst *Cancel) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Cancel
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*Cancel) SetAuctionHouseFeeAccountAccount ¶
func (inst *Cancel) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Cancel
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*Cancel) SetAuthorityAccount ¶
func (inst *Cancel) SetAuthorityAccount(authority ag_solanago.PublicKey) *Cancel
SetAuthorityAccount sets the "authority" account.
func (*Cancel) SetBuyerPrice ¶
SetBuyerPrice sets the "buyerPrice" parameter.
func (*Cancel) SetTokenAccountAccount ¶
func (inst *Cancel) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *Cancel
SetTokenAccountAccount sets the "tokenAccount" account.
func (*Cancel) SetTokenMintAccount ¶
func (inst *Cancel) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *Cancel
SetTokenMintAccount sets the "tokenMint" account.
func (*Cancel) SetTokenProgramAccount ¶
func (inst *Cancel) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Cancel
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Cancel) SetTokenSize ¶
SetTokenSize sets the "tokenSize" parameter.
func (*Cancel) SetTradeStateAccount ¶
func (inst *Cancel) SetTradeStateAccount(tradeState ag_solanago.PublicKey) *Cancel
SetTradeStateAccount sets the "tradeState" account.
func (*Cancel) SetWalletAccount ¶
func (inst *Cancel) SetWalletAccount(wallet ag_solanago.PublicKey) *Cancel
SetWalletAccount sets the "wallet" account.
func (*Cancel) UnmarshalWithDecoder ¶
func (Cancel) ValidateAndBuild ¶
func (inst Cancel) 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 CancelBidReceipt ¶
type CancelBidReceipt struct { // [0] = [WRITE] receipt // // [1] = [] systemProgram // // [2] = [] instruction ag_solanago.AccountMetaSlice `bin:"-"` }
CancelBidReceipt is the `cancelBidReceipt` instruction.
func NewCancelBidReceiptInstruction ¶
func NewCancelBidReceiptInstruction( receipt ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, instruction ag_solanago.PublicKey) *CancelBidReceipt
NewCancelBidReceiptInstruction declares a new CancelBidReceipt instruction with the provided parameters and accounts.
func NewCancelBidReceiptInstructionBuilder ¶
func NewCancelBidReceiptInstructionBuilder() *CancelBidReceipt
NewCancelBidReceiptInstructionBuilder creates a new `CancelBidReceipt` instruction builder.
func (CancelBidReceipt) Build ¶
func (inst CancelBidReceipt) Build() *Instruction
func (*CancelBidReceipt) EncodeToTree ¶
func (inst *CancelBidReceipt) EncodeToTree(parent ag_treeout.Branches)
func (*CancelBidReceipt) GetInstructionAccount ¶
func (inst *CancelBidReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
GetInstructionAccount gets the "instruction" account.
func (*CancelBidReceipt) GetReceiptAccount ¶
func (inst *CancelBidReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
GetReceiptAccount gets the "receipt" account.
func (*CancelBidReceipt) GetSystemProgramAccount ¶
func (inst *CancelBidReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (CancelBidReceipt) MarshalWithEncoder ¶
func (obj CancelBidReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*CancelBidReceipt) SetInstructionAccount ¶
func (inst *CancelBidReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *CancelBidReceipt
SetInstructionAccount sets the "instruction" account.
func (*CancelBidReceipt) SetReceiptAccount ¶
func (inst *CancelBidReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *CancelBidReceipt
SetReceiptAccount sets the "receipt" account.
func (*CancelBidReceipt) SetSystemProgramAccount ¶
func (inst *CancelBidReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CancelBidReceipt
SetSystemProgramAccount sets the "systemProgram" account.
func (*CancelBidReceipt) UnmarshalWithDecoder ¶
func (obj *CancelBidReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*CancelBidReceipt) Validate ¶
func (inst *CancelBidReceipt) Validate() error
func (CancelBidReceipt) ValidateAndBuild ¶
func (inst CancelBidReceipt) 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 CancelListingReceipt ¶
type CancelListingReceipt struct { // [0] = [WRITE] receipt // // [1] = [] systemProgram // // [2] = [] instruction ag_solanago.AccountMetaSlice `bin:"-"` }
CancelListingReceipt is the `cancelListingReceipt` instruction.
func NewCancelListingReceiptInstruction ¶
func NewCancelListingReceiptInstruction( receipt ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, instruction ag_solanago.PublicKey) *CancelListingReceipt
NewCancelListingReceiptInstruction declares a new CancelListingReceipt instruction with the provided parameters and accounts.
func NewCancelListingReceiptInstructionBuilder ¶
func NewCancelListingReceiptInstructionBuilder() *CancelListingReceipt
NewCancelListingReceiptInstructionBuilder creates a new `CancelListingReceipt` instruction builder.
func (CancelListingReceipt) Build ¶
func (inst CancelListingReceipt) Build() *Instruction
func (*CancelListingReceipt) EncodeToTree ¶
func (inst *CancelListingReceipt) EncodeToTree(parent ag_treeout.Branches)
func (*CancelListingReceipt) GetInstructionAccount ¶
func (inst *CancelListingReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
GetInstructionAccount gets the "instruction" account.
func (*CancelListingReceipt) GetReceiptAccount ¶
func (inst *CancelListingReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
GetReceiptAccount gets the "receipt" account.
func (*CancelListingReceipt) GetSystemProgramAccount ¶
func (inst *CancelListingReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (CancelListingReceipt) MarshalWithEncoder ¶
func (obj CancelListingReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*CancelListingReceipt) SetInstructionAccount ¶
func (inst *CancelListingReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *CancelListingReceipt
SetInstructionAccount sets the "instruction" account.
func (*CancelListingReceipt) SetReceiptAccount ¶
func (inst *CancelListingReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *CancelListingReceipt
SetReceiptAccount sets the "receipt" account.
func (*CancelListingReceipt) SetSystemProgramAccount ¶
func (inst *CancelListingReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CancelListingReceipt
SetSystemProgramAccount sets the "systemProgram" account.
func (*CancelListingReceipt) UnmarshalWithDecoder ¶
func (obj *CancelListingReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*CancelListingReceipt) Validate ¶
func (inst *CancelListingReceipt) Validate() error
func (CancelListingReceipt) ValidateAndBuild ¶
func (inst CancelListingReceipt) 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 CancelType ¶
const ( CancelTypeCancel CancelType = iota CancelTypeAuctioneerCancel )
func (CancelType) String ¶
func (value CancelType) String() string
type CloseEscrowAccount ¶
type CloseEscrowAccount struct { EscrowPaymentBump *uint8 // [0] = [SIGNER] wallet // // [1] = [WRITE] escrowPaymentAccount // // [2] = [] auctionHouse // // [3] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
CloseEscrowAccount is the `closeEscrowAccount` instruction.
func NewCloseEscrowAccountInstruction ¶
func NewCloseEscrowAccountInstruction( escrowPaymentBump uint8, wallet ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *CloseEscrowAccount
NewCloseEscrowAccountInstruction declares a new CloseEscrowAccount instruction with the provided parameters and accounts.
func NewCloseEscrowAccountInstructionBuilder ¶
func NewCloseEscrowAccountInstructionBuilder() *CloseEscrowAccount
NewCloseEscrowAccountInstructionBuilder creates a new `CloseEscrowAccount` instruction builder.
func (CloseEscrowAccount) Build ¶
func (inst CloseEscrowAccount) Build() *Instruction
func (*CloseEscrowAccount) EncodeToTree ¶
func (inst *CloseEscrowAccount) EncodeToTree(parent ag_treeout.Branches)
func (*CloseEscrowAccount) GetAuctionHouseAccount ¶
func (inst *CloseEscrowAccount) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*CloseEscrowAccount) GetEscrowPaymentAccountAccount ¶
func (inst *CloseEscrowAccount) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*CloseEscrowAccount) GetSystemProgramAccount ¶
func (inst *CloseEscrowAccount) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*CloseEscrowAccount) GetWalletAccount ¶
func (inst *CloseEscrowAccount) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (CloseEscrowAccount) MarshalWithEncoder ¶
func (obj CloseEscrowAccount) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*CloseEscrowAccount) SetAuctionHouseAccount ¶
func (inst *CloseEscrowAccount) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *CloseEscrowAccount
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*CloseEscrowAccount) SetEscrowPaymentAccountAccount ¶
func (inst *CloseEscrowAccount) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *CloseEscrowAccount
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*CloseEscrowAccount) SetEscrowPaymentBump ¶
func (inst *CloseEscrowAccount) SetEscrowPaymentBump(escrowPaymentBump uint8) *CloseEscrowAccount
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*CloseEscrowAccount) SetSystemProgramAccount ¶
func (inst *CloseEscrowAccount) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CloseEscrowAccount
SetSystemProgramAccount sets the "systemProgram" account.
func (*CloseEscrowAccount) SetWalletAccount ¶
func (inst *CloseEscrowAccount) SetWalletAccount(wallet ag_solanago.PublicKey) *CloseEscrowAccount
SetWalletAccount sets the "wallet" account.
func (*CloseEscrowAccount) UnmarshalWithDecoder ¶
func (obj *CloseEscrowAccount) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*CloseEscrowAccount) Validate ¶
func (inst *CloseEscrowAccount) Validate() error
func (CloseEscrowAccount) ValidateAndBuild ¶
func (inst CloseEscrowAccount) 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 CreateAuctionHouse ¶
type CreateAuctionHouse struct { Bump *uint8 FeePayerBump *uint8 TreasuryBump *uint8 SellerFeeBasisPoints *uint16 RequiresSignOff *bool CanChangeSalePrice *bool // [0] = [] treasuryMint // // [1] = [WRITE, SIGNER] payer // // [2] = [] authority // // [3] = [WRITE] feeWithdrawalDestination // // [4] = [WRITE] treasuryWithdrawalDestination // // [5] = [] treasuryWithdrawalDestinationOwner // // [6] = [WRITE] auctionHouse // // [7] = [WRITE] auctionHouseFeeAccount // // [8] = [WRITE] auctionHouseTreasury // // [9] = [] tokenProgram // // [10] = [] systemProgram // // [11] = [] ataProgram // // [12] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
CreateAuctionHouse is the `createAuctionHouse` instruction.
func NewCreateAuctionHouseInstruction ¶
func NewCreateAuctionHouseInstruction( bump uint8, feePayerBump uint8, treasuryBump uint8, sellerFeeBasisPoints uint16, requiresSignOff bool, canChangeSalePrice bool, treasuryMint ag_solanago.PublicKey, payer ag_solanago.PublicKey, authority ag_solanago.PublicKey, feeWithdrawalDestination ag_solanago.PublicKey, treasuryWithdrawalDestination ag_solanago.PublicKey, treasuryWithdrawalDestinationOwner ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, auctionHouseTreasury ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *CreateAuctionHouse
NewCreateAuctionHouseInstruction declares a new CreateAuctionHouse instruction with the provided parameters and accounts.
func NewCreateAuctionHouseInstructionBuilder ¶
func NewCreateAuctionHouseInstructionBuilder() *CreateAuctionHouse
NewCreateAuctionHouseInstructionBuilder creates a new `CreateAuctionHouse` instruction builder.
func (CreateAuctionHouse) Build ¶
func (inst CreateAuctionHouse) Build() *Instruction
func (*CreateAuctionHouse) EncodeToTree ¶
func (inst *CreateAuctionHouse) EncodeToTree(parent ag_treeout.Branches)
func (*CreateAuctionHouse) GetAtaProgramAccount ¶
func (inst *CreateAuctionHouse) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*CreateAuctionHouse) GetAuctionHouseAccount ¶
func (inst *CreateAuctionHouse) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*CreateAuctionHouse) GetAuctionHouseFeeAccountAccount ¶
func (inst *CreateAuctionHouse) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*CreateAuctionHouse) GetAuctionHouseTreasuryAccount ¶
func (inst *CreateAuctionHouse) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
GetAuctionHouseTreasuryAccount gets the "auctionHouseTreasury" account.
func (*CreateAuctionHouse) GetAuthorityAccount ¶
func (inst *CreateAuctionHouse) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*CreateAuctionHouse) GetFeeWithdrawalDestinationAccount ¶
func (inst *CreateAuctionHouse) GetFeeWithdrawalDestinationAccount() *ag_solanago.AccountMeta
GetFeeWithdrawalDestinationAccount gets the "feeWithdrawalDestination" account.
func (*CreateAuctionHouse) GetPayerAccount ¶
func (inst *CreateAuctionHouse) GetPayerAccount() *ag_solanago.AccountMeta
GetPayerAccount gets the "payer" account.
func (*CreateAuctionHouse) GetRentAccount ¶
func (inst *CreateAuctionHouse) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*CreateAuctionHouse) GetSystemProgramAccount ¶
func (inst *CreateAuctionHouse) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*CreateAuctionHouse) GetTokenProgramAccount ¶
func (inst *CreateAuctionHouse) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*CreateAuctionHouse) GetTreasuryMintAccount ¶
func (inst *CreateAuctionHouse) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*CreateAuctionHouse) GetTreasuryWithdrawalDestinationAccount ¶
func (inst *CreateAuctionHouse) GetTreasuryWithdrawalDestinationAccount() *ag_solanago.AccountMeta
GetTreasuryWithdrawalDestinationAccount gets the "treasuryWithdrawalDestination" account.
func (*CreateAuctionHouse) GetTreasuryWithdrawalDestinationOwnerAccount ¶
func (inst *CreateAuctionHouse) GetTreasuryWithdrawalDestinationOwnerAccount() *ag_solanago.AccountMeta
GetTreasuryWithdrawalDestinationOwnerAccount gets the "treasuryWithdrawalDestinationOwner" account.
func (CreateAuctionHouse) MarshalWithEncoder ¶
func (obj CreateAuctionHouse) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*CreateAuctionHouse) SetAtaProgramAccount ¶
func (inst *CreateAuctionHouse) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *CreateAuctionHouse
SetAtaProgramAccount sets the "ataProgram" account.
func (*CreateAuctionHouse) SetAuctionHouseAccount ¶
func (inst *CreateAuctionHouse) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *CreateAuctionHouse
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*CreateAuctionHouse) SetAuctionHouseFeeAccountAccount ¶
func (inst *CreateAuctionHouse) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *CreateAuctionHouse
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*CreateAuctionHouse) SetAuctionHouseTreasuryAccount ¶
func (inst *CreateAuctionHouse) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *CreateAuctionHouse
SetAuctionHouseTreasuryAccount sets the "auctionHouseTreasury" account.
func (*CreateAuctionHouse) SetAuthorityAccount ¶
func (inst *CreateAuctionHouse) SetAuthorityAccount(authority ag_solanago.PublicKey) *CreateAuctionHouse
SetAuthorityAccount sets the "authority" account.
func (*CreateAuctionHouse) SetBump ¶
func (inst *CreateAuctionHouse) SetBump(bump uint8) *CreateAuctionHouse
SetBump sets the "bump" parameter.
func (*CreateAuctionHouse) SetCanChangeSalePrice ¶
func (inst *CreateAuctionHouse) SetCanChangeSalePrice(canChangeSalePrice bool) *CreateAuctionHouse
SetCanChangeSalePrice sets the "canChangeSalePrice" parameter.
func (*CreateAuctionHouse) SetFeePayerBump ¶
func (inst *CreateAuctionHouse) SetFeePayerBump(feePayerBump uint8) *CreateAuctionHouse
SetFeePayerBump sets the "feePayerBump" parameter.
func (*CreateAuctionHouse) SetFeeWithdrawalDestinationAccount ¶
func (inst *CreateAuctionHouse) SetFeeWithdrawalDestinationAccount(feeWithdrawalDestination ag_solanago.PublicKey) *CreateAuctionHouse
SetFeeWithdrawalDestinationAccount sets the "feeWithdrawalDestination" account.
func (*CreateAuctionHouse) SetPayerAccount ¶
func (inst *CreateAuctionHouse) SetPayerAccount(payer ag_solanago.PublicKey) *CreateAuctionHouse
SetPayerAccount sets the "payer" account.
func (*CreateAuctionHouse) SetRentAccount ¶
func (inst *CreateAuctionHouse) SetRentAccount(rent ag_solanago.PublicKey) *CreateAuctionHouse
SetRentAccount sets the "rent" account.
func (*CreateAuctionHouse) SetRequiresSignOff ¶
func (inst *CreateAuctionHouse) SetRequiresSignOff(requiresSignOff bool) *CreateAuctionHouse
SetRequiresSignOff sets the "requiresSignOff" parameter.
func (*CreateAuctionHouse) SetSellerFeeBasisPoints ¶
func (inst *CreateAuctionHouse) SetSellerFeeBasisPoints(sellerFeeBasisPoints uint16) *CreateAuctionHouse
SetSellerFeeBasisPoints sets the "sellerFeeBasisPoints" parameter.
func (*CreateAuctionHouse) SetSystemProgramAccount ¶
func (inst *CreateAuctionHouse) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *CreateAuctionHouse
SetSystemProgramAccount sets the "systemProgram" account.
func (*CreateAuctionHouse) SetTokenProgramAccount ¶
func (inst *CreateAuctionHouse) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *CreateAuctionHouse
SetTokenProgramAccount sets the "tokenProgram" account.
func (*CreateAuctionHouse) SetTreasuryBump ¶
func (inst *CreateAuctionHouse) SetTreasuryBump(treasuryBump uint8) *CreateAuctionHouse
SetTreasuryBump sets the "treasuryBump" parameter.
func (*CreateAuctionHouse) SetTreasuryMintAccount ¶
func (inst *CreateAuctionHouse) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *CreateAuctionHouse
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*CreateAuctionHouse) SetTreasuryWithdrawalDestinationAccount ¶
func (inst *CreateAuctionHouse) SetTreasuryWithdrawalDestinationAccount(treasuryWithdrawalDestination ag_solanago.PublicKey) *CreateAuctionHouse
SetTreasuryWithdrawalDestinationAccount sets the "treasuryWithdrawalDestination" account.
func (*CreateAuctionHouse) SetTreasuryWithdrawalDestinationOwnerAccount ¶
func (inst *CreateAuctionHouse) SetTreasuryWithdrawalDestinationOwnerAccount(treasuryWithdrawalDestinationOwner ag_solanago.PublicKey) *CreateAuctionHouse
SetTreasuryWithdrawalDestinationOwnerAccount sets the "treasuryWithdrawalDestinationOwner" account.
func (*CreateAuctionHouse) UnmarshalWithDecoder ¶
func (obj *CreateAuctionHouse) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*CreateAuctionHouse) Validate ¶
func (inst *CreateAuctionHouse) Validate() error
func (CreateAuctionHouse) ValidateAndBuild ¶
func (inst CreateAuctionHouse) 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 DelegateAuctioneer ¶
type DelegateAuctioneer struct { Scopes *[]AuthorityScope // [0] = [WRITE] auctionHouse // // [1] = [WRITE, SIGNER] authority // // [2] = [] auctioneerAuthority // // [3] = [WRITE] ahAuctioneerPda // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
DelegateAuctioneer is the `delegateAuctioneer` instruction.
func NewDelegateAuctioneerInstruction ¶
func NewDelegateAuctioneerInstruction( scopes []AuthorityScope, auctionHouse ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *DelegateAuctioneer
NewDelegateAuctioneerInstruction declares a new DelegateAuctioneer instruction with the provided parameters and accounts.
func NewDelegateAuctioneerInstructionBuilder ¶
func NewDelegateAuctioneerInstructionBuilder() *DelegateAuctioneer
NewDelegateAuctioneerInstructionBuilder creates a new `DelegateAuctioneer` instruction builder.
func (DelegateAuctioneer) Build ¶
func (inst DelegateAuctioneer) Build() *Instruction
func (*DelegateAuctioneer) EncodeToTree ¶
func (inst *DelegateAuctioneer) EncodeToTree(parent ag_treeout.Branches)
func (*DelegateAuctioneer) GetAhAuctioneerPdaAccount ¶
func (inst *DelegateAuctioneer) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*DelegateAuctioneer) GetAuctionHouseAccount ¶
func (inst *DelegateAuctioneer) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*DelegateAuctioneer) GetAuctioneerAuthorityAccount ¶
func (inst *DelegateAuctioneer) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*DelegateAuctioneer) GetAuthorityAccount ¶
func (inst *DelegateAuctioneer) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*DelegateAuctioneer) GetSystemProgramAccount ¶
func (inst *DelegateAuctioneer) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (DelegateAuctioneer) MarshalWithEncoder ¶
func (obj DelegateAuctioneer) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*DelegateAuctioneer) SetAhAuctioneerPdaAccount ¶
func (inst *DelegateAuctioneer) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *DelegateAuctioneer
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*DelegateAuctioneer) SetAuctionHouseAccount ¶
func (inst *DelegateAuctioneer) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *DelegateAuctioneer
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*DelegateAuctioneer) SetAuctioneerAuthorityAccount ¶
func (inst *DelegateAuctioneer) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *DelegateAuctioneer
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*DelegateAuctioneer) SetAuthorityAccount ¶
func (inst *DelegateAuctioneer) SetAuthorityAccount(authority ag_solanago.PublicKey) *DelegateAuctioneer
SetAuthorityAccount sets the "authority" account.
func (*DelegateAuctioneer) SetScopes ¶
func (inst *DelegateAuctioneer) SetScopes(scopes []AuthorityScope) *DelegateAuctioneer
SetScopes sets the "scopes" parameter.
func (*DelegateAuctioneer) SetSystemProgramAccount ¶
func (inst *DelegateAuctioneer) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *DelegateAuctioneer
SetSystemProgramAccount sets the "systemProgram" account.
func (*DelegateAuctioneer) UnmarshalWithDecoder ¶
func (obj *DelegateAuctioneer) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*DelegateAuctioneer) Validate ¶
func (inst *DelegateAuctioneer) Validate() error
func (DelegateAuctioneer) ValidateAndBuild ¶
func (inst DelegateAuctioneer) 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 Deposit ¶
type Deposit struct { EscrowPaymentBump *uint8 Amount *uint64 // [0] = [SIGNER] wallet // // [1] = [WRITE] paymentAccount // // [2] = [] transferAuthority // // [3] = [WRITE] escrowPaymentAccount // // [4] = [] treasuryMint // // [5] = [] authority // // [6] = [] auctionHouse // // [7] = [WRITE] auctionHouseFeeAccount // // [8] = [] tokenProgram // // [9] = [] systemProgram // // [10] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
Deposit is the `deposit` instruction.
func NewDepositInstruction ¶
func NewDepositInstruction( escrowPaymentBump uint8, amount uint64, wallet ag_solanago.PublicKey, paymentAccount ag_solanago.PublicKey, transferAuthority ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *Deposit
NewDepositInstruction declares a new Deposit instruction with the provided parameters and accounts.
func NewDepositInstructionBuilder ¶
func NewDepositInstructionBuilder() *Deposit
NewDepositInstructionBuilder creates a new `Deposit` instruction builder.
func (Deposit) Build ¶
func (inst Deposit) Build() *Instruction
func (*Deposit) EncodeToTree ¶
func (inst *Deposit) EncodeToTree(parent ag_treeout.Branches)
func (*Deposit) GetAuctionHouseAccount ¶
func (inst *Deposit) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*Deposit) GetAuctionHouseFeeAccountAccount ¶
func (inst *Deposit) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*Deposit) GetAuthorityAccount ¶
func (inst *Deposit) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*Deposit) GetEscrowPaymentAccountAccount ¶
func (inst *Deposit) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*Deposit) GetPaymentAccountAccount ¶
func (inst *Deposit) GetPaymentAccountAccount() *ag_solanago.AccountMeta
GetPaymentAccountAccount gets the "paymentAccount" account.
func (*Deposit) GetRentAccount ¶
func (inst *Deposit) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*Deposit) GetSystemProgramAccount ¶
func (inst *Deposit) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Deposit) GetTokenProgramAccount ¶
func (inst *Deposit) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*Deposit) GetTransferAuthorityAccount ¶
func (inst *Deposit) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
GetTransferAuthorityAccount gets the "transferAuthority" account.
func (*Deposit) GetTreasuryMintAccount ¶
func (inst *Deposit) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*Deposit) GetWalletAccount ¶
func (inst *Deposit) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (Deposit) MarshalWithEncoder ¶
func (*Deposit) SetAuctionHouseAccount ¶
func (inst *Deposit) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Deposit
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*Deposit) SetAuctionHouseFeeAccountAccount ¶
func (inst *Deposit) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Deposit
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*Deposit) SetAuthorityAccount ¶
func (inst *Deposit) SetAuthorityAccount(authority ag_solanago.PublicKey) *Deposit
SetAuthorityAccount sets the "authority" account.
func (*Deposit) SetEscrowPaymentAccountAccount ¶
func (inst *Deposit) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *Deposit
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*Deposit) SetEscrowPaymentBump ¶
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*Deposit) SetPaymentAccountAccount ¶
func (inst *Deposit) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *Deposit
SetPaymentAccountAccount sets the "paymentAccount" account.
func (*Deposit) SetRentAccount ¶
func (inst *Deposit) SetRentAccount(rent ag_solanago.PublicKey) *Deposit
SetRentAccount sets the "rent" account.
func (*Deposit) SetSystemProgramAccount ¶
func (inst *Deposit) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Deposit
SetSystemProgramAccount sets the "systemProgram" account.
func (*Deposit) SetTokenProgramAccount ¶
func (inst *Deposit) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Deposit
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Deposit) SetTransferAuthorityAccount ¶
func (inst *Deposit) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *Deposit
SetTransferAuthorityAccount sets the "transferAuthority" account.
func (*Deposit) SetTreasuryMintAccount ¶
func (inst *Deposit) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *Deposit
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*Deposit) SetWalletAccount ¶
func (inst *Deposit) SetWalletAccount(wallet ag_solanago.PublicKey) *Deposit
SetWalletAccount sets the "wallet" account.
func (*Deposit) UnmarshalWithDecoder ¶
func (Deposit) ValidateAndBuild ¶
func (inst Deposit) 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 ExecutePartialSale ¶
type ExecutePartialSale struct { EscrowPaymentBump *uint8 FreeTradeStateBump *uint8 ProgramAsSignerBump *uint8 BuyerPrice *uint64 TokenSize *uint64 PartialOrderSize *uint64 `bin:"optional"` PartialOrderPrice *uint64 `bin:"optional"` // [0] = [WRITE] buyer // // [1] = [WRITE] seller // // [2] = [WRITE] tokenAccount // // [3] = [] tokenMint // // [4] = [] metadata // // [5] = [] treasuryMint // // [6] = [WRITE] escrowPaymentAccount // // [7] = [WRITE] sellerPaymentReceiptAccount // // [8] = [WRITE] buyerReceiptTokenAccount // // [9] = [] authority // // [10] = [] auctionHouse // // [11] = [WRITE] auctionHouseFeeAccount // // [12] = [WRITE] auctionHouseTreasury // // [13] = [WRITE] buyerTradeState // // [14] = [WRITE] sellerTradeState // // [15] = [WRITE] freeTradeState // // [16] = [] tokenProgram // // [17] = [] systemProgram // // [18] = [] ataProgram // // [19] = [] programAsSigner // // [20] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
ExecutePartialSale is the `executePartialSale` instruction.
func NewExecutePartialSaleInstruction ¶
func NewExecutePartialSaleInstruction( escrowPaymentBump uint8, freeTradeStateBump uint8, programAsSignerBump uint8, buyerPrice uint64, tokenSize uint64, partialOrderSize uint64, partialOrderPrice uint64, buyer ag_solanago.PublicKey, seller ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, metadata ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, sellerPaymentReceiptAccount ag_solanago.PublicKey, buyerReceiptTokenAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, auctionHouseTreasury ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, sellerTradeState ag_solanago.PublicKey, freeTradeState ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, programAsSigner ag_solanago.PublicKey, rent ag_solanago.PublicKey) *ExecutePartialSale
NewExecutePartialSaleInstruction declares a new ExecutePartialSale instruction with the provided parameters and accounts.
func NewExecutePartialSaleInstructionBuilder ¶
func NewExecutePartialSaleInstructionBuilder() *ExecutePartialSale
NewExecutePartialSaleInstructionBuilder creates a new `ExecutePartialSale` instruction builder.
func (ExecutePartialSale) Build ¶
func (inst ExecutePartialSale) Build() *Instruction
func (*ExecutePartialSale) EncodeToTree ¶
func (inst *ExecutePartialSale) EncodeToTree(parent ag_treeout.Branches)
func (*ExecutePartialSale) GetAtaProgramAccount ¶
func (inst *ExecutePartialSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*ExecutePartialSale) GetAuctionHouseAccount ¶
func (inst *ExecutePartialSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*ExecutePartialSale) GetAuctionHouseFeeAccountAccount ¶
func (inst *ExecutePartialSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*ExecutePartialSale) GetAuctionHouseTreasuryAccount ¶
func (inst *ExecutePartialSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
GetAuctionHouseTreasuryAccount gets the "auctionHouseTreasury" account.
func (*ExecutePartialSale) GetAuthorityAccount ¶
func (inst *ExecutePartialSale) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*ExecutePartialSale) GetBuyerAccount ¶
func (inst *ExecutePartialSale) GetBuyerAccount() *ag_solanago.AccountMeta
GetBuyerAccount gets the "buyer" account.
func (*ExecutePartialSale) GetBuyerReceiptTokenAccountAccount ¶
func (inst *ExecutePartialSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
GetBuyerReceiptTokenAccountAccount gets the "buyerReceiptTokenAccount" account.
func (*ExecutePartialSale) GetBuyerTradeStateAccount ¶
func (inst *ExecutePartialSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*ExecutePartialSale) GetEscrowPaymentAccountAccount ¶
func (inst *ExecutePartialSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*ExecutePartialSale) GetFreeTradeStateAccount ¶
func (inst *ExecutePartialSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
GetFreeTradeStateAccount gets the "freeTradeState" account.
func (*ExecutePartialSale) GetMetadataAccount ¶
func (inst *ExecutePartialSale) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*ExecutePartialSale) GetProgramAsSignerAccount ¶
func (inst *ExecutePartialSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
GetProgramAsSignerAccount gets the "programAsSigner" account.
func (*ExecutePartialSale) GetRentAccount ¶
func (inst *ExecutePartialSale) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*ExecutePartialSale) GetSellerAccount ¶
func (inst *ExecutePartialSale) GetSellerAccount() *ag_solanago.AccountMeta
GetSellerAccount gets the "seller" account.
func (*ExecutePartialSale) GetSellerPaymentReceiptAccountAccount ¶
func (inst *ExecutePartialSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
GetSellerPaymentReceiptAccountAccount gets the "sellerPaymentReceiptAccount" account.
func (*ExecutePartialSale) GetSellerTradeStateAccount ¶
func (inst *ExecutePartialSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
GetSellerTradeStateAccount gets the "sellerTradeState" account.
func (*ExecutePartialSale) GetSystemProgramAccount ¶
func (inst *ExecutePartialSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*ExecutePartialSale) GetTokenAccountAccount ¶
func (inst *ExecutePartialSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*ExecutePartialSale) GetTokenMintAccount ¶
func (inst *ExecutePartialSale) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*ExecutePartialSale) GetTokenProgramAccount ¶
func (inst *ExecutePartialSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*ExecutePartialSale) GetTreasuryMintAccount ¶
func (inst *ExecutePartialSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (ExecutePartialSale) MarshalWithEncoder ¶
func (obj ExecutePartialSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*ExecutePartialSale) SetAtaProgramAccount ¶
func (inst *ExecutePartialSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *ExecutePartialSale
SetAtaProgramAccount sets the "ataProgram" account.
func (*ExecutePartialSale) SetAuctionHouseAccount ¶
func (inst *ExecutePartialSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *ExecutePartialSale
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*ExecutePartialSale) SetAuctionHouseFeeAccountAccount ¶
func (inst *ExecutePartialSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *ExecutePartialSale
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*ExecutePartialSale) SetAuctionHouseTreasuryAccount ¶
func (inst *ExecutePartialSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *ExecutePartialSale
SetAuctionHouseTreasuryAccount sets the "auctionHouseTreasury" account.
func (*ExecutePartialSale) SetAuthorityAccount ¶
func (inst *ExecutePartialSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *ExecutePartialSale
SetAuthorityAccount sets the "authority" account.
func (*ExecutePartialSale) SetBuyerAccount ¶
func (inst *ExecutePartialSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *ExecutePartialSale
SetBuyerAccount sets the "buyer" account.
func (*ExecutePartialSale) SetBuyerPrice ¶
func (inst *ExecutePartialSale) SetBuyerPrice(buyerPrice uint64) *ExecutePartialSale
SetBuyerPrice sets the "buyerPrice" parameter.
func (*ExecutePartialSale) SetBuyerReceiptTokenAccountAccount ¶
func (inst *ExecutePartialSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *ExecutePartialSale
SetBuyerReceiptTokenAccountAccount sets the "buyerReceiptTokenAccount" account.
func (*ExecutePartialSale) SetBuyerTradeStateAccount ¶
func (inst *ExecutePartialSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *ExecutePartialSale
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*ExecutePartialSale) SetEscrowPaymentAccountAccount ¶
func (inst *ExecutePartialSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *ExecutePartialSale
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*ExecutePartialSale) SetEscrowPaymentBump ¶
func (inst *ExecutePartialSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *ExecutePartialSale
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*ExecutePartialSale) SetFreeTradeStateAccount ¶
func (inst *ExecutePartialSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *ExecutePartialSale
SetFreeTradeStateAccount sets the "freeTradeState" account.
func (*ExecutePartialSale) SetFreeTradeStateBump ¶
func (inst *ExecutePartialSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *ExecutePartialSale
SetFreeTradeStateBump sets the "freeTradeStateBump" parameter.
func (*ExecutePartialSale) SetMetadataAccount ¶
func (inst *ExecutePartialSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *ExecutePartialSale
SetMetadataAccount sets the "metadata" account.
func (*ExecutePartialSale) SetPartialOrderPrice ¶
func (inst *ExecutePartialSale) SetPartialOrderPrice(partialOrderPrice uint64) *ExecutePartialSale
SetPartialOrderPrice sets the "partialOrderPrice" parameter.
func (*ExecutePartialSale) SetPartialOrderSize ¶
func (inst *ExecutePartialSale) SetPartialOrderSize(partialOrderSize uint64) *ExecutePartialSale
SetPartialOrderSize sets the "partialOrderSize" parameter.
func (*ExecutePartialSale) SetProgramAsSignerAccount ¶
func (inst *ExecutePartialSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *ExecutePartialSale
SetProgramAsSignerAccount sets the "programAsSigner" account.
func (*ExecutePartialSale) SetProgramAsSignerBump ¶
func (inst *ExecutePartialSale) SetProgramAsSignerBump(programAsSignerBump uint8) *ExecutePartialSale
SetProgramAsSignerBump sets the "programAsSignerBump" parameter.
func (*ExecutePartialSale) SetRentAccount ¶
func (inst *ExecutePartialSale) SetRentAccount(rent ag_solanago.PublicKey) *ExecutePartialSale
SetRentAccount sets the "rent" account.
func (*ExecutePartialSale) SetSellerAccount ¶
func (inst *ExecutePartialSale) SetSellerAccount(seller ag_solanago.PublicKey) *ExecutePartialSale
SetSellerAccount sets the "seller" account.
func (*ExecutePartialSale) SetSellerPaymentReceiptAccountAccount ¶
func (inst *ExecutePartialSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *ExecutePartialSale
SetSellerPaymentReceiptAccountAccount sets the "sellerPaymentReceiptAccount" account.
func (*ExecutePartialSale) SetSellerTradeStateAccount ¶
func (inst *ExecutePartialSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *ExecutePartialSale
SetSellerTradeStateAccount sets the "sellerTradeState" account.
func (*ExecutePartialSale) SetSystemProgramAccount ¶
func (inst *ExecutePartialSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ExecutePartialSale
SetSystemProgramAccount sets the "systemProgram" account.
func (*ExecutePartialSale) SetTokenAccountAccount ¶
func (inst *ExecutePartialSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *ExecutePartialSale
SetTokenAccountAccount sets the "tokenAccount" account.
func (*ExecutePartialSale) SetTokenMintAccount ¶
func (inst *ExecutePartialSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ExecutePartialSale
SetTokenMintAccount sets the "tokenMint" account.
func (*ExecutePartialSale) SetTokenProgramAccount ¶
func (inst *ExecutePartialSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ExecutePartialSale
SetTokenProgramAccount sets the "tokenProgram" account.
func (*ExecutePartialSale) SetTokenSize ¶
func (inst *ExecutePartialSale) SetTokenSize(tokenSize uint64) *ExecutePartialSale
SetTokenSize sets the "tokenSize" parameter.
func (*ExecutePartialSale) SetTreasuryMintAccount ¶
func (inst *ExecutePartialSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *ExecutePartialSale
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*ExecutePartialSale) UnmarshalWithDecoder ¶
func (obj *ExecutePartialSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*ExecutePartialSale) Validate ¶
func (inst *ExecutePartialSale) Validate() error
func (ExecutePartialSale) ValidateAndBuild ¶
func (inst ExecutePartialSale) 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 ExecuteSale ¶
type ExecuteSale struct { EscrowPaymentBump *uint8 FreeTradeStateBump *uint8 ProgramAsSignerBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [WRITE] buyer // // [1] = [WRITE] seller // // [2] = [WRITE] tokenAccount // // [3] = [] tokenMint // // [4] = [] metadata // // [5] = [] treasuryMint // // [6] = [WRITE] escrowPaymentAccount // // [7] = [WRITE] sellerPaymentReceiptAccount // // [8] = [WRITE] buyerReceiptTokenAccount // // [9] = [] authority // // [10] = [] auctionHouse // // [11] = [WRITE] auctionHouseFeeAccount // // [12] = [WRITE] auctionHouseTreasury // // [13] = [WRITE] buyerTradeState // // [14] = [WRITE] sellerTradeState // // [15] = [WRITE] freeTradeState // // [16] = [] tokenProgram // // [17] = [] systemProgram // // [18] = [] ataProgram // // [19] = [] programAsSigner // // [20] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
ExecuteSale is the `executeSale` instruction.
func NewExecuteSaleInstruction ¶
func NewExecuteSaleInstruction( escrowPaymentBump uint8, freeTradeStateBump uint8, programAsSignerBump uint8, buyerPrice uint64, tokenSize uint64, buyer ag_solanago.PublicKey, seller ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, tokenMint ag_solanago.PublicKey, metadata ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, sellerPaymentReceiptAccount ag_solanago.PublicKey, buyerReceiptTokenAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, auctionHouseTreasury ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, sellerTradeState ag_solanago.PublicKey, freeTradeState ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, programAsSigner ag_solanago.PublicKey, rent ag_solanago.PublicKey, additionalAccounts []ag_solanago.AccountMeta) *ExecuteSale
NewExecuteSaleInstruction declares a new ExecuteSale instruction with the provided parameters and accounts.
func NewExecuteSaleInstructionBuilder ¶
func NewExecuteSaleInstructionBuilder() *ExecuteSale
NewExecuteSaleInstructionBuilder creates a new `ExecuteSale` instruction builder.
func (ExecuteSale) Build ¶
func (inst ExecuteSale) Build() *Instruction
func (*ExecuteSale) EncodeToTree ¶
func (inst *ExecuteSale) EncodeToTree(parent ag_treeout.Branches)
func (*ExecuteSale) GetAtaProgramAccount ¶
func (inst *ExecuteSale) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*ExecuteSale) GetAuctionHouseAccount ¶
func (inst *ExecuteSale) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*ExecuteSale) GetAuctionHouseFeeAccountAccount ¶
func (inst *ExecuteSale) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*ExecuteSale) GetAuctionHouseTreasuryAccount ¶
func (inst *ExecuteSale) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
GetAuctionHouseTreasuryAccount gets the "auctionHouseTreasury" account.
func (*ExecuteSale) GetAuthorityAccount ¶
func (inst *ExecuteSale) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*ExecuteSale) GetBuyerAccount ¶
func (inst *ExecuteSale) GetBuyerAccount() *ag_solanago.AccountMeta
GetBuyerAccount gets the "buyer" account.
func (*ExecuteSale) GetBuyerReceiptTokenAccountAccount ¶
func (inst *ExecuteSale) GetBuyerReceiptTokenAccountAccount() *ag_solanago.AccountMeta
GetBuyerReceiptTokenAccountAccount gets the "buyerReceiptTokenAccount" account.
func (*ExecuteSale) GetBuyerTradeStateAccount ¶
func (inst *ExecuteSale) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*ExecuteSale) GetEscrowPaymentAccountAccount ¶
func (inst *ExecuteSale) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*ExecuteSale) GetFreeTradeStateAccount ¶
func (inst *ExecuteSale) GetFreeTradeStateAccount() *ag_solanago.AccountMeta
GetFreeTradeStateAccount gets the "freeTradeState" account.
func (*ExecuteSale) GetMetadataAccount ¶
func (inst *ExecuteSale) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*ExecuteSale) GetProgramAsSignerAccount ¶
func (inst *ExecuteSale) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
GetProgramAsSignerAccount gets the "programAsSigner" account.
func (*ExecuteSale) GetRentAccount ¶
func (inst *ExecuteSale) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*ExecuteSale) GetSellerAccount ¶
func (inst *ExecuteSale) GetSellerAccount() *ag_solanago.AccountMeta
GetSellerAccount gets the "seller" account.
func (*ExecuteSale) GetSellerPaymentReceiptAccountAccount ¶
func (inst *ExecuteSale) GetSellerPaymentReceiptAccountAccount() *ag_solanago.AccountMeta
GetSellerPaymentReceiptAccountAccount gets the "sellerPaymentReceiptAccount" account.
func (*ExecuteSale) GetSellerTradeStateAccount ¶
func (inst *ExecuteSale) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
GetSellerTradeStateAccount gets the "sellerTradeState" account.
func (*ExecuteSale) GetSystemProgramAccount ¶
func (inst *ExecuteSale) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*ExecuteSale) GetTokenAccountAccount ¶
func (inst *ExecuteSale) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*ExecuteSale) GetTokenMintAccount ¶
func (inst *ExecuteSale) GetTokenMintAccount() *ag_solanago.AccountMeta
GetTokenMintAccount gets the "tokenMint" account.
func (*ExecuteSale) GetTokenProgramAccount ¶
func (inst *ExecuteSale) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*ExecuteSale) GetTreasuryMintAccount ¶
func (inst *ExecuteSale) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (ExecuteSale) MarshalWithEncoder ¶
func (obj ExecuteSale) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*ExecuteSale) SetAdditionalAccounts ¶ added in v0.5.1
func (inst *ExecuteSale) SetAdditionalAccounts(additionalAccounts []ag_solanago.AccountMeta) *ExecuteSale
SetAdditionalAccounts sets the additional creator accounts.
func (*ExecuteSale) SetAtaProgramAccount ¶
func (inst *ExecuteSale) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *ExecuteSale
SetAtaProgramAccount sets the "ataProgram" account.
func (*ExecuteSale) SetAuctionHouseAccount ¶
func (inst *ExecuteSale) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *ExecuteSale
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*ExecuteSale) SetAuctionHouseFeeAccountAccount ¶
func (inst *ExecuteSale) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *ExecuteSale
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*ExecuteSale) SetAuctionHouseTreasuryAccount ¶
func (inst *ExecuteSale) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *ExecuteSale
SetAuctionHouseTreasuryAccount sets the "auctionHouseTreasury" account.
func (*ExecuteSale) SetAuthorityAccount ¶
func (inst *ExecuteSale) SetAuthorityAccount(authority ag_solanago.PublicKey) *ExecuteSale
SetAuthorityAccount sets the "authority" account.
func (*ExecuteSale) SetBuyerAccount ¶
func (inst *ExecuteSale) SetBuyerAccount(buyer ag_solanago.PublicKey) *ExecuteSale
SetBuyerAccount sets the "buyer" account.
func (*ExecuteSale) SetBuyerPrice ¶
func (inst *ExecuteSale) SetBuyerPrice(buyerPrice uint64) *ExecuteSale
SetBuyerPrice sets the "buyerPrice" parameter.
func (*ExecuteSale) SetBuyerReceiptTokenAccountAccount ¶
func (inst *ExecuteSale) SetBuyerReceiptTokenAccountAccount(buyerReceiptTokenAccount ag_solanago.PublicKey) *ExecuteSale
SetBuyerReceiptTokenAccountAccount sets the "buyerReceiptTokenAccount" account.
func (*ExecuteSale) SetBuyerTradeStateAccount ¶
func (inst *ExecuteSale) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *ExecuteSale
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*ExecuteSale) SetEscrowPaymentAccountAccount ¶
func (inst *ExecuteSale) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *ExecuteSale
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*ExecuteSale) SetEscrowPaymentBump ¶
func (inst *ExecuteSale) SetEscrowPaymentBump(escrowPaymentBump uint8) *ExecuteSale
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*ExecuteSale) SetFreeTradeStateAccount ¶
func (inst *ExecuteSale) SetFreeTradeStateAccount(freeTradeState ag_solanago.PublicKey) *ExecuteSale
SetFreeTradeStateAccount sets the "freeTradeState" account.
func (*ExecuteSale) SetFreeTradeStateBump ¶
func (inst *ExecuteSale) SetFreeTradeStateBump(freeTradeStateBump uint8) *ExecuteSale
SetFreeTradeStateBump sets the "freeTradeStateBump" parameter.
func (*ExecuteSale) SetMetadataAccount ¶
func (inst *ExecuteSale) SetMetadataAccount(metadata ag_solanago.PublicKey) *ExecuteSale
SetMetadataAccount sets the "metadata" account.
func (*ExecuteSale) SetProgramAsSignerAccount ¶
func (inst *ExecuteSale) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *ExecuteSale
SetProgramAsSignerAccount sets the "programAsSigner" account.
func (*ExecuteSale) SetProgramAsSignerBump ¶
func (inst *ExecuteSale) SetProgramAsSignerBump(programAsSignerBump uint8) *ExecuteSale
SetProgramAsSignerBump sets the "programAsSignerBump" parameter.
func (*ExecuteSale) SetRentAccount ¶
func (inst *ExecuteSale) SetRentAccount(rent ag_solanago.PublicKey) *ExecuteSale
SetRentAccount sets the "rent" account.
func (*ExecuteSale) SetSellerAccount ¶
func (inst *ExecuteSale) SetSellerAccount(seller ag_solanago.PublicKey) *ExecuteSale
SetSellerAccount sets the "seller" account.
func (*ExecuteSale) SetSellerPaymentReceiptAccountAccount ¶
func (inst *ExecuteSale) SetSellerPaymentReceiptAccountAccount(sellerPaymentReceiptAccount ag_solanago.PublicKey) *ExecuteSale
SetSellerPaymentReceiptAccountAccount sets the "sellerPaymentReceiptAccount" account.
func (*ExecuteSale) SetSellerTradeStateAccount ¶
func (inst *ExecuteSale) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *ExecuteSale
SetSellerTradeStateAccount sets the "sellerTradeState" account.
func (*ExecuteSale) SetSystemProgramAccount ¶
func (inst *ExecuteSale) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *ExecuteSale
SetSystemProgramAccount sets the "systemProgram" account.
func (*ExecuteSale) SetTokenAccountAccount ¶
func (inst *ExecuteSale) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *ExecuteSale
SetTokenAccountAccount sets the "tokenAccount" account.
func (*ExecuteSale) SetTokenMintAccount ¶
func (inst *ExecuteSale) SetTokenMintAccount(tokenMint ag_solanago.PublicKey) *ExecuteSale
SetTokenMintAccount sets the "tokenMint" account.
func (*ExecuteSale) SetTokenProgramAccount ¶
func (inst *ExecuteSale) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *ExecuteSale
SetTokenProgramAccount sets the "tokenProgram" account.
func (*ExecuteSale) SetTokenSize ¶
func (inst *ExecuteSale) SetTokenSize(tokenSize uint64) *ExecuteSale
SetTokenSize sets the "tokenSize" parameter.
func (*ExecuteSale) SetTreasuryMintAccount ¶
func (inst *ExecuteSale) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *ExecuteSale
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*ExecuteSale) UnmarshalWithDecoder ¶
func (obj *ExecuteSale) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*ExecuteSale) Validate ¶
func (inst *ExecuteSale) Validate() error
func (ExecuteSale) ValidateAndBuild ¶
func (inst ExecuteSale) 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 (*Instruction) UnmarshalWithDecoder ¶
func (inst *Instruction) UnmarshalWithDecoder(decoder *ag_binary.Decoder) error
type ListingReceipt ¶
type ListingReceipt struct { TradeState ag_solanago.PublicKey Bookkeeper ag_solanago.PublicKey AuctionHouse ag_solanago.PublicKey Seller ag_solanago.PublicKey Metadata ag_solanago.PublicKey PurchaseReceipt *ag_solanago.PublicKey `bin:"optional"` Price uint64 TokenSize uint64 Bump uint8 TradeStateBump uint8 CreatedAt int64 CanceledAt *int64 `bin:"optional"` }
func (ListingReceipt) MarshalWithEncoder ¶
func (obj ListingReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*ListingReceipt) UnmarshalWithDecoder ¶
func (obj *ListingReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type ListingType ¶
const ( ListingTypeSell ListingType = iota ListingTypeAuctioneerSell )
func (ListingType) String ¶
func (value ListingType) String() string
type PrintBidReceipt ¶
type PrintBidReceipt struct { ReceiptBump *uint8 // [0] = [WRITE] receipt // // [1] = [WRITE, SIGNER] bookkeeper // // [2] = [] systemProgram // // [3] = [] rent // // [4] = [] instruction ag_solanago.AccountMetaSlice `bin:"-"` }
PrintBidReceipt is the `printBidReceipt` instruction.
func NewPrintBidReceiptInstruction ¶
func NewPrintBidReceiptInstruction( receiptBump uint8, receipt ag_solanago.PublicKey, bookkeeper ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey, instruction ag_solanago.PublicKey) *PrintBidReceipt
NewPrintBidReceiptInstruction declares a new PrintBidReceipt instruction with the provided parameters and accounts.
func NewPrintBidReceiptInstructionBuilder ¶
func NewPrintBidReceiptInstructionBuilder() *PrintBidReceipt
NewPrintBidReceiptInstructionBuilder creates a new `PrintBidReceipt` instruction builder.
func (PrintBidReceipt) Build ¶
func (inst PrintBidReceipt) Build() *Instruction
func (*PrintBidReceipt) EncodeToTree ¶
func (inst *PrintBidReceipt) EncodeToTree(parent ag_treeout.Branches)
func (*PrintBidReceipt) GetBookkeeperAccount ¶
func (inst *PrintBidReceipt) GetBookkeeperAccount() *ag_solanago.AccountMeta
GetBookkeeperAccount gets the "bookkeeper" account.
func (*PrintBidReceipt) GetInstructionAccount ¶
func (inst *PrintBidReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
GetInstructionAccount gets the "instruction" account.
func (*PrintBidReceipt) GetReceiptAccount ¶
func (inst *PrintBidReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
GetReceiptAccount gets the "receipt" account.
func (*PrintBidReceipt) GetRentAccount ¶
func (inst *PrintBidReceipt) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*PrintBidReceipt) GetSystemProgramAccount ¶
func (inst *PrintBidReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (PrintBidReceipt) MarshalWithEncoder ¶
func (obj PrintBidReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*PrintBidReceipt) SetBookkeeperAccount ¶
func (inst *PrintBidReceipt) SetBookkeeperAccount(bookkeeper ag_solanago.PublicKey) *PrintBidReceipt
SetBookkeeperAccount sets the "bookkeeper" account.
func (*PrintBidReceipt) SetInstructionAccount ¶
func (inst *PrintBidReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *PrintBidReceipt
SetInstructionAccount sets the "instruction" account.
func (*PrintBidReceipt) SetReceiptAccount ¶
func (inst *PrintBidReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *PrintBidReceipt
SetReceiptAccount sets the "receipt" account.
func (*PrintBidReceipt) SetReceiptBump ¶
func (inst *PrintBidReceipt) SetReceiptBump(receiptBump uint8) *PrintBidReceipt
SetReceiptBump sets the "receiptBump" parameter.
func (*PrintBidReceipt) SetRentAccount ¶
func (inst *PrintBidReceipt) SetRentAccount(rent ag_solanago.PublicKey) *PrintBidReceipt
SetRentAccount sets the "rent" account.
func (*PrintBidReceipt) SetSystemProgramAccount ¶
func (inst *PrintBidReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PrintBidReceipt
SetSystemProgramAccount sets the "systemProgram" account.
func (*PrintBidReceipt) UnmarshalWithDecoder ¶
func (obj *PrintBidReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*PrintBidReceipt) Validate ¶
func (inst *PrintBidReceipt) Validate() error
func (PrintBidReceipt) ValidateAndBuild ¶
func (inst PrintBidReceipt) 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 PrintListingReceipt ¶
type PrintListingReceipt struct { ReceiptBump *uint8 // [0] = [WRITE] receipt // // [1] = [WRITE, SIGNER] bookkeeper // // [2] = [] systemProgram // // [3] = [] rent // // [4] = [] instruction ag_solanago.AccountMetaSlice `bin:"-"` }
PrintListingReceipt is the `printListingReceipt` instruction.
func NewPrintListingReceiptInstruction ¶
func NewPrintListingReceiptInstruction( receiptBump uint8, receipt ag_solanago.PublicKey, bookkeeper ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey, instruction ag_solanago.PublicKey) *PrintListingReceipt
NewPrintListingReceiptInstruction declares a new PrintListingReceipt instruction with the provided parameters and accounts.
func NewPrintListingReceiptInstructionBuilder ¶
func NewPrintListingReceiptInstructionBuilder() *PrintListingReceipt
NewPrintListingReceiptInstructionBuilder creates a new `PrintListingReceipt` instruction builder.
func (PrintListingReceipt) Build ¶
func (inst PrintListingReceipt) Build() *Instruction
func (*PrintListingReceipt) EncodeToTree ¶
func (inst *PrintListingReceipt) EncodeToTree(parent ag_treeout.Branches)
func (*PrintListingReceipt) GetBookkeeperAccount ¶
func (inst *PrintListingReceipt) GetBookkeeperAccount() *ag_solanago.AccountMeta
GetBookkeeperAccount gets the "bookkeeper" account.
func (*PrintListingReceipt) GetInstructionAccount ¶
func (inst *PrintListingReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
GetInstructionAccount gets the "instruction" account.
func (*PrintListingReceipt) GetReceiptAccount ¶
func (inst *PrintListingReceipt) GetReceiptAccount() *ag_solanago.AccountMeta
GetReceiptAccount gets the "receipt" account.
func (*PrintListingReceipt) GetRentAccount ¶
func (inst *PrintListingReceipt) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*PrintListingReceipt) GetSystemProgramAccount ¶
func (inst *PrintListingReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (PrintListingReceipt) MarshalWithEncoder ¶
func (obj PrintListingReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*PrintListingReceipt) SetBookkeeperAccount ¶
func (inst *PrintListingReceipt) SetBookkeeperAccount(bookkeeper ag_solanago.PublicKey) *PrintListingReceipt
SetBookkeeperAccount sets the "bookkeeper" account.
func (*PrintListingReceipt) SetInstructionAccount ¶
func (inst *PrintListingReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *PrintListingReceipt
SetInstructionAccount sets the "instruction" account.
func (*PrintListingReceipt) SetReceiptAccount ¶
func (inst *PrintListingReceipt) SetReceiptAccount(receipt ag_solanago.PublicKey) *PrintListingReceipt
SetReceiptAccount sets the "receipt" account.
func (*PrintListingReceipt) SetReceiptBump ¶
func (inst *PrintListingReceipt) SetReceiptBump(receiptBump uint8) *PrintListingReceipt
SetReceiptBump sets the "receiptBump" parameter.
func (*PrintListingReceipt) SetRentAccount ¶
func (inst *PrintListingReceipt) SetRentAccount(rent ag_solanago.PublicKey) *PrintListingReceipt
SetRentAccount sets the "rent" account.
func (*PrintListingReceipt) SetSystemProgramAccount ¶
func (inst *PrintListingReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PrintListingReceipt
SetSystemProgramAccount sets the "systemProgram" account.
func (*PrintListingReceipt) UnmarshalWithDecoder ¶
func (obj *PrintListingReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*PrintListingReceipt) Validate ¶
func (inst *PrintListingReceipt) Validate() error
func (PrintListingReceipt) ValidateAndBuild ¶
func (inst PrintListingReceipt) 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 PrintPurchaseReceipt ¶
type PrintPurchaseReceipt struct { PurchaseReceiptBump *uint8 // [0] = [WRITE] purchaseReceipt // // [1] = [WRITE] listingReceipt // // [2] = [WRITE] bidReceipt // // [3] = [WRITE, SIGNER] bookkeeper // // [4] = [] systemProgram // // [5] = [] rent // // [6] = [] instruction ag_solanago.AccountMetaSlice `bin:"-"` }
PrintPurchaseReceipt is the `printPurchaseReceipt` instruction.
func NewPrintPurchaseReceiptInstruction ¶
func NewPrintPurchaseReceiptInstruction( purchaseReceiptBump uint8, purchaseReceipt ag_solanago.PublicKey, listingReceipt ag_solanago.PublicKey, bidReceipt ag_solanago.PublicKey, bookkeeper ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey, instruction ag_solanago.PublicKey) *PrintPurchaseReceipt
NewPrintPurchaseReceiptInstruction declares a new PrintPurchaseReceipt instruction with the provided parameters and accounts.
func NewPrintPurchaseReceiptInstructionBuilder ¶
func NewPrintPurchaseReceiptInstructionBuilder() *PrintPurchaseReceipt
NewPrintPurchaseReceiptInstructionBuilder creates a new `PrintPurchaseReceipt` instruction builder.
func (PrintPurchaseReceipt) Build ¶
func (inst PrintPurchaseReceipt) Build() *Instruction
func (*PrintPurchaseReceipt) EncodeToTree ¶
func (inst *PrintPurchaseReceipt) EncodeToTree(parent ag_treeout.Branches)
func (*PrintPurchaseReceipt) GetBidReceiptAccount ¶
func (inst *PrintPurchaseReceipt) GetBidReceiptAccount() *ag_solanago.AccountMeta
GetBidReceiptAccount gets the "bidReceipt" account.
func (*PrintPurchaseReceipt) GetBookkeeperAccount ¶
func (inst *PrintPurchaseReceipt) GetBookkeeperAccount() *ag_solanago.AccountMeta
GetBookkeeperAccount gets the "bookkeeper" account.
func (*PrintPurchaseReceipt) GetInstructionAccount ¶
func (inst *PrintPurchaseReceipt) GetInstructionAccount() *ag_solanago.AccountMeta
GetInstructionAccount gets the "instruction" account.
func (*PrintPurchaseReceipt) GetListingReceiptAccount ¶
func (inst *PrintPurchaseReceipt) GetListingReceiptAccount() *ag_solanago.AccountMeta
GetListingReceiptAccount gets the "listingReceipt" account.
func (*PrintPurchaseReceipt) GetPurchaseReceiptAccount ¶
func (inst *PrintPurchaseReceipt) GetPurchaseReceiptAccount() *ag_solanago.AccountMeta
GetPurchaseReceiptAccount gets the "purchaseReceipt" account.
func (*PrintPurchaseReceipt) GetRentAccount ¶
func (inst *PrintPurchaseReceipt) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*PrintPurchaseReceipt) GetSystemProgramAccount ¶
func (inst *PrintPurchaseReceipt) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (PrintPurchaseReceipt) MarshalWithEncoder ¶
func (obj PrintPurchaseReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*PrintPurchaseReceipt) SetBidReceiptAccount ¶
func (inst *PrintPurchaseReceipt) SetBidReceiptAccount(bidReceipt ag_solanago.PublicKey) *PrintPurchaseReceipt
SetBidReceiptAccount sets the "bidReceipt" account.
func (*PrintPurchaseReceipt) SetBookkeeperAccount ¶
func (inst *PrintPurchaseReceipt) SetBookkeeperAccount(bookkeeper ag_solanago.PublicKey) *PrintPurchaseReceipt
SetBookkeeperAccount sets the "bookkeeper" account.
func (*PrintPurchaseReceipt) SetInstructionAccount ¶
func (inst *PrintPurchaseReceipt) SetInstructionAccount(instruction ag_solanago.PublicKey) *PrintPurchaseReceipt
SetInstructionAccount sets the "instruction" account.
func (*PrintPurchaseReceipt) SetListingReceiptAccount ¶
func (inst *PrintPurchaseReceipt) SetListingReceiptAccount(listingReceipt ag_solanago.PublicKey) *PrintPurchaseReceipt
SetListingReceiptAccount sets the "listingReceipt" account.
func (*PrintPurchaseReceipt) SetPurchaseReceiptAccount ¶
func (inst *PrintPurchaseReceipt) SetPurchaseReceiptAccount(purchaseReceipt ag_solanago.PublicKey) *PrintPurchaseReceipt
SetPurchaseReceiptAccount sets the "purchaseReceipt" account.
func (*PrintPurchaseReceipt) SetPurchaseReceiptBump ¶
func (inst *PrintPurchaseReceipt) SetPurchaseReceiptBump(purchaseReceiptBump uint8) *PrintPurchaseReceipt
SetPurchaseReceiptBump sets the "purchaseReceiptBump" parameter.
func (*PrintPurchaseReceipt) SetRentAccount ¶
func (inst *PrintPurchaseReceipt) SetRentAccount(rent ag_solanago.PublicKey) *PrintPurchaseReceipt
SetRentAccount sets the "rent" account.
func (*PrintPurchaseReceipt) SetSystemProgramAccount ¶
func (inst *PrintPurchaseReceipt) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PrintPurchaseReceipt
SetSystemProgramAccount sets the "systemProgram" account.
func (*PrintPurchaseReceipt) UnmarshalWithDecoder ¶
func (obj *PrintPurchaseReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*PrintPurchaseReceipt) Validate ¶
func (inst *PrintPurchaseReceipt) Validate() error
func (PrintPurchaseReceipt) ValidateAndBuild ¶
func (inst PrintPurchaseReceipt) 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 PublicBuy ¶
type PublicBuy struct { TradeStateBump *uint8 EscrowPaymentBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [SIGNER] wallet // // [1] = [WRITE] paymentAccount // // [2] = [] transferAuthority // // [3] = [] treasuryMint // // [4] = [] tokenAccount // // [5] = [] metadata // // [6] = [WRITE] escrowPaymentAccount // // [7] = [] authority // // [8] = [] auctionHouse // // [9] = [WRITE] auctionHouseFeeAccount // // [10] = [WRITE] buyerTradeState // // [11] = [] tokenProgram // // [12] = [] systemProgram // // [13] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
PublicBuy is the `publicBuy` instruction.
func NewPublicBuyInstruction ¶
func NewPublicBuyInstruction( tradeStateBump uint8, escrowPaymentBump uint8, buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, paymentAccount ag_solanago.PublicKey, transferAuthority ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, metadata ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, buyerTradeState ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *PublicBuy
NewPublicBuyInstruction declares a new PublicBuy instruction with the provided parameters and accounts.
func NewPublicBuyInstructionBuilder ¶
func NewPublicBuyInstructionBuilder() *PublicBuy
NewPublicBuyInstructionBuilder creates a new `PublicBuy` instruction builder.
func (PublicBuy) Build ¶
func (inst PublicBuy) Build() *Instruction
func (*PublicBuy) EncodeToTree ¶
func (inst *PublicBuy) EncodeToTree(parent ag_treeout.Branches)
func (*PublicBuy) GetAuctionHouseAccount ¶
func (inst *PublicBuy) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*PublicBuy) GetAuctionHouseFeeAccountAccount ¶
func (inst *PublicBuy) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*PublicBuy) GetAuthorityAccount ¶
func (inst *PublicBuy) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*PublicBuy) GetBuyerTradeStateAccount ¶
func (inst *PublicBuy) GetBuyerTradeStateAccount() *ag_solanago.AccountMeta
GetBuyerTradeStateAccount gets the "buyerTradeState" account.
func (*PublicBuy) GetEscrowPaymentAccountAccount ¶
func (inst *PublicBuy) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*PublicBuy) GetMetadataAccount ¶
func (inst *PublicBuy) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*PublicBuy) GetPaymentAccountAccount ¶
func (inst *PublicBuy) GetPaymentAccountAccount() *ag_solanago.AccountMeta
GetPaymentAccountAccount gets the "paymentAccount" account.
func (*PublicBuy) GetRentAccount ¶
func (inst *PublicBuy) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*PublicBuy) GetSystemProgramAccount ¶
func (inst *PublicBuy) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*PublicBuy) GetTokenAccountAccount ¶
func (inst *PublicBuy) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*PublicBuy) GetTokenProgramAccount ¶
func (inst *PublicBuy) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*PublicBuy) GetTransferAuthorityAccount ¶
func (inst *PublicBuy) GetTransferAuthorityAccount() *ag_solanago.AccountMeta
GetTransferAuthorityAccount gets the "transferAuthority" account.
func (*PublicBuy) GetTreasuryMintAccount ¶
func (inst *PublicBuy) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*PublicBuy) GetWalletAccount ¶
func (inst *PublicBuy) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (PublicBuy) MarshalWithEncoder ¶
func (*PublicBuy) SetAuctionHouseAccount ¶
func (inst *PublicBuy) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *PublicBuy
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*PublicBuy) SetAuctionHouseFeeAccountAccount ¶
func (inst *PublicBuy) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *PublicBuy
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*PublicBuy) SetAuthorityAccount ¶
func (inst *PublicBuy) SetAuthorityAccount(authority ag_solanago.PublicKey) *PublicBuy
SetAuthorityAccount sets the "authority" account.
func (*PublicBuy) SetBuyerPrice ¶
SetBuyerPrice sets the "buyerPrice" parameter.
func (*PublicBuy) SetBuyerTradeStateAccount ¶
func (inst *PublicBuy) SetBuyerTradeStateAccount(buyerTradeState ag_solanago.PublicKey) *PublicBuy
SetBuyerTradeStateAccount sets the "buyerTradeState" account.
func (*PublicBuy) SetEscrowPaymentAccountAccount ¶
func (inst *PublicBuy) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *PublicBuy
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*PublicBuy) SetEscrowPaymentBump ¶
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*PublicBuy) SetMetadataAccount ¶
func (inst *PublicBuy) SetMetadataAccount(metadata ag_solanago.PublicKey) *PublicBuy
SetMetadataAccount sets the "metadata" account.
func (*PublicBuy) SetPaymentAccountAccount ¶
func (inst *PublicBuy) SetPaymentAccountAccount(paymentAccount ag_solanago.PublicKey) *PublicBuy
SetPaymentAccountAccount sets the "paymentAccount" account.
func (*PublicBuy) SetRentAccount ¶
func (inst *PublicBuy) SetRentAccount(rent ag_solanago.PublicKey) *PublicBuy
SetRentAccount sets the "rent" account.
func (*PublicBuy) SetSystemProgramAccount ¶
func (inst *PublicBuy) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *PublicBuy
SetSystemProgramAccount sets the "systemProgram" account.
func (*PublicBuy) SetTokenAccountAccount ¶
func (inst *PublicBuy) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *PublicBuy
SetTokenAccountAccount sets the "tokenAccount" account.
func (*PublicBuy) SetTokenProgramAccount ¶
func (inst *PublicBuy) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *PublicBuy
SetTokenProgramAccount sets the "tokenProgram" account.
func (*PublicBuy) SetTokenSize ¶
SetTokenSize sets the "tokenSize" parameter.
func (*PublicBuy) SetTradeStateBump ¶
SetTradeStateBump sets the "tradeStateBump" parameter.
func (*PublicBuy) SetTransferAuthorityAccount ¶
func (inst *PublicBuy) SetTransferAuthorityAccount(transferAuthority ag_solanago.PublicKey) *PublicBuy
SetTransferAuthorityAccount sets the "transferAuthority" account.
func (*PublicBuy) SetTreasuryMintAccount ¶
func (inst *PublicBuy) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *PublicBuy
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*PublicBuy) SetWalletAccount ¶
func (inst *PublicBuy) SetWalletAccount(wallet ag_solanago.PublicKey) *PublicBuy
SetWalletAccount sets the "wallet" account.
func (*PublicBuy) UnmarshalWithDecoder ¶
func (PublicBuy) ValidateAndBuild ¶
func (inst PublicBuy) 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 PurchaseReceipt ¶
type PurchaseReceipt struct { Bookkeeper ag_solanago.PublicKey Buyer ag_solanago.PublicKey Seller ag_solanago.PublicKey AuctionHouse ag_solanago.PublicKey Metadata ag_solanago.PublicKey TokenSize uint64 Price uint64 Bump uint8 CreatedAt int64 }
func (PurchaseReceipt) MarshalWithEncoder ¶
func (obj PurchaseReceipt) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*PurchaseReceipt) UnmarshalWithDecoder ¶
func (obj *PurchaseReceipt) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
type PurchaseType ¶
const ( PurchaseTypeExecuteSale PurchaseType = iota PurchaseTypeAuctioneerExecuteSale )
func (PurchaseType) String ¶
func (value PurchaseType) String() string
type Sell ¶
type Sell struct { TradeStateBump *uint8 FreeTradeStateBump *uint8 ProgramAsSignerBump *uint8 BuyerPrice *uint64 TokenSize *uint64 // [0] = [] wallet // // [1] = [WRITE] tokenAccount // // [2] = [] metadata // // [3] = [] authority // // [4] = [] auctionHouse // // [5] = [WRITE] auctionHouseFeeAccount // // [6] = [WRITE] sellerTradeState // // [7] = [WRITE] freeSellerTradeState // // [8] = [] tokenProgram // // [9] = [] systemProgram // // [10] = [] programAsSigner // // [11] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
Sell is the `sell` instruction.
func NewSellInstruction ¶
func NewSellInstruction( tradeStateBump uint8, freeTradeStateBump uint8, programAsSignerBump uint8, buyerPrice uint64, tokenSize uint64, wallet ag_solanago.PublicKey, tokenAccount ag_solanago.PublicKey, metadata ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, sellerTradeState ag_solanago.PublicKey, freeSellerTradeState ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, programAsSigner ag_solanago.PublicKey, rent ag_solanago.PublicKey) *Sell
NewSellInstruction declares a new Sell instruction with the provided parameters and accounts.
func NewSellInstructionBuilder ¶
func NewSellInstructionBuilder() *Sell
NewSellInstructionBuilder creates a new `Sell` instruction builder.
func (Sell) Build ¶
func (inst Sell) Build() *Instruction
func (*Sell) EncodeToTree ¶
func (inst *Sell) EncodeToTree(parent ag_treeout.Branches)
func (*Sell) GetAuctionHouseAccount ¶
func (inst *Sell) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*Sell) GetAuctionHouseFeeAccountAccount ¶
func (inst *Sell) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*Sell) GetAuthorityAccount ¶
func (inst *Sell) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*Sell) GetFreeSellerTradeStateAccount ¶
func (inst *Sell) GetFreeSellerTradeStateAccount() *ag_solanago.AccountMeta
GetFreeSellerTradeStateAccount gets the "freeSellerTradeState" account.
func (*Sell) GetMetadataAccount ¶
func (inst *Sell) GetMetadataAccount() *ag_solanago.AccountMeta
GetMetadataAccount gets the "metadata" account.
func (*Sell) GetProgramAsSignerAccount ¶
func (inst *Sell) GetProgramAsSignerAccount() *ag_solanago.AccountMeta
GetProgramAsSignerAccount gets the "programAsSigner" account.
func (*Sell) GetRentAccount ¶
func (inst *Sell) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*Sell) GetSellerTradeStateAccount ¶
func (inst *Sell) GetSellerTradeStateAccount() *ag_solanago.AccountMeta
GetSellerTradeStateAccount gets the "sellerTradeState" account.
func (*Sell) GetSystemProgramAccount ¶
func (inst *Sell) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Sell) GetTokenAccountAccount ¶
func (inst *Sell) GetTokenAccountAccount() *ag_solanago.AccountMeta
GetTokenAccountAccount gets the "tokenAccount" account.
func (*Sell) GetTokenProgramAccount ¶
func (inst *Sell) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*Sell) GetWalletAccount ¶
func (inst *Sell) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (Sell) MarshalWithEncoder ¶
func (*Sell) SetAuctionHouseAccount ¶
func (inst *Sell) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Sell
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*Sell) SetAuctionHouseFeeAccountAccount ¶
func (inst *Sell) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Sell
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*Sell) SetAuthorityAccount ¶
func (inst *Sell) SetAuthorityAccount(authority ag_solanago.PublicKey) *Sell
SetAuthorityAccount sets the "authority" account.
func (*Sell) SetBuyerPrice ¶
SetBuyerPrice sets the "buyerPrice" parameter.
func (*Sell) SetFreeSellerTradeStateAccount ¶
func (inst *Sell) SetFreeSellerTradeStateAccount(freeSellerTradeState ag_solanago.PublicKey) *Sell
SetFreeSellerTradeStateAccount sets the "freeSellerTradeState" account.
func (*Sell) SetFreeTradeStateBump ¶
SetFreeTradeStateBump sets the "freeTradeStateBump" parameter.
func (*Sell) SetMetadataAccount ¶
func (inst *Sell) SetMetadataAccount(metadata ag_solanago.PublicKey) *Sell
SetMetadataAccount sets the "metadata" account.
func (*Sell) SetProgramAsSignerAccount ¶
func (inst *Sell) SetProgramAsSignerAccount(programAsSigner ag_solanago.PublicKey) *Sell
SetProgramAsSignerAccount sets the "programAsSigner" account.
func (*Sell) SetProgramAsSignerBump ¶
SetProgramAsSignerBump sets the "programAsSignerBump" parameter.
func (*Sell) SetRentAccount ¶
func (inst *Sell) SetRentAccount(rent ag_solanago.PublicKey) *Sell
SetRentAccount sets the "rent" account.
func (*Sell) SetSellerTradeStateAccount ¶
func (inst *Sell) SetSellerTradeStateAccount(sellerTradeState ag_solanago.PublicKey) *Sell
SetSellerTradeStateAccount sets the "sellerTradeState" account.
func (*Sell) SetSystemProgramAccount ¶
func (inst *Sell) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Sell
SetSystemProgramAccount sets the "systemProgram" account.
func (*Sell) SetTokenAccountAccount ¶
func (inst *Sell) SetTokenAccountAccount(tokenAccount ag_solanago.PublicKey) *Sell
SetTokenAccountAccount sets the "tokenAccount" account.
func (*Sell) SetTokenProgramAccount ¶
func (inst *Sell) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Sell
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Sell) SetTokenSize ¶
SetTokenSize sets the "tokenSize" parameter.
func (*Sell) SetTradeStateBump ¶
SetTradeStateBump sets the "tradeStateBump" parameter.
func (*Sell) SetWalletAccount ¶
func (inst *Sell) SetWalletAccount(wallet ag_solanago.PublicKey) *Sell
SetWalletAccount sets the "wallet" account.
func (*Sell) UnmarshalWithDecoder ¶
func (Sell) ValidateAndBuild ¶
func (inst Sell) 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 UpdateAuctionHouse ¶
type UpdateAuctionHouse struct { SellerFeeBasisPoints *uint16 `bin:"optional"` RequiresSignOff *bool `bin:"optional"` CanChangeSalePrice *bool `bin:"optional"` // [0] = [] treasuryMint // // [1] = [SIGNER] payer // // [2] = [SIGNER] authority // // [3] = [] newAuthority // // [4] = [WRITE] feeWithdrawalDestination // // [5] = [WRITE] treasuryWithdrawalDestination // // [6] = [] treasuryWithdrawalDestinationOwner // // [7] = [WRITE] auctionHouse // // [8] = [] tokenProgram // // [9] = [] systemProgram // // [10] = [] ataProgram // // [11] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateAuctionHouse is the `updateAuctionHouse` instruction.
func NewUpdateAuctionHouseInstruction ¶
func NewUpdateAuctionHouseInstruction( sellerFeeBasisPoints uint16, requiresSignOff bool, canChangeSalePrice bool, treasuryMint ag_solanago.PublicKey, payer ag_solanago.PublicKey, authority ag_solanago.PublicKey, newAuthority ag_solanago.PublicKey, feeWithdrawalDestination ag_solanago.PublicKey, treasuryWithdrawalDestination ag_solanago.PublicKey, treasuryWithdrawalDestinationOwner ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *UpdateAuctionHouse
NewUpdateAuctionHouseInstruction declares a new UpdateAuctionHouse instruction with the provided parameters and accounts.
func NewUpdateAuctionHouseInstructionBuilder ¶
func NewUpdateAuctionHouseInstructionBuilder() *UpdateAuctionHouse
NewUpdateAuctionHouseInstructionBuilder creates a new `UpdateAuctionHouse` instruction builder.
func (UpdateAuctionHouse) Build ¶
func (inst UpdateAuctionHouse) Build() *Instruction
func (*UpdateAuctionHouse) EncodeToTree ¶
func (inst *UpdateAuctionHouse) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateAuctionHouse) GetAtaProgramAccount ¶
func (inst *UpdateAuctionHouse) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*UpdateAuctionHouse) GetAuctionHouseAccount ¶
func (inst *UpdateAuctionHouse) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*UpdateAuctionHouse) GetAuthorityAccount ¶
func (inst *UpdateAuctionHouse) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*UpdateAuctionHouse) GetFeeWithdrawalDestinationAccount ¶
func (inst *UpdateAuctionHouse) GetFeeWithdrawalDestinationAccount() *ag_solanago.AccountMeta
GetFeeWithdrawalDestinationAccount gets the "feeWithdrawalDestination" account.
func (*UpdateAuctionHouse) GetNewAuthorityAccount ¶
func (inst *UpdateAuctionHouse) GetNewAuthorityAccount() *ag_solanago.AccountMeta
GetNewAuthorityAccount gets the "newAuthority" account.
func (*UpdateAuctionHouse) GetPayerAccount ¶
func (inst *UpdateAuctionHouse) GetPayerAccount() *ag_solanago.AccountMeta
GetPayerAccount gets the "payer" account.
func (*UpdateAuctionHouse) GetRentAccount ¶
func (inst *UpdateAuctionHouse) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*UpdateAuctionHouse) GetSystemProgramAccount ¶
func (inst *UpdateAuctionHouse) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*UpdateAuctionHouse) GetTokenProgramAccount ¶
func (inst *UpdateAuctionHouse) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*UpdateAuctionHouse) GetTreasuryMintAccount ¶
func (inst *UpdateAuctionHouse) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*UpdateAuctionHouse) GetTreasuryWithdrawalDestinationAccount ¶
func (inst *UpdateAuctionHouse) GetTreasuryWithdrawalDestinationAccount() *ag_solanago.AccountMeta
GetTreasuryWithdrawalDestinationAccount gets the "treasuryWithdrawalDestination" account.
func (*UpdateAuctionHouse) GetTreasuryWithdrawalDestinationOwnerAccount ¶
func (inst *UpdateAuctionHouse) GetTreasuryWithdrawalDestinationOwnerAccount() *ag_solanago.AccountMeta
GetTreasuryWithdrawalDestinationOwnerAccount gets the "treasuryWithdrawalDestinationOwner" account.
func (UpdateAuctionHouse) MarshalWithEncoder ¶
func (obj UpdateAuctionHouse) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateAuctionHouse) SetAtaProgramAccount ¶
func (inst *UpdateAuctionHouse) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *UpdateAuctionHouse
SetAtaProgramAccount sets the "ataProgram" account.
func (*UpdateAuctionHouse) SetAuctionHouseAccount ¶
func (inst *UpdateAuctionHouse) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *UpdateAuctionHouse
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*UpdateAuctionHouse) SetAuthorityAccount ¶
func (inst *UpdateAuctionHouse) SetAuthorityAccount(authority ag_solanago.PublicKey) *UpdateAuctionHouse
SetAuthorityAccount sets the "authority" account.
func (*UpdateAuctionHouse) SetCanChangeSalePrice ¶
func (inst *UpdateAuctionHouse) SetCanChangeSalePrice(canChangeSalePrice bool) *UpdateAuctionHouse
SetCanChangeSalePrice sets the "canChangeSalePrice" parameter.
func (*UpdateAuctionHouse) SetFeeWithdrawalDestinationAccount ¶
func (inst *UpdateAuctionHouse) SetFeeWithdrawalDestinationAccount(feeWithdrawalDestination ag_solanago.PublicKey) *UpdateAuctionHouse
SetFeeWithdrawalDestinationAccount sets the "feeWithdrawalDestination" account.
func (*UpdateAuctionHouse) SetNewAuthorityAccount ¶
func (inst *UpdateAuctionHouse) SetNewAuthorityAccount(newAuthority ag_solanago.PublicKey) *UpdateAuctionHouse
SetNewAuthorityAccount sets the "newAuthority" account.
func (*UpdateAuctionHouse) SetPayerAccount ¶
func (inst *UpdateAuctionHouse) SetPayerAccount(payer ag_solanago.PublicKey) *UpdateAuctionHouse
SetPayerAccount sets the "payer" account.
func (*UpdateAuctionHouse) SetRentAccount ¶
func (inst *UpdateAuctionHouse) SetRentAccount(rent ag_solanago.PublicKey) *UpdateAuctionHouse
SetRentAccount sets the "rent" account.
func (*UpdateAuctionHouse) SetRequiresSignOff ¶
func (inst *UpdateAuctionHouse) SetRequiresSignOff(requiresSignOff bool) *UpdateAuctionHouse
SetRequiresSignOff sets the "requiresSignOff" parameter.
func (*UpdateAuctionHouse) SetSellerFeeBasisPoints ¶
func (inst *UpdateAuctionHouse) SetSellerFeeBasisPoints(sellerFeeBasisPoints uint16) *UpdateAuctionHouse
SetSellerFeeBasisPoints sets the "sellerFeeBasisPoints" parameter.
func (*UpdateAuctionHouse) SetSystemProgramAccount ¶
func (inst *UpdateAuctionHouse) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAuctionHouse
SetSystemProgramAccount sets the "systemProgram" account.
func (*UpdateAuctionHouse) SetTokenProgramAccount ¶
func (inst *UpdateAuctionHouse) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *UpdateAuctionHouse
SetTokenProgramAccount sets the "tokenProgram" account.
func (*UpdateAuctionHouse) SetTreasuryMintAccount ¶
func (inst *UpdateAuctionHouse) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *UpdateAuctionHouse
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*UpdateAuctionHouse) SetTreasuryWithdrawalDestinationAccount ¶
func (inst *UpdateAuctionHouse) SetTreasuryWithdrawalDestinationAccount(treasuryWithdrawalDestination ag_solanago.PublicKey) *UpdateAuctionHouse
SetTreasuryWithdrawalDestinationAccount sets the "treasuryWithdrawalDestination" account.
func (*UpdateAuctionHouse) SetTreasuryWithdrawalDestinationOwnerAccount ¶
func (inst *UpdateAuctionHouse) SetTreasuryWithdrawalDestinationOwnerAccount(treasuryWithdrawalDestinationOwner ag_solanago.PublicKey) *UpdateAuctionHouse
SetTreasuryWithdrawalDestinationOwnerAccount sets the "treasuryWithdrawalDestinationOwner" account.
func (*UpdateAuctionHouse) UnmarshalWithDecoder ¶
func (obj *UpdateAuctionHouse) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateAuctionHouse) Validate ¶
func (inst *UpdateAuctionHouse) Validate() error
func (UpdateAuctionHouse) ValidateAndBuild ¶
func (inst UpdateAuctionHouse) 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 UpdateAuctioneer ¶
type UpdateAuctioneer struct { Scopes *[]AuthorityScope // [0] = [WRITE] auctionHouse // // [1] = [WRITE, SIGNER] authority // // [2] = [] auctioneerAuthority // // [3] = [WRITE] ahAuctioneerPda // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
UpdateAuctioneer is the `updateAuctioneer` instruction.
func NewUpdateAuctioneerInstruction ¶
func NewUpdateAuctioneerInstruction( scopes []AuthorityScope, auctionHouse ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctioneerAuthority ag_solanago.PublicKey, ahAuctioneerPda ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *UpdateAuctioneer
NewUpdateAuctioneerInstruction declares a new UpdateAuctioneer instruction with the provided parameters and accounts.
func NewUpdateAuctioneerInstructionBuilder ¶
func NewUpdateAuctioneerInstructionBuilder() *UpdateAuctioneer
NewUpdateAuctioneerInstructionBuilder creates a new `UpdateAuctioneer` instruction builder.
func (UpdateAuctioneer) Build ¶
func (inst UpdateAuctioneer) Build() *Instruction
func (*UpdateAuctioneer) EncodeToTree ¶
func (inst *UpdateAuctioneer) EncodeToTree(parent ag_treeout.Branches)
func (*UpdateAuctioneer) GetAhAuctioneerPdaAccount ¶
func (inst *UpdateAuctioneer) GetAhAuctioneerPdaAccount() *ag_solanago.AccountMeta
GetAhAuctioneerPdaAccount gets the "ahAuctioneerPda" account.
func (*UpdateAuctioneer) GetAuctionHouseAccount ¶
func (inst *UpdateAuctioneer) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*UpdateAuctioneer) GetAuctioneerAuthorityAccount ¶
func (inst *UpdateAuctioneer) GetAuctioneerAuthorityAccount() *ag_solanago.AccountMeta
GetAuctioneerAuthorityAccount gets the "auctioneerAuthority" account.
func (*UpdateAuctioneer) GetAuthorityAccount ¶
func (inst *UpdateAuctioneer) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*UpdateAuctioneer) GetSystemProgramAccount ¶
func (inst *UpdateAuctioneer) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (UpdateAuctioneer) MarshalWithEncoder ¶
func (obj UpdateAuctioneer) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*UpdateAuctioneer) SetAhAuctioneerPdaAccount ¶
func (inst *UpdateAuctioneer) SetAhAuctioneerPdaAccount(ahAuctioneerPda ag_solanago.PublicKey) *UpdateAuctioneer
SetAhAuctioneerPdaAccount sets the "ahAuctioneerPda" account.
func (*UpdateAuctioneer) SetAuctionHouseAccount ¶
func (inst *UpdateAuctioneer) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *UpdateAuctioneer
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*UpdateAuctioneer) SetAuctioneerAuthorityAccount ¶
func (inst *UpdateAuctioneer) SetAuctioneerAuthorityAccount(auctioneerAuthority ag_solanago.PublicKey) *UpdateAuctioneer
SetAuctioneerAuthorityAccount sets the "auctioneerAuthority" account.
func (*UpdateAuctioneer) SetAuthorityAccount ¶
func (inst *UpdateAuctioneer) SetAuthorityAccount(authority ag_solanago.PublicKey) *UpdateAuctioneer
SetAuthorityAccount sets the "authority" account.
func (*UpdateAuctioneer) SetScopes ¶
func (inst *UpdateAuctioneer) SetScopes(scopes []AuthorityScope) *UpdateAuctioneer
SetScopes sets the "scopes" parameter.
func (*UpdateAuctioneer) SetSystemProgramAccount ¶
func (inst *UpdateAuctioneer) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *UpdateAuctioneer
SetSystemProgramAccount sets the "systemProgram" account.
func (*UpdateAuctioneer) UnmarshalWithDecoder ¶
func (obj *UpdateAuctioneer) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*UpdateAuctioneer) Validate ¶
func (inst *UpdateAuctioneer) Validate() error
func (UpdateAuctioneer) ValidateAndBuild ¶
func (inst UpdateAuctioneer) 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 Withdraw ¶
type Withdraw struct { EscrowPaymentBump *uint8 Amount *uint64 // [0] = [] wallet // // [1] = [WRITE] receiptAccount // // [2] = [WRITE] escrowPaymentAccount // // [3] = [] treasuryMint // // [4] = [] authority // // [5] = [] auctionHouse // // [6] = [WRITE] auctionHouseFeeAccount // // [7] = [] tokenProgram // // [8] = [] systemProgram // // [9] = [] ataProgram // // [10] = [] rent ag_solanago.AccountMetaSlice `bin:"-"` }
Withdraw is the `withdraw` instruction.
func NewWithdrawInstruction ¶
func NewWithdrawInstruction( escrowPaymentBump uint8, amount uint64, wallet ag_solanago.PublicKey, receiptAccount ag_solanago.PublicKey, escrowPaymentAccount ag_solanago.PublicKey, treasuryMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey, ataProgram ag_solanago.PublicKey, rent ag_solanago.PublicKey) *Withdraw
NewWithdrawInstruction declares a new Withdraw instruction with the provided parameters and accounts.
func NewWithdrawInstructionBuilder ¶
func NewWithdrawInstructionBuilder() *Withdraw
NewWithdrawInstructionBuilder creates a new `Withdraw` instruction builder.
func (Withdraw) Build ¶
func (inst Withdraw) Build() *Instruction
func (*Withdraw) EncodeToTree ¶
func (inst *Withdraw) EncodeToTree(parent ag_treeout.Branches)
func (*Withdraw) GetAtaProgramAccount ¶
func (inst *Withdraw) GetAtaProgramAccount() *ag_solanago.AccountMeta
GetAtaProgramAccount gets the "ataProgram" account.
func (*Withdraw) GetAuctionHouseAccount ¶
func (inst *Withdraw) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*Withdraw) GetAuctionHouseFeeAccountAccount ¶
func (inst *Withdraw) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*Withdraw) GetAuthorityAccount ¶
func (inst *Withdraw) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*Withdraw) GetEscrowPaymentAccountAccount ¶
func (inst *Withdraw) GetEscrowPaymentAccountAccount() *ag_solanago.AccountMeta
GetEscrowPaymentAccountAccount gets the "escrowPaymentAccount" account.
func (*Withdraw) GetReceiptAccountAccount ¶
func (inst *Withdraw) GetReceiptAccountAccount() *ag_solanago.AccountMeta
GetReceiptAccountAccount gets the "receiptAccount" account.
func (*Withdraw) GetRentAccount ¶
func (inst *Withdraw) GetRentAccount() *ag_solanago.AccountMeta
GetRentAccount gets the "rent" account.
func (*Withdraw) GetSystemProgramAccount ¶
func (inst *Withdraw) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*Withdraw) GetTokenProgramAccount ¶
func (inst *Withdraw) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*Withdraw) GetTreasuryMintAccount ¶
func (inst *Withdraw) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*Withdraw) GetWalletAccount ¶
func (inst *Withdraw) GetWalletAccount() *ag_solanago.AccountMeta
GetWalletAccount gets the "wallet" account.
func (Withdraw) MarshalWithEncoder ¶
func (*Withdraw) SetAtaProgramAccount ¶
func (inst *Withdraw) SetAtaProgramAccount(ataProgram ag_solanago.PublicKey) *Withdraw
SetAtaProgramAccount sets the "ataProgram" account.
func (*Withdraw) SetAuctionHouseAccount ¶
func (inst *Withdraw) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *Withdraw
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*Withdraw) SetAuctionHouseFeeAccountAccount ¶
func (inst *Withdraw) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *Withdraw
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*Withdraw) SetAuthorityAccount ¶
func (inst *Withdraw) SetAuthorityAccount(authority ag_solanago.PublicKey) *Withdraw
SetAuthorityAccount sets the "authority" account.
func (*Withdraw) SetEscrowPaymentAccountAccount ¶
func (inst *Withdraw) SetEscrowPaymentAccountAccount(escrowPaymentAccount ag_solanago.PublicKey) *Withdraw
SetEscrowPaymentAccountAccount sets the "escrowPaymentAccount" account.
func (*Withdraw) SetEscrowPaymentBump ¶
SetEscrowPaymentBump sets the "escrowPaymentBump" parameter.
func (*Withdraw) SetReceiptAccountAccount ¶
func (inst *Withdraw) SetReceiptAccountAccount(receiptAccount ag_solanago.PublicKey) *Withdraw
SetReceiptAccountAccount sets the "receiptAccount" account.
func (*Withdraw) SetRentAccount ¶
func (inst *Withdraw) SetRentAccount(rent ag_solanago.PublicKey) *Withdraw
SetRentAccount sets the "rent" account.
func (*Withdraw) SetSystemProgramAccount ¶
func (inst *Withdraw) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *Withdraw
SetSystemProgramAccount sets the "systemProgram" account.
func (*Withdraw) SetTokenProgramAccount ¶
func (inst *Withdraw) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *Withdraw
SetTokenProgramAccount sets the "tokenProgram" account.
func (*Withdraw) SetTreasuryMintAccount ¶
func (inst *Withdraw) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *Withdraw
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*Withdraw) SetWalletAccount ¶
func (inst *Withdraw) SetWalletAccount(wallet ag_solanago.PublicKey) *Withdraw
SetWalletAccount sets the "wallet" account.
func (*Withdraw) UnmarshalWithDecoder ¶
func (Withdraw) ValidateAndBuild ¶
func (inst Withdraw) 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 WithdrawFromFee ¶
type WithdrawFromFee struct { Amount *uint64 // [0] = [SIGNER] authority // // [1] = [WRITE] feeWithdrawalDestination // // [2] = [WRITE] auctionHouseFeeAccount // // [3] = [WRITE] auctionHouse // // [4] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
WithdrawFromFee is the `withdrawFromFee` instruction.
func NewWithdrawFromFeeInstruction ¶
func NewWithdrawFromFeeInstruction( amount uint64, authority ag_solanago.PublicKey, feeWithdrawalDestination ag_solanago.PublicKey, auctionHouseFeeAccount ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *WithdrawFromFee
NewWithdrawFromFeeInstruction declares a new WithdrawFromFee instruction with the provided parameters and accounts.
func NewWithdrawFromFeeInstructionBuilder ¶
func NewWithdrawFromFeeInstructionBuilder() *WithdrawFromFee
NewWithdrawFromFeeInstructionBuilder creates a new `WithdrawFromFee` instruction builder.
func (WithdrawFromFee) Build ¶
func (inst WithdrawFromFee) Build() *Instruction
func (*WithdrawFromFee) EncodeToTree ¶
func (inst *WithdrawFromFee) EncodeToTree(parent ag_treeout.Branches)
func (*WithdrawFromFee) GetAuctionHouseAccount ¶
func (inst *WithdrawFromFee) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*WithdrawFromFee) GetAuctionHouseFeeAccountAccount ¶
func (inst *WithdrawFromFee) GetAuctionHouseFeeAccountAccount() *ag_solanago.AccountMeta
GetAuctionHouseFeeAccountAccount gets the "auctionHouseFeeAccount" account.
func (*WithdrawFromFee) GetAuthorityAccount ¶
func (inst *WithdrawFromFee) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*WithdrawFromFee) GetFeeWithdrawalDestinationAccount ¶
func (inst *WithdrawFromFee) GetFeeWithdrawalDestinationAccount() *ag_solanago.AccountMeta
GetFeeWithdrawalDestinationAccount gets the "feeWithdrawalDestination" account.
func (*WithdrawFromFee) GetSystemProgramAccount ¶
func (inst *WithdrawFromFee) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (WithdrawFromFee) MarshalWithEncoder ¶
func (obj WithdrawFromFee) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*WithdrawFromFee) SetAmount ¶
func (inst *WithdrawFromFee) SetAmount(amount uint64) *WithdrawFromFee
SetAmount sets the "amount" parameter.
func (*WithdrawFromFee) SetAuctionHouseAccount ¶
func (inst *WithdrawFromFee) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *WithdrawFromFee
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*WithdrawFromFee) SetAuctionHouseFeeAccountAccount ¶
func (inst *WithdrawFromFee) SetAuctionHouseFeeAccountAccount(auctionHouseFeeAccount ag_solanago.PublicKey) *WithdrawFromFee
SetAuctionHouseFeeAccountAccount sets the "auctionHouseFeeAccount" account.
func (*WithdrawFromFee) SetAuthorityAccount ¶
func (inst *WithdrawFromFee) SetAuthorityAccount(authority ag_solanago.PublicKey) *WithdrawFromFee
SetAuthorityAccount sets the "authority" account.
func (*WithdrawFromFee) SetFeeWithdrawalDestinationAccount ¶
func (inst *WithdrawFromFee) SetFeeWithdrawalDestinationAccount(feeWithdrawalDestination ag_solanago.PublicKey) *WithdrawFromFee
SetFeeWithdrawalDestinationAccount sets the "feeWithdrawalDestination" account.
func (*WithdrawFromFee) SetSystemProgramAccount ¶
func (inst *WithdrawFromFee) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *WithdrawFromFee
SetSystemProgramAccount sets the "systemProgram" account.
func (*WithdrawFromFee) UnmarshalWithDecoder ¶
func (obj *WithdrawFromFee) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*WithdrawFromFee) Validate ¶
func (inst *WithdrawFromFee) Validate() error
func (WithdrawFromFee) ValidateAndBuild ¶
func (inst WithdrawFromFee) 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 WithdrawFromTreasury ¶
type WithdrawFromTreasury struct { Amount *uint64 // [0] = [] treasuryMint // // [1] = [SIGNER] authority // // [2] = [WRITE] treasuryWithdrawalDestination // // [3] = [WRITE] auctionHouseTreasury // // [4] = [WRITE] auctionHouse // // [5] = [] tokenProgram // // [6] = [] systemProgram ag_solanago.AccountMetaSlice `bin:"-"` }
WithdrawFromTreasury is the `withdrawFromTreasury` instruction.
func NewWithdrawFromTreasuryInstruction ¶
func NewWithdrawFromTreasuryInstruction( amount uint64, treasuryMint ag_solanago.PublicKey, authority ag_solanago.PublicKey, treasuryWithdrawalDestination ag_solanago.PublicKey, auctionHouseTreasury ag_solanago.PublicKey, auctionHouse ag_solanago.PublicKey, tokenProgram ag_solanago.PublicKey, systemProgram ag_solanago.PublicKey) *WithdrawFromTreasury
NewWithdrawFromTreasuryInstruction declares a new WithdrawFromTreasury instruction with the provided parameters and accounts.
func NewWithdrawFromTreasuryInstructionBuilder ¶
func NewWithdrawFromTreasuryInstructionBuilder() *WithdrawFromTreasury
NewWithdrawFromTreasuryInstructionBuilder creates a new `WithdrawFromTreasury` instruction builder.
func (WithdrawFromTreasury) Build ¶
func (inst WithdrawFromTreasury) Build() *Instruction
func (*WithdrawFromTreasury) EncodeToTree ¶
func (inst *WithdrawFromTreasury) EncodeToTree(parent ag_treeout.Branches)
func (*WithdrawFromTreasury) GetAuctionHouseAccount ¶
func (inst *WithdrawFromTreasury) GetAuctionHouseAccount() *ag_solanago.AccountMeta
GetAuctionHouseAccount gets the "auctionHouse" account.
func (*WithdrawFromTreasury) GetAuctionHouseTreasuryAccount ¶
func (inst *WithdrawFromTreasury) GetAuctionHouseTreasuryAccount() *ag_solanago.AccountMeta
GetAuctionHouseTreasuryAccount gets the "auctionHouseTreasury" account.
func (*WithdrawFromTreasury) GetAuthorityAccount ¶
func (inst *WithdrawFromTreasury) GetAuthorityAccount() *ag_solanago.AccountMeta
GetAuthorityAccount gets the "authority" account.
func (*WithdrawFromTreasury) GetSystemProgramAccount ¶
func (inst *WithdrawFromTreasury) GetSystemProgramAccount() *ag_solanago.AccountMeta
GetSystemProgramAccount gets the "systemProgram" account.
func (*WithdrawFromTreasury) GetTokenProgramAccount ¶
func (inst *WithdrawFromTreasury) GetTokenProgramAccount() *ag_solanago.AccountMeta
GetTokenProgramAccount gets the "tokenProgram" account.
func (*WithdrawFromTreasury) GetTreasuryMintAccount ¶
func (inst *WithdrawFromTreasury) GetTreasuryMintAccount() *ag_solanago.AccountMeta
GetTreasuryMintAccount gets the "treasuryMint" account.
func (*WithdrawFromTreasury) GetTreasuryWithdrawalDestinationAccount ¶
func (inst *WithdrawFromTreasury) GetTreasuryWithdrawalDestinationAccount() *ag_solanago.AccountMeta
GetTreasuryWithdrawalDestinationAccount gets the "treasuryWithdrawalDestination" account.
func (WithdrawFromTreasury) MarshalWithEncoder ¶
func (obj WithdrawFromTreasury) MarshalWithEncoder(encoder *ag_binary.Encoder) (err error)
func (*WithdrawFromTreasury) SetAmount ¶
func (inst *WithdrawFromTreasury) SetAmount(amount uint64) *WithdrawFromTreasury
SetAmount sets the "amount" parameter.
func (*WithdrawFromTreasury) SetAuctionHouseAccount ¶
func (inst *WithdrawFromTreasury) SetAuctionHouseAccount(auctionHouse ag_solanago.PublicKey) *WithdrawFromTreasury
SetAuctionHouseAccount sets the "auctionHouse" account.
func (*WithdrawFromTreasury) SetAuctionHouseTreasuryAccount ¶
func (inst *WithdrawFromTreasury) SetAuctionHouseTreasuryAccount(auctionHouseTreasury ag_solanago.PublicKey) *WithdrawFromTreasury
SetAuctionHouseTreasuryAccount sets the "auctionHouseTreasury" account.
func (*WithdrawFromTreasury) SetAuthorityAccount ¶
func (inst *WithdrawFromTreasury) SetAuthorityAccount(authority ag_solanago.PublicKey) *WithdrawFromTreasury
SetAuthorityAccount sets the "authority" account.
func (*WithdrawFromTreasury) SetSystemProgramAccount ¶
func (inst *WithdrawFromTreasury) SetSystemProgramAccount(systemProgram ag_solanago.PublicKey) *WithdrawFromTreasury
SetSystemProgramAccount sets the "systemProgram" account.
func (*WithdrawFromTreasury) SetTokenProgramAccount ¶
func (inst *WithdrawFromTreasury) SetTokenProgramAccount(tokenProgram ag_solanago.PublicKey) *WithdrawFromTreasury
SetTokenProgramAccount sets the "tokenProgram" account.
func (*WithdrawFromTreasury) SetTreasuryMintAccount ¶
func (inst *WithdrawFromTreasury) SetTreasuryMintAccount(treasuryMint ag_solanago.PublicKey) *WithdrawFromTreasury
SetTreasuryMintAccount sets the "treasuryMint" account.
func (*WithdrawFromTreasury) SetTreasuryWithdrawalDestinationAccount ¶
func (inst *WithdrawFromTreasury) SetTreasuryWithdrawalDestinationAccount(treasuryWithdrawalDestination ag_solanago.PublicKey) *WithdrawFromTreasury
SetTreasuryWithdrawalDestinationAccount sets the "treasuryWithdrawalDestination" account.
func (*WithdrawFromTreasury) UnmarshalWithDecoder ¶
func (obj *WithdrawFromTreasury) UnmarshalWithDecoder(decoder *ag_binary.Decoder) (err error)
func (*WithdrawFromTreasury) Validate ¶
func (inst *WithdrawFromTreasury) Validate() error
func (WithdrawFromTreasury) ValidateAndBuild ¶
func (inst WithdrawFromTreasury) 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.
Source Files ¶
- AuctioneerBuy.go
- AuctioneerCancel.go
- AuctioneerDeposit.go
- AuctioneerExecutePartialSale.go
- AuctioneerExecuteSale.go
- AuctioneerPublicBuy.go
- AuctioneerSell.go
- AuctioneerWithdraw.go
- Buy.go
- Cancel.go
- CancelBidReceipt.go
- CancelListingReceipt.go
- CloseEscrowAccount.go
- CreateAuctionHouse.go
- DelegateAuctioneer.go
- Deposit.go
- ExecutePartialSale.go
- ExecuteSale.go
- PrintBidReceipt.go
- PrintListingReceipt.go
- PrintPurchaseReceipt.go
- PublicBuy.go
- Sell.go
- UpdateAuctionHouse.go
- UpdateAuctioneer.go
- Withdraw.go
- WithdrawFromFee.go
- WithdrawFromTreasury.go
- accounts.go
- instructions.go
- testing_utils.go
- types.go