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_entry 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_entry. The swap and the entry therefore land together or not at all. A few seconds later the entry has its result, and a reward goes to the platform, which credits it to the user. The platform’s keys sign and fund the entry, the user’s signature covers only their own swap, and the revealer and keepers send the later steps.
The offer: 1 in 10, 20% off
On a 450 USDC swap, the platform pays 9.28 USDC (about 2.06 % of the trade) for an entry that pays 90 USDC, a fifth of the trade, exactly 1 time in 10, at a 3 % declared margin, the smallest at the base protocol share:
The 2 % protocol share falls with the platform’s cumulative volume (protocol share tiers): at the 1 % tier, the same 1 in 10 at the 2 % minimum costs 9.18 USDC.
The offer is yours to shape
The same budget can be spread differently. Three offers at the same 9.28 USDC on the same 450 USDC swap, each at a 3 % 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. Reward levels can also be mixed on one entry, 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.128866 USDC for an entry that pays 2.50 USDC (
m = 194 000, p = 50 000 000), which an idle vault carries from about 475 USDC. Entry costs below the minimum cost bundle several trades into one entry.
Who funds the entry
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 entry, 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.