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

feat: ethereum contracts #1122

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

TbIKoBKa
Copy link
Contributor

added primex finance ethereum contracts

@llamatester
Copy link

The primex-finance adapter exports pools:

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

Nb of pools: 18
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────────┬──────────┬────────────────────┬───────────────────────┬───────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬─────────────────┬────────────────────┬────────────────────┐
│ (index) │                         pool                          │   chain    │     project      │  symbol  │       tvlUsd       │        apyBase        │ apyReward │                   rewardTokens                   │                 underlyingTokens                 │                                                       url                                                        │   apyBaseBorrow    │ apyRewardBorrow │   totalSupplyUsd   │   totalBorrowUsd   │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────────┼──────────┼────────────────────┼───────────────────────┼───────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────────────────┼────────────────────┼────────────────────┤
│    0    │ '0x0e28a9d0bed228981fec47b203611422717f9593-polygon'  │ 'Polygon'  │ 'primex-finance' │  'WETH'  │ 109011.00187204995 │ 0.015211066896814174  │     0     │ [ '0xDc6D1bd104E1efa4A1bf0BBCf6E0BD093614E31A' ] │ [ '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619' ] │ 'https://app.primex.finance/#/bucket-details/0x0e28A9D0BEd228981feC47b203611422717f9593?network=polygon_mainnet' │ 2.403956266405194  │        0        │ 109890.49306525597 │ 879.4911932060144  │
│    1    │ '0x12c125181eb7c944eaefcb2ae881475870f0aff3-polygon'  │ 'Polygon'  │ 'primex-finance' │ 'USDC.E' │   35288.5095563    │  2.4735898237933096   │     0     │ [ '0xDc6D1bd104E1efa4A1bf0BBCf6E0BD093614E31A' ] │ [ '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174' ] │ 'https://app.primex.finance/#/bucket-details/0x12c125181Eb7c944EaEfcB2AE881475870f0Aff3?network=polygon_mainnet' │ 10.29754488818897  │        0        │ 51264.414475273996 │ 15975.904918973998 │
│    2    │ '0xcecbd4544081e700f5c2e5b148c07e94fed2b5c5-arbitrum' │ 'Arbitrum' │ 'primex-finance' │  'ARB'   │ 8466.342073151045  │ 0.0016637837625621543 │     0     │ [ '0xA533f744B179F2431f5395978e391107DC76e103' ] │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │  'https://app.primex.finance/#/bucket-details/0xcecBd4544081e700F5c2e5b148C07E94feD2B5C5?network=arbitrum_one'   │ 2.0726468941822285 │        0        │ 8474.932259323992  │ 8.590186172946863  │
│    3    │ '0x76e7759445bb8028f725e8e795dadee8b209f6ac-polygon'  │ 'Polygon'  │ 'primex-finance' │  'USDT'  │    7748.642223     │ 0.015000963203481987  │     0     │ [ '0xDc6D1bd104E1efa4A1bf0BBCf6E0BD093614E31A' ] │ [ '0xc2132D05D31c914a87C6611C10748AEb04B58e8F' ] │ 'https://app.primex.finance/#/bucket-details/0x76e7759445BB8028f725e8E795DadeE8b209f6Ac?network=polygon_mainnet' │ 0.913458683349555  │        0        │    7911.778408     │     163.136185     │
│    4    │ '0x018b221753ef25da38e672e0d3747bd626ae2e71-arbitrum' │ 'Arbitrum' │ 'primex-finance' │  'WETH'  │ 7681.288116476703  │  0.28279464593561343  │     0     │ [ '0xA533f744B179F2431f5395978e391107DC76e103' ] │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │  'https://app.primex.finance/#/bucket-details/0x018b221753Ef25Da38e672e0D3747bD626ae2e71?network=arbitrum_one'   │ 5.327844230266421  │        0        │  8241.77674035783  │ 560.4886238811263  │
│    5    │ '0x653a3bc43bd7b44ab875f56cc0db54865a48cb2b-arbitrum' │ 'Arbitrum' │ 'primex-finance' │ 'USDC.E' │ 7557.438443344614  │   1.301161217734692   │     0     │ [ '0xA533f744B179F2431f5395978e391107DC76e103' ] │ [ '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8' ] │  'https://app.primex.finance/#/bucket-details/0x653a3Bc43BD7B44Ab875F56cC0db54865a48CB2B?network=arbitrum_one'   │ 7.404048119456097  │        0        │ 9767.176270014537  │ 2209.737826669923  │
│    6    │ '0x2fa0ba6d651b2306fbcb22797db0409bcf795f69-arbitrum' │ 'Arbitrum' │ 'primex-finance' │  'USDC'  │   6290.874965375   │  0.03940535745765583  │     0     │ [ '0xA533f744B179F2431f5395978e391107DC76e103' ] │ [ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │  'https://app.primex.finance/#/bucket-details/0x2Fa0BA6d651B2306FBcB22797Db0409BcF795F69?network=arbitrum_one'   │ 1.2975187652440878 │        0        │   6540.734889689   │ 249.85992431399995 │
│    7    │ '0x6dd0028ba6945ee5b859d3c7fe89bcdec57b67af-polygon'  │ 'Polygon'  │ 'primex-finance' │  'WBTC'  │   6072.43503224    │           0           │     0     │ [ '0xDc6D1bd104E1efa4A1bf0BBCf6E0BD093614E31A' ] │ [ '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6' ] │ 'https://app.primex.finance/#/bucket-details/0x6dd0028bA6945Ee5B859D3C7fe89bCdec57B67Af?network=polygon_mainnet' │         0          │        0        │   6072.43503224    │         0          │
│    8    │ '0xefd28d2b9ba8c6860f71b0334efc1e9fb07552c0-polygon'  │ 'Polygon'  │ 'primex-finance' │ 'WMATIC' │ 6030.8664220705605 │ 0.008563599977717828  │     0     │ [ '0xDc6D1bd104E1efa4A1bf0BBCf6E0BD093614E31A' ] │ [ '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' ] │ 'https://app.primex.finance/#/bucket-details/0xEFD28D2B9ba8c6860f71B0334eFc1e9fB07552C0?network=polygon_mainnet' │ 2.2676790389284607 │        0        │ 6059.792739603198  │ 28.926317532638055 │
│    9    │ '0xc1c334ae711db9b83d03ec7c3a413d38b01826c5-arbitrum' │ 'Arbitrum' │ 'primex-finance' │  'USDT'  │    5834.937393     │ 0.004637095903214927  │     0     │ [ '0xA533f744B179F2431f5395978e391107DC76e103' ] │ [ '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9' ] │  'https://app.primex.finance/#/bucket-details/0xC1C334AE711db9b83D03eC7C3a413D38b01826c5?network=arbitrum_one'   │ 0.5309856654509559 │        0        │    5899.505999     │     64.568606      │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────────┴──────────┴────────────────────┴───────────────────────┴───────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴─────────────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 509a1fe into DefiLlama:master Dec 20, 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