Skip to content

Add LiquidOps yield adapter #1803

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

Merged
merged 5 commits into from
Apr 8, 2025
Merged

Conversation

LorimerJenkins
Copy link
Contributor

No description provided.

@llamatester
Copy link

The liquidops adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 22 passed, 22 total
Snapshots: 0 total
Time: 0.254 s
Ran all test suites.

Nb of pools: 2
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬─────────────┬──────────┬────────────────────┬───────────────────────┬───────────┬──────────────┬───────────────────────────────────────────────────┬──────────┬──────────────────────────────┬───────────────┬─────────────────┬────────────────────┬────────────────┬─────┐
│ (index) │ pool                                             │ chain │ project     │ symbol   │ tvlUsd             │ apyBase               │ apyReward │ rewardTokens │ underlyingTokens                                  │ poolMeta │ url                          │ apyBaseBorrow │ apyRewardBorrow │ totalSupplyUsd     │ totalBorrowUsd │ ltv │
├─────────┼──────────────────────────────────────────────────┼───────┼─────────────┼──────────┼────────────────────┼───────────────────────┼───────────┼──────────────┼───────────────────────────────────────────────────┼──────────┼──────────────────────────────┼───────────────┼─────────────────┼────────────────────┼────────────────┼─────┤
│ 0       │ 'fodpfvob5wex9yc-26aa82m2mhmt7n9l0tkynosruk0-ao' │ 'AO'  │ 'liquidops' │ 'OQAR'   │ 36310.090491920004 │ 0.0002537350620067644 │ null      │ null         │ [ 'NG-0lVX882MG5nhARrSzyprEK6ejonHpdUmaaMPsHE8' ] │ null     │ 'https://liquidops.io/qAR'   │ 1.00028       │ null            │ 36310.090491920004 │ 10.23684536    │ 0.5 │
│ 1       │ '4mw7ulftttslwm-yweqv9tgd6fsidrqa4lbtgyl2qhg-ao' │ 'AO'  │ 'liquidops' │ 'OWUSDC' │ 2613.01154946      │ 1.2228076675531914    │ null      │ null         │ [ '7zH9dlMNoxprab9loshv3Y7WG45DOny_Vrq9KrXObdQ' ] │ null     │ 'https://liquidops.io/wUSDC' │ 1.7683        │ null            │ 2613.01154946      │ 8667.03830814  │ 0.5 │
└─────────┴──────────────────────────────────────────────────┴───────┴─────────────┴──────────┴────────────────────┴───────────────────────┴───────────┴──────────────┴───────────────────────────────────────────────────┴──────────┴──────────────────────────────┴───────────────┴─────────────────┴────────────────────┴────────────────┴─────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

  • pls remove unused fields (poolMeta, apyRewardBorrow) etc if not applicable
  • totalSupplyUsd should be the total supply, not available liquidity

@LorimerJenkins
Copy link
Contributor Author

Hey @slasher125,

Nice catches thanks, just committed the changes :)

@llamatester
Copy link

The liquidops adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 22 passed, 22 total
Snapshots: 0 total
Time: 0.25 s
Ran all test suites.

Nb of pools: 2
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬─────────────┬──────────┬────────────────────┬───────────────────────┬───────────────────────────────────────────────────┬──────────────────────────────┬───────────────┬────────────────┬───────────────────┬─────┐
│ (index) │ pool                                             │ chain │ project     │ symbol   │ tvlUsd             │ apyBase               │ underlyingTokens                                  │ url                          │ apyBaseBorrow │ totalSupplyUsd │ totalBorrowUsd    │ ltv │
├─────────┼──────────────────────────────────────────────────┼───────┼─────────────┼──────────┼────────────────────┼───────────────────────┼───────────────────────────────────────────────────┼──────────────────────────────┼───────────────┼────────────────┼───────────────────┼─────┤
│ 0       │ 'fodpfvob5wex9yc-26aa82m2mhmt7n9l0tkynosruk0-ao' │ 'AO'  │ 'liquidops' │ 'OQAR'   │ 36179.399999999994 │ 0.0002537350620067644 │ [ 'NG-0lVX882MG5nhARrSzyprEK6ejonHpdUmaaMPsHE8' ] │ 'https://liquidops.io/qAR'   │ 1.00028       │ 36189.6        │ 10.2              │ 0.5 │
│ 1       │ '4mw7ulftttslwm-yweqv9tgd6fsidrqa4lbtgyl2qhg-ao' │ 'AO'  │ 'liquidops' │ 'OWUSDC' │ 2612.99989548      │ 1.2228076675531914    │ [ '7zH9dlMNoxprab9loshv3Y7WG45DOny_Vrq9KrXObdQ' ] │ 'https://liquidops.io/wUSDC' │ 1.7683        │ 11279.9995488  │ 8666.999653320001 │ 0.5 │
└─────────┴──────────────────────────────────────────────────┴───────┴─────────────┴──────────┴────────────────────┴───────────────────────┴───────────────────────────────────────────────────┴──────────────────────────────┴───────────────┴────────────────┴───────────────────┴─────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit e170cff into DefiLlama:master Apr 8, 2025
1 check passed
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