IFeeSchedule
Title: IFeeSchedule
Interface for the FeeSchedule registry used by PaymentProcessor.
PaymentProcessor calls resolveFees once per execution to determine
the effective protocol and keeper fee rates for a given module.
If no tier is assigned, the schedule returns protocol-wide defaults.
Functions
resolveFees
Resolves the effective fee rates for a module.
Returns the tier-specific rates if the module has an active tier, otherwise returns the global default rates.
function resolveFees(address module)
external
view
returns (uint16 protocolFeeBps, uint16 keeperFeeBps);
Parameters
| Name | Type | Description |
|---|---|---|
module | address | Address of the module being executed |
Returns
| Name | Type | Description |
|---|---|---|
protocolFeeBps | uint16 | Protocol's cut of each payment (basis points, 0-10000) |
keeperFeeBps | uint16 | Keeper's share of the protocol fee (basis points, 0-10000) |