Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 941 Bytes

lib-base.fees.md

File metadata and controls

28 lines (17 loc) · 941 Bytes

Home > @liquity/lib-base > Fees

Fees class

Calculator for fees.

Signature:

export declare class Fees 

Remarks

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.

Methods

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.