Program administration
Construct wallet-signed configuration and treasury transactions. Nothing executes from the server.
Initialize a program
Simulation requires the connected wallet to be the deployed program's current upgrade authority.
Fund and lock principal
Funding debits the connected wallet's DICE ATA. A reserve floor can only increase and constrains future reserve spending.
Wager limits & fee
Changes apply only to future matches. Accepted matches retain their committed terms.
Lock a control group
This cannot be undone by an admin transfer. The transaction will require a separate review step.
Construct a transfer within the free balance after player obligations.
Burn from project-owned, spendable funds under treasury spending control.
Send a manual leaderboard or promotion distribution from free funds.
Stop future acceptance without blocking settlement or owed payouts.
Fixed program reward recipient
Configure a non-DICE Token-2022 reward source owned by the selected program. Once configured, sweeping remains permissionless—even after admin renunciation—and always sends to this fixed recipient.
Program finalization preflight
Removing a Solana program’s upgrade authority is irreversible. Finalize only after the deployed behavior has passed integration tests and every condition below is confirmed from current chain state.
This interface does not construct or sign an upgrade-authority removal. Recheck that the intended game is not frozen paused and that funds retain their intended payout, withdrawal, or permissionless reward path immediately before finalization.
