Skip to content

Conversation

@Codonyat
Copy link
Contributor

@Codonyat Codonyat commented Nov 28, 2025

SIR pays large fees to LPers at a sparse cadence. If we use a 24h-window, it will result in 0% APY and some days spike to like 500% APY. Would it be Ok to use a 30-day window instead?

The name of the pools follows
${pool_address}-{pool-id}-{network}
because all pools and their LP token live in the same address as ERC1155 tokens.

@llamatester
Copy link

The sir adapter exports pools:

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

Nb of pools: 15
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────────────┬──────────────────┬─────────┬──────────┬────────────────────┬──────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬───────────┬─────────────────────────────────────────────────┐
│ (index) │ pool                                                          │ chain            │ project │ symbol   │ tvlUsd             │ apyBase              │ apyReward          │ rewardTokens                                     │ underlyingTokens                                 │ poolMeta  │ url                                             │
├─────────┼───────────────────────────────────────────────────────────────┼──────────────────┼─────────┼──────────┼────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼───────────┼─────────────────────────────────────────────────┤
│ 0       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-2-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'WETH'   │ 18124.780904438943 │ 37.32103738551273    │ 292.4747454344865  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x02'  │
│ 1       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-14-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'PNKSTR' │ 17090.345162558628 │ 37.79118480766408    │ 286.7162202149825  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xc50673edb3a7b94e8cad8a7d4e0cd68864e33edf' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x0e'  │
│ 2       │ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766-1-hyperliquid-l1' │ 'Hyperliquid L1' │ 'sir'   │ 'WHYPE'  │ 16736.343848356217 │ 146.84022106856088   │ 992.3350760291049  │ [ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766' ] │ [ '0x5555555555555555555555555555555555555555' ] │ undefined │ 'https://hype.sir.trading/liquidity?vault=0x01' │
│ 3       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-10-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'HOHM'   │ 10783.319806974354 │ 0                    │ 258.18419960396847 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x1db1591540d7a6062be0837ca3c808add28844f6' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x0a'  │
│ 4       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-1-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'WBTC'   │ 3919.992660775403  │ 0.05553027877567285  │ 448.0977062912523  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x01'  │
│ 5       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-5-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'REKT'   │ 2827.865525216848  │ 35.80315742403184    │ 261.5384330716631  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xdd3b11ef34cd511a2da159034a05fcb94d806686' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x05'  │
│ 6       │ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766-2-hyperliquid-l1' │ 'Hyperliquid L1' │ 'sir'   │ 'SWAP'   │ 1985.9121504572054 │ 0.006225258981817916 │ 918.9441193691714  │ [ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766' ] │ [ '0x03832767bdf9a8ef007449942125ad605acfadb8' ] │ undefined │ 'https://hype.sir.trading/liquidity?vault=0x02' │
│ 7       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-9-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'CVX'    │ 1240.6101408660152 │ 0                    │ 273.2375531214229  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x09'  │
│ 8       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-13-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'WLFI'   │ 392.15189003011284 │ 0                    │ 38593.42817289547  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xda5e1988097297dcdc1f90d4dfe7909e847cbef6' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x0d'  │
│ 9       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-3-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'USDT'   │ 311.64429542702027 │ 4.612287831850548    │ 314.9063190817414  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x03'  │
└─────────┴───────────────────────────────────────────────────────────────┴──────────────────┴─────────┴──────────┴────────────────────┴──────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴───────────┴─────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The sir adapter exports pools:

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

Nb of pools: 15
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────────────┬──────────────────┬─────────┬──────────┬────────────────────┬──────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬───────────┬─────────────────────────────────────────────────┐
│ (index) │ pool                                                          │ chain            │ project │ symbol   │ tvlUsd             │ apyBase              │ apyReward          │ rewardTokens                                     │ underlyingTokens                                 │ poolMeta  │ url                                             │
├─────────┼───────────────────────────────────────────────────────────────┼──────────────────┼─────────┼──────────┼────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼───────────┼─────────────────────────────────────────────────┤
│ 0       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-2-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'WETH'   │ 18089.502235628916 │ 42.29257937367355    │ 273.9026101494509  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x02'  │
│ 1       │ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766-1-hyperliquid-l1' │ 'Hyperliquid L1' │ 'sir'   │ 'WHYPE'  │ 11810.498906176315 │ 2.6442282397349137   │ 561.9726480040854  │ [ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766' ] │ [ '0x5555555555555555555555555555555555555555' ] │ undefined │ 'https://hype.sir.trading/liquidity?vault=0x01' │
│ 2       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-14-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'PNKSTR' │ 11742.043108003858 │ 22.287459045491186   │ 337.1644216929719  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xc50673edb3a7b94e8cad8a7d4e0cd68864e33edf' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x0e'  │
│ 3       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-10-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'HOHM'   │ 11035.417203443663 │ 1.4456874636775696   │ 256.16923868952654 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x1db1591540d7a6062be0837ca3c808add28844f6' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x0a'  │
│ 4       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-1-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'WBTC'   │ 3845.753899107368  │ 0.034157174142546154 │ 209.22312436416468 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x01'  │
│ 5       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-5-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'REKT'   │ 2152.28742511731   │ 19.40781385083199    │ 211.84512803864047 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xdd3b11ef34cd511a2da159034a05fcb94d806686' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x05'  │
│ 6       │ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766-2-hyperliquid-l1' │ 'Hyperliquid L1' │ 'sir'   │ 'SWAP'   │ 1535.2950513164083 │ 0                    │ 691.2767556665614  │ [ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766' ] │ [ '0x03832767bdf9a8ef007449942125ad605acfadb8' ] │ undefined │ 'https://hype.sir.trading/liquidity?vault=0x02' │
│ 7       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-13-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'WLFI'   │ 1274.8431959904672 │ 0                    │ 529.4986470960232  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xda5e1988097297dcdc1f90d4dfe7909e847cbef6' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x0d'  │
│ 8       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-9-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'CVX'    │ 1167.2077362073235 │ 0                    │ 206.80649760508663 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x09'  │
│ 9       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-3-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'USDT'   │ 311.63882636607815 │ 4.612287831850548    │ 274.0790216978365  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │ undefined │ 'https://app.sir.trading/liquidity?vault=0x03'  │
└─────────┴───────────────────────────────────────────────────────────────┴──────────────────┴─────────┴──────────┴────────────────────┴──────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴───────────┴─────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

