Skip to content

add Avalon on BOB #1801

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

Merged
merged 1 commit into from
Apr 9, 2025
Merged

Conversation

mastilver
Copy link
Contributor

No description provided.

@llamatester
Copy link

The avalon-finance adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬──────────────────┬───────────────┬────────────────────┬────────────────────────┬──────────────────────────────────────────────────┬────────────────────┬────────────────────┬────────────────┬─────────────────────┬─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┬────────────┬──────────┐
│ (index) │ pool                                             │ chain │ project          │ symbol        │ tvlUsd             │ apyBase                │ underlyingTokens                                 │ totalSupplyUsd     │ totalBorrowUsd     │ debtCeilingUsd │ apyBaseBorrow       │ ltv │ url                                                                                                                                  │ borrowable │ mintedCoin │ poolMeta │
├─────────┼──────────────────────────────────────────────────┼───────┼──────────────────┼───────────────┼────────────────────┼────────────────────────┼──────────────────────────────────────────────────┼────────────────────┼────────────────────┼────────────────┼─────────────────────┼─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┼────────────┼──────────┤
│ 0       │ '0x2e6500a7add9a788753a897e4e3477f651c612eb-bob' │ 'bob' │ 'avalon-finance' │ 'SolvBTC.BBN' │ 91630767.5854172   │ 0.00035671634237242455 │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ 92406671.89848939  │ 775904.3130721897  │ null           │ 0.05630996299234558 │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xcc0966d8418d412c599a6421b760a847eb169a8c&marketName=proto_bob_v3' │ true       │ null       │ null     │
│ 1       │ '0x81392304a5be58e1eb72053a47798b9285eb948e-bob' │ 'bob' │ 'avalon-finance' │ 'SolvBTC'     │ 39661525.64278307  │ 0.03605187127416584    │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ 43339579.00790281  │ 3678053.3651197404 │ null           │ 0.5660928174712917  │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x541fd749419ca806a8bc7da8ac23d346f2df8b77&marketName=proto_bob_v3' │ true       │ null       │ null     │
│ 2       │ '0xd6890176e8d912142ac489e8b5d8d93f8de74d60-bob' │ 'bob' │ 'avalon-finance' │ 'WBTC'        │ 41224.84608044     │ 0.9375104996022725     │ [ '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3' ] │ 97669.9009934      │ 56445.054912960004 │ null           │ 2.3145632103855203  │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3&marketName=proto_bob_v3' │ true       │ null       │ null     │
│ 3       │ '0x5e007ed35c7d89f5889eb6fd0cdcaa38059560ef-bob' │ 'bob' │ 'avalon-finance' │ 'tBTC'        │ 4147.2456871975055 │ 0.12910062564414118    │ [ '0xBBa2eF945D523C4e2608C9E1214C2Cc64D4fc2e2' ] │ 5257.5835538610245 │ 1110.337866663519  │ null           │ 0.8589050359752606  │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xbba2ef945d523c4e2608c9e1214c2cc64d4fc2e2&marketName=proto_bob_v3' │ true       │ null       │ null     │
└─────────┴──────────────────────────────────────────────────┴───────┴──────────────────┴───────────────┴────────────────────┴────────────────────────┴──────────────────────────────────────────────────┴────────────────────┴────────────────────┴────────────────┴─────────────────────┴─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┴────────────┴──────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

@mastilver
pls remove unused fields, such as debtCeilingUsd, poolMeta, mintedCoin etc, they seem not to be relevant for your adapter

@mastilver mastilver force-pushed the bob-avalon-finance branch from c74380e to 63a34b9 Compare April 8, 2025 19:33
@mastilver
Copy link
Contributor Author

@slasher125 good point. it's now fixed

@llamatester
Copy link

