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

Adds dexter adaptor #1125

Merged
merged 1 commit into from
Dec 25, 2023
Merged

Adds dexter adaptor #1125

merged 1 commit into from
Dec 25, 2023

Conversation

ajeet97
Copy link
Contributor

@ajeet97 ajeet97 commented Dec 21, 2023

Adds dexter.zone protocol.

@llamatester
Copy link

The dexter adapter exports pools:

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

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────┬───────────────┬──────────┬────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬──────────────────────┬─────────────────────┬────────────────────┬───────────────────┬────────────────────┬────────────────────┐
│ (index) │             pool             │     chain     │ project  │     symbol     │                                                  url                                                   │     apyReward      │     rewardTokens     │      apyBase7d      │    volumeUsd7d     │      tvlUsd       │      apyBase       │    volumeUsd1d     │
├─────────┼──────────────────────────────┼───────────────┼──────────┼────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼──────────────────────┼─────────────────────┼────────────────────┼───────────────────┼────────────────────┼────────────────────┤
│    0    │ 'dexter-pool-1-ATOM-stkATOM' │ 'Persistence' │ 'dexter' │ 'ATOM-STKATOM' │ 'https://app.dexter.zone/pools/persistence1335rlmhujm0gj5e9gh7at9jpqvqckz0mpe4v284ar4lw5mlkryzszkpfrs' │ 25.821133627120638 │ [ 'XPRT', 'PSTAKE' ] │  8.162857323386392  │  116846.42020102   │ 3702774.37006075  │ 10.873619185413503 │  108357.55695143   │
│    1    │  'dexter-pool-2-ATOM-XPRT'   │ 'Persistence' │ 'dexter' │  'ATOM-XPRT'   │ 'https://app.dexter.zone/pools/persistence14ph4e660eyqz0j36zlkaey4zgzexm5twkmjlqaequxr2cjm9eprqsnnszg' │ 53.55311788245438  │      [ 'XPRT' ]      │  5.305200545749931  │ 143481.55876579642 │ 423068.0388876053 │ 6.232154849116434  │ 24078.774003067523 │
│    2    │  'dexter-pool-4-USDC-USDT'   │ 'Persistence' │ 'dexter' │  'USDC-USDT'   │ 'https://app.dexter.zone/pools/persistence1gd54cnu80s8qdqcyhyvn06m87vlmch2uf4wvz4z08svawvc2rhysgvav55' │ 40.48631857212543  │      [ 'XPRT' ]      │ 0.23608174846138383 │  83443.1362505695  │ 184295.5440580687 │ 0.5133523013995542 │ 25920.29219860058  │
│    3    │ 'dexter-pool-3-PSTAKE-XPRT'  │ 'Persistence' │ 'dexter' │ 'PSTAKE-XPRT'  │ 'https://app.dexter.zone/pools/persistence1g3acw7aumaj3r348cqn4kazrehlmn822w9p46sqwztnke27h3lyshald7p' │ 18.21516737936451  │      [ 'XPRT' ]      │  4.344784102870821  │ 21443.334165884455 │ 77204.0576527425  │ 1.701770119747312  │ 1199.850084863349  │
│    4    │  'dexter-pool-5-USDT-XPRT'   │ 'Persistence' │ 'dexter' │  'USDT-XPRT'   │ 'https://app.dexter.zone/pools/persistence1e0cwfmla7exa578xddl87paxexw9ymwrzysfjms8c2mstxjkldlqz67jnl' │ 106.3652545987078  │      [ 'XPRT' ]      │  22.63219854421054  │ 60841.24874107679  │ 42052.0315295725  │ 38.87411043000319  │ 14929.10172227358  │
│    5    │  'dexter-pool-6-DYDX-USDC'   │ 'Persistence' │ 'dexter' │  'DYDX-USDC'   │ 'https://app.dexter.zone/pools/persistence1gzuv84xrwwhxhf0f62av279vfyrfrm7x58fcnadlr5m90gnx223sglqscd' │ 49.18068675019649  │      [ 'XPRT' ]      │ 2.9141788968759017  │ 7549.771815786674  │ 40525.9593919384  │ 4.057035110394095  │ 1501.5095331569948 │
└─────────┴──────────────────────────────┴───────────────┴──────────┴────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴──────────────────────┴─────────────────────┴────────────────────┴───────────────────┴────────────────────┴────────────────────┘

