Skip to main content
A native asset is backed by the admitted backing of each of its representations, the (asset, chain) pairs it is made of. To keep that backing spread across chains, each representation is to keep a minimum share of the asset’s backing. An outflow that takes a representation below its share pays a rebalancing fee, and the inflows that refill it earn a rebalancing reward funded by that fee. A token balance in the Funding account is not part of a native asset’s backing, so depositing or withdrawing it is never charged.

Minimum share and rebalancing anchor

A representation’s minimum share comes from its min weight (minWeight, a per-(asset, chain) parameter) and the asset’s buffer multiple (bufferMultiple):
threshold is the balance at which the representation holds exactly its share. A representation with no min weight, or an asset with no buffer multiple, has no minimum share and is never charged. When an approved outflow would leave a representation below its share, the protocol fixes a rebalancing anchor: the balance the representation is to be brought back to. The rebalancing anchor is set at the lower of the balance before the outflow and the threshold. While a rebalancing anchor is open it can only be lowered, to the current threshold. It closes once the representation’s balance, net of every approved outflow, is back at or above it. The deficit is how far the balance is below the rebalancing anchor. With no rebalancing anchor there is no deficit.

Fees and rewards

  • Both are amounts of the native asset, at a fixed 1/40 per token of deficit. They are not converted at the representation’s rate.
  • Fees round up and rewards round down.
  • haircut is the reward haircut, the part of each reward the protocol keeps. It is set by governance, globally or per asset.
  • Fees are collected into the rebalancing fee account and rewards are paid from it. A reward is capped at that account’s balance. Excess borrow interest and funding go to the separately configured interest fee account.
Because a reward is paid only for closing a deficit that a fee was charged for opening, at the same rate, the rewards paid for an asset never exceed the fees collected for it.

Worked example

Two representations, A and B, each with a 40% minimum share. A holds 1,800 and B holds 2,400.
An outflow that pays a fee. A settlement takes 1,200 out of A, leaving 600.
Only the part below the rebalancing anchor is charged: the first 200, from 1,800 down to 1,600, costs nothing. Inflows that earn the reward. With no reward haircut:
The second inflow passes the rebalancing anchor, so only its first 600 is rewarded. The two rewards total 25, the fee collected. An outflow of 100 from a representation holding 1,000 against a threshold of 600 opens no deficit and pays nothing.

Application and timing

  • Settlements. The fee is reserved when the settlement is approved, held beside the amount leaving. The signed amount is the principal alone. max_fee in the request bounds the fee; a settlement whose fee would exceed it is refused before anything is locked. At execution the fee is priced again on the balances at that time and collected, capped at what was reserved, and the rest is returned. An incoming leg’s reward does not offset the outgoing leg’s fee for the max_fee bound.
  • Transfers out to a token. The fee is deducted from the amount transferred.
  • Transfers into a trading account. The reward is credited to the trading account with the transfer.
  • An outflow that would open a deficit is refused when no rebalancing fee account is set, since nothing could fund the reward.