RESEARCH EDITION30 pages · Pre-launch protocols
BaraFi / The vision01 / 30

BaraFi Whitepaper

A calmer pond. A bigger financial playground. Peer-to-peer loans, fully backed options and an exchange built around clear rules.

Capybaras meeting beside the pond to make an agreement

Finance that starts with an agreement

Imagine opening a financial marketplace and seeing the actual deal: what you receive, what you commit, what it costs and when it ends. No guessing which moving interest rate you will pay tomorrow. No wondering whether a temporary price swing will close a fixed-term loan overnight. BaraFi begins with a simple idea: people should be able to choose their terms before their money moves.

That idea becomes three distinct products. BaraFi Lending brings borrowers and lenders together around fixed-duration, collateral-backed offers. BaraFi Options lets people buy and sell fully backed calls and puts. BaraFi DEX provides token swaps and liquidity pools using a separate deployment of unchanged Uniswap v4 core, with BaraFi’s extra fee implemented in its own hook.

Ambition, without the fine-print illusion

This document explains the design, the current contracts and the proposed BFI ecosystem. It is not a promise of returns, a token sale prospectus or an independent security audit. Contract source exists, but the website’s transactions, balances and earnings remain simulations. No live deployment or wallet integration is represented here. BFI issuance, staking and automated buy-and-burn mechanisms are still planned, not delivered.

Read this as a map of what BaraFi is building—and the questions that must be answered before real funds enter the pond. The capybara stands for a calmer experience, not a risk-free one. Clear agreements can remove some kinds of uncertainty; they cannot remove market losses, token failures or software bugs.

Three protocols. Separate contracts. Understandable agreements. Real risks, stated openly.

BARAFI · 01
BaraFi / The vision02 / 30

The whole pond, in one view

BaraFi connects three useful actions: borrowing without selling, choosing future trades and exchanging tokens today.

Loans: make time part of the deal

A lender deposits the asset they want to lend and publishes the collateral requirement, interest and duration. A borrower accepts all or part of that offer. The borrower receives the loan asset and locks the required collateral, plus an upfront fee in that collateral token. Repayment means returning principal and the full agreed interest before expiry. If that does not happen, the lender can claim the locked collateral once the deadline arrives.

There is no price-triggered liquidation or oracle-driven collateral adjustment in this lending model. That does not make the lender’s investment protected: the collateral might become worth less than the unpaid loan. It changes who makes the judgment—from an automated price rule to the people choosing the offer.

Options: buy a choice, not an obligation

A call gives its buyer the right to buy a token on agreed terms. A put gives its buyer the right to sell it. The seller backs the promise in advance with the asset needed for settlement. The buyer pays a premium, can exercise before expiry, and can also let the right expire. Settlement exchanges real tokens rather than paying a price-feed-calculated difference.

DEX and BFI: exchange, then connect the economics

The DEX is an automated market maker: traders swap against pooled liquidity, while liquidity providers manage inventory and earn pool fees. A separate BaraFi hook adds a 0.2% swap charge. Its normal split is half to a burn destination and half to BaraFi; configured stablecoins skip the burn. Affiliates receive a share of eligible BaraFi fees. The announced BFI design directs 80% of BaraFi’s remaining fee share to buying and burning the network’s BFI. That final buy-and-burn process is not yet implemented.

The loan is an agreement, the option is a right, and the DEX is a market—not one giant pooled promise.

BARAFI · 02
BaraFi / The vision03 / 30

Why a different kind of lending?

Sometimes the best financial feature is knowing the rules will not change halfway through your deal.

The moving-target problem

Many familiar DeFi lending markets pool deposits, vary borrowing rates with supply and demand, and use market prices to decide whether collateral is sufficient. Those mechanisms create valuable liquidity. They also mean a borrower’s experience depends on changing conditions: utilization, interest, collateral prices and liquidation thresholds. An abrupt market move can require urgent action.

BaraFi takes another route. Instead of asking a pool to continuously judge a position, a lender and borrower agree to a fixed package. The lender chooses the collateral and the amount needed. The borrower chooses whether the deal makes sense. The clock, not a price feed, determines when a default claim becomes available. This can appeal to people who value a known deadline and a known repayment amount.

The trade-off is the product

A fixed agreement is not automatically a better agreement. Borrowers commit collateral for the loan lifecycle and owe the full agreed interest even if they repay early. Lenders commit capital until it is repaid or a default claim becomes available. There is no automatic mechanism that sells collateral early to protect them if its value collapses.

The marketplace must also find willing counterparties. Publishing an offer does not guarantee a borrower will take it. Seeing an attractive borrowing opportunity does not guarantee its remaining liquidity will still be there when your transaction lands. These are order-book realities, not interface problems that a prettier screen can solve.

A useful alternative, not a universal replacement

BaraFi is designed to sit beside other financial tools, not to declare every other lending model obsolete. A borrower seeking flexible, immediate pooled liquidity may prefer another venue. Someone who wants a specific token, a defined period and no price-based liquidation may find an offer-based model more natural. Choice is the exciting part: a wider toolkit allows users to match the instrument to the situation.

BaraFi trades continuous price enforcement for fixed commitments and a clear maturity deadline.

BARAFI · 03
BaraFi / The vision04 / 30

Principles before promises

The rules that shape BaraFi are deliberately simple. Their consequences deserve a full explanation.

Separate jobs, separate contracts

Loans live in BaraFiLending. Options live in BaraFiOptions. DEX-specific fees live in BaraFiSwapFeeHook, outside the exchange core. Separating these responsibilities makes each system easier to inspect and reason about. A loan does not need option exercise logic, and an option does not need an automated market maker’s accounting. Separation reduces coupling; it is not proof that an exploit cannot affect multiple products through a shared token, dependency or integration.

Terms first; transactions second

An offer should tell you exactly which tokens move, the quantities, the interest or premium and the time boundaries. Accepted positions are not a negotiation that an administrator can quietly rewrite later. In lending and options, the custom contracts have no owner-operated upgrade, pause or rescue mechanism. Their treasury and fee parameters are fixed when deployed.

Immutability cuts both ways. It limits discretionary intervention, but it also means a broken deployment cannot simply be patched in place. A new version would be a new contract, and existing positions would still follow their original rules. Users must evaluate the contract address and deployment settings, not only the BaraFi name on a website.

Open access is not unlimited token compatibility

The goal is a broad ERC-20 marketplace, not a promise that every token works safely. Tokens that tax transfers, change balances through rebasing or execute unusual callbacks can violate accounting assumptions. Token issuers may freeze addresses or alter behavior. Contract transfer checks catch some mismatches; they do not certify a token’s future behavior. Screening and clear warnings remain essential.

