Trading fees
TACO charges a fee when you open, close, or reduce the leverage of a price position. A liquidation pays the same close fee as well — it is carved out of the position’s remaining value first, and the liquidator incentive is then taken from what is left (it is not charged instead of the fee). The base trading fee rate is capped at 5% by the protocol. For price markets, the open fee is deducted from the collateral you deposit before the remaining amount becomes position collateral. The close fee is deducted from the payout, and the remaining amount is then held in the pool’s settlement escrow until you withdraw it with a separateclaimSettlement transaction. Cross-margin positions are the exception — their proceeds are credited directly to your margin account.
Dynamic imbalance fee
When a market enables it, the effective fee rate moves with the pool’s long/short imbalance:- A trade that worsens imbalance (adding to the crowded side) pays more than the base rate.
- A trade that improves imbalance (adding to the lighter side) pays less, down to a floor of zero.
base rate × (1 + multiplier) — so the effective rate can exceed the 5% base cap, because that cap limits the base rate, not the imbalance-adjusted rate.
Where fees go
Each fee is split between the LP fee pool, the market creator, and the treasury. The split is configurable per market; by default the LP fee pool receives 60% and the creator share is zero until a creator fee is configured. Any share that is not assigned (no fee pool, or no creator set) falls to the treasury.vTACO discounts
If fee discounts are enabled, the trader’s effective fee rate depends on their virtual vTACO balance. vTACO is a time-decaying staking score, not an ERC20 token. The discount is tiered. By default there are nine tiers that rise with the vTACO you hold — from 5% off at the lowest tier up to a maximum of 90% off at the top tier. The discount is applied to the imbalance-adjusted rate, not the base rate, and if the discount lookup ever fails it falls back to no discount, so a discount problem never blocks your trade.
These are the default tiers; a market can configure its own thresholds and rates (up to the 90% cap).
Because vTACO decays with remaining lock time, it is meant to reflect current alignment rather than create a transferable staking position.
Staking flow
- Stake TACO in
TacoStaking. - Lock it for a chosen period.
- Let the remaining lock time determine the vTACO balance.
- Use that balance to reduce trading fees through
FeeDiscountModule.
