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

chore: add blitz support #1418

Closed
wants to merge 2 commits into from
Closed

Conversation

yruej301
Copy link

@yruej301 yruej301 commented Jul 5, 2024

No description provided.

@llamatester
Copy link

The blitz adapter exports pools:

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

Nb of pools: 2
 

Sample pools:
┌─────────┬────────────┬─────────┬─────────┬────────┬───────────────────┬──────────────────────┐
│ (index) │    pool    │  chain  │ project │ symbol │      tvlUsd       │         apy          │
├─────────┼────────────┼─────────┼─────────┼────────┼───────────────────┼──────────────────────┤
│    0    │ 'Ethereum' │ 'blast' │ 'blitz' │ 'ETH'  │ 18382142.64507666 │ 0.013296678309771002 │
│    1    │   'USDB'   │ 'blast' │ 'blitz' │ 'USDB' │ 4528192.511684862 │  2.212133286022403   │
└─────────┴────────────┴─────────┴─────────┴────────┴───────────────────┴──────────────────────┘

@slasher125
Copy link
Collaborator

same feedback as here: #1417 (comment)

@llamatester
Copy link

Error while running blitz adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 12 passed, 14 total
Snapshots: 0 total
Time: 0.289 s
Ran all test suites.

Nb of pools: 2
 

Sample pools:
┌─────────┬────────────┬─────────┬─────────┬────────┬───────────────────┬────────────────────┬────────────────────┐
│ (index) │    pool    │  chain  │ project │ symbol │      tvlUsd       │        apy         │     apyBorrow      │
├─────────┼────────────┼─────────┼─────────┼────────┼───────────────────┼────────────────────┼────────────────────┤
│    0    │ 'Ethereum' │ 'blast' │ 'blitz' │ 'ETH'  │ 18370169.35715765 │ 3.406159295902417  │ 4.442327451298752  │
│    1    │   'USDB'   │ 'blast' │ 'blitz' │ 'USDB' │ 4431292.950372831 │ 10.249157303011689 │ 12.334449533381335 │
└─────────┴────────────┴─────────┴─────────┴────────┴───────────────────┴────────────────────┴────────────────────┘
}

@llamatester
Copy link

The blitz adapter exports pools:

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

Nb of pools: 2
 

Sample pools:
┌─────────┬────────────┬─────────┬─────────┬────────┬────────────────────┬────────────────────┬────────────────────┐
│ (index) │    pool    │  chain  │ project │ symbol │       tvlUsd       │      apyBase       │   apyBaseBorrow    │
├─────────┼────────────┼─────────┼─────────┼────────┼────────────────────┼────────────────────┼────────────────────┤
│    0    │ 'Ethereum' │ 'blast' │ 'blitz' │ 'ETH'  │ 18464484.007437564 │ 3.406144789587926  │ 4.442242490356249  │
│    1    │   'USDB'   │ 'blast' │ 'blitz' │ 'USDB' │ 4431055.464173189  │ 10.249232662541234 │ 12.334513137030061 │
└─────────┴────────────┴─────────┴─────────┴────────┴────────────────────┴────────────────────┴────────────────────┘

@slasher125
Copy link
Collaborator

@yruej301 just to confirm, pls refactor using our sdk

@slasher125
Copy link
Collaborator

closing this, feel free to reopen with a fix

@slasher125 slasher125 closed this Sep 2, 2024
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