All articles
DEX4 min read

One swap fee. Two destinations.

Inside the DEX’s 0.2% add-on, token burns, stablecoin exemptions and affiliate share.

Capybara-themed golden token burn illustration

An add-on outside the exchange core

BaraFi’s DEX design uses a separate deployment of unchanged Uniswap v4 core. A dedicated BaraFiSwapFeeHook collects the extra fee, rather than editing the core exchange accounting. Only pools attached to that hook apply the add-on.

The extra charge is 0.2% in the sold currency, on top of the pool’s liquidity-provider fee. A routed trade crossing multiple hooked pools can incur the add-on on more than one leg. A production quote must explain the total route cost.

The normal split

Half of the add-on normally goes to a fixed burn destination, and half goes to BaraFi. Each half corresponds to 0.1% of the relevant input base, subject to integer rounding. If a trader sells token A to buy token B, the hook fee and burn allocation are in A—not B.

Sending tokens to a burn address can put them outside ordinary circulation, but it does not necessarily reduce the token’s reported totalSupply. Issuer controls or new issuance can change the outcome. The mechanism cannot guarantee deflation or a higher market price.

Stablecoins skip the burn

Exact token addresses configured as burn-exempt send the normally burned half to BaraFi instead. The full 0.2% then becomes protocol-side fee revenue before eligible referral payments. The exemption is per deployment and chain, not based on a symbol or apparent peg.

The list is fixed at deployment. A stablecoin omitted from it is not automatically exempt. Addresses need issuer and on-chain verification before launch, and exemption does not protect users from depegs, freezes or malicious token behavior.

Referrals and BFI are separate steps

An eligible affiliate earns 25% of the normal BaraFi 0.1% half. That basis does not increase when a stablecoin redirects the burn allocation, and referrals do not reduce the normal burn half. Earnings stay in the sold currency in the hook’s own claim ledger.

The planned BFI buy-and-burn is a different process funded by BaraFi’s remaining fee share. The hook does not implement BFI purchases. The DEX remains a simulated workspace; deployment, independent review, wallet integration and applicable Uniswap license clearance are still required. BaraFi is not affiliated with or endorsed by Uniswap Labs.

Educational content about BaraFi’s pre-launch design—not financial advice or an independent security review.