Finally, a friendly interface should never pretend a preview is production. The current site uses illustrative activity and balances. A live product needs verified deployments, reviewed integrations, real indexing and transaction handling. Transparent boundaries are part of the design—not an apology for it.

Simple rules make decisions easier to understand, not consequences easier to escape.

BARAFI · 04
BaraFi / Loans05 / 30

Meet the lending marketplace

Think of BaraFi Lending as a shelf of clear offers, each funded by the person who wrote it.

A capybara watching over a lending pond

What a lender actually publishes

An offer names the loan token, the deposited amount, the collateral token, the collateral requirement, the interest terms and a supported duration. The lender deposits loan tokens when creating it. This matters: the offer is not just an advertisement backed by a future promise to find money. Its unfilled funds are already held by the contract.

A lender may choose a three-, six-, twelve- or twenty-four-month term. In the current implementation these use fixed thirty-day months: 90, 180, 360 or 720 days, not calendar-month anniversaries. A borrower’s due time is set when their loan is created, so separate fills of one offer can mature at different times.

What a borrower chooses

The borrower browses the available offers and chooses a quantity. A large offer can be filled in pieces. Each accepted piece becomes its own loan with a recorded principal, collateral, interest and deadline. The contract checks remaining capacity, so two borrowers cannot both spend the same final part of an offer.

There is no protocol judgment that a particular collateral ratio is fair. An expensive or badly collateralized offer is still a bad deal even if the contract executes it perfectly. The user’s job is to compare the actual asset amounts, token risks, time commitment and total repayment—not merely the headline interest figure.

A funded listing is not instant matching

A lender can cancel and recover only the unfilled portion. Active loans stay active on their original terms. Offers may remain unmatched indefinitely, and a thin market can make comparison harder. Good search, sorting and readable summaries help discovery, but they cannot manufacture demand or guarantee that a lender earns interest.

Lenders fund offers first. Borrowers pick the deal. Each fill starts its own clock.

BARAFI · 05
BaraFi / Loans06 / 30

A loan, from offer to finish

The lifecycle has two endings: repay on time and recover collateral, or miss maturity and let the lender claim it.

Step one: the offer becomes a loan

The borrower accepts an available offer or part of it. The contract calculates proportional collateral and interest, collects collateral plus the upfront protocol fee, records the position and sends out the loan token. The transaction succeeds as a whole or reverts. A failed transfer does not leave a completed loan waiting for someone to manually finish funding it.

Lending collects its protocol fee immediately in the collateral token. This fee is not held as refundable collateral, is not deducted from the lender’s interest and is not charged again at repayment. When a valid referral is supplied, the fee is split into separate claimable balances for the affiliate and treasury.

Step two: repayment before the boundary

Repayment requires the entire principal plus the full agreed interest. There is no partial repayment that releases a proportional slice of collateral. Early repayment is permitted, but it does not reduce the agreed interest. The repayment token must be transferable by the borrower, and approvals or compatible permit signatures must be available.

After successful repayment, the borrower may withdraw their collateral. The contract also provides an atomic repay-and-withdraw path so both actions can happen together. Separate repayment remains important when a token compatibility issue would make the combined path fail. A repaid position is not still eligible for a lender’s default claim.

Step three: default is claimable, not automatic

At the recorded due timestamp, an unpaid loan becomes eligible for a collateral claim by its lender. Repayment is no longer accepted once that boundary is reached. The lender must actively submit the claim: the contract does not send collateral merely because time passes. A borrower should aim well before the deadline, allowing for congestion, approvals and failed transactions. A website reminder cannot extend a contract’s maturity.

On-chain success before maturity matters. Clicking “repay” before maturity is not enough.

BARAFI · 06
BaraFi / Loans07 / 30

Your collateral does not watch the chart

A price swing is not a liquidation trigger in BaraFi Lending. A missed deadline still has teeth.

What “no liquidations” means here

BaraFi Lending does not consume a price oracle to continuously value your collateral. It does not calculate a live health factor or authorize liquidators to close a loan because a price threshold was crossed. The required collateral amount is fixed by the accepted offer. A temporary market crash does not, by itself, change that amount or end the loan.

That can create valuable breathing room for a borrower with a longer-term plan. They know what must be repaid and when. But the collateral is still committed. If they do not repay before expiry, the lender can take the agreed collateral, even if it is then worth far more than the outstanding debt. No surplus-value refund is calculated from a market price.

The lender becomes the risk assessor

Without price-triggered liquidation, a lender must think hard about the chosen collateral: its liquidity, volatility, issuer controls and likely value across the full term. A token can become nearly worthless before maturity. If the borrower defaults then, receiving all the promised collateral can still leave the lender with a substantial economic loss.

Choosing more collateral is not a magic solution. A thinly traded token might be hard to sell at any size, and two tokens can fall together. Diversification, conservative terms and independent research may help a user assess exposure; the contract does not perform those tasks for them.

No oracle is a scope statement

Removing oracle-driven enforcement removes that particular dependency from loans and options. It does not remove market prices from real-world decision-making. Users still need to judge whether a deal is sensible. Nor does it mean the DEX has no prices: automated market maker pools have on-chain prices, price impact and liquidity-dependent execution. The three products should never be confused on this point.

No price-based liquidation is a different risk bargain—not free protection for either side.

BARAFI · 07
BaraFi / Loans08 / 30

Partial fills, exact amounts

One large offer can serve many borrowers. Each small piece still needs careful arithmetic.

Big offers, smaller bites

Suppose a lender makes 10,000 units of a loan token available. One borrower might take 2,000, another 3,000 and a third the remaining 5,000. These are three loans, not one shared debt. Each borrower posts the collateral calculated for their own quantity, owes their own interest and receives their own due time. One borrower’s repayment does not close another borrower’s position.

The offer’s remaining capacity decreases when each fill succeeds. Cancelling a remainder returns only the still-unused loan tokens. The lender cannot cancel a borrower’s accepted position or suddenly request the principal back before its due date. Similarly, cancelling the remainder does not change the already recorded loan terms.

Tokens count in whole smallest units

On-chain amounts are integers. A token may display six decimal places, eighteen, or something else, but the contract ultimately transfers whole smallest units. Proportional calculations can produce fractions that do not exist on-chain. The current lending calculations round required collateral, interest and the upfront fee upward where applicable. This avoids undercollection but creates edge cases for very small amounts.

The advertised 1% collateral fee is a basis-point setting, not a promise of an exact decimal percentage for every possible tiny loan. If the computed fee is a fraction of the smallest unit, upward rounding can make the effective percentage higher. Borrowers should see the actual token fee before accepting; tiny-position minimums in a future interface would need explicit design and verification.

A quote is a preview, not a reservation

A live integration must obtain contract-calculated amounts and recheck capacity at execution. Another user may fill an offer first. A permitted maximum collateral or deadline can stop execution when the accepted limits are no longer valid. A safe failure is better than silently approving a different deal. The user pays network gas for failed transactions, so good quoting still matters.