@Codonyat

  • 30day window is ok
  • pls update the symbol to match the actual vault, eg WETH-USDC
  • add poolMeta with the leverage value

@llamatester
Copy link

The sir adapter exports pools:

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

Nb of pools: 15
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────────────┬──────────────────┬─────────┬───────────────┬────────────────────┬──────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬───────────────────────┬─────────────────────────────────────────────────┐
│ (index) │ pool                                                          │ chain            │ project │ symbol        │ tvlUsd             │ apyBase              │ apyReward          │ rewardTokens                                     │ underlyingTokens                                 │ poolMeta              │ url                                             │
├─────────┼───────────────────────────────────────────────────────────────┼──────────────────┼─────────┼───────────────┼────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼───────────────────────┼─────────────────────────────────────────────────┤
│ 0       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-2-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'WETH-USDC'   │ 18389.92727129794  │ 42.29257937367355    │ 273.9026101494509  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 'Leverage ratio: 2'   │ 'https://app.sir.trading/liquidity?vault=0x02'  │
│ 1       │ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766-1-hyperliquid-l1' │ 'Hyperliquid L1' │ 'sir'   │ 'WHYPE-USD₮0' │ 11995.24907513146  │ 2.6442282397349137   │ 561.9726480040854  │ [ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766' ] │ [ '0x5555555555555555555555555555555555555555' ] │ 'Leverage ratio: 2'   │ 'https://hype.sir.trading/liquidity?vault=0x01' │
│ 2       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-14-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'PNKSTR-WETH' │ 11631.778990819499 │ 22.287459045491186   │ 346.0131979654953  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xc50673edb3a7b94e8cad8a7d4e0cd68864e33edf' ] │ 'Leverage ratio: 2'   │ 'https://app.sir.trading/liquidity?vault=0x0e'  │
│ 3       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-10-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'HOHM-SUSDS'  │ 11141.680065421424 │ 1.4456874636775696   │ 257.9398517142326  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x1db1591540d7a6062be0837ca3c808add28844f6' ] │ 'Leverage ratio: 2'   │ 'https://app.sir.trading/liquidity?vault=0x0a'  │
│ 4       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-1-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'WBTC-USDT'   │ 3888.882745859625  │ 0.034157174142546154 │ 210.33895812445076 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599' ] │ 'Leverage ratio: 2'   │ 'https://app.sir.trading/liquidity?vault=0x01'  │
│ 5       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-5-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'REKT-WETH'   │ 2210.100218509457  │ 19.40781385083199    │ 209.72981631216675 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xdd3b11ef34cd511a2da159034a05fcb94d806686' ] │ 'Leverage ratio: 2'   │ 'https://app.sir.trading/liquidity?vault=0x05'  │
│ 6       │ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766-2-hyperliquid-l1' │ 'Hyperliquid L1' │ 'sir'   │ 'SWAP-WHYPE'  │ 1526.1050009786215 │ 0                    │ 706.3182292043267  │ [ '0xa06d0c5a8adb7134903ca13d1fc0641731e2b766' ] │ [ '0x03832767bdf9a8ef007449942125ad605acfadb8' ] │ 'Leverage ratio: 2'   │ 'https://hype.sir.trading/liquidity?vault=0x02' │
│ 7       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-13-ethereum'      │ 'Ethereum'       │ 'sir'   │ 'WLFI-USDT'   │ 1295.5209304644104 │ 0                    │ 529.7007482261962  │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xda5e1988097297dcdc1f90d4dfe7909e847cbef6' ] │ 'Leverage ratio: 2'   │ 'https://app.sir.trading/liquidity?vault=0x0d'  │
│ 8       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-9-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'CVX-CRV'     │ 1194.5153117259047 │ 0                    │ 205.43479876824162 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b' ] │ 'Leverage ratio: 3'   │ 'https://app.sir.trading/liquidity?vault=0x09'  │
│ 9       │ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2-3-ethereum'       │ 'Ethereum'       │ 'sir'   │ 'USDT-WETH'   │ 311.5817669225951  │ 4.612287831850548    │ 278.68186920530644 │ [ '0x4da4fb565dcd5d5c5db495205c109ba983a8aba2' ] │ [ '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │ 'Leverage ratio: 1.5' │ 'https://app.sir.trading/liquidity?vault=0x03'  │
└─────────┴───────────────────────────────────────────────────────────────┴──────────────────┴─────────┴───────────────┴────────────────────┴──────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴───────────────────────┴─────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@Codonyat
Copy link
Contributor Author

Codonyat commented Dec 8, 2025

Applied all required changes @slasher125

@slasher125 slasher125 merged commit a5483cd into DefiLlama:master Dec 8, 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