Skip to content

feat(metrom-adapter): add support for megaeth and pool meta information#2512

Open
luzzif wants to merge 6 commits into
DefiLlama:masterfrom
metrom-xyz:master
Open

feat(metrom-adapter): add support for megaeth and pool meta information#2512
luzzif wants to merge 6 commits into
DefiLlama:masterfrom
metrom-xyz:master

Conversation

@luzzif
Copy link
Copy Markdown
Contributor

@luzzif luzzif commented Mar 26, 2026

Summary by CodeRabbit

  • New Features
    • Added support for the MegaETH blockchain.
    • Campaigns now include a visible "pool" metadata field for better context.
    • Improved protocol/action labels and wording for Aave, Liquity v2, DEX pools, Turtle, and yield-seeker campaigns.
    • Normalized token symbol display (removes redundant prefixes) and standardized protocol naming for display.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 26, 2026

Warning

Rate limit exceeded

@luzzif has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 46 minutes and 52 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d6d6a4c9-8745-41f0-8349-e64cd5ce32d3

📥 Commits

Reviewing files that changed from the base of the PR and between c078d96 and 563241d.

📒 Files selected for processing (1)
  • src/adaptors/metrom/index.ts
📝 Walkthrough

Walkthrough

Added MegaETH chain mapping, required dex on amm targets, a new poolMeta field on processed campaigns, updated processCampaign to populate poolMeta and normalize symbols, and added a helper to humanize protocol slugs.

Changes

Metrom Adaptor Enhancement

Layer / File(s) Summary
Imports and chain mapping
src/adaptors/metrom/index.ts
Imports now include formatSymbol, and CHAIN_TYPE_AND_NAMES.evm adds 4_326: 'MegaETH'.
Amm target and output type updates
src/adaptors/metrom/index.ts
AmmPoolLiquidityTarget now requires dex: string. ProcessedCampaign gains poolMeta: string.
processCampaign: poolMeta & symbol formatting
src/adaptors/metrom/index.ts
processCampaign populates poolMeta for amm-pool-liquidity, liquity-v2-debt, liquity-v2-stability-pool, aave-v3-*, turtle, and yield-seeker; collateral symbols are formatted via formatSymbol and turtle symbol is normalized.
Helper for protocol naming
src/adaptors/metrom/index.ts
Adds humanizeTargetProtocol(action, protocolSlug) to title-case hyphenated slugs and combine with an action prefix.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • 0xkr3p

Poem

🐰 A new chain hops in (MegaETH so grand!),
Types stretch their paws across the land,
poolMeta pops up, neat and bright,
Helpers tidy names just right,
Tokens trimmed, the output hops with delight.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly references the two main changes: adding MegaETH chain support and introducing pool meta information to the processed campaign output.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@llamatester
Copy link
Copy Markdown

The metrom adapter exports pools:

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

Nb of pools: 3
 

Sample pools:
┌─────────┬─────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────┬─────────┬──────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │ symbol      │ underlyingTokens                                                                                                                               │ poolMeta           │ pool                                                                 │ chain   │ project  │ apyReward          │ tvlUsd             │ rewardTokens                                                             │ url                                                                                                              │
├─────────┼─────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────┼─────────┼──────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 0       │ 'USDT'      │ [ '0x357b0b74bc833e95a115ad22604854d6b0fca151cecd94111770e5d6ffc9dc2b' ]                                                                       │ 'Net lend on Aave' │ '0x26714342f1b136b1e8833536b0203771a10349d2a66dc46b44524cb00ccde265' │ 'Aptos' │ 'metrom' │ 3.664910597408424  │ 12980603.45169996  │ [ '0x000000000000000000000000000000000000000000000000000000000000000a' ] │ 'https://app.metrom.xyz/en/campaigns/aptos/1/0x26714342f1b136b1e8833536b0203771a10349d2a66dc46b44524cb00ccde265' │
│ 1       │ 'USDC'      │ [ '0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b' ]                                                                       │ 'Net lend on Aave' │ '0x6de6c4253a42a445c3fe0bda8547c24778fb18b0cae769edcb8540ed09bde4f0' │ 'Aptos' │ 'metrom' │ 3.4006315451570868 │ 10662358.740264803 │ [ '0x000000000000000000000000000000000000000000000000000000000000000a' ] │ 'https://app.metrom.xyz/en/campaigns/aptos/1/0x6de6c4253a42a445c3fe0bda8547c24778fb18b0cae769edcb8540ed09bde4f0' │
│ 2       │ 'USD1-USDC' │ [ '0x05fabd1b12e39967a3c24e91b7b8f67719a6dacee74f3c8b9fb7d93e855437d2', '0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b' ] │ 'Pool on Hyperion' │ '0xf6118d185719a8bb3510e55c048536b06f932056de6e447405a6971774c2f4fd' │ 'Aptos' │ 'metrom' │ 0.9890930117188692 │ 603275.4423738134  │ [ '0x000000000000000000000000000000000000000000000000000000000000000a' ] │ 'https://app.metrom.xyz/en/campaigns/aptos/1/0xf6118d185719a8bb3510e55c048536b06f932056de6e447405a6971774c2f4fd' │
└─────────┴─────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────┴─────────┴──────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
src/adaptors/metrom/index.ts (1)

