Home > @liquity/lib-base > Fees
Calculator for fees.
Signature:
export declare class Fees
Returned by the getFees() function.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Fees
class.
Method | Modifiers | Description |
---|---|---|
borrowingRate(when) | Calculate the current borrowing rate. | |
equals(that) | Compare to another instance of Fees . |
|
redemptionRate(redeemedFractionOfSupply, when) | Calculate the current redemption rate. |