Compare the actual token amounts—not just percentages—and expect capacity to change until execution.

BARAFI · 08
BaraFi / Loans09 / 30

A worked borrowing story

A simple example makes the difference between collateral, interest and protocol revenue unmistakable.

The agreement

For illustration only, a lender offers a loan of 1,000 units of a stablecoin, requires 1 ETH worth of the chosen ERC-20 collateral representation, and asks for 50 stablecoin units of fixed interest over a supported three-month term. The contract handles ERC-20 assets, so an ETH-style lending example uses a compatible wrapped token rather than assuming native ETH is accepted by the lending contract. These amounts are fictional, not a market quote.

At a 1% lending fee setting, the borrower supplies 1 unit of collateral plus 0.01 units of that same collateral token as the protocol fee. The 1 unit backs the loan. The 0.01 units are fee revenue, credited immediately. The borrower then receives the 1,000 loan-token units.

If the borrower repays

The required repayment is 1,050 stablecoin units: principal plus the full agreed interest. Repaying after one week still requires 1,050. The upfront collateral-token fee is not returned and no second lending fee is added at repayment. Following repayment, the borrower recovers the 1 unit of locked collateral. The lender receives a claimable repayment balance and can withdraw it.

If a valid affiliate referred the borrower, 25% of the protocol fee is credited to that affiliate in the collateral token, subject to smallest-unit rounding. The referral does not increase the borrower’s fee. The lender’s 50 units of interest are not split with the affiliate or counted as BaraFi revenue.

If the borrower does not repay

Once the due timestamp arrives, the lender can claim the 1 unit of collateral. The lender does not also receive a guaranteed 1,050-unit repayment. The collateral’s sale value may be higher or lower than that amount, and selling it may carry costs or be difficult. The initial protocol fee remains collected because it was charged when the loan was taken out, not conditional on eventual repayment.

Collateral secures the deal. Interest pays the lender. The upfront collateral fee pays the protocol.

BARAFI · 09
BaraFi / Options10 / 30

Options: the power of a choice

An option is a reservation on a future trade. You pay for the right to decide later.

Start with the everyday idea

Imagine paying a small, non-refundable reservation charge for the right to buy an item at a specified price before a deadline. If that becomes a good deal, you use the reservation. If it becomes a bad deal, you walk away and lose the reservation charge. A call option applies this idea to tokens. A put reverses the direction: it reserves your right to sell a token on agreed terms.

The option buyer chooses whether to exercise. The seller, often called the writer, commits to the other side if the buyer exercises correctly and on time. BaraFi requires the seller to fund the settlement obligation up front. That is different from trusting the writer to come up with the asset later.

Four terms that tell the story

The underlying is the token being bought or sold. The strike is the agreed payment in the chosen strike token. The premium is the upfront cost of obtaining the right. Expiry is the timestamp after which the buyer can no longer exercise. BaraFi’s options are American-style, meaning exercise can happen any time before expiry—not only on the final day.

A premium is not a deposit that comes back if the option expires unused. Buying an option can lose its entire premium and associated fees. A seller’s premium income is not guaranteed net profit: settlement can mean selling an asset below its later market price or buying one above it.

A separate engine for a different job

BaraFiOptions is separate from BaraFiLending. An option is not a disguised loan, and its expiry logic is not loan default logic. It uses token-for-token physical settlement rather than cash settlement calculated from an oracle. The contract enforces the chosen token quantities; it does not decide whether exercising is profitable. That judgment belongs to the buyer.

Buyers pay for optionality. Writers earn premiums by making a fully backed commitment.

BARAFI · 10
BaraFi / Options11 / 30

Calls: reserve your right to buy

A call can be a way to participate in a potential rise without buying the underlying immediately.

The writer locks the underlying

For a call, the writer escrows the underlying token that the buyer would receive on exercise. The offer specifies the strike payment, premium, expiry and available size. Buyers can fill all or part of it. Only the unpurchased remainder can be cancelled; the writer cannot remove the backing from an option someone already bought.

The buyer pays the premium and the configured premium fee when buying. Later, if the buyer exercises before expiry, they provide the required strike payment plus its fee. The underlying is released to them, while the writer receives the strike payment through the contract’s settlement accounting. No external market-price feed chooses that exchange rate.

An illustrative choice

Imagine the right to buy 1 wrapped ETH for 2,000 units of a strike stablecoin before a specified expiry, with a premium of 100 units. If wrapped ETH later trades at 2,500, the buyer may want to exercise. Their result still depends on the premium, both applicable fees, network costs and what they can actually realize on resale. The 500-unit difference is not automatically their net profit.

If wrapped ETH instead trades at 1,700, buying at the 2,000-unit strike may be unattractive. The buyer can let the option expire and lose the premium and its purchase fee. They are not forced to pay the strike. The writer can reclaim the unexercised backing after expiry.

The writer’s opportunity cost

A covered call does not create free yield. A writer may earn a premium yet give up upside if the token rises strongly and the buyer exercises. Their escrowed token cannot simultaneously be used freely elsewhere. Fully backing the option removes one funding uncertainty, but introduces an intentional capital commitment. Before writing a call, the seller must be comfortable delivering the underlying on the exact agreed terms.

The call writer has the token ready. The buyer has the choice—but pays for that choice.

BARAFI · 11
BaraFi / Options12 / 30

Puts: reserve your right to sell

A put can establish a chosen exit price for a token, but the premium and token risks remain real.

The writer locks the strike asset

For a put, the writer funds the strike-payment obligation up front. The buyer purchases the right to deliver the underlying token and receive that agreed strike payment before expiry. The premium is paid at purchase. On exercise, the buyer supplies the underlying, and the contract completes the physical token exchange using the writer’s escrowed strike funds.

The strike-side protocol fee still applies, but its movement is different from a call: in the current put implementation it is deducted from the strike proceeds the buyer receives. The buyer therefore receives the strike amount net of that fee. A readable quote must show the net settlement, rather than suggest that an advertised strike is the final amount in the buyer’s wallet.

An illustrative protection

Suppose a put grants the right to sell 1 unit of an underlying token for 2,000 strike-token units, purchased for a 100-unit premium. If the underlying falls to 1,400, the buyer might exercise by delivering that 1 unit. The payout is the contract’s strike amount less the exercise fee, not an oracle-calculated compensation for a price fall.

If the underlying rises to 2,600, exercising at 2,000 may be unappealing. The buyer can let the right expire. That loses the premium and its fee but does not obligate the buyer to sell. These fictional figures ignore gas, liquidity, token taxes and other practical factors; they illustrate mechanics, not a recommended strategy.

Backing does not eliminate seller losses

