DefiLlama / yield-server

140 stars 779 forks source link

feat: support rho markets apy #1477

Closed CarlWiles closed 1 month ago

CarlWiles commented 1 month ago

rho markets apy support

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 12

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬─────────────────────┬─────────┬─────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │       tvlUsd        │ apyBase │   symbol    │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼─────────────────────┼─────────┼─────────────┼────────────────────────────────────────────────┤
│    0    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │ 2708214235340349400 │    0    │   'USDC'    │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    1    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │ 1500290801620422100 │    0    │   'USDT'    │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    2    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │ 15124827.076336188  │    0    │   'STONE'   │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    3    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │  6704314.578883139  │    0    │    'ETH'    │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    4    │ '0x76dc94562c89d2820e88d1274d4bb32cee306d4c-scroll' │ 'Scroll' │ 'rho-markets' │   6279913.179191    │    0    │   'WBTC'    │   'https://dapp.rhomarkets.xyz/market/WBTC'    │
│    5    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  5401663.201692342  │    0    │  'wstETH'   │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    6    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │ 2497013.0107023027  │    0    │  'wrsETH'   │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    7    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │  1978043.441794635  │    0    │   'weETH'   │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    8    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │  886239.7464920132  │    0    │ 'SolvBTC.b' │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    9    │ '0x1d73ead2bbea318344fccd7142f70488bab08f44-scroll' │ 'Scroll' │ 'rho-markets' │     268252.7713     │    0    │   'WBTC'    │   'https://dapp.rhomarkets.xyz/market/WBTC'    │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴─────────────────────┴─────────┴─────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 12

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────┬────────────────────┬─────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │       tvlUsd       │      apyBase       │   symbol    │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────┼────────────────────┼─────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │ 15125036.20089846  │ 0.0250780017109485 │   'STONE'   │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │ 6701035.356594833  │ 2.359732702844718  │    'ETH'    │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    2    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │ 5401663.201692343  │ 2.8355793386209687 │  'wstETH'   │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    3    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │ 2715356.4964302643 │ 3.2721531894905778 │   'USDC'    │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    4    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │ 2497286.894010646  │ 0.2280262503984028 │  'wrsETH'   │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    5    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │ 1979132.6663413625 │ 0.878498244184965  │   'weETH'   │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    6    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │ 1500290.8016204222 │ 3.376639675507765  │   'USDT'    │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    7    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 886239.7464920132  │ 0.000086332220524  │ 'SolvBTC.b' │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │ 23548.469014198636 │ 0.0896824687528341 │   'USDe'    │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0x76dc94562c89d2820e88d1274d4bb32cee306d4c-scroll' │ 'Scroll' │ 'rho-markets' │ 0.0006279913179191 │         0          │   'WBTC'    │   'https://dapp.rhomarkets.xyz/market/WBTC'    │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────┴────────────────────┴─────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
slasher125 commented 1 month ago

hi, ty for adding. can u pls add the remaining borrow related fields so we can also display you on our borrow aggregator? (see readme for reference of additional fields)

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │       tvlUsd       │   totalBorrowUsd   │      apyBase       │   symbol    │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │ 14735132.535238618 │ 239886.39962948975 │ 0.0231555978364883 │   'STONE'   │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │ 6238479.9926818805 │ 5271363.2477163235 │ 2.3312861416164816 │    'ETH'    │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    2    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │ 4967779.968816335  │  4360576.2473291   │ 2.8269285890588445 │  'wstETH'   │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    3    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │ 2697672.623952303  │ 2184887.6314485986 │ 3.281780638432392  │   'USDC'    │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    4    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │ 2432764.575063765  │ 293585.5570574792  │ 0.2138233534715027 │  'wrsETH'   │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    5    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │ 1824005.2208095603 │ 680355.6288997222  │ 0.8721562959686673 │   'weETH'   │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    6    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │ 1493458.9306703273 │ 1241870.1762165267 │ 3.4066125323293845 │   'USDT'    │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    7    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 834077.8144765295  │ 176.65745966121116 │ 0.0003178002230733 │ 'SolvBTC.b' │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │ 22586.215145992755 │ 3584.851433299428  │ 0.2951894912201856 │   'USDe'    │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │     2.641e-15      │         0          │         0          │  'uniETH'   │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
CarlWiles commented 1 month ago

hi, ty for adding. can u pls add the remaining borrow related fields so we can also display you on our borrow aggregator? (see readme for reference of additional fields)

I have added the borrow-related fields in commit f40ea5dee618fd89bd5103152f0bce846ae4f1e8.

