lib-base.stabilitydeposit
Last updated
Last updated
Home > @mosaic/lib-base > StabilityDeposit
A Stability Deposit and its accrued gains.
Signature:
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the StabilityDeposit
class.
Property | Modifiers | Type | Description |
---|---|---|---|
Method | Modifiers | Description |
---|---|---|
Amount of native currency (e.g. Ether) received in exchange for the used-up MoUSD.
Amount of MoUSD left in the Stability Deposit.
string
Address of frontend through which this Stability Deposit was made.
Amount of MoUSD in the Stability Deposit at the time of the last direct modification.
boolean
Amount of MSIC rewarded since the last modification of the Stability Deposit.
Apply a StabilityDepositChange to this Stability Deposit.
Compare to another instance of StabilityDeposit
.
Calculate the difference between the currentMoUSD
in this Stability Deposit and thatMoUSD
.