Skip to content

feat: init rumpel yield adaptor #1856

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

jparklev
Copy link
Contributor

@jparklev jparklev commented May 6, 2025

Initialize the rumpel yields adapter. Rumpel is a point tokenization protocol. Here is our standard DefiLlama adapter https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/projects/rumpel/index.js

@llamatester
Copy link

Error while running rumpel adapter:

Test Suites: 1 failed, 1 total
Tests: 1 failed, 85 passed, 86 total
Snapshots: 0 total
Time: 0.294 s
Ran all test suites.

Nb of pools: 10
 

Sample pools:
┌─────────┬───────────────────────────────────────┬────────────┬──────────┬────────┬────────────────────┬─────────────────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────┬────────────────────────────────────┬────────────────────┬───────────────────┬─────────────────┬────────────────┬────────────────┐
│ (index) │ pool                                  │ chain      │ project  │ symbol │ tvlUsd             │ apyBase             │ apyReward │ rewardTokens │ underlyingTokens                                                                                                                             │ poolMeta                                 │ url                                │ ltv                │ apyBaseBorrow     │ apyRewardBorrow │ totalSupplyUsd │ totalBorrowUsd │
├─────────┼───────────────────────────────────────┼────────────┼──────────┼────────┼────────────────────┼─────────────────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼────────────────────────────────────┼────────────────────┼───────────────────┼─────────────────┼────────────────┼────────────────┤
│ 0       │ 'Fluid: weETH/wstETH Looping'         │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 5274215.209310557  │ 11.565805931737106  │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ]                                               │ 'Fluid: weETH/wstETH Looping (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9375             │ 0.42              │ 0               │ 0              │ 0              │
│ 1       │ 'Fluid: weETHs/wstETH Looping'        │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 4950114.614836007  │ 21.009629617888184  │ 0         │ []           │ [ '0x917cee801a67f933f2e6b33fc0cd1ed2d5909d88', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ]                                               │ 'Fluid: weETHs/wstETH Looping (Lending)' │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9099099099099099 │ 0.42              │ 0               │ 0              │ 0              │
│ 2       │ 'Symbiotic: Gauntlet Restaked wstETH' │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 367073.79700625106 │ 2.718               │ 0         │ []           │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', '0xc10A7f0AC6E3944F4860eE97a937C51572e3a1Da' ] │ 'Symbiotic: Gauntlet Restaked wstETH'    │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 3       │ 'Kelp: agETH'                         │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 325238.871501119   │ 0                   │ 0         │ []           │ [ '0xe1B4d34E8754600962Cd944B535180Bd758E6c2e' ]                                                                                             │ 'Kelp: agETH'                            │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 4       │ 'Ethena: Lock USDe'                   │ 'Ethereum' │ 'rumpel' │ 'USDe' │ 250166.279387238   │ 1.6034499461837637  │ 0         │ []           │ [ '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3' ]                                                                                             │ 'Ethena: Lock USDe'                      │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 5       │ 'Karak: Restake weETH'                │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 225880.93956048653 │ 8.390993095142548   │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', '0x2DABcea55a12d73191AeCe59F508b191Fb68AdaC' ]                                               │ 'Karak: Restake weETH'                   │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 6       │ 'Zircuit: Stake weETH'                │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 222066.55557755858 │ 3.4194852471557127  │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee' ]                                                                                             │ 'Zircuit: Stake weETH'                   │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 7       │ 'Mellow: Ethena LRT Vault stETH'      │ 'Ethereum' │ 'rumpel' │ 'ETH'  │ 136038.56437155427 │ 4.874552140014141   │ 0         │ []           │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' ]                                                                                             │ 'Mellow: Ethena LRT Vault stETH'         │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 8       │ 'Contango: Morpho srUSD/USDC'         │ 'Ethereum' │ 'rumpel' │ 'USD'  │ 115323.41649721994 │ 17.873909493310446  │ 0         │ []           │ [ '0x738d1115B90efa71AE468F1287fc864775e23a31', '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ]                                               │ 'Contango: Morpho srUSD/USDC (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9149659863945578 │ 0                 │ 0               │ 0              │ 0              │
│ 9       │ 'Contango: AaveV3 sUSDe/USDC'         │ 'Ethereum' │ 'rumpel' │ 'USDe' │ 18539.993377304196 │ -2.8795321230948363 │ 0         │ []           │ [ '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ]                                               │ 'Contango: AaveV3 sUSDe/USDC (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.8977505112474438 │ 4.981665972837601 │ 0               │ 0              │ 0              │
└─────────┴───────────────────────────────────────┴────────────┴──────────┴────────┴────────────────────┴─────────────────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────┴────────────────────────────────────┴────────────────────┴───────────────────┴─────────────────┴────────────────┴────────────────┘
}

@llamatester
Copy link

The rumpel-labs adapter exports pools:

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

Nb of pools: 10
 

Sample pools:
┌─────────┬───────────────────────────────────────┬────────────┬───────────────┬────────┬────────────────────┬─────────────────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────┬────────────────────────────────────┬────────────────────┬───────────────────┬─────────────────┬────────────────┬────────────────┐
│ (index) │ pool                                  │ chain      │ project       │ symbol │ tvlUsd             │ apyBase             │ apyReward │ rewardTokens │ underlyingTokens                                                                                                                             │ poolMeta                                 │ url                                │ ltv                │ apyBaseBorrow     │ apyRewardBorrow │ totalSupplyUsd │ totalBorrowUsd │
├─────────┼───────────────────────────────────────┼────────────┼───────────────┼────────┼────────────────────┼─────────────────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼────────────────────────────────────┼────────────────────┼───────────────────┼─────────────────┼────────────────┼────────────────┤
│ 0       │ 'Fluid: weETH/wstETH Looping'         │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 5274215.209310557  │ 11.566511785899628  │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ]                                               │ 'Fluid: weETH/wstETH Looping (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9375             │ 0.42              │ 0               │ 0              │ 0              │
│ 1       │ 'Fluid: weETHs/wstETH Looping'        │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 4950114.614836007  │ 21.009211046792633  │ 0         │ []           │ [ '0x917cee801a67f933f2e6b33fc0cd1ed2d5909d88', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ]                                               │ 'Fluid: weETHs/wstETH Looping (Lending)' │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9099099099099099 │ 0.42              │ 0               │ 0              │ 0              │
│ 2       │ 'Symbiotic: Gauntlet Restaked wstETH' │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 367073.79700625106 │ 2.718               │ 0         │ []           │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', '0xc10A7f0AC6E3944F4860eE97a937C51572e3a1Da' ] │ 'Symbiotic: Gauntlet Restaked wstETH'    │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 3       │ 'Kelp: agETH'                         │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 325238.871501119   │ 0                   │ 0         │ []           │ [ '0xe1B4d34E8754600962Cd944B535180Bd758E6c2e' ]                                                                                             │ 'Kelp: agETH'                            │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 4       │ 'Ethena: Lock USDe'                   │ 'Ethereum' │ 'rumpel-labs' │ 'USDe' │ 250166.279387238   │ 1.6040271822742256  │ 0         │ []           │ [ '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3' ]                                                                                             │ 'Ethena: Lock USDe'                      │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 5       │ 'Karak: Restake weETH'                │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 225880.93956048653 │ 8.390661339394988   │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', '0x2DABcea55a12d73191AeCe59F508b191Fb68AdaC' ]                                               │ 'Karak: Restake weETH'                   │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 6       │ 'Zircuit: Stake weETH'                │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 222066.55557755858 │ 3.4195146577458178  │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee' ]                                                                                             │ 'Zircuit: Stake weETH'                   │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 7       │ 'Mellow: Ethena LRT Vault stETH'      │ 'Ethereum' │ 'rumpel-labs' │ 'ETH'  │ 136038.56437155427 │ 4.874740877237413   │ 0         │ []           │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' ]                                                                                             │ 'Mellow: Ethena LRT Vault stETH'         │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 8       │ 'Contango: Morpho srUSD/USDC'         │ 'Ethereum' │ 'rumpel-labs' │ 'USD'  │ 115323.41649721994 │ 17.873909493310446  │ 0         │ []           │ [ '0x738d1115B90efa71AE468F1287fc864775e23a31', '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ]                                               │ 'Contango: Morpho srUSD/USDC (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9149659863945578 │ 0                 │ 0               │ 0              │ 0              │
│ 9       │ 'Contango: AaveV3 sUSDe/USDC'         │ 'Ethereum' │ 'rumpel-labs' │ 'USDe' │ 18539.993377304196 │ -2.8783208667830142 │ 0         │ []           │ [ '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ]                                               │ 'Contango: AaveV3 sUSDe/USDC (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.8977505112474438 │ 4.981688761667824 │ 0               │ 0              │ 0              │
└─────────┴───────────────────────────────────────┴────────────┴───────────────┴────────┴────────────────────┴─────────────────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────┴────────────────────────────────────┴────────────────────┴───────────────────┴─────────────────┴────────────────┴────────────────┘

@llamatester
Copy link

The rumpel-labs adapter exports pools:

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

Nb of pools: 10
 

Sample pools:
┌─────────┬───────────────────────────────────────┬────────────┬───────────────┬────────────────────────────────────┬────────────────────┬─────────────────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────┬────────────────────────────────────┬────────────────────┬───────────────────┬─────────────────┬────────────────┬────────────────┐
│ (index) │ pool                                  │ chain      │ project       │ symbol                             │ tvlUsd             │ apyBase             │ apyReward │ rewardTokens │ underlyingTokens                                                                                                                             │ poolMeta                                 │ url                                │ ltv                │ apyBaseBorrow     │ apyRewardBorrow │ totalSupplyUsd │ totalBorrowUsd │
├─────────┼───────────────────────────────────────┼────────────┼───────────────┼────────────────────────────────────┼────────────────────┼─────────────────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼────────────────────────────────────┼────────────────────┼───────────────────┼─────────────────┼────────────────┼────────────────┤
│ 0       │ 'Fluid: weETH/wstETH Looping'         │ 'Ethereum' │ 'rumpel-labs' │ 'FLUID-WEETH-WSTETHLOOPING'        │ 5274215.209310557  │ -3.0114584039397965 │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ]                                               │ 'Fluid: weETH/wstETH Looping (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9375             │ 0.42              │ 0               │ 0              │ 0              │
│ 1       │ 'Fluid: weETHs/wstETH Looping'        │ 'Ethereum' │ 'rumpel-labs' │ 'FLUID-WEETHS-WSTETHLOOPING'       │ 4950114.614836007  │ 21.635560702278653  │ 0         │ []           │ [ '0x917cee801a67f933f2e6b33fc0cd1ed2d5909d88', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' ]                                               │ 'Fluid: weETHs/wstETH Looping (Lending)' │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9099099099099099 │ 0.42              │ 0               │ 0              │ 0              │
│ 2       │ 'Symbiotic: Gauntlet Restaked wstETH' │ 'Ethereum' │ 'rumpel-labs' │ 'SYMBIOTIC-GAUNTLETRESTAKEDWSTETH' │ 367073.79700625106 │ 2.718               │ 0         │ []           │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84', '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', '0xc10A7f0AC6E3944F4860eE97a937C51572e3a1Da' ] │ 'Symbiotic: Gauntlet Restaked wstETH'    │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 3       │ 'Kelp: agETH'                         │ 'Ethereum' │ 'rumpel-labs' │ 'KELP-AGETH'                       │ 325238.871501119   │ 0                   │ 0         │ []           │ [ '0xe1B4d34E8754600962Cd944B535180Bd758E6c2e' ]                                                                                             │ 'Kelp: agETH'                            │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 4       │ 'Ethena: Lock USDe'                   │ 'Ethereum' │ 'rumpel-labs' │ 'ETHENA-LOCKUSDE'                  │ 250166.279387238   │ 1.6377896034020623  │ 0         │ []           │ [ '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3' ]                                                                                             │ 'Ethena: Lock USDe'                      │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 5       │ 'Karak: Restake weETH'                │ 'Ethereum' │ 'rumpel-labs' │ 'KARAK-RESTAKEWEETH'               │ 225880.93956048653 │ 3.2065151832654886  │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', '0x2DABcea55a12d73191AeCe59F508b191Fb68AdaC' ]                                               │ 'Karak: Restake weETH'                   │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 6       │ 'Zircuit: Stake weETH'                │ 'Ethereum' │ 'rumpel-labs' │ 'ZIRCUIT-STAKEWEETH'               │ 222066.55557755858 │ 2.506409233169175   │ 0         │ []           │ [ '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee' ]                                                                                             │ 'Zircuit: Stake weETH'                   │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 7       │ 'Mellow: Ethena LRT Vault stETH'      │ 'Ethereum' │ 'rumpel-labs' │ 'MELLOW-ETHENALRTVAULTSTETH'       │ 136038.56437155427 │ 4.918795913925767   │ 0         │ []           │ [ '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' ]                                                                                             │ 'Mellow: Ethena LRT Vault stETH'         │ 'https://app.rumpel.xyz/?tab=earn' │                    │                   │                 │                │                │
│ 8       │ 'Contango: Morpho srUSD/USDC'         │ 'Ethereum' │ 'rumpel-labs' │ 'CONTANGO-MORPHOSRUSD-USDC'        │ 115323.41649721994 │ 18.21004199417269   │ 0         │ []           │ [ '0x738d1115B90efa71AE468F1287fc864775e23a31', '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ]                                               │ 'Contango: Morpho srUSD/USDC (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.9149659863945578 │ 0                 │ 0               │ 0              │ 0              │
│ 9       │ 'Contango: AaveV3 sUSDe/USDC'         │ 'Ethereum' │ 'rumpel-labs' │ 'CONTANGO-AAVEV3SUSDE-USDC'        │ 18539.993377304196 │ -2.9591919104782747 │ 0         │ []           │ [ '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ]                                               │ 'Contango: AaveV3 sUSDe/USDC (Lending)'  │ 'https://app.rumpel.xyz/?tab=earn' │ 0.8977505112474438 │ 5.000301536537166 │ 0               │ 0              │ 0              │
└─────────┴───────────────────────────────────────┴────────────┴───────────────┴────────────────────────────────────┴────────────────────┴─────────────────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────┴────────────────────────────────────┴────────────────────┴───────────────────┴─────────────────┴────────────────┴────────────────┘

@jparklev
Copy link
Contributor Author

gentle bump @slasher125 ~

@slasher125
Copy link
Collaborator

slasher125 commented May 14, 2025

@jparklev sry for the longer wait

  • pool -> change to addresses instead
  • symbol -> change to a deposit token only eg WEETH-WSTETH
  • poolMeta -> holds any additional data which we display as tags on the ui, eg Fluid Looping

can u clarify:

  • what is the lower bound value here and how to earn the upper range? does any depositor get the upper range? if not, what are the requirements?
lb - generally, do rumpel strategies require any user settings, or is just "deposit and done"?

@slasher125
Copy link
Collaborator

gm @jparklev

any update on this?

@jparklev
Copy link
Contributor Author

gm @jparklev

any update on this?

Yes, sorry the delay. I will circle back on this within the week. Thanks for your patience 🙇

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