slasher125 commented 1 month ago

ty, though this is just adding totalBorrowUsd, there are lot of other borrow fields, eg apyBaseBorrow, totalSupplyUsd, ltv...details in the readme

also, v important: we use tvlUsd = available liquidity on our end

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬─────────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta         │       tvlUsd       │   totalSupplyUsd   │   totalBorrowUsd   │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼─────────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'rho rstone market'   │ 14876528.729407702 │ 15110609.512697598 │ 242923.7394062633  │ 0.0228614703776758 │ 0.0228614703776758 │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'rho rwrseth market'   │ 2048268.749911948  │ 2375700.915099868  │ 330176.3106624273  │ 0.2520127403121079 │ 0.2520127403121079 │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │    'rho reth market'    │ 1173799.4446860556 │ 6446017.008758623  │ 5358488.3462182125 │ 2.275509838998998  │ 2.275509838998998  │    'ETH'    │ [ '0x0000000000000000000000000000000000000000' ] │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    3    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'rho rweeth market'   │ 1168536.6691386104 │ 1865459.3689199938 │ 705648.2526158318  │ 0.8889572357788785 │ 0.8889572357788785 │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    4    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'rho rsolvbtc.b market' │ 841360.2292288757  │ 842322.7772898071  │ 962.5896104466505  │ 0.0017171221125957 │ 0.0017171221125957 │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    5    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'rho rwsteth market'   │  717206.566365223  │ 5085347.918373687  │ 4458782.131143147  │ 2.821119381403707  │ 2.821119381403707  │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    6    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'rho rusdc market'    │ 515965.56344972184 │ 2640242.9244858613 │ 2174006.694695372  │ 3.3668486840019005 │ 3.3668486840019005 │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    7    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'rho rusdt market'    │ 272909.1049030765  │ 1485137.6428533245 │ 1244964.6373100518 │ 3.449130052992309  │ 3.449130052992309  │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'rho rusde market'    │ 17750.975305628213 │ 23326.58758591462  │ 5576.732590628065  │ 0.4883740103004443 │ 0.4883740103004443 │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'rho runieth market'   │ 917.1918903826195  │ 917.1918903826195  │         0          │         0          │         0          │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴─────────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta        │       tvlUsd       │   totalSupplyUsd   │   totalBorrowUsd   │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'rho stone market'   │ 14876373.968337582 │ 15110454.817503985 │ 242923.7833148711  │ 0.0228617122088904 │ 0.0228617122088904 │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'rho wrseth market'   │ 2048268.749911948  │ 2375700.915099868  │ 330176.3106624273  │ 0.2520127403121079 │ 0.2520127403121079 │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │    'rho eth market'    │ 1173799.4446860556 │ 6446017.008758623  │ 5358488.3462182125 │ 2.275509838998998  │ 2.275509838998998  │    'ETH'    │ [ '0x0000000000000000000000000000000000000000' ] │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    3    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'rho weeth market'   │ 1168536.6691386104 │ 1865459.3689199938 │ 705648.2526158318  │ 0.8889572357788785 │ 0.8889572357788785 │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    4    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'rho solvbtc.b market' │ 841360.2292288757  │ 842322.7772898071  │ 962.5896104466505  │ 0.0017171221125957 │ 0.0017171221125957 │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    5    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'rho wsteth market'   │ 717324.3315097685  │ 5085464.094222755  │  4458784.10349737  │ 2.8210179117233025 │ 2.8210179117233025 │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    6    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'rho usdc market'    │ 515965.56344972184 │ 2640242.9244858613 │ 2174006.694695372  │ 3.3668486840019005 │ 3.3668486840019005 │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    7    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'rho usdt market'    │ 282926.1863592765  │ 1494951.3046384016 │ 1244966.829653345  │ 3.413483622806345  │ 3.413483622806345  │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'rho usde market'    │ 17750.975305628213 │ 23326.58758591462  │ 5576.732590628065  │ 0.4883740103004443 │ 0.4883740103004443 │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'rho unieth market'   │ 917.1918903826195  │ 917.1918903826195  │         0          │         0          │         0          │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
CarlWiles commented 1 month ago

ty, though this is just adding totalBorrowUsd, there are lot of other borrow fields, eg apyBaseBorrow, totalSupplyUsd, ltv...details in the readme

also, v important: we use tvlUsd = available liquidity on our end

