Transaction Failed

An error occurred during transaction execution

Error Details
XEX Protocol · Refinery

Refinery Console

Standardized refinery machines with enforced outcome bounds. Create a new machine, adjust parameters, then deploy and register.

Factory gated Outcome guardrails TIME & ENERGY

Refinery Overview

Review active machines, simulate outcomes, and run live wagers with on-chain payouts. Every machine follows the same factory standard for consistent comparisons.

1Select a machine
2Simulate outcomes
3Place a wager
Bounded probabilities Choice-based outcomes Factory-driven
Outcome Limits
2 → 16
Choice Limit
Up to 16 picks
Refinery Luck Upgrades
TIME Boosts
Mint TIME
TIME Balance
Choose a TIME refinery to boost player luck.
0 / 100 upgrades remaining
Caps at 2.0x after 100 upgrades.
Default price
Admin Control

Refinery Control Center

Deploy factory-based machines, adjust outcomes, and manage liquidity without hunting through scattered widgets.

Admin Only Factory Guardrails
Deploy & Register
Create & Register Machine
Factory Only
Generate a new machine configuration
Factory deployment enforces bounded outcomes and guardrails.
1. Configure parameters 2. Deploy contract 3. Register machine
Contracts are created via the factory.
Address is filled after a successful deployment.
Sets how many player choices the machine offers (1–16).
Optional: Custom name & description
Used only for factory deployments. Leave blank to use the default name.
Used only for factory deployments.
Token must be authorized in Constants; TIME only for v1.4a.
Converted to basis points on submit.
Tickets per bet (decimals allowed; UI scales to on-chain 18 decimals).
Auto-calculated from outcomes.
Outcomes & probabilities
Adjust odds and multipliers; totals must equal 100%.
Total: 0%
Deploy a machine to preview its metadata here.
Machine Tools
Tune Machine (Quick Edit)
Choose a registered refinery machine to edit.
Authorized tokens only; TIME for v1.4a.
Tickets per bet (decimals allowed; UI scales to on-chain 18 decimals).
Auto-calculated from outcome table; edit via modal.
Add LUCK-only Machine
No payouts
LUCK-only machines can credit Jackpot tickets without being granted Refinery payout permissions. Use this for future fee modules (swap/staking/prediction/etc.) that should only call Jackpot.add_luck_for_machine.
Token metadata: —
Credits per fee token unit.
Deploys via LuckOnlyMachineFactory, then registers in MachineRegistry.
Liquidity & Fee Operations
Liquidity Pools
Admin only

Seed or withdraw shared liquidity that backs all refinery machines per bet token. Deposits go to the shared pool (not individual machines) and require admin or authorized depositor permissions.

Loading liquidity pools...
Fee Collector Sweep
Admin / Treasury / Oracle
Select the fee collector mapped to this bet token.
EXA
Slippage guard for the swap to EXA; 0 to skip guard.

Collector
Fee Balance
Epoch Status
Unfunded gaps roll forward until the pool is back to baseline.
LP Balance
LP Shortfall
ENERGY staking recipient

70% default routes through the buyback path.
Totals must equal 100%.
Pricing & Registry
Upgrade Pricing
TIME-only
Used whenever a machine does not define its own cost.

Override the default price for a specific refinery.
Protocol Machines (LUCK Sources)
MachineRegistry is shared by Jackpot: any active machine can credit LUCK into the current epoch. Refinery games are one type of machine; future fee modules (swaps, staking, etc.) can be wired the same way.
Loading registered machines...
Token Allowlist
Authorized Bet Tokens
0 authorized

Only tokens authorized here can be used as bet tokens in refinery machines. Revoking a token won't affect existing machines using it.

Loading authorized bet tokens...
Authorize New Bet Token
ERC20 token contract address