A put writer can end up buying an underlying asset above its then-current market price. The fact that the strike asset was fully escrowed makes settlement funded, not economically favorable. If the underlying becomes worthless, the writer can still receive it in a valid exercise. If the strike token itself depegs or freezes transfers, the buyer’s expected protection can also fail in practice. Both sides must assess both tokens.

A put reserves a sale, not a guaranteed dollar payout or insurance against every kind of loss.

BARAFI · 12
BaraFi / Options13 / 30

Exercise, expiry and escrow

The option’s most important line is not on a chart. It is the timestamp separating a live right from an expired one.

Before expiry: the buyer’s right

A purchased option remains backed by its assigned escrow. The buyer exercises the whole purchased option before the expiry timestamp; the current contract does not support partial exercise of that position. Offers can be purchased in smaller fills, each producing a separate option. Smallest-unit rounding matters here too: call strike amounts round upward, put strike amounts round downward, and premiums and fees round upward. Splitting purchases into tiny pieces can change rounding outcomes.

The options are wallet-bound. They are not transferable NFTs, and the current contract does not offer a secondary marketplace for selling an acquired option to someone else. Buyers should plan to exercise or let the option expire from the purchasing wallet. Losing control of that wallet is not a problem the writer or treasury can repair.

At and after expiry: the writer’s reclaim

Exercise is rejected when the expiry timestamp is reached. The writer can reclaim the unused backing after expiry according to the contract’s state checks. This clean boundary prevents the buyer from exercising an expired option after the seller has reclaimed it. Exercise and reclaim update the position’s status so the same escrow cannot legitimately settle twice.

There is no grace period promised in this design. A signed transaction sitting in a wallet is not an executed exercise. Network congestion, insufficient allowance, a token restriction or a failed transaction can make the buyer miss the boundary. Planning ahead is part of owning an expiring instrument.

What the premium does—and does not—buy

The premium purchases the contractual right under the listed terms. It does not purchase an administrator’s guarantee, a profit guarantee or insurance against a broken token. The writer is paid for taking a funded obligation and locking capital. Buyer and seller still depend on correct software and usable tokens. “Fully backed” describes settlement inventory at creation, not immunity from every external failure.

Exercise before expiry, from the correct wallet, with the required assets and permissions ready.

BARAFI · 13
BaraFi / Options14 / 30

How options earn protocol fees

BaraFi earns when the option is bought, and again if its strike settlement is used.

The premium leg

The seller quotes a premium: the price of the buyer’s right to choose. The options contract charges a protocol fee based on that premium in the premium token. In the current purchase flow, the buyer supplies the premium plus the fee. The premium belongs to the writer; only the fee is BaraFi revenue. The premium fee setting is fixed on deployment and capped at 1%.

A valid affiliate can receive 25% of that protocol fee, subject to downward integer rounding. The commission is taken from the protocol fee already charged, not from the writer’s quoted premium and not added as an extra charge to the buyer.

The strike leg

If the buyer exercises, a second protocol fee is based on the strike payment, in the strike token. This setting is also deployment-fixed and capped at 1%. A call buyer supplies strike plus its fee. For a put, the fee is deducted from strike proceeds and the buyer receives the remainder. The writer’s and buyer’s net token movements therefore differ between calls and puts.

If the option expires without exercise, there is no strike transaction and no exercise fee. The premium fee collected at purchase remains. Contract caps are not a substitute for checking the actual deployed rate. A future production screen must expose both the configured fee and the final integer token amounts.

One option, potentially two commission moments

The options contract retains the accepted referrer on the purchased position. That makes later eligible exercise fees attributable to that position’s recorded referrer. Clearing a website cookie afterward changes future attribution, not the referrer already stored for an existing option. Earnings can therefore arrive at purchase and later at exercise, potentially in different tokens. This is why affiliate balances are tracked per token rather than merged into a fictional cash balance.

Premiums pay writers. Premium fees and exercised strike fees pay BaraFi. No exercise means no strike fee.

BARAFI · 14
BaraFi / DEX15 / 30

The DEX: a market inside the pond

Loans agree on time. Options reserve a choice. The DEX exchanges tokens against liquidity available now.

What an automated market maker does

A DEX pool holds assets under rules that determine how a trade changes its balances and price. Instead of waiting for another person to publish the exact opposite trade, a user swaps against the liquidity in a pool. Liquidity providers contribute assets and take exposure to how their inventory changes as trading occurs. This can make exchange continuous, but execution always depends on available liquidity.

Pool prices are on-chain. A large swap can move the price, and a thin pool can make the difference between a displayed quote and practical execution substantial. BaraFi’s “no oracle dependencies” explanation for loan enforcement must not be applied to the DEX. The DEX is explicitly a price-forming market.

Unchanged core, BaraFi-specific perimeter

The chosen architecture is a separate BaraFi deployment of unchanged Uniswap v4 core. BaraFi’s extra swap fee is implemented in BaraFiSwapFeeHook, not by editing PoolManager’s accounting. Uniswap v4 pools can attach hooks—contracts that run at specific pool operations. BaraFi uses this extension point for its fee rules.

This is not affiliation with or endorsement by Uniswap Labs. Upstream code’s review history does not automatically certify BaraFi’s hook, router, deployment configuration or website. The included Uniswap v4 license must also be respected: commercial or production fork deployment needs appropriate permission or compliance with the applicable terms. The included BUSL-1.1 change date is June 15, 2027; this paper does not grant a license.

A preview is not a live exchange

The site currently demonstrates swaps, liquidity management and other exchange screens with illustrative data. Real routing, verified pools, wallet execution and deployment-specific review are not represented as completed. A visible button or chart does not establish that a feature is backed by a live contract.

The DEX uses real market mechanics in its design; the current trading experience is a simulation.

BARAFI · 15
BaraFi / DEX16 / 30

Swapping without surprises

A good swap starts with three numbers: what you pay, what you expect and the worst result you accept.

Exact input and exact output

An exact-input swap fixes how much of the sold token goes into the trade; the output depends on the route and pool conditions. An exact-output swap fixes what the user wants to receive; the required input depends on execution. Both need explicit limits. A minimum output or maximum input protects the user from receiving an unacceptable deal, though a failed transaction can still cost gas.

The quote should separate the pool’s liquidity-provider fee, BaraFi’s additional fee, price impact and network cost. These are different things. Price impact is the effect of your trade on a pool’s exchange price. Slippage is the tolerated difference between an expected quote and execution. Network gas pays for running the transaction, not for BaraFi’s service.

The extra fee follows the sold token

The current BaraFi hook collects its added fee in the input currency—the token being sold. A trade from token A into token B therefore pays the hook fee in A. The burn or exemption follows that same currency. Trading into a token does not, by itself, burn the purchased token. This distinction matters for creators explaining the burn to their communities.

