fix: collateral tvl not being accounted#14458
Conversation
Signed-off-by: 0xhitgo <0xhitgo@protonmail.com>
|
The adapter at projects/sentiment exports TVL: |
Signed-off-by: 0xhitgo <0xhitgo@protonmail.com>
|
The adapter at projects/sentiment exports TVL: |
|
From your UI it seems the exports should be TVL = ~1.1M$ and Borrowed should be ~4.9M$. Can you explain the difference? https://app.sentiment.xyz/create-position |
~1.1M$ is the available liquidity but a large portion of the borrowed liq gets swapped to more collateral and stays in the sentiment position contracts. thinking again more accurate tvl would be available liquidity in pool plus assets in all position contracts. |
Signed-off-by: 0xhitgo <0xhitgo@protonmail.com>
|
The adapter at projects/sentiment exports TVL: |
|
the value exported by your tvl function should describe available liquidity (excluding borrowed funds) |
Signed-off-by: 0xhitgo <0xhitgo@protonmail.com>


add batching to api.multiCall for get asset (collateral) data in sentiment positions