DomFiDomination Finance

Fees

Maker and taker fees, funding rates, fee distribution, price impact, and oracle fees. Every formula and rate on DomFi.

All Fees at a Glance

FeeRateApplied ToWhenRecipient
Maker fee0.05%Position size (collateral x leverage)Open and close50% vault, 50% protocol
Taker fee0.1%Position size (collateral x leverage)Open and close50% vault, 50% protocol
FundingVariable (up to ~0.26%/day)Position sizeContinuously while openPaid to minority OI side
Price impact0.001%-0.002%Execution priceOpen and closeNot collected (price adjustment)
Oracle fee~0.00003 ETHPer transactionEach price-requiring actionProtocol
LiquidationUp to 25% of collateralCollateralOn liquidationVault LPs

Fee Schedule

Fee TypeRateCondition
Maker0.05%Leverage is 20x or below and the order reduces the open interest skew
Taker0.1%Leverage is above 20x or the order increases the open interest skew

Both conditions must be met for maker. If either fails, you pay taker.

Fee Calculation

FEE CALCULATOR
Collateral
$100
Leverage
50x
Fee Type
Position Size$5,000
Opening Fee$5.00
Round-Trip Fee$10.00
Fee as % of Collateral10.0%
Fee Formula
fee=collateral×leverage×feeRatefee = collateral \times leverage \times feeRate

The fee is a percentage of your position's notional size (collateral x leverage), not your collateral alone.

EXAMPLE: 50x Taker Fee

Worked example at 50x (taker):

$100 collateral, 50x leverage, taker rate (0.1%):

fee=100×50×0.001=$5fee = 100 \times 50 \times 0.001 = \$5

That's 5% of your collateral consumed by the opening fee.

EXAMPLE: 250x Taker Fee

Same trade at 250x:

fee=100×250×0.001=$25fee = 100 \times 250 \times 0.001 = \$25

$25 out of $100 collateral, gone on open. That's 25% of your margin before the trade moves a single tick. Add the closing fee and you need a substantial price move just to break even.

Fees are deducted from collateral. This reduces your effective collateral and moves your liquidation price closer to entry. At high leverage, fees alone can meaningfully compress your margin of safety.

Open Interest Skew

The protocol tracks open interest (OI) per side on each pair. When one side is larger, a skew exists. Your classification as maker or taker depends on whether your order reduces or increases that skew.

Example: BTCDOM has $5M long OI and $3M short OI. A new short reduces the imbalance, so it qualifies as a maker order (assuming leverage is 20x or below). A new long increases the imbalance and pays taker regardless of leverage.

Maker/taker pricing incentivizes balanced open interest. Traders who reduce skew get rewarded with lower fees. Traders who add to the crowded side pay more.

Fee Distribution

RecipientShare
Vault (LPs)50%
Protocol50%

Half of every fee flows to the USDC vault, increasing share value for liquidity providers. The other half accrues to the protocol treasury.

Price Impact

Every trade receives a small spread adjustment based on the current OI skew. This is not a fee — it adjusts your execution price slightly worse than the oracle price.

spread=0.001%×(1+skew)spread = 0.001\% \times (1 + |skew|)

Where skew = (longOI - shortOI) / totalOI, ranging from -1 to +1.

At balanced OI (skew = 0), spread is 0.001%. At maximum skew, spread doubles to 0.002%. The adjustment is added to the price for longs and subtracted for shorts.

Practical impact: On a $10,000 position with balanced OI, price impact moves your entry by ~$0.10. At max skew, ~$0.20. Negligible for most trades, but worth knowing it exists.

PRICE IMPACT CALCULATOR
Position Size
$10,000
Long OI
$5,000,000
Short OI
$3,000,000
Direction
Skew Ratio0.2500
Spread0.00125%
Price Adjustment$0.13
ImpactUnfavorable

Oracle Fee

Each trade action that requires a price lookup (opening, closing, updating TP/SL, removing collateral) charges a small ETH fee to cover oracle infrastructure costs. This is separate from USDC trading fees.

ActionOracle Fee
Open trade~0.00003 ETH
Close trade~0.00003 ETH
Update TP~0.00003 ETH
Update SL~0.00003 ETH
Remove collateral~0.00003 ETH
Add collateralNo oracle fee

