App Fee Router
Purpose
Route app fees into the ProtocolFeeCollector with optional owner share.
Scope
This contract routes fees only. It does not enforce app entitlements or data validation.
Actors and Roles
- App users pay fees through
payFee. - App admins configure optional owner share.
- Owner can update fee collector address.
Core Flows
payFeetransfers tokens and routes them to the fee collector.setAppOwnerShareBpsconfigures optional owner share per app.
Security Invariants
- Only app admins can change owner share.
- Fee routing is explicit and evented.