Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP - don't merge] feat: add USDT into TVL on LISTA #12474

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tyler-tsai
Copy link
Contributor

Add USDT into TVL on LISTA

@llamatester
Copy link

The adapter at projects/helio-money exports TVL:

bsc                       220.69 M
bsc-staking               29.42 M
staking                   29.42 M
bsc-pool2                 1.01 M
pool2                     1.01 M

total                    220.69 M 

@tyler-tsai tyler-tsai changed the title feat: add USDT into TVL on LISTA [WIP - don't merge] feat: add USDT into TVL on LISTA Nov 28, 2024
@tyler-tsai
Copy link
Contributor Author

@g1nt0ki can we specify a read method of TVL?
for example: getTotalNetDepositAmount
https://bscscan.com/address/0x5763DDeB60c82684F3D0098aEa5076C0Da972ec7#readProxyContract

@g1nt0ki
Copy link
Member

g1nt0ki commented Nov 28, 2024

why use netDeposits when it is simpler to check token balance. That aside, we do prefer checking token balance than reading state as tvl

@tyler-tsai
Copy link
Contributor Author

why use netDeposits when it is simpler to check token balance. That aside, we do prefer checking token balance than reading state as tvl

As we can see, I use this address but somehow sum function doesn't get its balances.

@g1nt0ki
Copy link
Member

g1nt0ki commented Nov 28, 2024

are you sure, I do see it:
image

@g1nt0ki g1nt0ki self-assigned this Nov 28, 2024
@llamatester
Copy link

The adapter at projects/helio-money exports TVL:

bsc                       216.99 M
bsc-staking               27.99 M
staking                   27.99 M
bsc-pool2                 1.07 M
pool2                     1.07 M

total                    216.99 M 

@llamatester
Copy link

The adapter at projects/helio-money exports TVL:

bsc                       220.48 M
bsc-staking               27.99 M
staking                   27.99 M
bsc-pool2                 1.07 M
pool2                     1.07 M

total                    220.48 M 

@tyler-tsai
Copy link
Contributor Author

@g1nt0ki it does work, thanks for checking. Can you share the command you tried?

@g1nt0ki
Copy link
Member

g1nt0ki commented Nov 29, 2024

node test.js projects/helio-money

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants