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

Added ARB STIP Data to Dolomite Rewards #1120

Merged
merged 9 commits into from
Dec 18, 2023

Conversation

coreycaplan3
Copy link
Contributor

@coreycaplan3 coreycaplan3 commented Dec 15, 2023

This PR adds Dolomite's STIP rewards to the DeFi Llama yield tracker.

More information on Dolomite's ARB rewards can be found on the Rewards page on our site.

@llamatester
Copy link

The dolomite adapter exports pools:

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

Nb of pools: 28
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────────────┬────────────┬────────────┬────────────────────┬──────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬─────────────────────┬─────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │                         pool                          │       symbol       │   chain    │  project   │       tvlUsd       │       apyBase        │     apyReward      │                 underlyingTokens                 │                   rewardTokens                   │    apyBaseBorrow    │ apyRewardBorrow │   totalSupplyUsd   │   totalBorrowUsd   │        ltv         │      poolMeta      │                                       url                                        │ borrowable │
├─────────┼───────────────────────────────────────────────────────┼────────────────────┼────────────┼────────────┼────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────┼─────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────┼────────────┤
│    0    │ '0x82af49447d8a07e3bd95bd0d56f35241523fbab1-arbitrum' │       'WETH'       │ 'Arbitrum' │ 'dolomite' │ 2165825.5489662183 │  1.990270901674611   │ 27.72536060380236  │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │  4.312830491127695  │        0        │ 4738330.615765769  │ 2572505.066799551  │ 0.8695652173913044 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x82af49447d8a07e3bd95bd0d56f35241523fbab1' │    true    │
│    1    │ '0xaf88d065e77c8cc2239327c5edb3a432268e5831-arbitrum' │       'USDC'       │ 'Arbitrum' │ 'dolomite' │ 2122384.1511891643 │  3.6653512037116163  │ 31.10309173919171  │ [ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │  6.286472953615974  │        0        │ 6758012.410276581  │ 4635628.259087416  │ 0.8695652173913044 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xaf88d065e77c8cc2239327c5edb3a432268e5831' │    true    │
│    2    │ '0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f-arbitrum' │       'WBTC'       │ 'Arbitrum' │ 'dolomite' │ 1917331.822713456  │  1.2138059462354196  │ 39.400583198045624 │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 3.3603255193607184  │        0        │ 3334263.463101715  │ 1416931.640388259  │        0.8         │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f' │    true    │
│    3    │ '0x5326e71ff593ecc2cf7acae5fe57582d6e74cff1-arbitrum' │      'plvGLP'      │ 'Arbitrum' │ 'dolomite' │ 1696565.917797116  │          0           │         0          │ [ '0x5326E71Ff593Ecc2CF7AcaE5Fe57582D6e74CFF1' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │          0          │        0        │ 1696565.917797116  │         0          │ 0.8333333333333334 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x5326e71ff593ecc2cf7acae5fe57582d6e74cff1' │   false    │
│    4    │ '0x1addd80e6039594ee970e5872d247bf0414c8903-arbitrum' │      'fsGLP'       │ 'Arbitrum' │ 'dolomite' │ 1539907.0469885168 │          0           │         0          │ [ '0x1aDDD80E6039594eE970E5872D247bf0414C8903' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │          0          │        0        │ 1539907.0469885168 │         0          │ 0.8333333333333334 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x1addd80e6039594ee970e5872d247bf0414c8903' │   false    │
│    5    │ '0x912ce59144191c1204e64559fe8253a0e49e6548-arbitrum' │       'ARB'        │ 'Arbitrum' │ 'dolomite' │ 753845.0552813378  │   1.05115198085156   │ 29.487533441400753 │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 3.1253003346917607  │        0        │ 1247447.1311104898 │ 493602.0758291521  │ 0.8333333333333334 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x912ce59144191c1204e64559fe8253a0e49e6548' │    true    │
│    6    │ '0x96015d0fb97139567a9ba675951816a0bb719e3c-arbitrum' │ 'PT-GLP-28MAR2024' │ 'Arbitrum' │ 'dolomite' │ 466786.0209209876  │          0           │         0          │ [ '0x96015D0Fb97139567a9ba675951816a0Bb719E3c' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │          0          │        0        │ 466786.0209209876  │         0          │ 0.8333333333333334 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x96015d0fb97139567a9ba675951816a0bb719e3c' │   false    │
│    7    │ '0xf97f4df75117a78c1a5a0dbb814af92458539fb4-arbitrum' │       'LINK'       │ 'Arbitrum' │ 'dolomite' │ 444924.22630668175 │ 0.38766755924346524  │ 26.892179317924736 │ [ '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 1.8922602798840726  │        0        │ 586216.1936183943  │ 141291.96731171253 │        0.8         │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xf97f4df75117a78c1a5a0dbb814af92458539fb4' │    true    │
│    8    │ '0xe66998533a1992ece9ea99cdf47686f4fc8458e0-arbitrum' │      'jUSDC'       │ 'Arbitrum' │ 'dolomite' │ 369268.84694239125 │          0           │         0          │ [ '0xe66998533a1992ecE9eA99cDf47686F4fc8458E0' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │          0          │        0        │ 369268.84694239125 │         0          │ 0.8695652173913044 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xe66998533a1992ece9ea99cdf47686f4fc8458e0' │   false    │
│    9    │ '0x3d9907f9a368ad0a51be60f7da3b97cf940982d8-arbitrum' │      'GRAIL'       │ 'Arbitrum' │ 'dolomite' │ 328853.9391548223  │ 0.007738712610441088 │         0          │ [ '0x3d9907F9a368ad0a51Be60f7Da3b97cf940982D8' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 0.37667971469337314 │        0        │ 336999.22754832904 │ 8145.288393506746  │ 0.6666666666666666 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8' │    true    │
└─────────┴───────────────────────────────────────────────────────┴────────────────────┴────────────┴────────────┴────────────────────┴──────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴─────────────────────┴─────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

is it possible to sell oARB on the market without vesting?

@coreycaplan3
Copy link
Contributor Author

@slasher125 yes, oARB is a transferable asset. Some people have placed bids/asks via Uni V3 and 1inch to provide instant liquidity for it

@slasher125 slasher125 merged commit 5fa7f7d into DefiLlama:master Dec 18, 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