@ajeet97 ajeet97 marked this pull request as ready for review December 22, 2023 09:23
@llamatester
Copy link

The dexter adapter exports pools:

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

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────┬───────────────┬──────────┬────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┬───────────────────┬──────────────────────┬─────────────────────┬────────────────────┬───────────────────┬─────────────────────┬────────────────────┐
│ (index) │             pool             │     chain     │ project  │     symbol     │                                                  url                                                   │     apyReward     │     rewardTokens     │      apyBase7d      │    volumeUsd7d     │      tvlUsd       │       apyBase       │    volumeUsd1d     │
├─────────┼──────────────────────────────┼───────────────┼──────────┼────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────────────┼──────────────────────┼─────────────────────┼────────────────────┼───────────────────┼─────────────────────┼────────────────────┤
│    0    │ 'dexter-pool-1-ATOM-stkATOM' │ 'Persistence' │ 'dexter' │ 'ATOM-STKATOM' │ 'https://app.dexter.zone/pools/persistence1335rlmhujm0gj5e9gh7at9jpqvqckz0mpe4v284ar4lw5mlkryzszkpfrs' │ 30.24558107153693 │ [ 'XPRT', 'PSTAKE' ] │  8.321462682112116  │  143581.70326814   │ 3919471.747287239 │  7.855583064269054  │ 3835.8570459599996 │
│    1    │  'dexter-pool-2-ATOM-XPRT'   │ 'Persistence' │ 'dexter' │  'ATOM-XPRT'   │ 'https://app.dexter.zone/pools/persistence14ph4e660eyqz0j36zlkaey4zgzexm5twkmjlqaequxr2cjm9eprqsnnszg' │ 51.7049671806403  │      [ 'XPRT' ]      │ 3.5916697917430884  │ 98573.32917414719  │ 429317.8382686102 │ 2.5679584225647543  │ 10068.228948340287 │
│    2    │  'dexter-pool-4-USDC-USDT'   │ 'Persistence' │ 'dexter' │  'USDC-USDT'   │ 'https://app.dexter.zone/pools/persistence1gd54cnu80s8qdqcyhyvn06m87vlmch2uf4wvz4z08svawvc2rhysgvav55' │ 31.02115771718973 │      [ 'XPRT' ]      │ 0.29742193735125283 │ 148102.3952506507  │ 259644.824771687  │ 0.29660597333730027 │ 21099.320537121905 │
│    3    │ 'dexter-pool-3-PSTAKE-XPRT'  │ 'Persistence' │ 'dexter' │ 'PSTAKE-XPRT'  │ 'https://app.dexter.zone/pools/persistence1g3acw7aumaj3r348cqn4kazrehlmn822w9p46sqwztnke27h3lyshald7p' │ 16.01512716943737 │      [ 'XPRT' ]      │ 3.5386991474229617  │ 20029.415586527557 │ 88540.2204881472  │  4.691221265504388  │ 3793.2593529995943 │
│    4    │  'dexter-pool-5-USDT-XPRT'   │ 'Persistence' │ 'dexter' │  'USDT-XPRT'   │ 'https://app.dexter.zone/pools/persistence1e0cwfmla7exa578xddl87paxexw9ymwrzysfjms8c2mstxjkldlqz67jnl' │ 109.9197740758724 │      [ 'XPRT' ]      │  16.64190178439445  │ 43890.26051565186  │ 41255.4071805202  │  4.000804084146184  │ 1507.3524474668059 │
│    5    │  'dexter-pool-6-DYDX-USDC'   │ 'Persistence' │ 'dexter' │  'DYDX-USDC'   │ 'https://app.dexter.zone/pools/persistence1gzuv84xrwwhxhf0f62av279vfyrfrm7x58fcnadlr5m90gnx223sglqscd' │  49.130398665499  │      [ 'XPRT' ]      │  3.109172254125669  │ 8188.759183750168  │  41199.246396278  │ 2.5283441677445464  │   951.286792602    │
└─────────┴──────────────────────────────┴───────────────┴──────────┴────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┴───────────────────┴──────────────────────┴─────────────────────┴────────────────────┴───────────────────┴─────────────────────┴────────────────────┘

@slasher125 slasher125 merged commit 7cb8c8a into DefiLlama:master Dec 25, 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.

3 participants