Trinity
Token mechanics

Every buy & sell → 3% protocol fee

The fee is not a transfer tax. Plain wallet-to-wallet transfers are untaxed — the 3% is charged only on swaps that route through the Trinity/ETH Uniswap v4 pool, enforced by the hook’s afterSwap callback.

BUYSELL3% FEEcharged at the v4 pool1%LIQUIDITYreinvested into the pool1%BURNsupply reduced1%REWARDSETH to holders
1%Deepens the pool

Liquidity

  • Accumulated as ETH + TRI sleeves in the hook.
  • A threshold-gated keeper call adds it to a protocol-owned full-band position.
  • Liquidity is never sent to an EOA — it is owned by the hook.
pending
0.55 ETH · 205.9 TRI
1%Shrinks the supply

Burn

  • TRI skimmed on buys is burned directly via ERC20Burnable.
  • ETH skimmed on sells is first converted TRI→… then burned.
  • Supply can only ever decrease — there is no mint path.
pending
214.6 TRI · 0.31 ETH
1%Pays holders

ETH / WETH Rewards

  • ETH from sells accrues directly; TRI from buys is converted to ETH.
  • Wrapped to WETH and distributed once past the threshold.
  • O(1) accounting — no holder iteration, no per-tx transfers.
pending
0.42 ETH · 180.2 TRI

How the fee is skimmed

afterSwap

The hook charges the fee on the swap’s unspecified currency inside afterSwap, which is robust for both exact-input and exact-output swaps. It returns a positive hook delta and immediately take()s the amount out of the pool as real ETH/TRI.

exact-in buy ETH→TRI · fee taken in TRI (output)
exact-in sell TRI→ETH · fee taken in ETH (output)
exact-out mirror on the input currency

Why skim and convert are separate

security

The user’s swap only skims a fee and updates counters — no swapping, burning, or liquidity math runs inside it. Price-sensitive work happens later in dedicated, nonReentrant, threshold-gated keeper transactions, each bounded by a caller-supplied minOut.

  • safe no in-callback pool manipulation surface
  • safe internal swaps are fee-exempt (no self-tax loop)
  • safe buckets are explicit numbers, never cross-funded

Fee split (live)

from the hook
Total fee3%
Liquidity share1%
Burn share1%
Rewards share1%