1. Claim a winning bet as CHANCE
The primary player path. When claiming a win, passclaimAsChance = true: claim fees come off the claimed USD first, then the net remainder is spent buying CHANCE on the Uniswap V4 pool in the claim transaction, and the CHANCE is delivered to your wallet.
- Set
minChanceOutas your slippage floor on the net buy - the claim revertsInsufficientChanceOutbelow it. - The net remainder converts with no USDG dust refund.
- Full mechanics: Claiming.
2. Claim staker earnings as CHANCE
After an exit tranche unlocks,claimStakerEarnings(requestId, assets, true, minChanceOut, affiliate) takes the same claim fees, then buys CHANCE for the net remainder. See Staking rewards.
What about direct buys?
USDG→CHANCE swaps on the V4 pool are gated by the hook: external buys are disabled by default (externalBuysEnabled = false), and the pool’s own internal buy path handles claims and buybacks. Unless a deployment explicitly enables external buys, don’t build UX that assumes users can market-buy CHANCE.
Sells are the asymmetry: CHANCE→USDG through the router is always open, even under the lock. See Selling.