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

add sensay #1411

Closed
wants to merge 2 commits into from
Closed

add sensay #1411

wants to merge 2 commits into from

Conversation

apostgit
Copy link

@apostgit apostgit commented Jul 3, 2024

No description provided.

@llamatester
Copy link

Error while running sensay adapter:

Test Suites: 1 failed, 1 total
Tests: 1 failed, 28 passed, 29 total
Snapshots: 0 total
Time: 0.291 s
Ran all test suites.

Nb of pools: 5
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────┬────────┬──────────┬─────┐
│ (index) │                         pool                          │   chain    │ project  │ symbol │  tvlUsd  │ apy │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────┼────────┼──────────┼─────┤
│    0    │ '0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 37109502 │ 500 │
│    1    │ '0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 26547073 │ 500 │
│    2    │ '0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 23875468 │ 180 │
│    3    │ '0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 23587154 │ 120 │
│    4    │ '0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 2336880  │ 250 │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────┴────────┴──────────┴─────┘
}

@llamatester
Copy link

The sensay adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────┬────────────┬──────────┬────────┬──────────┬─────┐
│ (index) │                          pool                           │   chain    │ project  │ symbol │  tvlUsd  │ apy │
├─────────┼─────────────────────────────────────────────────────────┼────────────┼──────────┼────────┼──────────┼─────┤
│    0    │ '0-0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 37109502 │ 500 │
│    1    │ '4-0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 26547073 │ 500 │
│    2    │ '2-0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 23875468 │ 180 │
│    3    │ '1-0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 23587154 │ 120 │
│    4    │ '3-0x382c70620e42c2EF2b303b97bad1d9439Bf48ef9-ethereum' │ 'Ethereum' │ 'sensay' │ 'SNSY' │ 2336880  │ 250 │
└─────────┴─────────────────────────────────────────────────────────┴────────────┴──────────┴────────┴──────────┴─────┘

@slasher125
Copy link
Collaborator

gm

  • refactor to on chain calls
  • values for tvlUsd seem to be completely wrong, we need $ values, not token values
  • apy values do not match ui
  • add poolMeta which specifies the differences btw the different pools + mentions the lockup periods

@apostgit
Copy link
Author

apostgit commented Jul 5, 2024

gm

  • refactor to on chain calls
  • values for tvlUsd seem to be completely wrong, we need $ values, not token values
  • apy values do not match ui
  • add poolMeta which specifies the differences btw the different pools + mentions the lockup periods

APY values are a bit different because on the site we round them. The rest I will update.

@slasher125
Copy link
Collaborator

@apostgit are u still on this sir? :)

@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