zerotracedocs

Fees

The Pons trading fee, how the ZeroTrace harvester splits it between the team and private holders, the network fee of private transactions, and what you pay with your own ETH.

There are three kinds of cost around ZeroTrace. There is no fee on the amount you send, sell or unshield, and none on ZERO transfers: a percentage of a private amount would show the amount on-chain.

CostWhenPaid inGoes to
Pons trading fee, 1%Every ZERO trade, by anyone: the Pons curve, the Uniswap v4 pool, any aggregatorETH0.3% to Pons, 0.7% to the ZeroTrace harvester: 0.35% to the team, 0.35% to private holders
Network feeEvery private send, sale and unshieldZERO, from the notes you spendThe other private notes
GasRegistration, purchases, approvals and shieldsETH, from your addressThe network

Nothing from private transactions goes to the team: their network fees go to the private holders.

The trading fee

Pons charges one fee on every ZERO trade, the same before and after graduation:

FeeRateSet by
Standard trade fee1%Pons
Creator tax0%Set when ZERO was launched; it cannot be changed

Pons keeps 30% of the standard fee (0.3% of the trade). The rest goes to ZERO's creator fee recipient, the ZeroTrace harvester contract: 0.7% of every trade, paid in ETH. The trader pays 1% in total. Quotes in the app already include it.

The harvester splits what it collects in half:

HalfShare of each tradeUsed for
Team0.35%Paid to the team's address
Private holders0.35%The gas of private transactions, then ZERO added to the vault

Harvesting

The ETH collects with Pons until someone calls harvest() on the harvester. Anyone can call it, and it:

  1. collects the ETH fees Pons holds for ZERO and sets aside the team's half;
  2. with the holders' half, tops up the vault's gas deposit at the ERC-4337 EntryPoint to 0.1 ETH, if it is below that. This deposit pays the gas of every private transaction;
  3. spends the rest on ZERO and donates it to the vault. No new shares are created, so every share, and every note, is worth a little more ZERO.

The harvester buys in small steps, so a buy is not worth trading around:

  • at most one buy per L1 block (about 12 seconds);
  • each buy moves the price by at most 0.5%;
  • never more than 15% above the vault's price average, after fees.

What does not fit waits in the harvester for the next harvest. A ZeroTrace keeper calls harvest() regularly. Its caller gets back only the gas of a call that did work, capped at 0.5% of the ETH the call put to work, so there is nothing to earn by calling it for nothing.

Only private notes earn. Public ZERO in a wallet earns nothing. See The vault and The pool.

The holder yield depends on Pons. The Pons owner can redirect ZERO's creator fees to another address after a 3-day public timelock. That would stop the yield from then on, but it cannot touch the vault or the notes. See Trust model.

The network fee of private transactions

Private transactions are not sent by your wallet, so you pay no ETH for them. An ERC-4337 bundler submits them, and the vault's gas deposit at the EntryPoint pays the bundler. In exchange, each transaction pays a network fee in ZERO, taken from the notes it spends.

How big it is

The network fee is flat: the same for a send, a sale or an unshield, whatever the amount.

network fee = the operation cost in ETH, converted into ZERO at the vault's price average
operation cost = 0.0002 ETH at the start
  • Set by the guardian, within fixed limits. The vault's guardian can set the operation cost anywhere between 0.00005 ETH and 0.001 ETH, and nowhere else: the two limits are constants of the contract. The value in force is maxOpCostWei() on the vault. A change resets the fee at once. For the next hour a transaction may still pay the fee that was replaced, so one you had already signed goes through.
  • Updated at most once an hour. The vault converts the operation cost into ZERO at its price average once an hour. The previous fee stays valid until the next update, so a transaction signed just before an update still goes through.
  • Paid in shares from the notes you spend, and donated to the other notes: it stays in the vault, and every other note is worth a little more.
  • Capped gas. A private transaction may not cost the gas deposit more than the operation cost, which is what its fee is worth. If gas costs more than that, the vault refuses the transaction and the app asks you to try again later.

The price average moves slowly on purpose: each block's price (the last one recorded in it) counts for 1/8 and is clamped to 10% of the average, so the average moves by at most 1.25% per block. It is updated by every trade through the ZeroTrace router, by each harvest, and by anyone calling poke() on the vault. See Gas.

The history shows each spend's network fee: next to the amount for sends and unshields, included in the total for sales.

When gas is too expensive

If the network is busy and an operation would cost more gas than the operation cost allows, private transactions through the app wait until gas is cheaper. High gas does not lock your notes: the contracts let you exit directly, unshielding or selling with a transaction whose gas is paid by an address of your choice, which then appears on-chain. The app does not build that transaction; it takes a hand-made call to the vault (transact) or the router (sell).

What you pay with your own ETH

These are ordinary transactions sent from your wallet. They reveal nothing that is not already public about them.

ActionYou pay
Register your privacy keyGas, once
Buy in the appThe ETH you spend, the Pons fee, plus gas
Shield public ZEROGas for the approval (when needed) and the shield

Your address never pays gas for a private transaction. If it did, its signature would link you to the transaction.

A private transaction that is not included costs nothing: the network fee is only taken when the transaction is on-chain.

On this page