Your wallet needs a small ETH balance on Base to cover these fees. Adding collateral is the only position action that doesn't require an oracle fee (it executes synchronously without a price lookup).

Funding Rate

Funding is a continuous per-block payment between longs and shorts. The side with more open interest pays the side with less. The rate scales with the size of the imbalance — bigger skew means higher funding.

How the Rate is Set

The protocol computes a target funding rate from the current OI imbalance using a hill function, then smooths the actual rate toward that target over time.

Step 1 — Normalize the OI skew. The protocol computes the difference between long and short OI as a fraction of the larger side, producing a value between -1 (fully short-skewed) and +1 (fully long-skewed):

oiDelta=oiLongoiShortmax(oiLong, oiShort, oiCap)oiDelta = \frac{oiLong - oiShort}{\max(oiLong,\ oiShort,\ oiCap)}

Step 2 — Apply the hill function. The normalized delta maps to a target rate through a saturating curve that is near zero at balanced OI, accelerates through moderate skew, and flattens near maximum skew:

x=1.84×oiDeltax = 1.84 \times oiDelta hill=x20.16+x2hill = \frac{x^2}{0.16 + x^2}

The hill function output ranges from 0 (balanced) to ~0.95 (full skew). The constants 1.84 (stretch) and 0.16 (saturation) are hardcoded and control the curve's steepness.

Step 3 — Scale to per-block rate. The hill value is multiplied by maxFundingFeePerBlock to produce the target rate. The target is clamped to ±maxFundingFeePerBlock:

targetRate=clamp(hillScale100×hill, 1, +1)×maxFundingFeePerBlocktargetRate = \text{clamp}\left(\frac{hillScale}{100} \times hill,\ -1,\ +1\right) \times maxFundingFeePerBlock

Step 4 — Smooth convergence. The actual funding rate does not jump instantly to the target. It converges via exponential decay controlled by a spring factor:

fr(t)=targetRate+(lastRatetargetRate)×esFactor×Δblocksfr(t) = targetRate + (lastRate - targetRate) \times e^{-sFactor \times \Delta blocks}

When the rate crosses zero (sign flip), convergence is 200× faster. When the rate is falling toward a lower target, convergence is 50× slower. This asymmetry means the rate reacts quickly to new imbalances but decays gradually.

Funding is computed and accumulated on-chain — there is no off-chain component. The accumulated rate is updated every time any trade opens, closes, or has parameters modified.

What You Pay (or Earn)

FUNDING COST ESTIMATOR
Collateral
$1,000
Leverage
50x
Daily Funding Rate
0.010%
Holding Period
3 days
Position Size
$50,000
Daily Funding Cost
$5.00
Total Funding Cost
$15.00
Funding as % of Collateral
1.5%
fundingFee=accumulatedRate×collateral×leveragefundingFee = accumulatedRate \times collateral \times leverage

Positive funding fee = you pay (deducted from your trade value at close). Negative = you earn (added to trade value).

Worked example: You're long BTCDOM with $1,000 collateral at 50x. Total position: $50,000. If the accumulated funding rate over your holding period is 0.1%, your funding cost is:

0.001×1,000×50=$500.001 \times 1{,}000 \times 50 = \$50

That $50 is deducted from your PnL when you close.

Key Parameters

ParameterValueMeaning
Max funding rate~0.26% per day (~96% APR) at full OI skewUpper bound on daily funding cost (governance-configurable)
AccrualPer block (~2 seconds on Base)Continuously compounding
DirectionMajority side pays minorityIncentivizes balanced OI
Minority scalingProportional to OI ratioIf longs are 3× shorts, each short dollar receives 3× the per-OI rate
SettlementOn position closeReflected in realized PnL

Funding accrues continuously. A position left open for days on the crowded side accumulates significant funding costs — even without price movement. This can shift your liquidation price closer to entry over time.

Tips

  • Stay at 20x or below to qualify for the 0.05% maker rate instead of 0.1%.
  • Trade with the skew. Opening on the underweight side reduces imbalance and earns you maker pricing.
  • Factor fees into risk math. At 250x taker, opening + closing fees alone eat ~50% of collateral. You need a real move to profit.
  • Monitor funding direction. If you're on the majority side, funding costs compound over time. Make sure the expected price move justifies the carry.
SEE ALSO