lib-base
lib-base package
Classes
Fixed-point decimal bignumber with 18 digits of precision.
Calculator for fees.
Abstract base class of Mosaic data store implementations.
Represents a user's MSIC stake and accrued gains.
A Stability Deposit and its accrued gains.
A combination of collateral and debt.
A Trove in its state after the last direct modification.
A Trove that is associated with a single owner.
Interfaces
State variables read from the blockchain.
Prepare Mosaic transactions for sending.
A transaction that has been prepared for sending.
A redemption transaction that has been prepared for sending.
Read the state of the Mosaic protocol.
Send Mosaic transactions.
A transaction that has already been sent.
Send Mosaic transactions and wait for them to succeed.
Variables
Total collateral ratio below which recovery mode is triggered.
Amount of MoUSD that's reserved for compensating the liquidator of a Trove.
A Trove must always have at least this much debt.
Collateral ratio below which a Trove can be liquidated in normal mode.
Type Aliases
Types that can be converted into a Decimal.
Indicates that the transaction has been mined, but it failed.
Represents whether an address has been registered as a Mosaic frontend.
Represents the change between two states of an MSIC Stake.
Indicates that the transaction hasn't been mined yet.
Represents the change between two Stability Deposit states.
Indicates that the transaction has succeeded.
Represents the change between two Trove states.
Describes why a Trove could not be created.
Represents whether a UserTrove is open or not, or why it was closed.
Last updated