What the user sees
Swap You pay 45.00 USDC, you get 0.30 SOL. Included: 1 in 10 chance of 20% off this swap. Paid by the platform. Swap complete. 20% off this swap. +9.00 USDC back.
The offer sits on the swap screen; the result lands a few seconds after the trade.
Atomic with the swap
open_ticket can sit in the same transaction as the swap. Fade only restricts what may sit next to a liquidity provider’s deposit or withdrawal request, never what sits next to open_ticket. The swap and the ticket therefore land together or not at all. Two slots later the verifiable random draw can be requested, it is fulfilled in a few seconds, and the settlement pays a win to the platform, which credits it to the user. The platform’s keys sign and fund the ticket, the user’s signature covers only their own swap, and the platform or a keeper sends the two later steps.
The offer: 1 in 10, 20% off
On a 450 USDC swap, the platform pays 9.18 USDC (about 2.04 % of the trade) for a ticket that pays 90 USDC, a fifth of the trade, exactly 1 time in 10, at a 2 % declared margin:The offer is yours to shape
The same budget can be spread differently. Three offers at the same 9.18 USDC on the same 450 USDC swap, each at a 2 % margin:
Only the top reward costs the vault capacity: the whole-trade offer needs an idle vault of about 88 200 USDC, the 1 in 2 offer about 1 800 USDC. The largest reward a vault can back grows with the vault, so a platform can start with small discounts and move to whole trades as deposits come in. Tiers can also be mixed on one ticket, up to 32.
A lighter budget works too. A trade that pays 2.50 USDC of fees can have its fees back 1 time in 20: the platform pays 0.1276 USDC for a ticket that pays 2.50 USDC (
m = 195 925, p = 50 019 139), which an idle vault carries from about 475 USDC. Ticket prices below the minimum ticket price bundle several trades into one ticket.
Who funds the ticket
The platform, out of its fee revenue or its rewards budget: the user pays nothing extra, and the offer is designed as a sales promotion. The platform can also keep its own share of every ticket, as on Merchants and checkouts.Farming
A user could split one swap into many to multiply their chances. Keep the rule economic: the promotion’s expected cost per trade must stay below the fees that trade pays, or the discount must scale with the trade. Splitting then wins the user nothing on average.Who integrates
- DEX aggregators and wallets with a swap screen.
- Launchpads and mint platforms (“this mint might be on us”).
- Liquid staking and vaults, on deposits (“your deposit fee is on us”).
How it is wired
The business offering the reward runs it as organiser and is responsible for the rules of each market it serves. Fade is the technology provider. See Legal framework for the design rules and a summary by region.