Skip to main content

Module fee_shares

Module fee_shares 

Source
Expand description

Live operator fee-share (basis points), read from FeeRouter.getShares()[0]. A single Arc<AtomicU16> shared by all clones, seeded at startup and refreshed by the multiplexed log poller (see fee_shares_watcher.rs). (1 - f) numerator for the serve-economics margin.

Structs§

OperatorShares
Cloneable live operator fee share. All clones share one atomic cell.

Functions§

operator_bps_from_shares
Narrow the on-chain [operator, buyback, treasury] shares to operator bps.