The hook supports its intended exact-input and exact-output accounting, but partial fills that conflict with safe fee accounting can revert. A router and interface must handle price limits and quote assumptions accordingly. PoolManager-only callbacks and guarded accounting protect the hook’s intended entry points; they do not validate every possible external route.

One route may cross several pools

A multi-hop trade can invoke the hook more than once if multiple legs pass through BaraFi-hooked pools. Fees are assessed per applicable pool swap, not necessarily once for a user’s entire routed journey. A production quote must show the aggregate cost of the actual route. Pools without this hook do not automatically collect the BaraFi add-on, even on the same core deployment.

The route determines the cost. The input currency determines the hook-fee token.

BARAFI · 16
BaraFi / DEX17 / 30

Liquidity: the other side of every swap

Liquidity providers make trading possible by committing assets—and accepting changing inventory.

More than depositing two tokens

In concentrated-liquidity designs, a provider chooses a price range in which their assets support trading. While the market trades inside that range, the position can earn the applicable pool’s liquidity-provider fees. Outside it, the position may stop earning trading fees and become concentrated in one asset. Range choice is an investment decision, not merely a screen setting.

A liquidity manager should display the chosen pair, range, assets required, estimated composition and whether the position is active. Increasing liquidity, reducing it and collecting accrued pool fees are different operations. A user must understand which assets they receive when withdrawing—not assume the original quantities are waiting unchanged.

Fees do not cancel inventory risk

Liquidity provision can underperform simply holding the assets, commonly described as impermanent loss. That loss can become realized when withdrawing. Narrower ranges can concentrate earning potential and risk, with more frequent repositioning and gas costs. A pool with a high quoted annualized return may reflect a short observation window, temporary incentives or unstable trading activity rather than durable earnings.

BaraFi’s extra 0.2% hook fee is separate from the pool’s LP fee. The hook’s burn and BaraFi split do not belong to the liquidity provider. The intended deployment keeps the Uniswap-style core protocol fee switch off rather than adding a second BaraFi revenue layer to the pool’s existing fee structure. This must be checked on the actual deployed core.

Interfaces are not evidence of supported settlement

The current DEX workspace includes an illustrative liquidity manager and additional trading views. It is not evidence of deployed position management, production limit orders, fiat services or integrated routing. Before launch, every offered operation needs a defined contract path, quote source, approvals, failure handling and independent review. A simulated portfolio should never be interpreted as funds secured by a live pool.

LPs earn pool fees in exchange for providing inventory—not guaranteed passive income.

BARAFI · 17
BaraFi / DEX18 / 30

A 0.2% fee with a visible purpose

The DEX add-on has two destinations: a token-specific burn allocation and BaraFi protocol revenue.

The normal split

For an eligible swap through a BaraFi-hooked pool, the extra fee is 0.2% of the relevant input amount, in addition to the pool’s LP fee. Under the normal rule, half of this added fee corresponds to 0.1% of that base and goes to the configured burn destination. The other half corresponds to 0.1% and is credited as the BaraFi share. Integer rounding can make very small trades differ from exact decimal percentages.

A valid affiliate receives 25% of the normal BaraFi half. The burn half is not reduced to pay referrals. Without an eligible referral, that normal half belongs entirely to BaraFi. Referral claims are pull-based token balances in the hook; they do not require adding affiliate accounting to Uniswap core.

What “burn” really means

The hook sends the burn allocation to a fixed burn destination. For a typical token this can place units outside ordinary circulation, but a transfer to a burn address is not the same as calling the token’s own supply-reducing burn function. It does not necessarily lower totalSupply. Some token issuers can freeze, seize or otherwise control balances even at such addresses.

This mechanism can give token communities an activity-linked sink when their token is the sold currency. It cannot guarantee deflation in the token’s overall economy: new issuance, rebasing and other supply mechanisms may outweigh transfers to the burn destination. Nor can it guarantee a higher price. A creator should communicate the exact token-level effect rather than advertise an automatic price benefit.

Transparent collection is the first step

The swap hook accounts for fees and destinations. It does not implement BFI purchases, cross-token conversion or the proposed 80% buy-and-burn policy. Those are separate treasury and tokenomics processes requiring defined execution, verification and review. A fee collected on-chain is not evidence that a later BFI buy-and-burn has already occurred.

The swap burn allocation concerns the sold token. The planned BFI buy-and-burn is a separate process.

BARAFI · 18
BaraFi / DEX19 / 30

Stablecoins stay out of the burn

The stablecoin exception redirects the burn half to BaraFi, while keeping the affiliate basis unchanged.

An address list, not a ticker guess

BaraFi does not intend to burn stablecoins. The hook accepts a deployment-specific list of burn-exempt currencies. If the input currency appears on that list, the half normally sent to the burn destination instead goes to BaraFi. The full 0.2% add-on becomes protocol-side revenue before any eligible affiliate payment.

This exemption is based on exact token addresses on the target chain—not a token’s name, symbol or apparent price. A malicious token calling itself USDC does not become exempt by using the ticker. Likewise, an unlisted stablecoin is not automatically exempt just because its market price is stable. Stablecoins are exempt only when configured correctly in that deployment.

The affiliate still shares only the normal half

Even on a burn-exempt swap, the affiliate receives 25% of the normal 0.1% BaraFi base share, not 25% of the entire 0.2% add-on. The redirected burn half remains with BaraFi. This preserves one consistent referral basis and prevents an exemption from unexpectedly doubling affiliate commission.

The site’s chain-specific configuration currently contains 80 addresses representing 32 distinct stablecoins across Ethereum, Arbitrum, Base, Optimism, Polygon, BNB Chain and Avalanche. This is a starting deployment inventory, not a claim that the top 50 stablecoins have all been covered or that every address is launch-ready. Issuer and on-chain re-verification are still required before deployment.

Immutable lists need disciplined launches

The exemption list is fixed for a deployed hook. New stablecoins or corrected entries require a deployment and pool-migration strategy, not a hidden administrator edit. Each chain needs its own review because addresses and bridged versions differ. A symbol check helps identify a contract, but it does not prove authenticity, peg stability or safe behavior. Exemption prevents the burn rule; it does not make the token trustworthy.

Burn exemption is a verified per-chain address setting—not an automatic property of “stable” tokens.

BARAFI · 19
BaraFi / Affiliates & revenue20 / 30

Invite people. Share actual fees.

BaraFi’s affiliate program rewards referred activity, not promised profits or the size of someone’s deposit.

What earns commission

Eligible actions are taking out a loan, buying an option, exercising an option and swapping through BaraFi’s referral-aware DEX flow. The affiliate earns 25% of the applicable BaraFi fee share, not 25% of borrowed principal, option premium income or trading volume. Lending and both options fee legs use their protocol fees as the base. DEX referrals use only the normal 0.1% BaraFi half of the extra swap fee.

