๐ฉ๐๐จ๐๐ง ๐ฆ๐๐๐ฅ๐๐ฆ ๐๐ก๐ ๐๐๐ฃ๐ข๐ฆ๐๐ง ๐๐ ๐ข๐จ๐ก๐ง๐ฆ ๐๐ก๐ฆ๐ช๐๐ฅ ๐๐๐๐๐๐ฅ๐๐ก๐ง ๐ค๐จ๐๐ฆ๐ง๐๐ข๐ก๐ฆ
A V2 vault position can be described using both the number of shares held and the underlying asset amount represented by those shares.
The JustLend API exposes these as separate fields. `shareAmount` represents the raw vault-share balance, while `depositAmount` reports the corresponding asset amount in a human-readable format.
Developers should not substitute one for the other.
The share balance identifies the user's ownership units in the vault. The underlying amount helps communicate the value represented by those units.
Displaying both correctly gives users a clearer understanding of their position and how it relates to the vault's underlying asset.
@JUST DAO
@Justin Sunๅญๅฎๆจ
#TRONEcoStar
A V2 vault position can be described using both the number of shares held and the underlying asset amount represented by those shares.
The JustLend API exposes these as separate fields. `shareAmount` represents the raw vault-share balance, while `depositAmount` reports the corresponding asset amount in a human-readable format.
Developers should not substitute one for the other.
The share balance identifies the user's ownership units in the vault. The underlying amount helps communicate the value represented by those units.
Displaying both correctly gives users a clearer understanding of their position and how it relates to the vault's underlying asset.
@JUST DAO
@Justin Sunๅญๅฎๆจ
#TRONEcoStar
