Protocol State


pkgId:

0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf

Supported assets:

Asset Name Asset Type
USDC 0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN
USDT 0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN
ETH 0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN
SUI 0x2::sui::SUI

User TVL calculation suggestion


User TVL = Supply TVL + Borrow TVL * BorrowWeight

Supply TVL:

  1. Whenever user trigger Supply assets event, add to the Supply TVL
  2. Whenever user trigger Withdraw assets event, remove from the Supply TVL

Borrow TVL:

  1. Whenever user trigger Borrow assets event, add to the Borrow TVL