lib-base.usertrove
Last updated
Last updated
Home > @mosaic/lib-base > UserTrove
A Trove that is associated with a single owner.
Signature:
Extends: Trove
The SDK uses the base Trove class as a generic container of collateral and debt, for example to represent the total collateral and debt locked up in the protocol.
The UserTrove
class extends Trove
with extra information that's only available for Troves that are associated with a single owner (such as the owner's address, or the Trove's status).
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the UserTrove
class.
Property | Modifiers | Type | Description |
---|---|---|---|
Method | Modifiers | Description |
---|---|---|
string
Address that owns this Trove.
Provides more information when the UserTrove is empty.