Name | Arguments | Accounts |
---|---|---|
withdrawFromFee | amount:`u64` | authority isSigner feeWithdrawalDestination isMut holyHouseFeeAccount isMut holyHouse isMut systemProgram |
withdrawFromTreasury | amount:`u64` | treasuryMint authority isSigner treasuryWithdrawalDestination isMut holyHouseTreasury isMut holyHouse isMut tokenProgram systemProgram |
updateHouse | sellerFeeBasisPoints:`Option<u16>` requiresSignOff:`Option<bool>` canChangeSalePrice:`Option<bool>` | treasuryMint payer isSigner authority isSigner newAuthority feeWithdrawalDestination isMut treasuryWithdrawalDestination isMut treasuryWithdrawalDestinationOwner holyHouse isMut tokenProgram systemProgram ataProgram rent |
createHouse | bump:`u8` feePayerBump:`u8` treasuryBump:`u8` sellerFeeBasisPoints:`u16` requiresSignOff:`bool` canChangeSalePrice:`bool` | treasuryMint payer isSignerisMut authority feeWithdrawalDestination isMut treasuryWithdrawalDestination isMut treasuryWithdrawalDestinationOwner holyHouse isMut holyHouseFeeAccount isMut holyHouseTreasury isMut tokenProgram systemProgram ataProgram rent |
delist | buyerPrice:`u64` tokenSize:`u64` | wallet isMut tokenAccount isMut tokenMint authority holyHouse holyHouseFeeAccount isMut tradeState isMut tokenProgram |
offer | tradeStateBump:`u8` escrowPaymentBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet isSigner paymentAccount isMut transferAuthority treasuryMint tokenAccount metadata escrowPaymentAccount isMut authority holyHouse holyHouseFeeAccount isMut buyerTradeState isMut tokenProgram systemProgram rent |
deposit | escrowPaymentBump:`u8` amount:`u64` | wallet isSigner paymentAccount isMut transferAuthority escrowPaymentAccount isMut treasuryMint authority holyHouse holyHouseFeeAccount isMut tokenProgram systemProgram rent |
nativeSale | escrowPaymentBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` | buyer isMut seller isMut predefineWallet isMut tokenAccount isMut tokenMint metadata treasuryMint escrowPaymentAccount isMut sellerPaymentReceiptAccount isMut buyerReceiptTokenAccount isMut authority holyHouse holyHouseFeeAccount isMut holyHouseTreasury isMut buyerTradeState isMut sellerTradeState isMut freeTradeState isMut tokenProgram systemProgram ataProgram programAsSigner rent |
list | tradeStateBump:`u8` freeTradeStateBump:`u8` programAsSignerBump:`u8` buyerPrice:`u64` tokenSize:`u64` | wallet isMut tokenAccount isMut metadata authority holyHouse holyHouseFeeAccount isMut sellerTradeState isMut freeSellerTradeState isMut tokenProgram systemProgram programAsSigner rent |
withdraw | escrowPaymentBump:`u8` amount:`u64` | wallet receiptAccount isMut escrowPaymentAccount isMut treasuryMint authority holyHouse holyHouseFeeAccount isMut tokenProgram systemProgram ataProgram rent |
closeEscrowAccount | escrowPaymentBump:`u8` | wallet isSigner escrowPaymentAccount isMut holyHouse systemProgram |