Commission does not add an extra fee to the referred user. It splits the existing protocol-side fee. A participant referred to a loan still owes the lender’s agreed interest, and an option writer still receives their quoted premium. Those counterparty payments are not affiliate revenue.

Last click wins, with practical boundaries

A valid referral link stores a first-party wallet-address cookie on the site. New eligible actions use that referrer until the cookie is cleared, expires or is replaced by a different referral link. The current helper gives the cookie a five-year maximum age. Browser restrictions, private browsing, other devices and manual deletion can interrupt attribution; it is not a perpetual on-chain identity attachment.

For options already purchased, the contract-stored referrer can continue to receive eligible exercise commission even if the site cookie changes later. DEX attribution must be passed with the swap’s hook data. A trade routed through another interface without referral data does not automatically become credited to an affiliate merely because the user once visited BaraFi.

A commission, not a guaranteed income stream

Affiliates earn only when actual eligible fees are collected and successfully credited. Their income depends on activity, usable tokens, correct routing and lawful promotion. Same-wallet self-referrals are rejected under contract rules. A person using another wallet cannot be reliably identified as the same person by these contracts; the program should never claim perfect identity-based fraud prevention.

Share of fees, not share of funds. Attribution follows the actual transaction path.

BARAFI · 20
BaraFi / Affiliates & revenue21 / 30

Three ledgers, many currencies

An affiliate can earn in several tokens from several contracts. The balances stay separate and honest.

The token you earn is the token you claim

A collateral-token lending fee produces affiliate earnings in that collateral token. An option premium fee produces earnings in its premium token, and exercise can add earnings in a different strike token. A DEX fee produces earnings in the input currency. The contracts do not automatically sell these assets, normalize them to a dollar value or consult an oracle to combine them.

This is deliberately straightforward accounting. An affiliate’s 3 token-A units and 5 token-B units are two balances, not an eight-unit universal currency. Any future cash-value display would be an off-chain estimate with price, liquidity and timing assumptions—not a promise about what a claim pays.

Loans, options and DEX claims are independent

BaraFiLending, BaraFiOptions and BaraFiSwapFeeHook each maintain their own claimable proceeds ledger. The same token earned from loans and DEX swaps is still recorded in two contracts. A site can show these side by side, but it cannot merge them into one contract balance simply by changing a tab. A cross-protocol claim generally involves separate contract calls and, without a reviewed batching account, separate transactions.

Each contract supports claiming a token and bounded batch claims for a user-selected set of tokens or currencies. These batches do not create automatic conversion. Selecting several balances means receiving several assets. A failing token transfer can cause an atomic batch to revert; claiming other tokens separately may avoid coupling their withdrawal to that problematic token.

Claim only when the outcome makes sense

Gas can outweigh the value of a small claim. An obscure token may be illiquid, frozen or malicious. A well-designed interface should identify the token address, chain and source contract, show exact quantities, and allow users to leave unwanted assets unclaimed. The current affiliate page demonstrates this with illustrative balances and simulated claims, not real earnings or payouts.

One affiliate wallet, three independent claim ledgers, and exact balances in each earned asset.

BARAFI · 21
BaraFi / Affiliates & revenue22 / 30

Where BaraFi’s revenue comes from

Protocol income should be easy to trace from the action that created it to the party receiving it.

Four fee-bearing activities

Lending earns its upfront collateral-based fee when a borrower takes an offer. Options earn a premium fee when a buyer purchases the right, plus a strike-based fee if that right is exercised. The DEX hook collects an extra swap fee on its applicable pools. These are the protocol’s designed revenue sources; deposits by themselves are not revenue.

Lender interest belongs to lenders. Option premiums belong to writers. Defaulted loan collateral belongs to the eligible lender. LP trading fees belong to liquidity providers under pool rules. None should be presented as money BaraFi automatically keeps. Similarly, a balance sitting in a contract is not necessarily treasury income: much of it backs user obligations.

First the referral split; then BFI allocation

For a referred loan or options fee, 25% is credited to the affiliate and 75% remains with BaraFi. Under the announced tokenomics policy, 80% of BaraFi’s remaining share is intended for network-specific BFI buy-and-burn, leaving 20% of that remaining share outside the burn allocation. In simple proportional terms, a fully referred loan or options fee would allocate 60% of its gross fee to the planned BFI buy-and-burn—not 80% of gross fees.

The DEX first separates its input-token burn allocation or stablecoin redirect, then pays any eligible referral from the normal protocol half. BFI policy applies to the BaraFi revenue left afterward. The traded-token sink and the BFI buy-and-burn are different destinations, funded at different stages.

A policy needs an execution system

The current fee contracts credit proceeds; they do not enforce automated BFI purchases. Converting a wide range of fee tokens requires routing, liquidity, execution limits, reporting and operational security. Before launch, BaraFi must define who triggers purchases, how amounts are verified, and how unavailable or unsafe tokens are handled. No user should confuse an announced percentage with an already operational treasury mechanism.

Revenue is a fee, not everyone else’s earnings. BFI buy-and-burn remains a separately implemented policy.

BARAFI · 22
BaraFi / BFI & expansion23 / 30

BFI: a separate token for every chain

The announced maximum is 28,800,000 BFI per chain—not one global supply spread across networks.

Connected ponds representing separate blockchain networks

Local token economics

BaraFi plans to launch first on Ethereum and later on additional EVM networks. Each supported network has its own BaraFi token version, with a maximum supply of 28,800,000 BFI per chain and a connected buy-and-burn funded by that network’s BaraFi fee share. An Ethereum BFI and a BFI on another chain are separate assets; sharing a brand does not make them interchangeable.

This means the per-chain maximum must never be described as a single worldwide cap. Adding networks can increase the aggregate number of BaraFi-branded token units across the ecosystem, while each network retains its own announced cap. Prices, liquidity and circulating quantities can differ from one chain to another.

What is actually announced

The design ties BFI to protocol activity through planned purchases and burns, and to future network launches through staking-based allocations. It does not promise token holders a fixed dividend, ownership of the treasury, automatic governance rights or a guaranteed annual return. Those claims should not be inferred from the word “tokenomics.”

The initial Ethereum distribution, minting implementation, circulation schedule, treasury holdings and any vesting rules are not yet finalized in the available token design. Those details must be published before issuance. A maximum supply per chain does not, on its own, reveal how much enters circulation on day one or who holds it.

Announced, not issued

No BFI token contract, staking contract, airdrop or trading pair is represented as live in this edition. The promised economics must become reviewed code and verifiable operations before users can assess their enforcement. A token using the BFI ticker elsewhere is not authenticated by this paper. Users will need the correct chain and verified official contract address when any genuine launch occurs.