The latest commit updates includes the necessary market information for Rho Market, please check again

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta        │       tvlUsd       │   totalSupplyUsd   │   totalBorrowUsd   │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho STONE Market'   │ 14876352.62336023  │ 15110433.481612483 │ 242923.80449432455 │ 0.0228617475755243 │ 0.0228617475755243 │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wrsETH Market'   │ 2048268.749911948  │ 2375700.915099868  │ 330176.3106624273  │ 0.2520127403121079 │ 0.2520127403121079 │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │    'Rho ETH Market'    │ 1173623.2903300556 │ 6445842.636440486  │ 5358490.819795875  │ 2.2756007834277274 │ 2.2756007834277274 │    'ETH'    │ [ '0x0000000000000000000000000000000000000000' ] │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    3    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho weETH Market'   │ 1168536.6691386104 │ 1865459.3689199938 │ 705648.2526158318  │ 0.8889572357788785 │ 0.8889572357788785 │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    4    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'Rho SolvBTC.b Market' │ 841360.2292288757  │ 842322.7772898071  │ 962.5896104466505  │ 0.0017171221125957 │ 0.0017171221125957 │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    5    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wstETH Market'   │ 717362.9536454418  │ 5085502.195130615  │  4458784.89671698  │ 2.820984693141133  │ 2.820984693141133  │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    6    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDC Market'    │ 512317.09740484576 │ 2636659.311069224  │ 2174007.500253397  │ 3.374055289809573  │ 3.374055289809573  │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    7    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDT Market'    │ 282926.1863592765  │ 1494951.3046384016 │ 1244966.829653345  │ 3.413483622806345  │ 3.413483622806345  │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDe Market'    │ 17750.975305628213 │ 23326.58758591462  │ 5576.732590628065  │ 0.4883740103004443 │ 0.4883740103004443 │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho uniETH Market'   │ 917.1918903826195  │ 917.1918903826195  │         0          │         0          │         0          │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
slasher125 commented 1 month ago

seems there is a bug in apyBaseBorrow, which has the same value as apyBase

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta        │         tvlUsd         │     totalSupplyUsd     │     totalBorrowUsd     │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho STONE Market'   │ 9.133761590210642e+23  │ 9.267724247665647e+23  │ 1.3927636062540956e+22 │ 0.0055736574820313 │ 0.531450589232277  │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wrsETH Market'   │ 1.1553672010414942e+23 │ 1.3489103627172492e+23 │ 1.9514735645846583e+22 │ 0.2641882397572477 │ 2.463507520496933  │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │     'Rho  Market'      │ 7.193156493867743e+22  │ 3.7037822968957924e+23 │ 3.034922449951851e+23  │ 2.227240692339167  │ 3.6882451090342525 │     ''      │ [ '0x0000000000000000000000000000000000000000' ] │     'https://dapp.rhomarkets.xyz/market/'      │
│    3    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho weETH Market'   │ 6.712786535533905e+22  │ 1.0635224747125354e+23 │ 3.973371578207066e+22  │ 0.873898153513829  │ 3.165774746960612  │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    4    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'Rho SolvBTC.b Market' │ 4.967940513176543e+22  │ 4.995447688673758e+22  │ 275110511577266360000  │ 0.0083294196152521 │ 2.0369908143418867 │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    5    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wstETH Market'   │  4.17506781241753e+22  │ 2.859140454600652e+23  │ 2.4938195816382495e+23 │ 2.796492251486169  │ 4.687093445997998  │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    6    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDe Market'    │ 1.0594024283411631e+21 │ 1.543033556643055e+21  │ 483851045216170930000  │ 0.6938875028868717 │ 2.984272216797249  │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    7    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho uniETH Market'   │ 100540518393069290000  │ 100540518393069290000  │           0            │         0          │ 2.0201339998984604 │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
│    8    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDC Market'    │   91274539818.96887    │   459805217840.04193   │   377426848086.8823    │ 3.347715418853024  │  4.51658049473566  │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    9    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDT Market'    │   44042947195.03747    │   249802878235.23706   │   211371835005.25513   │ 3.498253975671459  │ 4.588075433269355  │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────────┴────────────────────────┴────────────────────────┴────────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
CarlWiles commented 1 month ago

seems there is a bug in apyBaseBorrow, which has the same value as apyBase

