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.
Thrown by TransactableMosaic functions in case of transaction failure.
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
Details of a transferCollateralGainToTrove() transaction.
Details of a liquidate() or liquidateUpTo() transaction.
State variables read from the blockchain.
State variables derived from MosaicStoreBaseState.
Parameters passed to MosaicStore listeners.
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.
Details of a redeemMoUSD() transaction.
Send Mosaic transactions.
A transaction that has already been sent.
Details of a depositMoUSDInStabilityPool() or withdrawMoUSDFromStabilityPool() transaction.
Details of a withdrawGainsFromStabilityPool() transaction.
Send Mosaic transactions and wait for them to succeed.
Details of an adjustTrove() transaction.
Details of a closeTrove() transaction.
Details of an openTrove() transaction.
Parameters of the getTroves() function.
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.
A Trove must always have at least this much debt on top of the liquidation reserve.
Value that the borrowing rate will never exceed.
Value that the borrowing rate will never decay below.
Collateral ratio below which a Trove can be liquidated in normal mode.
Value that the redemption rate will never decay below.
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.
One of either a PendingReceipt, a FailedReceipt or a SuccessfulReceipt.
Type of MosaicStore's state.
Represents the change between two states of an MSIC Stake.
Either a FailedReceipt or a SuccessfulReceipt.
Indicates that the transaction hasn't been mined yet.
Represents the change between two Stability Deposit states.
Indicates that the transaction has succeeded.
Parameters of an adjustTrove() transaction.
Represents the change between two Trove states.
Parameters of a closeTrove() transaction.
Describes why a Trove could not be created.
Parameters of an openTrove() transaction.
Represents whether a UserTrove is open or not, or why it was closed.
Last updated