mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 08:34:23 +08:00
added LiSTX TVL
This commit is contained in:
@@ -10,7 +10,11 @@ async function tvl() {
|
||||
const registryAddr = 'SM26NBC8SFHNW4P1Y4DFH27974P56WN86C92HPEHH.lqstx-mint-registry';
|
||||
const pending = await call({ target: registryAddr, abi: 'get-mint-requests-pending-amount'});
|
||||
const reserve = await call({ target: reserveAddr, abi: 'get-reserve' });
|
||||
|
||||
const liALEXAddr = "SP102V8P0F7JX67ARQ77WEA3D3CFB5XW39REDT0AM.auto-alex-v3";
|
||||
const liALEXSupply = await call({ target: liALEXAddr, abi: 'get-total-supply'});
|
||||
return {
|
||||
blockstack: (+reserve.value + +pending.toString()) / 1e6
|
||||
blockstack: (+reserve.value + +pending.toString()) / 1e6,
|
||||
alexgo: +liALEXSupply.value / 1e8
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user