The latest commit has resolved the related issue. Please review it.

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta        │       tvlUsd       │   totalSupplyUsd   │   totalBorrowUsd   │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho STONE Market'   │ 16440770.862379156 │ 16681903.645798165 │ 250697.4491257372  │ 0.0055736574820313 │ 0.531450589232277  │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wrsETH Market'   │ 2079660.9618746897 │ 2428038.6528910487 │ 351265.2416252385  │ 0.2641882397572477 │ 2.463507520496933  │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │    'Rho ETH Market'    │  1308779.95932614  │ 6680674.8598699635 │ 5462862.128359285  │ 2.2204785562024196 │ 3.684754810977673  │    'ETH'    │ [ '0x0000000000000000000000000000000000000000' ] │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    3    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho weETH Market'   │ 1208301.5763961028 │ 1914340.4544825635 │ 715206.8840772719  │ 0.873898153513829  │ 3.165774746960612  │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    4    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'Rho SolvBTC.b Market' │ 894229.2923717778  │ 899180.5839612765  │ 4951.989208390794  │ 0.0083294196152521 │ 2.0369908143418867 │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    5    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wstETH Market'   │ 751512.2062351555  │ 5146452.818281173  │ 4488875.2469488485 │ 2.796492251486169  │ 4.687093445997998  │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    6    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDC Market'    │ 565764.5171158281  │ 2776617.736654811  │ 2264562.3653968917 │ 3.3140681295460594 │  4.50039631414369  │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    7    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDT Market'    │ 264257.6831702248  │ 1498817.2694114225 │ 1268231.0100315309 │ 3.498253975671459  │ 4.588075433269355  │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDe Market'    │ 19069.243710140938 │ 27774.60401957499  │ 8709.318813891075  │ 0.6938875028868717 │ 2.984272216797249  │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho uniETH Market'   │ 1809.7293310752473 │ 1809.7293310752473 │         0          │         0          │ 2.0201339998984604 │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta        │       tvlUsd       │   totalSupplyUsd   │   totalBorrowUsd   │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho STONE Market'   │ 21209528.854337174 │ 21446062.14637956  │ 248071.34695593198 │ 0.0042340477245495 │ 0.5244952415148924 │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wrsETH Market'   │ 2035298.2149842326 │ 2385317.598188444  │ 352862.3702499951  │ 0.2712355947233185 │ 2.473520517070131  │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho weETH Market'   │ 1176715.3474514429 │ 1865907.7949285433 │ 698162.8192716045  │ 0.8756776806445618 │ 3.167493690330798  │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    3    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │    'Rho ETH Market'    │ 1011465.4571709622 │ 6360017.853121953  │ 5435923.400858691  │ 2.369491578415311  │ 3.760631249233613  │    'ETH'    │ [ '0x0000000000000000000000000000000000000000' ] │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    4    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'Rho SolvBTC.b Market' │ 879443.1484855681  │ 884343.4821632495  │ 4901.238121258288  │ 0.0083828068775961 │ 2.0370979792349275 │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    5    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDC Market'    │ 848207.8977492617  │ 2974781.9065785236 │ 2184140.187898689  │ 2.8139436364086436 │ 4.250157436998391  │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    6    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wstETH Market'   │ 728638.5814158015  │  5006421.50142399  │ 4369529.686908934  │ 2.7991090241990517 │ 4.688687958008107  │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    7    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDT Market'    │ 283933.99620389176 │ 1521714.0199986794 │ 1272041.6603513348 │ 3.431367847336681  │ 4.5564908108747915 │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDe Market'    │ 19268.842596452505 │ 27974.17946621992  │ 8709.635853189326  │ 0.6873679081554578 │ 2.9773884140037237 │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho uniETH Market'   │ 1761.2448231376577 │ 1761.2448231376577 │         0          │         0          │ 2.0201339998984604 │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
slasher125 commented 1 month ago

great, pls add the ltv field too (see readme). ty

llamatester commented 1 month ago

The rho-markets adapter exports pools:

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

Nb of pools: 10