28,800,000 BFI maximum per chain. Separate assets, separate markets, and implementation still ahead.

BARAFI · 23
BaraFi / BFI & expansion24 / 30

Buy and burn: activity into scarcity

The BFI design aims to connect use of BaraFi with fewer BFI units on the network where the activity occurs.

Capybara-themed token burn illustration

The announced 80% allocation

The plan allocates 80% of BaraFi’s remaining protocol fee share to purchasing that chain’s BFI and burning it. “Remaining” matters: affiliate commissions are paid from the eligible protocol share first. DEX input-token burns are also a separate allocation. The BFI policy concerns treasury-side income left after those applicable splits, not all assets moving through BaraFi.

A purchase takes BFI from a willing seller at an available market price. A burn then removes those acquired units according to the eventual token implementation. The objective is an activity-linked reduction in available BFI, within the announced maximum supply of 28,800,000 BFI per chain. The actual amount removed depends on fee revenue, conversion costs and the BFI purchase price.

Scarcity is not a price guarantee

Supply is only one side of a market. Demand can fall faster than tokens are removed. Protocol activity can be weak, fee assets can lose value and illiquid purchases can incur meaningful slippage. Burns can happen while the market price still falls. They are a mechanism to evaluate—not a guaranteed path to appreciation or a substitute for understanding token distribution.

A credible process needs transparent accounting: gross fees by token, referral allocations, remaining BaraFi revenue, conversion amounts, purchase execution and burn evidence. It should distinguish accrued fees from claimed assets and completed purchases. Publishing only a burn transaction without its revenue basis would leave important questions unanswered.

The machinery is still to be built

This edition does not present a deployed automated buyback engine or an implemented BFI supply-reduction contract. Execution frequency, trigger authority, safeguards against poor routing and treatment of untradeable fee assets remain design work. A future system must also keep user collateral and writer escrow strictly separate from treasury assets. Protocol growth should never be financed by spending funds that belong to active user positions.

Use can fund scarcity. Only verified execution proves it—and scarcity never guarantees profit.

BARAFI · 24
BaraFi / BFI & expansion25 / 30

Stake on one pond. Reach the next.

The expansion plan gives existing-network BFI stakers an allocation in newly launched network tokens.

The announced 50% rule

For every newly launched network after the initial launch, 50% of that network’s BaraFi token supply is intended for BaraFi stakers on networks already live. The announced maximum remains 28,800,000 BFI per chain. This is an allocation of the new network’s own token—not a promise to distribute half of every existing chain’s BFI, and not an allocation to people staking the new token after launch.

Any user is intended to be able to stake BFI on an existing network to participate in future-network allocations. The appeal is straightforward: participation in the current ecosystem can create exposure to the next launch. It is still conditional on future launches actually happening and the eventual allocation rules.

The formula is not yet a product

The staking contract, eligibility snapshots, weighting formula, lock periods, claim process and launch schedule have not been implemented or finalized. The announced percentage does not tell an individual how much they will receive. Their allocation would depend on the rules, their qualifying participation and everyone else’s eligible stake.

There is no stated guaranteed yield or calendar of airdrops. New chains may be delayed, unsuitable or never launched. Holding or staking BFI can involve price losses and opportunity cost; a future staking design may introduce additional lockup, contract or cross-chain verification risks. These need explicit documentation before a user commits funds.

Expansion without pretending chains are identical

A network launch must verify the contracts, tokens, stablecoin exemptions, fee settings and infrastructure for that environment. Existing-chain stake proofs or snapshots also need an auditable distribution process. No bridge or cross-chain messaging system is described here as deployed. Giving a token on another chain does not make asset transfers between chains trustless or risk-free.

Half of each new network’s token supply goes to existing-network stakers under rules still to be published.

BARAFI · 25
BaraFi / Security & delivery26 / 30

Understand the contract boundaries

A protocol is only as clear as the answer to “Who can move this money, and why?”

Capybara-themed protocol security illustration

Authority comes from a recorded role

In lending, the recorded borrower repays and withdraws eligible collateral; the recorded lender cancels unused offer funds and claims eligible default collateral. In options, the buyer exercises an acquired right while the writer cancels only unsold capacity or reclaims eligible expired backing. These permissions come from recorded positions, not a treasury operator’s judgment.

The custom contracts use reentrancy protection around fund-moving paths and exact-transfer accounting checks where implemented. Pull-based proceeds separate fee and repayment crediting from recipients’ later withdrawals. This can keep a recipient’s inability to receive a token from blocking an unrelated accounting step, but each withdrawal still depends on the token accepting the transfer.

The DEX boundary is different

The hook’s swap callbacks are restricted to its configured PoolManager. Fee and referral data live in hook accounting rather than edits to Uniswap’s core. Nonetheless, a hook is powerful integration code. The router’s handling of trader identity, limits, hook data, approvals and settlement must be reviewed along with the deployment. A safe custom hook does not automatically make every route safe.

The intended owner-less core deployment and disabled core protocol fee need verification at launch. Hook address permission bits also require correct deployment, typically through address mining with CREATE2. An incorrect address or configuration can prevent pool initialization or callbacks from working as intended.

Immutability requires a migration plan

The custom contracts have no upgrade or rescue switch. That removes privileged rewriting of active agreements, but leaves no instant emergency patch for a deployed defect. Any future version must publish its address, settings and differences. Users must decide whether to enter new positions there. Existing obligations cannot be portrayed as automatically migrated. Review, testing and deployment discipline are especially important when the design deliberately removes administrative intervention.

Separate contracts and fixed permissions narrow authority. They do not prove the system cannot fail.

BARAFI · 26
BaraFi / Security & delivery27 / 30

Risks that do not disappear

A clear agreement cannot make a token honest, a market liquid or a deadline forgiving.

Token behavior can break expectations

Fee-on-transfer tokens can deliver less than requested. Rebasing tokens can change escrow balances between transactions. Callback or malicious tokens can attempt unexpected execution. Exact-transfer checks and reentrancy guards address parts of these problems, but the contracts cannot prove a token will never change its behavior. Unsafe token categories must be excluded by integration policy, and arbitrary ERC-20 acceptance is not a safety endorsement.

Issuer-controlled tokens can block a borrower’s repayment or a lender’s claim. A DEX burn-destination transfer can fail if the token rejects that address, causing the swap to revert. Stablecoin exemptions avoid the burn path only for configured currencies; they do not eliminate issuer freezes, depegs or transfer restrictions. Shared escrow accounting is particularly exposed to tokens whose balances shrink outside ordinary transfers.

Markets, clocks and wallets

Collateral can lose value before default. An option can expire worthless or settle at an unfavorable price for its writer. A liquidity position can lose value even while earning fees. A small fee-token balance can be expensive or impossible to monetize. No quoted annual return or burn mechanism removes these economic risks.