The avalon-finance adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬──────────────────┬────────────┬────────────────────┬───────────────────────┬──────────────────────────────────────────────────┬───────────────────┬────────────────────┬─────────────────────┬─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │ pool                                             │ chain │ project          │ symbol     │ tvlUsd             │ apyBase               │ underlyingTokens                                 │ totalSupplyUsd    │ totalBorrowUsd     │ apyBaseBorrow       │ ltv │ url                                                                                                                                  │ borrowable │
├─────────┼──────────────────────────────────────────────────┼───────┼──────────────────┼────────────┼────────────────────┼───────────────────────┼──────────────────────────────────────────────────┼───────────────────┼────────────────────┼─────────────────────┼─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┤
│ 0       │ '0x2e6500a7add9a788753a897e4e3477f651c612eb-bob' │ 'bob' │ 'avalon-finance' │ 'xSolvBTC' │ 89047283.67532632  │ 0.0003568095138447652 │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ 89801411.04679307 │ 754127.3714667559  │ 0.05631731636951977 │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xcc0966d8418d412c599a6421b760a847eb169a8c&marketName=proto_bob_v3' │ true       │
│ 1       │ '0x81392304a5be58e1eb72053a47798b9285eb948e-bob' │ 'bob' │ 'avalon-finance' │ 'SolvBTC'  │ 38555233.96805039  │ 0.03588020431576191   │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ 42121369.40855059 │ 3566135.4405002    │ 0.564743436857339   │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x541fd749419ca806a8bc7da8ac23d346f2df8b77&marketName=proto_bob_v3' │ true       │
│ 2       │ '0xd6890176e8d912142ac489e8b5d8d93f8de74d60-bob' │ 'bob' │ 'avalon-finance' │ 'WBTC'     │ 40421.64585208     │ 0.9365789146351398    │ [ '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3' ] │ 95701.56373292    │ 55279.917880839996 │ 2.313412957558766   │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3&marketName=proto_bob_v3' │ true       │
│ 3       │ '0x5e007ed35c7d89f5889eb6fd0cdcaa38059560ef-bob' │ 'bob' │ 'avalon-finance' │ 'tBTC'     │ 4114.1115596022655 │ 0.11131941241406397   │ [ '0xBBa2eF945D523C4e2608C9E1214C2Cc64D4fc2e2' ] │ 5115.529494526507 │ 1001.4179349242413 │ 0.7975656261903251  │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xbba2ef945d523c4e2608c9e1214c2cc64d4fc2e2&marketName=proto_bob_v3' │ true       │
└─────────┴──────────────────────────────────────────────────┴───────┴──────────────────┴────────────┴────────────────────┴───────────────────────┴──────────────────────────────────────────────────┴───────────────────┴────────────────────┴─────────────────────┴─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The avalon-finance adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬──────────────────┬────────────┬────────────────────┬───────────────────────┬──────────────────────────────────────────────────┬────────────────────┬────────────────────┬─────────────────────┬─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │ pool                                             │ chain │ project          │ symbol     │ tvlUsd             │ apyBase               │ underlyingTokens                                 │ totalSupplyUsd     │ totalBorrowUsd     │ apyBaseBorrow       │ ltv │ url                                                                                                                                  │ borrowable │
├─────────┼──────────────────────────────────────────────────┼───────┼──────────────────┼────────────┼────────────────────┼───────────────────────┼──────────────────────────────────────────────────┼────────────────────┼────────────────────┼─────────────────────┼─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┤
│ 0       │ '0x2e6500a7add9a788753a897e4e3477f651c612eb-bob' │ 'bob' │ 'avalon-finance' │ 'xSolvBTC' │ 89047283.67532632  │ 0.0003568095138447652 │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ 89801411.05191393  │ 754127.3765876144  │ 0.05631731636951977 │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xcc0966d8418d412c599a6421b760a847eb169a8c&marketName=proto_bob_v3' │ true       │
│ 1       │ '0x81392304a5be58e1eb72053a47798b9285eb948e-bob' │ 'bob' │ 'avalon-finance' │ 'SolvBTC'  │ 38555233.96805039  │ 0.03588020431576191   │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ 42121369.650086276 │ 3566135.6820358858 │ 0.564743436857339   │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x541fd749419ca806a8bc7da8ac23d346f2df8b77&marketName=proto_bob_v3' │ true       │
│ 2       │ '0xd6890176e8d912142ac489e8b5d8d93f8de74d60-bob' │ 'bob' │ 'avalon-finance' │ 'WBTC'     │ 40421.64585208     │ 0.9365789146351398    │ [ '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3' ] │ 95701.57850199999  │ 55279.93264991999  │ 2.313412957558766   │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3&marketName=proto_bob_v3' │ true       │
│ 3       │ '0x5e007ed35c7d89f5889eb6fd0cdcaa38059560ef-bob' │ 'bob' │ 'avalon-finance' │ 'tBTC'     │ 4114.1115596022655 │ 0.11131941241406397   │ [ '0xBBa2eF945D523C4e2608C9E1214C2Cc64D4fc2e2' ] │ 5115.5295855356335 │ 1001.418025933368  │ 0.7975656261903251  │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xbba2ef945d523c4e2608c9e1214c2cc64d4fc2e2&marketName=proto_bob_v3' │ true       │
└─────────┴──────────────────────────────────────────────────┴───────┴──────────────────┴────────────┴────────────────────┴───────────────────────┴──────────────────────────────────────────────────┴────────────────────┴────────────────────┴─────────────────────┴─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@mastilver mastilver force-pushed the bob-avalon-finance branch from 605e34f to 63a34b9 Compare April 8, 2025 21:27
@llamatester
Copy link

