// SPDX-License-Identifier: MIT pragma solidity ^0.8.30; /// @title IFeeRegistry /// @notice Read interface for the per-token fee parameters consumed at loan execution. /// LoanManager snapshots `interestTakeRateBps` into each loan; AmishHub/LoanManager /// read `originationFeeBps` and `treasury` at creation. interface IFeeRegistry { /// @notice Effective fee parameters for `token`. Tokens without an explicit config fall back /// to the protocol-wide default fees. /// @return originationFeeBps One-time fee on principal, charged to the borrower (bps). /// @return interestTakeRateBps Protocol's cut of interest, taken before the lender (bps). function feesFor(address token) external view returns (uint16 originationFeeBps, uint16 interestTakeRateBps); /// @notice Address that receives origination fees and the protocol's interest cut. function treasury() external view returns (address); }