218-237: Consider extracting duplicated single-collateral branch mapping.

aave-v3-supply, aave-v3-borrow, and aave-v3-net-supply differ only by action string. A shared helper would reduce drift risk.

Refactor sketch
+function fromSingleCollateralTarget(
+  collateral: Token,
+  action: string,
+  protocol: string
+): ProcessedCampaign {
+  return {
+    symbol: formatSymbol(collateral.symbol),
+    underlyingTokens: [collateral.address],
+    poolMeta: humanizeTargetProtocol(action, protocol),
+  };
+}
...
-    case 'aave-v3-supply': {
-      return {
-        symbol: formatSymbol(campaign.target.collateral.symbol),
-        underlyingTokens: [campaign.target.collateral.address],
-        poolMeta: humanizeTargetProtocol('Lend on', campaign.target.brand),
-      };
-    }
+    case 'aave-v3-supply':
+      return fromSingleCollateralTarget(
+        campaign.target.collateral,
+        'Lend on',
+        campaign.target.brand
+      );
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/adaptors/metrom/index.ts` around lines 218 - 237, The three case branches
('aave-v3-supply', 'aave-v3-borrow', 'aave-v3-net-supply') duplicate the same
mapping except for the action string; extract a helper (e.g.,
buildSingleCollateralMapping or mapAaveV3SingleCollateral) that accepts the
action label ("Lend on"/"Borrow on"/"Net lend on") and returns { symbol:
formatSymbol(campaign.target.collateral.symbol), underlyingTokens:
[campaign.target.collateral.address], poolMeta:
humanizeTargetProtocol(actionLabel, campaign.target.brand) }, then replace each
case to call that helper with the appropriate label to eliminate duplication
while keeping formatSymbol and humanizeTargetProtocol usage intact.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/adaptors/metrom/index.ts`:
- Around line 245-249: humanizeTargetProtocol can throw when protocolSlug is
undefined; update it to safely handle missing/empty values by defaulting
protocolSlug to an empty string (or a sentinel like "Unknown") before splitting
and by guarding word access in the mapper. Concretely, change
humanizeTargetProtocol to use (protocolSlug ?? '') or String(protocolSlug) and
.split('-').filter(Boolean) and map each word with safe access (e.g.,
word.charAt(0)?.toUpperCase() + word.slice(1)) so the function returns a
sensible string (like just the action or "action Unknown") instead of throwing.

---

Nitpick comments:
In `@src/adaptors/metrom/index.ts`:
- Around line 218-237: The three case branches ('aave-v3-supply',
'aave-v3-borrow', 'aave-v3-net-supply') duplicate the same mapping except for
the action string; extract a helper (e.g., buildSingleCollateralMapping or
mapAaveV3SingleCollateral) that accepts the action label ("Lend on"/"Borrow
on"/"Net lend on") and returns { symbol:
formatSymbol(campaign.target.collateral.symbol), underlyingTokens:
[campaign.target.collateral.address], poolMeta:
humanizeTargetProtocol(actionLabel, campaign.target.brand) }, then replace each
case to call that helper with the appropriate label to eliminate duplication
while keeping formatSymbol and humanizeTargetProtocol usage intact.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b6ef77a3-503e-4265-9b39-586f932404fa

