Skip to main content

Module instruction

Module instruction 

Source
Expand description

Instruction discriminators + payload types.

Structs§

AdminPayout
Pay amount µUSDC from the treasury ATA to recipient_ata. Used for winner payouts and jackpot distributions. Only EXECUTOR_ADDRESS may sign.
AdminRouteFees
Route claimed DBC / DAMM v2 trading fees into the treasury and split them on-chain.
BuyTicket
Purchase tickets (gaming credits) with USDC.
Initialize
One-time setup: creates Treasury PDA + treasury USDC ATA. payer must be ADMIN_ADDRESS.

Enums§

StreakInstruction