Transactions can be delayed or reordered. An allowance can be insufficient. A wallet can be compromised, and a chain can suffer outages or reorganizations. BaraFi cannot restore a lost private key or excuse a missed on-chain timestamp. Direct transfers to custom contract addresses outside supported methods can also leave tokens unaccounted for and unrecoverable under the no-rescue design.

Security evidence has a boundary

The site contains internal contract reviews and a previously reported passing 60-test Foundry suite. This document is not a new audit or a fresh test execution. Tests demonstrate checked scenarios, not all possible attacks. The internal reviews are not independent firm certification. The current deployment still requires professional review, adversarial integration testing and verified configuration before real funds are accepted.

No oracle-driven loan liquidation is not the same as no token risk, no default or no loss.

BARAFI · 27
BaraFi / Security & delivery28 / 30

From preview to a responsible launch

The next milestone should be earned by evidence, not a countdown timer.

What exists in this edition

Source is available for the lending contract, options contract and DEX swap-fee hook, with associated test files and deployment or integration material. The Contracts page also displays the included upstream Uniswap v4 core sources. The site offers preview workspaces and internal audit reports. These are useful artifacts for discussion and inspection—not a statement that users can transact with deployed BaraFi protocols today.

The current website does not integrate real wallets or live protocol balances. Its illustrative swaps, loans, positions and affiliate earnings do not represent deposits, signed transactions or payouts. BFI token issuance, staking, future-network airdrops and automated BFI buy-and-burn are still plans.

What must happen before funds move

Independent security review must cover each custom contract and the end-to-end transaction paths. Deployment parameters, treasury address, configured options fee rates and accepted tokens need explicit sign-off. Stablecoin addresses need per-chain re-verification. The DEX needs hook-address mining and correct deployment, reviewed routing, verified core settings and appropriate Uniswap license clearance.

The live site needs transaction simulation and quoting, token allowances, safe signature handling, event indexing, chain-aware addresses, accurate balances and clear failure states. Borrowers and option buyers need reliable deadline information. Monitoring should detect failures without implying that an operator can rewrite immutable agreements. Support and incident communications must be ready before launch, not invented after a loss.

Expansion is conditional, not scheduled here

Ethereum is the intended first network. Additional EVM launches should follow verified deployments and published BFI distribution rules. This paper sets no guaranteed date, chain list, token sale price or return target. A later edition should identify the exact released versions, addresses, audit evidence and operational changes. Readers deserve a visible distinction between “designed,” “reviewed,” “deployed” and “available to use.”

Launch readiness means reviewed contracts, verified settings and truthful live integrations—not just finished screens.

BARAFI · 28
BaraFi / Reference29 / 30

The BaraFi vocabulary, in plain words

A few familiar definitions turn a complicated-looking protocol into a readable agreement.

Loans and options

Principal is the amount borrowed. Interest is the additional loan-token amount owed to the lender. Collateral is the asset locked to back the loan. Maturity is the due timestamp. Default means the loan remains unpaid at that boundary, allowing its lender to claim collateral. An offer is a funded listing with terms; a partial fill accepts only some of its remaining size.

Underlying is the option’s target token. Strike is the agreed settlement payment. Premium is the upfront price of the right. A call reserves the right to buy; a put reserves the right to sell. Exercise uses that right. Expiry ends it. Physical settlement exchanges the actual tokens. Fully backed means the writer escrows the promised settlement asset, not that the trade is profitable or risk-free.

The exchange and its fees

An AMM is an automated market maker: a pool-based exchange. An LP is a liquidity provider. Price impact is how a trade changes the pool’s price. Slippage is the allowed difference from a quote. A range defines where concentrated liquidity participates. A hook is separate code attached to pool operations. The input currency is what a trader sells; the output currency is what they receive.

Basis points are hundredths of a percentage point: 100 basis points is 1%, and 20 is 0.2%. A burn-exempt currency is an exact address configured to skip the DEX burn allocation. A pull claim is a withdrawal a credited recipient triggers. Gas is the network execution cost, distinct from protocol fees.

Tokens, referrals and deployment

BFI is the announced BaraFi token, with a maximum supply of 28,800,000 BFI per chain. A buy-and-burn purchases tokens before removing them under the eventual token rules. Staking commits tokens under a future published system; an airdrop allocation assigns new-network tokens to eligible participants. Neither is live in this edition.

A referrer is the wallet attributed to eligible activity. Last-click attribution replaces a prior website referral when another valid link is used. Immutable settings cannot be edited in an existing deployment. A contract address identifies a specific instance on a specific chain. A preview is a simulation, not an executed on-chain agreement.

Always ask: which asset, which address, which chain, which amount and which deadline?

BARAFI · 29
BaraFi / Reference30 / 30

Read the evidence. Join the next chapter.

The most exciting part of open finance is not being asked to trust a slogan. It is being able to inspect the rules.

Primary BaraFi references

The Contracts page is the primary place to inspect the current lending, options and DEX-hook source, their tests, integration material and the included Uniswap v4 core. Read BaraFiLending for offer and loan lifecycles; BaraFiOptions for funded calls, puts and exercise; and BaraFiSwapFeeHook for added swap fees, burn exemptions and affiliate proceeds. The chain-specific burn-exempt configuration is a deployment input, not a live registry.

The Audits page preserves the internal reviews and their findings. They are not independent certification. The Tokenomics page describes the announced per-chain BFI model, and the Affiliates page explains fee attribution with illustrative claims. Those pages can help orient readers; actual contract behavior, deployed settings and successful transactions would govern a live position.

External technical foundations

Uniswap v4’s public documentation explains PoolManager, hooks and liquidity mechanics. The included upstream LICENSE and source headers determine their applicable terms; consult them directly rather than relying on a marketing summary. ERC-20 describes the standard token interface, while EIP-2612 describes a common signed-approval mechanism. Compliance with an interface does not certify that a token is economically safe or free of issuer powers.

This Whitepaper is a project-authored explanatory research edition, dated October 2026. It does not reproduce an external legal opinion, commission a new audit or rerun tests. Worked examples are fictional and describe mechanics rather than forecasts. Future deployments or changed code require updated documentation and independent validation.

The invitation

BaraFi’s ambition is a broader, more understandable toolkit: funded loan offers with fixed commitments; options whose writers back their promises; and token exchange with explicit fee destinations. BFI and affiliates are designed to connect participation with actual protocol activity, rather than obscure where revenue comes from.

The path forward is to turn that ambition into reviewed, verifiable execution. Explore the previews, read the source, challenge the assumptions and evaluate the risks. There is room in the pond for curiosity and careful judgment together. This is a starting point for scrutiny—not the end of it.

Stay curious. Stay capy. And read the agreement before you enter it.

BARAFI · 30
1 / 30