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

add borrowable field to config table #395

Merged
merged 1 commit into from
Oct 27, 2022
Merged

add borrowable field to config table #395

merged 1 commit into from
Oct 27, 2022

Conversation

slasher125
Copy link
Collaborator

No description provided.

@llamatester
Copy link

The aave-v2 adapter exports pools:

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

Nb of pools: 80
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬───────────┬─────────┬────────────────────┬─────────────────────┬──────────────────────────────────────────────────┬────────────────────┬────────────────────┬────────────────────┬───────┬────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                         pool                          │   chain    │  project  │ symbol  │       tvlUsd       │       apyBase       │                 underlyingTokens                 │   apyBaseBorrow    │   totalSupplyUsd   │   totalBorrowUsd   │  ltv  │ borrowable │                                                             url                                                              │
├─────────┼───────────────────────────────────────────────────────┼────────────┼───────────┼─────────┼────────────────────┼─────────────────────┼──────────────────────────────────────────────────┼────────────────────┼────────────────────┼────────────────────┼───────┼────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │ '0x1982b2f5814301d4e9a8b0201555376e62f82428-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'STETH' │ 1382245778.2717798 │          0          │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' ] │         0          │ 1382245778.2717798 │         0          │   0   │   false    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0xae7ab96520de3a18e5e111b5eaab095312d7fe84&marketName=proto_mainnet' │
│    1    │ '0x030ba81f1c18d280636f32af80b9aad02cf0854e-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'WETH'  │  676349385.035372  │  1.067492178034061  │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 2.245213309814892  │ 1424448341.9352882 │ 748098956.8999162  │ 0.825 │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&marketName=proto_mainnet' │
│    2    │ '0x9ff58f4ffb29fa2266ab25e75e2a8b3503311656-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'WBTC'  │  651663798.153603  │ 0.09069617756023927 │ [ '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599' ] │ 1.122760686307825  │ 717105078.1561593  │ 65441280.002556324 │ 0.72  │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&marketName=proto_mainnet' │
│    3    │ '0xbcca60bb61934080951369a648fb03df4f96263c-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'USDC'  │ 500899514.9532734  │ 0.9220737692553497  │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 2.086107699114088  │ 948643758.9939846  │ 447744244.04071116 │ 0.87  │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&marketName=proto_mainnet' │
│    4    │ '0xffc97d72e13e01096502cb8eb52dee56f74dad7b-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'AAVE'  │ 144914195.82926673 │          0          │ [ '0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9' ] │         0          │ 144914195.82926673 │         0          │ 0.66  │   false    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9&marketName=proto_mainnet' │
│    5    │ '0x028171bca77440897b824ca71d1c56cac55b68a3-ethereum' │ 'Ethereum' │ 'aave-v2' │  'DAI'  │ 118390119.29320942 │ 0.7430219805438047  │ [ '0x6b175474e89094c44da98b954eedeac495271d0f' ] │ 1.9908544376378232 │ 199680261.75184622 │  81290142.4586368  │ 0.77  │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x6b175474e89094c44da98b954eedeac495271d0f&marketName=proto_mainnet' │
│    6    │ '0xa06bc25b5805d5f8d82847d191cb4af5a3e873e0-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'LINK'  │ 85997620.58195701  │ 1.0490714533320338  │ [ '0x514910771af9ca656af840dff83e8264ecf986ca' ] │ 4.497336229975146  │ 120979505.65649666 │ 34981885.07453965  │  0.7  │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x514910771af9ca656af840dff83e8264ecf986ca&marketName=proto_mainnet' │
│    7    │ '0x8dae6cb04688c62d939ed9b68d32bc62e49970b1-ethereum' │ 'Ethereum' │ 'aave-v2' │  'CRV'  │ 82592120.04550721  │  2.531466504199794  │ [ '0xd533a949740bb3306d119cc777fa900ba034cd52' ] │ 7.030964434548137  │ 150179994.20992205 │ 67587874.16441484  │ 0.55  │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0xd533a949740bb3306d119cc777fa900ba034cd52&marketName=proto_mainnet' │
│    8    │ '0x28424507fefb6f7f8e9d3860f56504e4e5f5f390-polygon'  │ 'Polygon'  │ 'aave-v2' │ 'WETH'  │  75019253.2732678  │ 0.03781451116559896 │ [ '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619' ] │ 0.7191116187444888 │ 80188383.43861334  │ 5169130.165345535  │  0.8  │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0x7ceb23fd6bc0add59e62ac25578270cff1b9f619&marketName=proto_polygon' │
│    9    │ '0x3ed3b47dd13ec9a98b44e6204a523e766b225811-ethereum' │ 'Ethereum' │ 'aave-v2' │ 'USDT'  │ 65807811.09804379  │ 2.6953522734813458  │ [ '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │ 3.566921955507055  │ 337026313.1260463  │ 271218502.0280025  │   0   │    true    │ 'https://app.aave.com/reserve-overview/?underlyingAsset=0xdac17f958d2ee523a2206206994597c13d831ec7&marketName=proto_mainnet' │
└─────────┴───────────────────────────────────────────────────────┴────────────┴───────────┴─────────┴────────────────────┴─────────────────────┴──────────────────────────────────────────────────┴────────────────────┴────────────────────┴────────────────────┴───────┴────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@slasher125 slasher125 merged commit 63a2df3 into master Oct 27, 2022
dtmkeng pushed a commit that referenced this pull request Oct 28, 2022
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.

2 participants