From 8e74c3f329e0ca9dd921971d53a61b1fc15a1ecd Mon Sep 17 00:00:00 2001 From: justlend_dev <116065540+hyf1888@users.noreply.github.com> Date: Thu, 28 May 2026 17:31:22 +0800 Subject: [PATCH] Update token architecture reference from Compound V2 to JustLend DAO --- docs/developers/deployed_contracts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/deployed_contracts.md b/docs/developers/deployed_contracts.md index 73bc381..341845c 100644 --- a/docs/developers/deployed_contracts.md +++ b/docs/developers/deployed_contracts.md @@ -33,7 +33,7 @@ description: Base58 addresses for every JustLend DAO contract on TRON Mainnet, p Everything in the main tables below is deployed on **TRON Mainnet** (Chain ID `0x2b6653dc`). For **Nile testnet** addresses see the [Nile Testnet](#nile-testnet) section at the bottom of this page or the `nile` block of `contracts.json`. !!! warning "Decimals / precision" - The Compound V2 architecture treats every token amount in **its underlying's smallest unit**. Always read `decimals()` on the underlying TRC20 before constructing `mint`, `borrow`, `repayBorrow`, or `redeemUnderlying` amounts. Common cases: TRX/USDT/USDC = 6, USDD/ETH = 18, BTC/WBTC = 8. jToken amounts (`redeem`, `transfer`) use **8 decimals** regardless of the underlying. For the full enumeration and the units rationale, see [Glossary → jToken decimals](../resources/glossary.md#jtoken-decimals) and [Common Pitfalls #5](common_pitfalls.md#5-jtoken-8-underlying-varies-decimals). + The JustLend DAO architecture treats every token amount in **its underlying's smallest unit**. Always read `decimals()` on the underlying TRC20 before constructing `mint`, `borrow`, `repayBorrow`, or `redeemUnderlying` amounts. Common cases: TRX/USDT/USDC = 6, USDD/ETH = 18, BTC/WBTC = 8. jToken amounts (`redeem`, `transfer`) use **8 decimals** regardless of the underlying. For the full enumeration and the units rationale, see [Glossary → jToken decimals](../resources/glossary.md#jtoken-decimals) and [Common Pitfalls #5](common_pitfalls.md#5-jtoken-8-underlying-varies-decimals). ## Address formats