📥 Commits

Reviewing files that changed from the base of the PR and between 00a0607 and 6ce5a51.

📒 Files selected for processing (1)
  • src/adaptors/metrom/index.ts

Comment thread src/adaptors/metrom/index.ts Outdated
Comment thread src/adaptors/metrom/index.ts Outdated
symbol: formatSymbol(campaign.target.collateral.symbol),
underlyingTokens: [campaign.target.collateral.address],
poolMeta: humanizeTargetProtocol(
'Deposit to stability pool on',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please reduce the text too long and wont easily be seen

Copy link
Copy Markdown
Contributor

@0xkr3p 0xkr3p Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stability pool - brand

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sheesh, seeing the comments just now sorry. Addressed in 789b242. I also added a couple other minor commits, would be awesome if you could check those out, thanks.

Copy link
Copy Markdown
Contributor

@0xkr3p 0xkr3p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @luzzif, thanks for the PR just a couple of really minor comments!

@github-actions
Copy link
Copy Markdown

The metrom adapter exports pools:

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

Nb of pools: 6
 

Sample pools:
┌─────────┬────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────┬─────────┬────────────────────┬──────────────┬──────────────────────────┬──────────────────────────────────────────────────────┬──────────┬──────────┬───────────────────┬──────────────────┐
│ (index) │ symbol         │ underlyingTokens                                 │ url                                      │ apyBase │ apyReward          │ rewardTokens │ poolMeta                 │ pool                                                 │ chain    │ project  │ tvlUsd            │ apy              │
├─────────┼────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────┼─────────┼────────────────────┼──────────────┼──────────────────────────┼──────────────────────────────────────────────────────┼──────────┼──────────┼───────────────────┼──────────────────┤
│ 0       │ 'WETH'         │ [ '0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.28    │ 2.8047000000000004 │ [ 'KAT' ]    │ 'Deposit to Katana WETH' │ 'turtle-katana-14da66c3-4f06-4b9c-a6a3-b63a07d6e706' │ 'Katana' │ 'metrom' │ 21414961.8402772  │                  │
│ 1       │ 'USDC'         │ [ '0x203a662b0bd271a6ed5a60edfbd04bfce608fd36' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7036  │ 9.6894             │ [ 'KAT' ]    │ 'Deposit to Katana USDC' │ 'turtle-katana-1da6331a-0315-42b3-9cde-99ec55884d30' │ 'Katana' │ 'metrom' │ 15412757.98701391 │                  │
│ 2       │ 'USDT'         │ [ '0x2dca96907fde857dd3d816880a0df407eeb2d2f2' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7496  │ 7.4136999999999995 │ [ 'KAT' ]    │ 'Deposit to Katana USDT' │ 'turtle-katana-828ee8d9-65c0-47ea-a2c3-a7f8c68fe671' │ 'Katana' │ 'metrom' │ 4634999.06785634  │                  │
│ 3       │ 'WBTC'         │ [ '0x0913da6da4b42f538b445599b46bb4622342cf52' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 0.1759  │ 0.8906             │ [ 'KAT' ]    │ 'Deposit to Katana WBTC' │ 'turtle-katana-817a72e5-72f5-4447-ae32-ae0e3261ac86' │ 'Katana' │ 'metrom' │ 2334266.01026166  │                  │
│ 4       │ 'AUSD'         │ [ '0x00000000efe302beaa2b3e6e1b18d08d69a9012a' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 9.4678  │ 4.4486             │ [ 'KAT' ]    │ 'Deposit to Katana AUSD' │ 'turtle-katana-b91fab34-3998-468b-adcf-645d9b68bc9c' │ 'Katana' │ 'metrom' │ 1822509.01820456  │                  │
│ 5       │ 'yield-seeker' │ []                                               │ 'https://app.metrom.xyz/en?type=rewards' │         │                    │              │ 'Deposit'                │ 'yield-seeker'                                       │ 'Base'   │ 'metrom' │ 1266997           │ 16.1974207149697 │
└─────────┴────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────┴─────────┴────────────────────┴──────────────┴──────────────────────────┴──────────────────────────────────────────────────────┴──────────┴──────────┴───────────────────┴──────────────────┘

@github-actions
Copy link
Copy Markdown

The metrom adapter exports pools:

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

Nb of pools: 8
 

Sample pools:
┌─────────┬────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────┬─────────┬────────────────────┬──────────────────────────────────────────────────┬───────────────────────────┬──────────────────────────────────────────────────────────────────────┬────────────┬──────────┬────────────────────┬──────────────────┐
│ (index) │ symbol         │ underlyingTokens                                 │ url                                      │ apyBase │ apyReward          │ rewardTokens                                     │ poolMeta                  │ pool                                                                 │ chain      │ project  │ tvlUsd             │ apy              │
├─────────┼────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────┼─────────┼────────────────────┼──────────────────────────────────────────────────┼───────────────────────────┼──────────────────────────────────────────────────────────────────────┼────────────┼──────────┼────────────────────┼──────────────────┤
│ 0       │ 'WETH'         │ [ '0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.28    │ 2.8047000000000004 │ [ 'KAT' ]                                        │ 'Deposit to Katana WETH'  │ 'turtle-katana-14da66c3-4f06-4b9c-a6a3-b63a07d6e706'                 │ 'Katana'   │ 'metrom' │ 21414961.8402772   │                  │
│ 1       │ 'USDC'         │ [ '0x203a662b0bd271a6ed5a60edfbd04bfce608fd36' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7036  │ 9.6894             │ [ 'KAT' ]                                        │ 'Deposit to Katana USDC'  │ 'turtle-katana-1da6331a-0315-42b3-9cde-99ec55884d30'                 │ 'Katana'   │ 'metrom' │ 15412757.98701391  │                  │
│ 2       │ 'USDT'         │ [ '0x2dca96907fde857dd3d816880a0df407eeb2d2f2' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7496  │ 7.4136999999999995 │ [ 'KAT' ]                                        │ 'Deposit to Katana USDT'  │ 'turtle-katana-828ee8d9-65c0-47ea-a2c3-a7f8c68fe671'                 │ 'Katana'   │ 'metrom' │ 4634999.06785634   │                  │
│ 3       │ 'WBTC'         │ [ '0x0913da6da4b42f538b445599b46bb4622342cf52' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 0.1759  │ 0.8906             │ [ 'KAT' ]                                        │ 'Deposit to Katana WBTC'  │ 'turtle-katana-817a72e5-72f5-4447-ae32-ae0e3261ac86'                 │ 'Katana'   │ 'metrom' │ 2334266.01026166   │                  │
│ 4       │ 'AUSD'         │ [ '0x00000000efe302beaa2b3e6e1b18d08d69a9012a' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 9.4678  │ 4.4486             │ [ 'KAT' ]                                        │ 'Deposit to Katana AUSD'  │ 'turtle-katana-b91fab34-3998-468b-adcf-645d9b68bc9c'                 │ 'Katana'   │ 'metrom' │ 1822509.01820456   │                  │
│ 5       │ 'weETH'        │ [ '0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 3.99               │ [ 'V', 'weETH Native Yield' ]                    │ 'Deposit to Katana weETH' │ 'turtle-katana-0f4b3c26-0b58-4250-bded-6a34794344e4'                 │ 'Ethereum' │ 'metrom' │ 1598278.73966845   │                  │
│ 6       │ 'yield-seeker' │ []                                               │ 'https://app.metrom.xyz/en?type=rewards' │         │                    │                                                  │ 'Deposit'                 │ 'yield-seeker'                                                       │ 'Base'     │ 'metrom' │ 1267017            │ 16.1974207149697 │
│ 7       │ 'ARUSD'        │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 11.490398967282488 │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'Deposit to Arche USD'    │ '0x2beed6dd4d6dea60a1f475f686649394c41115732990783a97629f85ee8cda7d' │ 'Ethereum' │ 'metrom' │ 504115.39703655214 │                  │
└─────────┴────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────┴─────────┴────────────────────┴──────────────────────────────────────────────────┴───────────────────────────┴──────────────────────────────────────────────────────────────────────┴────────────┴──────────┴────────────────────┴──────────────────┘

@github-actions
Copy link
Copy Markdown

The metrom adapter exports pools:

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

Nb of pools: 8
 

Sample pools:
┌─────────┬────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────┬─────────┬────────────────────┬──────────────────────────────────────────────────┬───────────────────────────┬──────────────────────────────────────────────────────────────────────┬────────────┬──────────┬────────────────────┬──────────────────┐
│ (index) │ symbol         │ underlyingTokens                                 │ url                                      │ apyBase │ apyReward          │ rewardTokens                                     │ poolMeta                  │ pool                                                                 │ chain      │ project  │ tvlUsd             │ apy              │
├─────────┼────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────┼─────────┼────────────────────┼──────────────────────────────────────────────────┼───────────────────────────┼──────────────────────────────────────────────────────────────────────┼────────────┼──────────┼────────────────────┼──────────────────┤
│ 0       │ 'WETH'         │ [ '0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.28    │ 2.8047000000000004 │ [ 'KAT' ]                                        │ 'Deposit to Katana WETH'  │ 'turtle-katana-14da66c3-4f06-4b9c-a6a3-b63a07d6e706'                 │ 'Katana'   │ 'metrom' │ 21414961.8402772   │                  │
│ 1       │ 'USDC'         │ [ '0x203a662b0bd271a6ed5a60edfbd04bfce608fd36' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7036  │ 9.6894             │ [ 'KAT' ]                                        │ 'Deposit to Katana USDC'  │ 'turtle-katana-1da6331a-0315-42b3-9cde-99ec55884d30'                 │ 'Katana'   │ 'metrom' │ 15412757.98701391  │                  │
│ 2       │ 'USDT'         │ [ '0x2dca96907fde857dd3d816880a0df407eeb2d2f2' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7496  │ 7.4136999999999995 │ [ 'KAT' ]                                        │ 'Deposit to Katana USDT'  │ 'turtle-katana-828ee8d9-65c0-47ea-a2c3-a7f8c68fe671'                 │ 'Katana'   │ 'metrom' │ 4634999.06785634   │                  │
│ 3       │ 'WBTC'         │ [ '0x0913da6da4b42f538b445599b46bb4622342cf52' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 0.1759  │ 0.8906             │ [ 'KAT' ]                                        │ 'Deposit to Katana WBTC'  │ 'turtle-katana-817a72e5-72f5-4447-ae32-ae0e3261ac86'                 │ 'Katana'   │ 'metrom' │ 2334266.01026166   │                  │
│ 4       │ 'AUSD'         │ [ '0x00000000efe302beaa2b3e6e1b18d08d69a9012a' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 9.4678  │ 4.4486             │ [ 'KAT' ]                                        │ 'Deposit to Katana AUSD'  │ 'turtle-katana-b91fab34-3998-468b-adcf-645d9b68bc9c'                 │ 'Katana'   │ 'metrom' │ 1822509.01820456   │                  │
│ 5       │ 'weETH'        │ [ '0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 3.99               │ [ 'V', 'weETH Native Yield' ]                    │ 'Deposit to Katana weETH' │ 'turtle-katana-0f4b3c26-0b58-4250-bded-6a34794344e4'                 │ 'Ethereum' │ 'metrom' │ 1598278.73966845   │                  │
│ 6       │ 'yield-seeker' │ []                                               │ 'https://app.metrom.xyz/en?type=rewards' │         │                    │                                                  │ 'Deposit'                 │ 'yield-seeker'                                                       │ 'Base'     │ 'metrom' │ 1267018            │ 16.1974207149697 │
│ 7       │ 'ARUSD'        │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 11.490398967282488 │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'Deposit to Arche USD'    │ '0x2beed6dd4d6dea60a1f475f686649394c41115732990783a97629f85ee8cda7d' │ 'Ethereum' │ 'metrom' │ 504115.39703655214 │                  │
└─────────┴────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────┴─────────┴────────────────────┴──────────────────────────────────────────────────┴───────────────────────────┴──────────────────────────────────────────────────────────────────────┴────────────┴──────────┴────────────────────┴──────────────────┘

@github-actions
Copy link
Copy Markdown

The metrom adapter exports pools:

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

Nb of pools: 8
 

Sample pools:
┌─────────┬────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────┬─────────┬────────────────────┬──────────────────────────────────────────────────┬───────────────────────────┬──────────────────────────────────────────────────────────────────────┬────────────┬──────────┬────────────────────┬──────────────────┐
│ (index) │ symbol         │ underlyingTokens                                 │ url                                      │ apyBase │ apyReward          │ rewardTokens                                     │ poolMeta                  │ pool                                                                 │ chain      │ project  │ tvlUsd             │ apy              │
├─────────┼────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────┼─────────┼────────────────────┼──────────────────────────────────────────────────┼───────────────────────────┼──────────────────────────────────────────────────────────────────────┼────────────┼──────────┼────────────────────┼──────────────────┤
│ 0       │ 'WETH'         │ [ '0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.28    │ 2.8047000000000004 │ [ 'KAT' ]                                        │ 'Deposit to Katana WETH'  │ 'turtle-katana-14da66c3-4f06-4b9c-a6a3-b63a07d6e706'                 │ 'Katana'   │ 'metrom' │ 21414961.8402772   │                  │
│ 1       │ 'USDC'         │ [ '0x203a662b0bd271a6ed5a60edfbd04bfce608fd36' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7036  │ 9.6894             │ [ 'KAT' ]                                        │ 'Deposit to Katana USDC'  │ 'turtle-katana-1da6331a-0315-42b3-9cde-99ec55884d30'                 │ 'Katana'   │ 'metrom' │ 15412757.98701391  │                  │
│ 2       │ 'USDT'         │ [ '0x2dca96907fde857dd3d816880a0df407eeb2d2f2' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7496  │ 7.4136999999999995 │ [ 'KAT' ]                                        │ 'Deposit to Katana USDT'  │ 'turtle-katana-828ee8d9-65c0-47ea-a2c3-a7f8c68fe671'                 │ 'Katana'   │ 'metrom' │ 4634999.06785634   │                  │
│ 3       │ 'WBTC'         │ [ '0x0913da6da4b42f538b445599b46bb4622342cf52' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 0.1759  │ 0.8906             │ [ 'KAT' ]                                        │ 'Deposit to Katana WBTC'  │ 'turtle-katana-817a72e5-72f5-4447-ae32-ae0e3261ac86'                 │ 'Katana'   │ 'metrom' │ 2334266.01026166   │                  │
│ 4       │ 'AUSD'         │ [ '0x00000000efe302beaa2b3e6e1b18d08d69a9012a' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 9.4678  │ 4.4486             │ [ 'KAT' ]                                        │ 'Deposit to Katana AUSD'  │ 'turtle-katana-b91fab34-3998-468b-adcf-645d9b68bc9c'                 │ 'Katana'   │ 'metrom' │ 1822509.01820456   │                  │
│ 5       │ 'weETH'        │ [ '0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 3.99               │ [ 'V', 'weETH Native Yield' ]                    │ 'Deposit to Katana weETH' │ 'turtle-katana-0f4b3c26-0b58-4250-bded-6a34794344e4'                 │ 'Ethereum' │ 'metrom' │ 1598278.73966845   │                  │
│ 6       │ 'yield-seeker' │ []                                               │ 'https://app.metrom.xyz/en?type=rewards' │         │                    │                                                  │ 'Deposit'                 │ 'yield-seeker'                                                       │ 'Base'     │ 'metrom' │ 1267031            │ 16.1974207149697 │
│ 7       │ 'ARUSD'        │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 11.490203417937906 │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'Deposit to Arche USD'    │ '0x2beed6dd4d6dea60a1f475f686649394c41115732990783a97629f85ee8cda7d' │ 'Ethereum' │ 'metrom' │ 504115.39703655214 │                  │
└─────────┴────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────┴─────────┴────────────────────┴──────────────────────────────────────────────────┴───────────────────────────┴──────────────────────────────────────────────────────────────────────┴────────────┴──────────┴────────────────────┴──────────────────┘

@github-actions
Copy link
Copy Markdown

The metrom adapter exports pools:

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

Nb of pools: 8
 

Sample pools:
┌─────────┬────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────┬─────────┬────────────────────┬──────────────────────────────────────────────────┬───────────────────────────┬──────────────────────────────────────────────────────────────────────┬────────────┬──────────┬────────────────────┬──────────────────┐
│ (index) │ symbol         │ underlyingTokens                                 │ url                                      │ apyBase │ apyReward          │ rewardTokens                                     │ poolMeta                  │ pool                                                                 │ chain      │ project  │ tvlUsd             │ apy              │
├─────────┼────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────┼─────────┼────────────────────┼──────────────────────────────────────────────────┼───────────────────────────┼──────────────────────────────────────────────────────────────────────┼────────────┼──────────┼────────────────────┼──────────────────┤
│ 0       │ 'WETH'         │ [ '0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.28    │ 2.8047000000000004 │ [ 'KAT' ]                                        │ 'Deposit to Katana WETH'  │ 'turtle-katana-14da66c3-4f06-4b9c-a6a3-b63a07d6e706'                 │ 'Katana'   │ 'metrom' │ 21414961.8402772   │                  │
│ 1       │ 'USDC'         │ [ '0x203a662b0bd271a6ed5a60edfbd04bfce608fd36' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7036  │ 9.6894             │ [ 'KAT' ]                                        │ 'Deposit to Katana USDC'  │ 'turtle-katana-1da6331a-0315-42b3-9cde-99ec55884d30'                 │ 'Katana'   │ 'metrom' │ 15412757.98701391  │                  │
│ 2       │ 'USDT'         │ [ '0x2dca96907fde857dd3d816880a0df407eeb2d2f2' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 2.7496  │ 7.4136999999999995 │ [ 'KAT' ]                                        │ 'Deposit to Katana USDT'  │ 'turtle-katana-828ee8d9-65c0-47ea-a2c3-a7f8c68fe671'                 │ 'Katana'   │ 'metrom' │ 4634999.06785634   │                  │
│ 3       │ 'WBTC'         │ [ '0x0913da6da4b42f538b445599b46bb4622342cf52' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 0.1759  │ 0.8906             │ [ 'KAT' ]                                        │ 'Deposit to Katana WBTC'  │ 'turtle-katana-817a72e5-72f5-4447-ae32-ae0e3261ac86'                 │ 'Katana'   │ 'metrom' │ 2334266.01026166   │                  │
│ 4       │ 'AUSD'         │ [ '0x00000000efe302beaa2b3e6e1b18d08d69a9012a' ] │ 'https://app.metrom.xyz/en?type=rewards' │ 9.4678  │ 4.4486             │ [ 'KAT' ]                                        │ 'Deposit to Katana AUSD'  │ 'turtle-katana-b91fab34-3998-468b-adcf-645d9b68bc9c'                 │ 'Katana'   │ 'metrom' │ 1822509.01820456   │                  │
│ 5       │ 'weETH'        │ [ '0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 3.99               │ [ 'V', 'weETH Native Yield' ]                    │ 'Deposit to Katana weETH' │ 'turtle-katana-0f4b3c26-0b58-4250-bded-6a34794344e4'                 │ 'Ethereum' │ 'metrom' │ 1598278.73966845   │                  │
│ 6       │ 'yield-seeker' │ []                                               │ 'https://app.metrom.xyz/en?type=rewards' │         │                    │                                                  │ 'Deposit'                 │ 'yield-seeker'                                                       │ 'Base'     │ 'metrom' │ 1267046            │ 16.1974207149697 │
│ 7       │ 'ARUSD'        │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'https://app.metrom.xyz/en?type=rewards' │         │ 11.496495505672378 │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │ 'Deposit to Arche USD'    │ '0x2beed6dd4d6dea60a1f475f686649394c41115732990783a97629f85ee8cda7d' │ 'Ethereum' │ 'metrom' │ 504115.39703655214 │                  │
└─────────┴────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────┴─────────┴────────────────────┴──────────────────────────────────────────────────┴───────────────────────────┴──────────────────────────────────────────────────────────────────────┴────────────┴──────────┴────────────────────┴──────────────────┘

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