You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
contracts: FeeRouter pays the rebate only to subscribed operators #2949
FeeRouter.deposit pays the rebate only to operators subscribed in the arrival epoch (#2948). This is today's isActive gate, reading the subscription instead of the bond. A subscribed operator keeps 60% + 30% = 90%; any other registered operator keeps 60%.
Design
rebate = isSubscribed(op, arrivalEpoch) ? amount × rebateBps : 0; the rest goes to the treasury in the same transaction.
deposit accepts any registered operator. A deposit for an unregistered address goes wholly to the treasury.
Delete the capacity clamp in _credit.
Credit ledger: keep the per-epoch credited-bytes ledger (priced on the treasury leg with deliveryFloor) only if the gas measurement in deploy: mainnet beta (governance on Ethereum, payments on several chains) #2925 shows it is cheap on Ethereum. Otherwise delete it and deliveryFloor with it. Nothing reads it during the beta.
Tests
Subscribed and unsubscribed deposits.
A subscription that lapses between serving and the sweep's arrival.
Activity