The avalon-finance adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬──────────────────┬────────────┬────────────────────┬────────────────────────┬──────────────────────────────────────────────────┬────────────────────┬───────────────────┬──────────────────────┬─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │ pool                                             │ chain │ project          │ symbol     │ tvlUsd             │ apyBase                │ underlyingTokens                                 │ totalSupplyUsd     │ totalBorrowUsd    │ apyBaseBorrow        │ ltv │ url                                                                                                                                  │ borrowable │
├─────────┼──────────────────────────────────────────────────┼───────┼──────────────────┼────────────┼────────────────────┼────────────────────────┼──────────────────────────────────────────────────┼────────────────────┼───────────────────┼──────────────────────┼─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┤
│ 0       │ '0x2e6500a7add9a788753a897e4e3477f651c612eb-bob' │ 'bob' │ 'avalon-finance' │ 'xSolvBTC' │ 88920672.67999728  │ 0.00034802894220169704 │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ 89664269.32419893  │ 743596.6442016512 │ 0.055620055711482506 │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xcc0966d8418d412c599a6421b760a847eb169a8c&marketName=proto_bob_v3' │ true       │
│ 1       │ '0x81392304a5be58e1eb72053a47798b9285eb948e-bob' │ 'bob' │ 'avalon-finance' │ 'SolvBTC'  │ 38490983.744065635 │ 0.03587356008700936    │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ 42050814.859333165 │ 3559831.11526753  │ 0.5646911453726765   │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x541fd749419ca806a8bc7da8ac23d346f2df8b77&marketName=proto_bob_v3' │ true       │
│ 2       │ '0xd6890176e8d912142ac489e8b5d8d93f8de74d60-bob' │ 'bob' │ 'avalon-finance' │ 'WBTC'     │ 40055.55674232     │ 0.9365789146351398     │ [ '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3' ] │ 94835.0095224      │ 54779.45278008    │ 2.313412957558766    │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3&marketName=proto_bob_v3' │ true       │
│ 3       │ '0x5e007ed35c7d89f5889eb6fd0cdcaa38059560ef-bob' │ 'bob' │ 'avalon-finance' │ 'tBTC'     │ 4093.294569309919  │ 0.11131941241406397    │ [ '0xBBa2eF945D523C4e2608C9E1214C2Cc64D4fc2e2' ] │ 5089.64665342903   │ 996.3520841191112 │ 0.7975656261903251   │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xbba2ef945d523c4e2608c9e1214c2cc64d4fc2e2&marketName=proto_bob_v3' │ true       │
└─────────┴──────────────────────────────────────────────────┴───────┴──────────────────┴────────────┴────────────────────┴────────────────────────┴──────────────────────────────────────────────────┴────────────────────┴───────────────────┴──────────────────────┴─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@mastilver mastilver force-pushed the bob-avalon-finance branch from 63a34b9 to aba7bce Compare April 8, 2025 21:28
@llamatester
Copy link

The avalon-finance adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────┬───────┬──────────────────┬────────────┬────────────────────┬───────────────────────┬──────────────────────────────────────────────────┬───────────────────┬────────────────────┬─────────────────────┬─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │ pool                                             │ chain │ project          │ symbol     │ tvlUsd             │ apyBase               │ underlyingTokens                                 │ totalSupplyUsd    │ totalBorrowUsd     │ apyBaseBorrow       │ ltv │ url                                                                                                                                  │ borrowable │
├─────────┼──────────────────────────────────────────────────┼───────┼──────────────────┼────────────┼────────────────────┼───────────────────────┼──────────────────────────────────────────────────┼───────────────────┼────────────────────┼─────────────────────┼─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┤
│ 0       │ '0x2e6500a7add9a788753a897e4e3477f651c612eb-bob' │ 'bob' │ 'avalon-finance' │ 'xSolvBTC' │ 88914131.44911228  │ 0.0003480797247186687 │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ 89657728.09432332 │ 743596.645211041   │ 0.05562411345360281 │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xcc0966d8418d412c599a6421b760a847eb169a8c&marketName=proto_bob_v3' │ true       │
│ 1       │ '0x81392304a5be58e1eb72053a47798b9285eb948e-bob' │ 'bob' │ 'avalon-finance' │ 'SolvBTC'  │ 38490983.744065635 │ 0.03587356008700936   │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ 42050814.90812448 │ 3559831.1640588418 │ 0.5646911453726765  │ 0.7 │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x541fd749419ca806a8bc7da8ac23d346f2df8b77&marketName=proto_bob_v3' │ true       │
│ 2       │ '0xd6890176e8d912142ac489e8b5d8d93f8de74d60-bob' │ 'bob' │ 'avalon-finance' │ 'WBTC'     │ 40055.55674232     │ 0.9365789146351398    │ [ '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3' ] │ 94835.01260352    │ 54779.4558612      │ 2.313412957558766   │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3&marketName=proto_bob_v3' │ true       │
│ 3       │ '0x5e007ed35c7d89f5889eb6fd0cdcaa38059560ef-bob' │ 'bob' │ 'avalon-finance' │ 'tBTC'     │ 4093.294569309919  │ 0.11131941241406397   │ [ '0xBBa2eF945D523C4e2608C9E1214C2Cc64D4fc2e2' ] │ 5089.646671754348 │ 996.352102444429   │ 0.7975656261903251  │ 0   │ 'https:/lend.avalonfinance.xyz/reserve-overview/?underlyingAsset=0xbba2ef945d523c4e2608c9e1214c2cc64d4fc2e2&marketName=proto_bob_v3' │ true       │
└─────────┴──────────────────────────────────────────────────┴───────┴──────────────────┴────────────┴────────────────────┴───────────────────────┴──────────────────────────────────────────────────┴───────────────────┴────────────────────┴─────────────────────┴─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit e9982e5 into DefiLlama:master Apr 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.

3 participants