Name | Arguments | Accounts |
---|---|---|
withdrawFromFee | amount:`u64` | authority isSigner feeWithdrawalDestination isMut auctionHouseFeeAccount isMut auctionHouse isMut systemProgram |
withdrawFromTreasury | amount:`u64` | treasuryMint authority isSigner treasuryWithdrawalDestination isMut auctionHouseTreasury isMut auctionHouse isMut tokenProgram systemProgram |
updateAuctionHouse | sellerFeeBasisPoints:`Option<u16>` requiresSignOff:`Option<bool>` canChangeSalePrice:`Option<bool>` | treasuryMint payer isSigner authority isSigner newAuthority feeWithdrawalDestination isMut treasuryWithdrawalDestination isMut treasuryWithdrawalDestinationOwner auctionHouse isMut tokenProgram systemProgram ataProgram rent |
createAuctionHouse | bump:`u8` feePayerBump:`u8` treasuryBump:`u8` sellerFeeBasisPoints:`u16` requiresSignOff:`bool` canChangeSalePrice:`bool` | treasuryMint payer isSignerisMut authority feeWithdrawalDestination isMut treasuryWithdrawalDestination isMut treasuryWithdrawalDestinationOwner auctionHouse isMut auctionHouseFeeAccount isMut auctionHouseTreasury isMut tokenProgram systemProgram ataProgram rent |
buy | tradeStateBump:`u8` escrowPaymentBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet isSigner paymentAccount isMut transferAuthority treasuryMint tokenAccount metadata escrowPaymentAccount isMut authority auctionHouse auctionHouseFeeAccount isMut buyerTradeState isMut tokenProgram systemProgram rent |
auctioneerBuy | tradeStateBump:`u8` escrowPaymentBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet isSigner paymentAccount isMut transferAuthority treasuryMint tokenAccount metadata escrowPaymentAccount isMut authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut buyerTradeState isMut ahAuctioneerPda tokenProgram systemProgram rent |
publicBuy | tradeStateBump:`u8` escrowPaymentBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet isSigner paymentAccount isMut transferAuthority treasuryMint tokenAccount metadata escrowPaymentAccount isMut authority auctionHouse auctionHouseFeeAccount isMut buyerTradeState isMut tokenProgram systemProgram rent |
auctioneerPublicBuy | tradeStateBump:`u8` escrowPaymentBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet isSigner paymentAccount isMut transferAuthority treasuryMint tokenAccount metadata escrowPaymentAccount isMut authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut buyerTradeState isMut ahAuctioneerPda tokenProgram systemProgram rent |
cancel | buyerPrice:`u64` tokenSize:`u64` | wallet isMut tokenAccount isMut tokenMint authority auctionHouse auctionHouseFeeAccount isMut tradeState isMut tokenProgram |
auctioneerCancel | buyerPrice:`u64` tokenSize:`u64` | wallet isMut tokenAccount isMut tokenMint authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut tradeState isMut ahAuctioneerPda tokenProgram |
deposit | escrowPaymentBump:`u8` amount:`u64` | wallet isSigner paymentAccount isMut transferAuthority escrowPaymentAccount isMut treasuryMint authority auctionHouse auctionHouseFeeAccount isMut tokenProgram systemProgram rent |
auctioneerDeposit | escrowPaymentBump:`u8` amount:`u64` | wallet isSigner paymentAccount isMut transferAuthority escrowPaymentAccount isMut treasuryMint authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut ahAuctioneerPda tokenProgram systemProgram rent |
executeSale | escrowPaymentBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` | buyer isMut seller isMut tokenAccount isMut tokenMint metadata treasuryMint escrowPaymentAccount isMut sellerPaymentReceiptAccount isMut buyerReceiptTokenAccount isMut authority auctionHouse auctionHouseFeeAccount isMut auctionHouseTreasury isMut buyerTradeState isMut sellerTradeState isMut freeTradeState isMut tokenProgram systemProgram ataProgram programAsSigner rent |
executePartialSale | escrowPaymentBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` partialOrderSize:`Option<u64>` partialOrderPrice:`Option<u64>` | buyer isMut seller isMut tokenAccount isMut tokenMint metadata treasuryMint escrowPaymentAccount isMut sellerPaymentReceiptAccount isMut buyerReceiptTokenAccount isMut authority auctionHouse auctionHouseFeeAccount isMut auctionHouseTreasury isMut buyerTradeState isMut sellerTradeState isMut freeTradeState isMut tokenProgram systemProgram ataProgram programAsSigner rent |
auctioneerExecuteSale | escrowPaymentBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` | buyer isMut seller isMut tokenAccount isMut tokenMint metadata treasuryMint escrowPaymentAccount isMut sellerPaymentReceiptAccount isMut buyerReceiptTokenAccount isMut authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut auctionHouseTreasury isMut buyerTradeState isMut sellerTradeState isMut freeTradeState isMut ahAuctioneerPda tokenProgram systemProgram ataProgram programAsSigner rent |
auctioneerExecutePartialSale | escrowPaymentBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` partialOrderSize:`Option<u64>` partialOrderPrice:`Option<u64>` | buyer isMut seller isMut tokenAccount isMut tokenMint metadata treasuryMint escrowPaymentAccount isMut sellerPaymentReceiptAccount isMut buyerReceiptTokenAccount isMut authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut auctionHouseTreasury isMut buyerTradeState isMut sellerTradeState isMut freeTradeState isMut ahAuctioneerPda tokenProgram systemProgram ataProgram programAsSigner rent |
sell | tradeStateBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet tokenAccount isMut metadata authority auctionHouse auctionHouseFeeAccount isMut sellerTradeState isMut freeSellerTradeState isMut tokenProgram systemProgram programAsSigner rent |
auctioneerSell | tradeStateBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` tokenSize:`u64` | wallet isMut tokenAccount isMut metadata authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut sellerTradeState isMut freeSellerTradeState isMut ahAuctioneerPda programAsSigner tokenProgram systemProgram rent |
withdraw | escrowPaymentBump:`u8` amount:`u64` | wallet receiptAccount isMut escrowPaymentAccount isMut treasuryMint authority auctionHouse auctionHouseFeeAccount isMut tokenProgram systemProgram ataProgram rent |
auctioneerWithdraw | escrowPaymentBump:`u8` amount:`u64` | wallet receiptAccount isMut escrowPaymentAccount isMut treasuryMint authority auctioneerAuthority isSigner auctionHouse auctionHouseFeeAccount isMut ahAuctioneerPda tokenProgram systemProgram ataProgram rent |
closeEscrowAccount | escrowPaymentBump:`u8` | wallet isSigner escrowPaymentAccount isMut auctionHouse systemProgram |
delegateAuctioneer | scopes:`Vec<AuthorityScope>` | auctionHouse isMut authority isSignerisMut auctioneerAuthority ahAuctioneerPda isMut systemProgram |
updateAuctioneer | scopes:`Vec<AuthorityScope>` | auctionHouse isMut authority isSignerisMut auctioneerAuthority ahAuctioneerPda isMut systemProgram |
printListingReceipt | receiptBump:`u8` | receipt isMut bookkeeper isSignerisMut systemProgram rent instruction |
cancelListingReceipt | receipt isMut systemProgram instruction | |
printBidReceipt | receiptBump:`u8` | receipt isMut bookkeeper isSignerisMut systemProgram rent instruction |
cancelBidReceipt | receipt isMut systemProgram instruction | |
printPurchaseReceipt | purchaseReceiptBump:`u8` | purchaseReceipt isMut listingReceipt isMut bidReceipt isMut bookkeeper isSignerisMut systemProgram rent instruction |