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

fix: list arbitrum vaults #1633

Merged

Conversation

swan-of-bodom
Copy link
Contributor

Fix to display our lending vaults on Arbitrum

@llamatester
Copy link

The impermax-finance adapter exports pools:

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

Nb of pools: 479
 

Sample pools:
┌─────────┬────────────────────────────────────────────────────────────┬──────────────────────────┬────────────┬────────────────────┬──────────┬────────────────────┬────────────────────┬────────────────────┬─────────────────────────┬──────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬─────────┬──────────────────────────────────┐
│ (index) │                            pool                            │         poolMeta         │   chain    │      project       │  symbol  │       tvlUsd       │   totalBorrowUsd   │   totalSupplyUsd   │         apyBase         │  apyBaseBorrow   │                                        underlyingTokens                                        │   ltv   │               url                │
├─────────┼────────────────────────────────────────────────────────────┼──────────────────────────┼────────────┼────────────────────┼──────────┼────────────────────┼────────────────────┼────────────────────┼─────────────────────────┼──────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼─────────┼──────────────────────────────────┤
│    0    │  '0xaa9f575a3fbf36d54fa3270fe25d4bb7bb3ba3ae-cbbtc-base'   │ 'Aerodrome fBOMB/cbBTC'  │   'base'   │ 'impermax-finance' │ 'cbBTC'  │ 918231.6724836858  │ 2623388.7851130813 │ 3541620.4575967668 │   13.469040693904935    │ 20.2038211612368 │ [ '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979', '0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf' ] │ '0.565' │    'https://impermax.finance'    │
│    1    │   '0xfe970be08531dead94b0e1bc01a1ccf652e2bd29-weth-base'   │  'Aerodrome WETH/fBOMB'  │   'base'   │ 'impermax-finance' │  'WETH'  │ 813677.4087176558  │ 3939769.9367353795 │ 4753447.345453035  │   13.995199483388262    │ 18.7617959936352 │ [ '0x4200000000000000000000000000000000000006', '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979' ] │ '0.608' │    'https://impermax.finance'    │
│    2    │ '0xb0e7ad5053414fde098122b61fd34d816fd6d93f-weth-arbitrum' │  'Sushiswap WETH/USDC'   │ 'arbitrum' │ 'impermax-finance' │  'WETH'  │ 193635.3587525589  │ 103.45718687881165 │ 193738.8159394377  │  2.851593506832536e-7   │ 0.0006675035904  │ [ '0x82af49447d8a07e3bd95bd0d56f35241523fbab1', '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' ] │ '0.727' │    'https://impermax.finance'    │
│    3    │   '0x683cc7cbb8b8c5b3c5fae85a4ae70e887217883b-weth-base'   │       'Aggressive'       │   'base'   │ 'impermax-finance' │  'WETH'  │ 168339.84133853286 │                    │                    │   15.248302197868801    │                  │                        [ '0x4200000000000000000000000000000000000006' ]                        │         │ 'https://lite.impermax.finance/' │
│    4    │  '0x965c3f8dc3aa446b268ab3bca4d7e82b788ffe96-scale-base'   │    'Scale WETH/SCALE'    │   'base'   │ 'impermax-finance' │ 'SCALE'  │ 150469.4540105498  │ 6920.455598201653  │ 157389.90960875145 │  0.0023200473191505966  │ 0.0586268462736  │ [ '0x4200000000000000000000000000000000000006', '0x54016a4848a38f257b6e96331f7404073fd9c32c' ] │ '0.565' │    'https://impermax.finance'    │
│    5    │ '0x3041cbd36888becc7bbcbc0045e3b1f144466f5f-usdc-ethereum' │  'UniswapV2 USDC/USDT'   │ 'ethereum' │ 'impermax-finance' │  'USDC'  │ 67750.53990923577  │  315.721657302408  │ 68066.26156653817  │ 0.000022949512241940576 │ 0.0061845911856  │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │ '0.860' │    'https://impermax.finance'    │
│    6    │  '0x352004829ed5a80491b94a7ca75ce38cdaaaba93-wsteth-base'  │ 'Aerodrome fBOMB/wstETH' │   'base'   │ 'impermax-finance' │ 'wstETH' │ 60834.53746721372  │ 162437.2299832022  │ 223271.76745041594 │    9.567447254600168    │ 14.6117355180768 │ [ '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979', '0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452' ] │ '0.565' │    'https://impermax.finance'    │
│    7    │ '0xb81e1bcc468f2dadd554d51c0c813030bb539edf-weth-optimism' │  'Velodrome WETH/fBOMB'  │ 'optimism' │ 'impermax-finance' │  'WETH'  │ 49393.605236749805 │ 345.5165209266394  │ 49739.12175767644  │ 0.00005109340359967916  │ 0.0081724377168  │ [ '0x4200000000000000000000000000000000000006', '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979' ] │ '0.565' │    'https://impermax.finance'    │
│    8    │   '0xc63f7699b14bb87cd3e3f7a6fe9a5fdb491d974e-weth-base'   │   'Aerodrome ICL/WETH'   │   'base'   │ 'impermax-finance' │  'WETH'  │ 48018.19325131343  │ 157241.54062291136 │ 205259.7338742248  │   11.493704312639851    │ 18.7545437984736 │ [ '0x12c26138b666360ab2b7a1b149df9cf6642cdfbf', '0x4200000000000000000000000000000000000006' ] │ '0.565' │    'https://impermax.finance'    │
│    9    │ '0x88a0b00bbe918ee00e3482f71962070dc052984b-weth-arbitrum' │  'Sushiswap MAGIC/WETH'  │ 'arbitrum' │ 'impermax-finance' │  'WETH'  │ 40601.289948367055 │ 7792.674637665918  │ 48393.96458603298  │   0.02765791294635601   │ 0.2147010047712  │ [ '0x539bde0d7dbd336b79148aa742883198bbf60342', '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' ] │ '0.680' │    'https://impermax.finance'    │
└─────────┴────────────────────────────────────────────────────────────┴──────────────────────────┴────────────┴────────────────────┴──────────┴────────────────────┴────────────────────┴────────────────────┴─────────────────────────┴──────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴─────────┴──────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@swan-of-bodom
Copy link
Contributor Author

Added a second commit to blacklist THRO as the pricing is very off

@llamatester
Copy link

The impermax-finance adapter exports pools:

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

Nb of pools: 477
 

Sample pools:
┌─────────┬────────────────────────────────────────────────────────────┬──────────────────────────┬────────────┬────────────────────┬──────────┬────────────────────┬────────────────────┬────────────────────┬─────────────────────────┬──────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬─────────┬──────────────────────────────────┐
│ (index) │                            pool                            │         poolMeta         │   chain    │      project       │  symbol  │       tvlUsd       │   totalBorrowUsd   │   totalSupplyUsd   │         apyBase         │  apyBaseBorrow   │                                        underlyingTokens                                        │   ltv   │               url                │
├─────────┼────────────────────────────────────────────────────────────┼──────────────────────────┼────────────┼────────────────────┼──────────┼────────────────────┼────────────────────┼────────────────────┼─────────────────────────┼──────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼─────────┼──────────────────────────────────┤
│    0    │  '0xaa9f575a3fbf36d54fa3270fe25d4bb7bb3ba3ae-cbbtc-base'   │ 'Aerodrome fBOMB/cbBTC'  │   'base'   │ 'impermax-finance' │ 'cbBTC'  │ 948010.2797838072  │ 2623477.9291174565 │ 3571488.208901264  │    12.72295681600236    │ 19.2449749185504 │ [ '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979', '0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf' ] │ '0.565' │    'https://impermax.finance'    │
│    1    │   '0xfe970be08531dead94b0e1bc01a1ccf652e2bd29-weth-base'   │  'Aerodrome WETH/fBOMB'  │   'base'   │ 'impermax-finance' │  'WETH'  │ 809100.5571127346  │ 3926238.8972888696 │ 4735339.454401604  │   13.800242057819474    │ 18.4934778001776 │ [ '0x4200000000000000000000000000000000000006', '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979' ] │ '0.608' │    'https://impermax.finance'    │
│    2    │ '0xb0e7ad5053414fde098122b61fd34d816fd6d93f-weth-arbitrum' │  'Sushiswap WETH/USDC'   │ 'arbitrum' │ 'impermax-finance' │  'WETH'  │ 192957.64334715452 │ 103.09509118616923 │ 193060.7384383407  │  2.851593506832536e-7   │ 0.0006675035904  │ [ '0x82af49447d8a07e3bd95bd0d56f35241523fbab1', '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' ] │ '0.727' │    'https://impermax.finance'    │
│    3    │   '0x683cc7cbb8b8c5b3c5fae85a4ae70e887217883b-weth-base'   │       'Aggressive'       │   'base'   │ 'impermax-finance' │  'WETH'  │ 181918.5598745911  │                    │                    │   13.994372925158402    │                  │                        [ '0x4200000000000000000000000000000000000006' ]                        │         │ 'https://lite.impermax.finance/' │
│    4    │  '0x965c3f8dc3aa446b268ab3bca4d7e82b788ffe96-scale-base'   │    'Scale WETH/SCALE'    │   'base'   │ 'impermax-finance' │ 'SCALE'  │ 150469.4540105498  │ 6920.455598201653  │ 157389.90960875145 │  0.0023200473191505966  │ 0.0586268462736  │ [ '0x4200000000000000000000000000000000000006', '0x54016a4848a38f257b6e96331f7404073fd9c32c' ] │ '0.565' │    'https://impermax.finance'    │
│    5    │ '0x3041cbd36888becc7bbcbc0045e3b1f144466f5f-usdc-ethereum' │  'UniswapV2 USDC/USDT'   │ 'ethereum' │ 'impermax-finance' │  'USDC'  │    67779.888601    │     315.858424     │    68095.747025    │ 0.000022949512241940576 │ 0.0061845911856  │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │ '0.860' │    'https://impermax.finance'    │
│    6    │  '0x352004829ed5a80491b94a7ca75ce38cdaaaba93-wsteth-base'  │ 'Aerodrome fBOMB/wstETH' │   'base'   │ 'impermax-finance' │ 'wstETH' │ 60610.09461753154  │ 161837.93431482374 │ 222448.0289323553  │    9.567447254600168    │ 14.6117355180768 │ [ '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979', '0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452' ] │ '0.565' │    'https://impermax.finance'    │
│    7    │   '0xc63f7699b14bb87cd3e3f7a6fe9a5fdb491d974e-weth-base'   │   'Aerodrome ICL/WETH'   │   'base'   │ 'impermax-finance' │  'WETH'  │ 57221.520696918444 │ 147359.3867121212  │ 204580.90740903962 │    9.90497020749638     │ 17.188994862504  │ [ '0x12c26138b666360ab2b7a1b149df9cf6642cdfbf', '0x4200000000000000000000000000000000000006' ] │ '0.565' │    'https://impermax.finance'    │
│    8    │ '0xb81e1bcc468f2dadd554d51c0c813030bb539edf-weth-optimism' │  'Velodrome WETH/fBOMB'  │ 'optimism' │ 'impermax-finance' │  'WETH'  │ 49220.72974844508  │ 344.3072280032692  │ 49565.03697644835  │ 0.00005109340359967916  │ 0.0081724377168  │ [ '0x4200000000000000000000000000000000000006', '0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979' ] │ '0.565' │    'https://impermax.finance'    │
│    9    │ '0x88a0b00bbe918ee00e3482f71962070dc052984b-weth-arbitrum' │  'Sushiswap MAGIC/WETH'  │ 'arbitrum' │ 'impermax-finance' │  'WETH'  │ 40459.187184416485 │ 7765.400612481299  │ 48224.58779689778  │   0.02765791294635601   │ 0.2147010047712  │ [ '0x539bde0d7dbd336b79148aa742883198bbf60342', '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' ] │ '0.680' │    'https://impermax.finance'    │
└─────────┴────────────────────────────────────────────────────────────┴──────────────────────────┴────────────┴────────────────────┴──────────┴────────────────────┴────────────────────┴────────────────────┴─────────────────────────┴──────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴─────────┴──────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 93eea08 into DefiLlama:master Dec 3, 2024
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