Name | Arguments | Accounts |
---|---|---|
initialize | bump:`u8` feeAccountBump:`u8` treasuryAccountBump:`u8` sellerFeeBasisPoints:`u16` | wildJoker isMut wildJokerFeeAccount wildJokerTreasuryAccount payer isSigner authority feeWithdrawalDestination treasuryWithdrawalDestination systemProgram |
update | sellerFeeBasisPoints:`Option<u16>` | wildJoker isMut authority isSigner newAuthority newFeeWithdrawalDestination newTreasuryWithdrawalDestination systemProgram |
deposit | escrowPaymentBump:`u8` amount:`u64` | wildJoker wildJokerFeeAccount isMut authority wallet isSigner paymentAccount isMut escrowPaymentAccount isMut systemProgram |
play | escrowPaymentBump:`u8` amount:`u64` card:`CardData` | wildJoker wildJokerTreasuryAccount isMut authority isSigner wallet escrowPaymentAccount isMut instructionSysvarAccount systemProgram |
claim | escrowPaymentBump:`u8` | wildJoker authority wallet isSigner receiptAccount isMut escrowPaymentAccount isMut systemProgram |
withdrawFromFee | amount:`u64` | wildJoker wildJokerFeeAccount isMut authority isSigner feeWithdrawalDestination systemProgram |
withdrawFromTreasury | amount:`u64` | wildJoker wildJokerTreasuryAccount isMut authority isSigner treasuryWithdrawalDestination systemProgram |