Sample pools:
┌─────────┬─────────────────────────────────────────────────────┬──────────┬───────────────┬────────────────────────┬─────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────┐
│ (index) │                        pool                         │  chain   │    project    │        poolMeta        │ ltv │       tvlUsd       │   totalSupplyUsd   │   totalBorrowUsd   │      apyBase       │   apyBaseBorrow    │   symbol    │                 underlyingTokens                 │                      url                       │
├─────────┼─────────────────────────────────────────────────────┼──────────┼───────────────┼────────────────────────┼─────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────┤
│    0    │ '0xad3d07d431b85b525d81372802504fa18dbd554c-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho STONE Market'   │ 0.5 │ 20677843.372236025 │ 20898052.55274252  │ 231454.74156970013 │ 0.0040464065021957 │ 0.5235069080900346 │   'STONE'   │ [ '0x80137510979822322193FC997d400D5A6C747bf7' ] │   'https://dapp.rhomarkets.xyz/market/STONE'   │
│    1    │ '0x52fef2b9040ba81e40421660335655d70fe8cf03-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wrsETH Market'   │ 0.6 │ 1962950.5774578003 │ 2323393.564790995  │ 363236.2100487263  │ 0.2896317538883294 │ 2.4993454340205776 │  'wrsETH'   │ [ '0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F' ] │  'https://dapp.rhomarkets.xyz/market/wrsETH'   │
│    2    │ '0x65a5dbef0d1bff772822e4652aed2829718dc43f-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho weETH Market'   │ 0.7 │  1510311.13596087  │ 1826563.669867116  │ 325055.1006803093  │ 0.3372505955881494 │ 2.5642298790294817 │   'weETH'   │ [ '0x01f0a31698C4d065659b9bdC21B3610292a1c506' ] │   'https://dapp.rhomarkets.xyz/market/weETH'   │
│    3    │ '0x8966993138b95b48142f6ecb590427eb7e18a719-scroll' │ 'Scroll' │ 'rho-markets' │ 'Rho SolvBTC.b Market' │ 0.4 │ 872617.3041355639  │ 877504.2052286613  │  4888.02905425239  │ 0.0084257271549635 │ 2.037184124779439  │ 'SolvBTC.b' │ [ '0x3Ba89d490AB1C0c9CC2313385b30710e838370a4' ] │ 'https://dapp.rhomarkets.xyz/market/SolvBTC.b' │
│    4    │ '0xe4fc4c444effb5eca80274c021f652980794eae6-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho wstETH Market'   │ 0.7 │ 721087.0059403903  │ 4884240.312025717  │ 4253155.153172072  │ 2.7886445194753904 │  4.68230731445677  │  'wstETH'   │ [ '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32' ] │  'https://dapp.rhomarkets.xyz/market/wstETH'   │
│    5    │ '0xae1846110f72f2daabc75b7ceee96558289edfc5-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDC Market'    │ 0.7 │ 633678.5431798162  │ 2783735.169901686  │ 2204307.256430604  │ 3.1635864146700947 │ 4.427060357304762  │   'USDC'    │ [ '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4' ] │   'https://dapp.rhomarkets.xyz/market/USDC'    │
│    6    │ '0x639355f34ca9935e0004e30bd77b9ce2ada0e692-scroll' │ 'Scroll' │ 'rho-markets' │    'Rho ETH Market'    │ 0.7 │ 628733.4212760276  │ 5725542.530197826  │ 5177912.054731636  │ 2.5760452408870385 │ 3.8624320711796076 │    'ETH'    │ [ '0x0000000000000000000000000000000000000000' ] │    'https://dapp.rhomarkets.xyz/market/ETH'    │
│    7    │ '0x855cea8626fa7b42c13e7a688b179bf61e6c1e81-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDT Market'    │ 0.7 │ 317350.5487611474  │ 1555705.5207540512 │ 1273496.2339958951 │ 3.319555348859374  │ 4.503040851907842  │   'USDT'    │ [ '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df' ] │   'https://dapp.rhomarkets.xyz/market/USDT'    │
│    8    │ '0x5ff1926507f6e71bfbd5f9897fbaef021e2f77ca-scroll' │ 'Scroll' │ 'rho-markets' │   'Rho USDe Market'    │ 0.7 │ 18283.62891398182  │ 27814.879123128663 │ 9536.469562113012  │ 0.7816567676082803 │ 3.074738734887257  │   'USDe'    │ [ '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34' ] │   'https://dapp.rhomarkets.xyz/market/USDe'    │
│    9    │ '0xfe707359517f0d5ad0187a237974d3110a734016-scroll' │ 'Scroll' │ 'rho-markets' │  'Rho uniETH Market'   │ 0.5 │ 1325.9660803717477 │ 1325.9660803717477 │         0          │         0          │ 2.0201339998984604 │  'uniETH'   │ [ '0x15EEfE5B297136b8712291B632404B66A8eF4D25' ] │  'https://dapp.rhomarkets.xyz/market/uniETH'   │
└─────────┴─────────────────────────────────────────────────────┴──────────┴───────────────┴────────────────────────┴─────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
CarlWiles commented 1 month ago

great, pls add the ltv field too (see readme). ty

The LTV has already been added to the latest commit. Are there any other optional parameters that need to be included?