Statistics

Access community resources, and learn how to retrieve data from the Balanced smart contracts to track Balanced's usage.

View the Balanced stats page.

Community resources

You can also track key statistics manually using the Balanced smart contracts.

Total Balanced Dollars

https://tracker.icon.foundation/token/cx88fd7df7ddff82f7cc735c871dc519838cb235bb#readcontract

For everything else, view the Read Contract section on each page...

Total value locked in loans (sICX)

https://tracker.icon.foundation/contract/cx66d4d90f5f113eba575bf793570135f9b10cece1#readcontract

Find 22. getTotalCollateral

  • Divide the amount by 1,000,000,000,000,000,000

  • Multiply by the current USD value of sICX

Unique borrowers

https://tracker.icon.foundation/contract/cx66d4d90f5f113eba575bf793570135f9b10cece1#readcontract

Find 16. getNonzeroPositionCount

Total value locked in DEX

https://tracker.icon.foundation/contract/cxa0af3165c08318e988cb30993b3048335b94af6c#readcontract

sICX/ICX (in ICX)

Find 44. totalSupply and query 1

sICX/bnUSD (in bnUSD)

Find 23. getPoolTotal and query 2, cx88fd7df7ddff82f7cc735c871dc519838cb235bb

BALN/bnUSD (in bnUSD)

Find 23. getPoolTotal and query 3, cx88fd7df7ddff82f7cc735c871dc519838cb235bb

  • Divide each result by 1,000,000,000,000,000,000

  • Multiply ICX by current USD price

  • Add together

Unique liquidity providers

https://tracker.icon.foundation/contract/cxa0af3165c08318e988cb30993b3048335b94af6c#readcontract

Find 43. totalDexAddresses and query:

  • 1 for sICX/ICX liquidity providers

  • 2 for sICX/bnUSD liquidity providers

  • 3 for BALN/bnUSD liquidity providers

Total fees

https://tracker.icon.foundation/contract/cx13f08df7106ae462c8358066e6d47bb68d995b6d#readcontract

Find 3. getBalances

  • Convert the string for each asset here, then divide the result by 1,000,000,000,000,000,000

  • To get the USD value, multiply sICX, BALN, and ICX by their bnUSD or USDT price, then add together