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

list openleverage protocol #1017

Merged
merged 10 commits into from
Oct 10, 2023
Merged

list openleverage protocol #1017

merged 10 commits into from
Oct 10, 2023

Conversation

Noe-L-Dev
Copy link
Contributor

No description provided.

@slasher125
Copy link
Collaborator

gm for adding. just tried running the tests, but seems to run forever. can u check locally and confirm that all tests pass successfully?

@llamatester
Copy link

The openleverage adapter exports pools:

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

Nb of pools: 23
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────┬───────────┬────────────────┬──────────────────┬────────────────────┬─────────────────┬────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                         pool                         │   chain   │    project     │      symbol      │       tvlUsd       │     apyBase     │                                          url                                           │
├─────────┼──────────────────────────────────────────────────────┼───────────┼────────────────┼──────────────────┼────────────────────┼─────────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │ '0x9beb797fb006b4d16ebd57820c943d66d0e774ce-binance' │ 'Binance' │ 'openleverage' │ 'BUSD->ELEPHANT' │ 767384.4878494056  │ 50.629336525512 │ 'https://bnb.openleverage.finance/app/pool/0x9beb797fb006b4d16ebd57820c943d66d0e774ce' │
│    1    │ '0x360e4262c1eb19529c00009eab9f91360d664bf3-binance' │ 'Binance' │ 'openleverage' │   'USDC->ETH'    │ 164321.24252265962 │ 1.150118140752  │ 'https://bnb.openleverage.finance/app/pool/0x360e4262c1eb19529c00009eab9f91360d664bf3' │
│    2    │ '0xb6ac989846538562d8c9d4b19328b43991678c71-binance' │ 'Binance' │ 'openleverage' │   'BUSD->OLE'    │ 142821.92325232594 │ 1.0284691728672 │ 'https://bnb.openleverage.finance/app/pool/0xb6ac989846538562d8c9d4b19328b43991678c71' │
│    3    │ '0xebc07dce0a1ddeb6d718d69f6812e2ff24ab401b-binance' │ 'Binance' │ 'openleverage' │   'USDC->USDT'   │ 137083.49964539806 │ 0.0020242001808 │ 'https://bnb.openleverage.finance/app/pool/0xebc07dce0a1ddeb6d718d69f6812e2ff24ab401b' │
│    4    │ '0xa9c04be222819d2123ad522c714b869b5442647c-binance' │ 'Binance' │ 'openleverage' │   'BUSD->BNB'    │ 132787.92168113217 │ 1.1228133815856 │ 'https://bnb.openleverage.finance/app/pool/0xa9c04be222819d2123ad522c714b869b5442647c' │
│    5    │ '0xb16b62b53bdb8d26da27f86be3d1f12af8e45bad-binance' │ 'Binance' │ 'openleverage' │   'BUSD->BTCB'   │ 128843.45866482529 │ 2.0908398579408 │ 'https://bnb.openleverage.finance/app/pool/0xb16b62b53bdb8d26da27f86be3d1f12af8e45bad' │
│    6    │ '0x1841154f50c2b060386632ff0e82b8308d95ed07-binance' │ 'Binance' │ 'openleverage' │   'BUSD->RACA'   │  118650.170414226  │ 0.2422515124224 │ 'https://bnb.openleverage.finance/app/pool/0x1841154f50c2b060386632ff0e82b8308d95ed07' │
│    7    │ '0x307d8e0b1a5f87b3cc0abb4077b61ca9b7e302ef-binance' │ 'Binance' │ 'openleverage' │   'BUSD->USDT'   │ 116024.8933264988  │ 0.0073689246144 │ 'https://bnb.openleverage.finance/app/pool/0x307d8e0b1a5f87b3cc0abb4077b61ca9b7e302ef' │
│    8    │ '0x28e740d0d8fb3ed06590a9d8eb332ebe9b24d56c-binance' │ 'Binance' │ 'openleverage' │ 'BUSD->BNX(OLD)' │ 113396.35730330757 │ 0.0074405596896 │ 'https://bnb.openleverage.finance/app/pool/0x28e740d0d8fb3ed06590a9d8eb332ebe9b24d56c' │
│    9    │ '0xf64ab552f2f012e253702f7ea41601fc81e6665b-binance' │ 'Binance' │ 'openleverage' │   'BUSD->CAKE'   │ 110842.04925049926 │ 0.0227895387552 │ 'https://bnb.openleverage.finance/app/pool/0xf64ab552f2f012e253702f7ea41601fc81e6665b' │
└─────────┴──────────────────────────────────────────────────────┴───────────┴────────────────┴──────────────────┴────────────────────┴─────────────────┴────────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@Noe-L-Dev
Copy link
Contributor Author

@slasher125 The non-terminal run because of the vast volume pools' interaction with the blockchain. I have modified and filtered out the qualified pool before the interaction. Pls have a check again. Thanks!

@vrtnd vrtnd merged commit e32b1de into DefiLlama:master Oct 10, 2023
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.

4 participants