Skip to content

Linx TVL does not include all tokens #18029

@raduciobanu22

Description

@raduciobanu22

WBTC which is used as collateral in a pool is ignored
We have 2 pools: ALPH / USDT and WBTC / USDT.
Locally I ran node test.js projects/linx/index.js and these are the results:

--- alephium ---
ALPH                      291.14 k
USDTeth                   2.56 k
Total: 293.70 k

--- alephium-borrowed ---
USDTeth                   57.12 k
Total: 57.12 k

--- tvl ---
ALPH                      291.14 k
USDTeth                   2.56 k
Total: 293.70 k

I'd expect to see WBTC there as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions