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

Upd/prim 6971 update primex adapter #1679

Conversation

pavlo-tolok
Copy link
Contributor

No description provided.

@llamatester
Copy link

The primex-finance adapter exports pools:

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

Nb of pools: 98
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────────┬──────────┬────────────────────┬───────────────────────┬───────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────┬─────────────────┬────────────────────┬────────────────────┐
│ (index) │ pool                                                  │ chain      │ project          │ symbol   │ tvlUsd             │ apyBase               │ apyReward │ underlyingTokens                                 │ url                                                                                                              │ apyBaseBorrow        │ apyRewardBorrow │ totalSupplyUsd     │ totalBorrowUsd     │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────────┼──────────┼────────────────────┼───────────────────────┼───────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────┼─────────────────┼────────────────────┼────────────────────┤
│ 0       │ '0x0e28a9d0bed228981fec47b203611422717f9593-polygon'  │ 'Polygon'  │ 'primex-finance' │ 'WETH'   │ 108812.47180315512 │ 7.002398660915787e-7  │ 0         │ [ '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619' ] │ 'https://app.primex.finance/#/bucket-details/0x0e28A9D0BEd228981feC47b203611422717f9593?network=polygon_mainnet' │ 0.001963491860768052 │ 0               │ 108877.14973613426 │ 64.67793297915065  │
│ 1       │ '0x19204b95477d6a665e35c84ce77024dbefb53ab2-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'WETH'   │ 75605.39306565456  │ 0                     │ 0         │ [ '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' ] │ 'https://app.primex.finance/#/bucket-details/0x19204B95477d6A665E35C84Ce77024DBeFb53aB2?network=ethereum'        │ 0                    │ 0               │ 75605.39306565456  │ 0                  │
│ 2       │ '0x0741ef440e9299c4b583d1407076f41cc1476485-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'AAVE'   │ 46734.224272260006 │ 0                     │ 0         │ [ '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9' ] │ 'https://app.primex.finance/#/bucket-details/0x0741Ef440e9299C4b583D1407076f41CC1476485?network=ethereum'        │ 0                    │ 0               │ 46734.224272260006 │ 0                  │
│ 3       │ '0xb0714b0eca8eebfe3dedadbc686bc70cf28f0512-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'LINK'   │ 42003.5836545      │ 0                     │ 0         │ [ '0x514910771AF9Ca656af840dff83E8264EcF986CA' ] │ 'https://app.primex.finance/#/bucket-details/0xb0714B0EcA8eEBFe3dedadBC686bC70Cf28f0512?network=ethereum'        │ 0                    │ 0               │ 42003.5836545      │ 0                  │
│ 4       │ '0x5eaaa65879cb1d8383bfc01fef14df3dc7d18cd0-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'COMP'   │ 33237.19631662907  │ 0                     │ 0         │ [ '0xc00e94Cb662C3520282E6f5717214004A7f26888' ] │ 'https://app.primex.finance/#/bucket-details/0x5eAAA65879Cb1D8383BFC01fef14Df3Dc7d18CD0?network=ethereum'        │ 0                    │ 0               │ 33237.19631662907  │ 0                  │
│ 5       │ '0xcee7fba37df0c8d2b756c78e93e3997fdca39a91-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'USDT'   │ 18155.962418952848 │ 0                     │ 0         │ [ '0xdAC17F958D2ee523a2206206994597C13D831ec7' ] │ 'https://app.primex.finance/#/bucket-details/0xcEE7FBa37Df0c8D2b756c78e93E3997FdCa39A91?network=ethereum'        │ 0                    │ 0               │ 18155.962418952848 │ 0                  │
│ 6       │ '0x12c125181eb7c944eaefcb2ae881475870f0aff3-polygon'  │ 'Polygon'  │ 'primex-finance' │ 'USDC.E' │ 16236.000503       │ 0.019508484607055898  │ 0         │ [ '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174' ] │ 'https://app.primex.finance/#/bucket-details/0x12c125181Eb7c944EaEfcB2AE881475870f0Aff3?network=polygon_mainnet' │ 0.45178429127814557  │ 0               │ 17164.551159       │ 928.550656         │
│ 7       │ '0x6dd0028ba6945ee5b859d3c7fe89bcdec57b67af-polygon'  │ 'Polygon'  │ 'primex-finance' │ 'WBTC'   │ 13947.6353096      │ 0.0001043357944707779 │ 0         │ [ '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6' ] │ 'https://app.primex.finance/#/bucket-details/0x6dd0028bA6945Ee5B859D3C7fe89bCdec57B67Af?network=polygon_mainnet' │ 2.0226814278704763   │ 0               │ 13948.5408988      │ 0.9055892000000001 │
│ 8       │ '0x6deafc6f532efaf72f7d33972a3e7b3864676e92-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'WBTC'   │ 13653.36           │ 0                     │ 0         │ [ '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599' ] │ 'https://app.primex.finance/#/bucket-details/0x6deAFC6f532EFaF72f7D33972A3e7B3864676E92?network=ethereum'        │ 0                    │ 0               │ 13653.36           │ 0                  │
│ 9       │ '0x018b221753ef25da38e672e0d3747bd626ae2e71-arbitrum' │ 'Arbitrum' │ 'primex-finance' │ 'WETH'   │ 13129.276478977554 │ 1.3425198628381318    │ 0         │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 'https://app.primex.finance/#/bucket-details/0x018b221753Ef25Da38e672e0D3747bD626ae2e71?network=arbitrum_one'    │ 2.3751734035285965   │ 0               │ 45313.02756943391  │ 32183.751090456353 │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────────┴──────────┴────────────────────┴───────────────────────┴───────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────┴─────────────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The primex-finance adapter exports pools:

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

Nb of pools: 98
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────────┬────────┬────────────────────┬───────────────────────┬───────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬─────────────────┬────────────────────┬────────────────────┐
│ (index) │ pool                                                  │ chain      │ project          │ symbol │ tvlUsd             │ apyBase               │ apyReward │ underlyingTokens                                 │ url                                                                                                              │ apyBaseBorrow      │ apyRewardBorrow │ totalSupplyUsd     │ totalBorrowUsd     │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────────┼────────┼────────────────────┼───────────────────────┼───────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────────────────┼────────────────────┼────────────────────┤
│ 0       │ '0x19204b95477d6a665e35c84ce77024dbefb53ab2-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'WETH' │ 77541.49335767132  │ 0                     │ 0         │ [ '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' ] │ 'https://app.primex.finance/#/bucket-details/0x19204B95477d6A665E35C84Ce77024DBeFb53aB2?network=ethereum'        │ 0                  │ 0               │ 77541.49335767132  │ 0                  │
│ 1       │ '0x0741ef440e9299c4b583d1407076f41cc1476485-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'AAVE' │ 46456.91870862001  │ 0                     │ 0         │ [ '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9' ] │ 'https://app.primex.finance/#/bucket-details/0x0741Ef440e9299C4b583D1407076f41CC1476485?network=ethereum'        │ 0                  │ 0               │ 46456.91870862001  │ 0                  │
│ 2       │ '0xb0714b0eca8eebfe3dedadbc686bc70cf28f0512-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'LINK' │ 43010.205485       │ 0                     │ 0         │ [ '0x514910771AF9Ca656af840dff83E8264EcF986CA' ] │ 'https://app.primex.finance/#/bucket-details/0xb0714B0EcA8eEBFe3dedadBC686bC70Cf28f0512?network=ethereum'        │ 0                  │ 0               │ 43010.205485       │ 0                  │
│ 3       │ '0x5eaaa65879cb1d8383bfc01fef14df3dc7d18cd0-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'COMP' │ 32944.888839056315 │ 0                     │ 0         │ [ '0xc00e94Cb662C3520282E6f5717214004A7f26888' ] │ 'https://app.primex.finance/#/bucket-details/0x5eAAA65879Cb1D8383BFC01fef14Df3Dc7d18CD0?network=ethereum'        │ 0                  │ 0               │ 32944.888839056315 │ 0                  │
│ 4       │ '0x6dd0028ba6945ee5b859d3c7fe89bcdec57b67af-polygon'  │ 'Polygon'  │ 'primex-finance' │ 'WBTC' │ 14510.806140319999 │ 0.0001043357944707779 │ 0         │ [ '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6' ] │ 'https://app.primex.finance/#/bucket-details/0x6dd0028bA6945Ee5B859D3C7fe89bCdec57B67Af?network=polygon_mainnet' │ 2.0226814278704763 │ 0               │ 14511.74829496     │ 0.94215464         │
│ 5       │ '0x6deafc6f532efaf72f7d33972a3e7b3864676e92-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'WBTC' │ 14200.480000000001 │ 0                     │ 0         │ [ '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599' ] │ 'https://app.primex.finance/#/bucket-details/0x6deAFC6f532EFaF72f7D33972A3e7B3864676E92?network=ethereum'        │ 0                  │ 0               │ 14200.480000000001 │ 0                  │
│ 6       │ '0x018b221753ef25da38e672e0d3747bd626ae2e71-arbitrum' │ 'Arbitrum' │ 'primex-finance' │ 'WETH' │ 13131.33026774355  │ 1.3626877298294815    │ 0         │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 'https://app.primex.finance/#/bucket-details/0x018b221753Ef25Da38e672e0D3747bD626ae2e71?network=arbitrum_one'    │ 2.3930379729695694 │ 0               │ 46145.267293627316 │ 33013.937025883766 │
│ 7       │ '0xcecbd4544081e700f5c2e5b148c07e94fed2b5c5-arbitrum' │ 'Arbitrum' │ 'primex-finance' │ 'ARB'  │ 10533.984359515833 │ 0.007943136251431504  │ 0         │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 'https://app.primex.finance/#/bucket-details/0xcecBd4544081e700F5c2e5b148C07E94feD2B5C5?network=arbitrum_one'    │ 2.2513750238623453 │ 0               │ 10581.17597535146  │ 47.19161583562676  │
│ 8       │ '0x97a218b9a918a5f2eb9d66fe014f9df859852f40-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'UNI'  │ 10505.569444763078 │ 0                     │ 0         │ [ '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984' ] │ 'https://app.primex.finance/#/bucket-details/0x97a218b9a918a5F2eB9D66fE014F9dF859852F40?network=ethereum'        │ 0                  │ 0               │ 10505.569444763078 │ 0                  │
│ 9       │ '0xcee7fba37df0c8d2b756c78e93e3997fdca39a91-ethereum' │ 'Ethereum' │ 'primex-finance' │ 'USDT' │ 7041.447176        │ 0                     │ 0         │ [ '0xdAC17F958D2ee523a2206206994597C13D831ec7' ] │ 'https://app.primex.finance/#/bucket-details/0xcEE7FBa37Df0c8D2b756c78e93E3997FdCa39A91?network=ethereum'        │ 0                  │ 0               │ 7041.447176        │ 0                  │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────────┴────────┴────────────────────┴───────────────────────┴───────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴─────────────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 3e3b9da into DefiLlama:master Jan 9, 2025
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.

5 participants