DefiLlama / yield-server

140 stars 779 forks source link

add meric apr #1487

Closed 0xngmi closed 1 month ago

llamatester commented 1 month ago

The aave-v3 adapter exports pools:

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

Nb of pools: 129

Sample pools:
┌─────────┬────────────────────────────────────────────────────────┬────────────┬───────────┬──────────┬────────────────────┬──────────────────────┬──────────────────────────────────────────────────┬────────────────────┬────────────────────┬────────────────┬─────────────────────┬───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┬────────────┐
│ (index) │                          pool                          │   chain    │  project  │  symbol  │       tvlUsd       │       apyBase        │                 underlyingTokens                 │   totalSupplyUsd   │   totalBorrowUsd   │ debtCeilingUsd │    apyBaseBorrow    │  ltv  │                                                                url                                                                │ borrowable │ mintedCoin │
├─────────┼────────────────────────────────────────────────────────┼────────────┼───────────┼──────────┼────────────────────┼──────────────────────┼──────────────────────────────────────────────────┼────────────────────┼────────────────────┼────────────────┼─────────────────────┼───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┼────────────┤
│    0    │ '0x0b925ed163218f6662a35e0f0371ac234f9e9371-ethereum'  │ 'ethereum' │ 'aave-v3' │ 'wstETH' │  2977907019.5243   │ 0.010880473917060042 │ [ '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ] │ 3049812941.4392304 │ 71905921.91493034  │      null      │ 0.4857718176217562  │ 0.785 │  'https://app.aave.com/reserve-overview/?underlyingAsset=0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0&marketName=proto_mainnet_v3'  │    true    │    null    │
│    1    │ '0xbdfa7b7893081b35fb54027489e2bc7a38275129-ethereum'  │ 'ethereum' │ 'aave-v3' │ 'weETH'  │ 1877574098.1176744 │  0.1123963508085273  │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee' ] │ 2088699346.602377  │ 211125248.4847026  │      null      │ 2.0216676357406014  │ 0.725 │  'https://app.aave.com/reserve-overview/?underlyingAsset=0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee&marketName=proto_mainnet_v3'  │    true    │    null    │
│    2    │ '0x5ee5bf7ae06d1be5997a1a72006fe6c607ec6de8-ethereum'  │ 'ethereum' │ 'aave-v3' │  'WBTC'  │ 1760701436.2955878 │ 0.09402384541279163  │ [ '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599' ] │ 1989462252.5450006 │ 228760816.24941278 │      null      │  1.022110264832255  │ 0.73  │  'https://app.aave.com/reserve-overview/?underlyingAsset=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&marketName=proto_mainnet_v3'  │    true    │    null    │
│    3    │ '0x4d5f47fa6a74757f35c14fd3a6ef8e3c9bc514e8-ethereum'  │ 'ethereum' │ 'aave-v3' │  'WETH'  │ 445259496.1195194  │  1.8319849459501387  │ [ '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' ] │ 2921592430.824754  │ 2476332934.705235  │      null      │  2.542799485016561  │ 0.805 │  'https://app.aave.com/reserve-overview/?underlyingAsset=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&marketName=proto_mainnet_v3'  │    true    │    null    │
│    4    │ '0x23878914efe38d27c4d67ab83ed1b93a74d4086a-ethereum'  │ 'ethereum' │ 'aave-v3' │  'USDT'  │ 370820058.28810304 │  3.6793770456947796  │ [ '0xdAC17F958D2ee523a2206206994597C13D831ec7' ] │ 1549445470.9677868 │ 1178625412.6796837 │      null      │ 5.3743835504289095  │ 0.75  │  'https://app.aave.com/reserve-overview/?underlyingAsset=0xdac17f958d2ee523a2206206994597c13d831ec7&marketName=proto_mainnet_v3'  │    true    │    null    │
│    5    │ '0x98c23e9d8f34fefb1b7bd6a91b7ff122f4e16f5c-ethereum'  │ 'ethereum' │ 'aave-v3' │  'USDC'  │  281553294.080615  │  4.175930512889844   │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ 1484813865.289442  │ 1203260571.208827  │      null      │  5.725562261040667  │ 0.75  │  'https://app.aave.com/reserve-overview/?underlyingAsset=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&marketName=proto_mainnet_v3'  │    true    │    null    │
│    6    │ '0x078f358208685046a11c85e8ad32895ded33a249-arbitrum'  │ 'arbitrum' │ 'aave-v3' │  'WBTC'  │ 190144655.4708529  │ 0.03441979861637122  │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f' ] │ 204362600.0848417  │ 14217944.613988787 │      null      │ 0.6184191190839502  │ 0.73  │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f&marketName=proto_arbitrum_v3'  │    true    │    null    │
│    7    │ '0x8437d7c167dfb82ed4cb79cd44b7a32a1dd95c77-arbitrum'  │ 'arbitrum' │ 'aave-v3' │ 'weETH'  │ 176562813.3960242  │  0.1320089255275748  │ [ '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe' ] │ 198284386.4047575  │ 21721573.008733302 │      null      │ 2.1909643001744876  │ 0.725 │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x35751007a407ca6feffe80b3cb397736d2cf4dbe&marketName=proto_arbitrum_v3'  │    true    │    null    │
│    8    │ '0x8ffdf2de812095b1d19cb146e4c004587c0a0692-avalanche' │   'avax'   │ 'aave-v3' │ 'BTC.b'  │ 157954264.4091409  │ 0.009560952624551528 │ [ '0x152b9d0FdC40C096757F570A51E494bd4b943E50' ] │ 162457182.5574514  │ 4502918.1483104825 │      null      │ 0.43116981822021994 │  0.7  │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x152b9d0fdc40c096757f570a51e494bd4b943e50&marketName=proto_avalanche_v3' │    true    │    null    │
│    9    │ '0xa700b4eb416be35b2911fd5dee80678ff64ff6c9-ethereum'  │ 'ethereum' │ 'aave-v3' │  'AAVE'  │ 154309106.8614243  │          0           │ [ '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9' ] │ 154309106.8614243  │         0          │      null      │          0          │ 0.66  │  'https://app.aave.com/reserve-overview/?underlyingAsset=0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9&marketName=proto_mainnet_v3'  │   false    │    null    │
└─────────┴────────────────────────────────────────────────────────┴────────────┴───────────┴──────────┴────────────────────┴──────────────────────┴──────────────────────────────────────────────────┴────────────────────┴────────────────────┴────────────────┴─────────────────────┴───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama