Skip to content

feat: Add new apps - DeFis#225

Merged
Y3drk merged 9 commits into
mainfrom
y3drk/feat/add-new-apps-defis
Jun 9, 2026
Merged

feat: Add new apps - DeFis#225
Y3drk merged 9 commits into
mainfrom
y3drk/feat/add-new-apps-defis

Conversation

@Y3drk

@Y3drk Y3drk commented Jun 9, 2026

Copy link
Copy Markdown
Member

Lite PR → Add new apps - DeFis

Summary

  • Added the first 4 apps of the newly added DeFi type from the spec (from both tranches) provided by @caldonia-eth:
    • Uniswap
    • Aave
    • 1inch"
    • Lido

Why

  • Decisive adding of the new apps to ENSAwards requested today during the sync call by @lightwalker-eth and previously discussed as an urgent todo

Testing

  • Ran typecheck, lint, and test commands locally to ensure that the migration didn't break anything, and later confirmed that in our CI workflow
  • Verified that the UI didn't break after introducing changes using a local and Vercel previews.

Notes for reviewer

  • Couldn't find a reasonable way to test Curve DeFi against our benchmark.
  • The test for Lido is a bit far-fetching (no better way to test). I don't feel super confident about how convincing it is. Please let me know if I should delete that DeFi for now
  • In the next PR I'll add the new AppTypeExchange (remaining apps from tranche 2 of the provided spec). This will probably take me a bit more time and will translate into tomorrow.
  • Still waiting on the custom OG images from @sskvts, but it's not a blocker
  • With that PR merged, all apps included in PR chore: Add new apps -- Tranche 1, May 2026 #211 will be added to ENSAwards and said PR will be closed

Pre-Review Checklist (Blocking)

  • This PR does not introduce significant changes and is low-risk to review quickly.

@Y3drk Y3drk self-assigned this Jun 9, 2026
@Y3drk Y3drk requested a review from a team as a code owner June 9, 2026 14:24
Copilot AI review requested due to automatic review settings June 9, 2026 14:24
@Y3drk Y3drk added the ensawards ENSAwards related label Jun 9, 2026
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ensawards.org Ready Ready Preview, Comment Jun 9, 2026 3:36pm

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR extends the ENS Awards platform to support DeFi as a first-class application type. It introduces a new AppTypes.DeFi enum, updates the protocol type discriminator, adds four DeFi apps with benchmarks, registers two projects, expands best practices applicability, and standardizes UI text formatting.

Changes

DeFi Apps and Platform Updates

Layer / File(s) Summary
Type system and utility functions for DeFi support
ensawards.org/data/apps/types.ts, ensawards.org/data/protocols/types.ts, ensawards.org/data/apps/utils.ts, ensawards.org/data/protocols/utils.ts, ensawards.org/data/ens-best-practices/utils.ts, ensawards.org/data/apps/utils.test.ts
Adds AppTypes.DeFi enum value and parsing via asAppType("defi-app"). Updates ProtocolTypes.DeFi from "defi" to "defi-protocol". Extends formatAppType and formatProtocolType with DeFi-specific formatting (including pluralization and capitalization rules). Updates tests to validate DeFi type handling.
New project definitions: 1inch and Lido
ensawards.org/data/projects/types.ts, ensawards.org/data/projects/1inch/index.ts, ensawards.org/data/projects/1inch/icon.tsx, ensawards.org/data/projects/lido/index.ts, ensawards.org/data/projects/lido/icon.tsx
Registers 1inch and Lido projects with metadata and icon components. Updates ProjectIds to include both new projects.
Expand best practices to include DeFi apps
ensawards.org/data/ens-best-practices/contract-naming/display-named-smart-contracts-l2-chains/index.ts, ensawards.org/data/ens-best-practices/contract-naming/display-named-smart-contracts-mainnet/index.ts, ensawards.org/data/ens-best-practices/ensv2-readiness/ensv2-ready-resolution/index.ts
Adds AppTypes.DeFi to the appliesTo list for three best practices: L2 contract naming, mainnet contract naming, and ENSv2 ready resolution.
1inch DeFi app
ensawards.org/data/apps/1inch-defi/icon.tsx, ensawards.org/data/apps/1inch-defi/index.ts, ensawards.org/data/apps/1inch-defi/benchmarks/index.tsx
Defines 1inch DeFi app with metadata and icon. Registers ENSv2 resolution benchmark marked as failing, with contributor attribution and proof images.
Aave DeFi app
ensawards.org/data/apps/aave-defi/icon.tsx, ensawards.org/data/apps/aave-defi/index.ts, ensawards.org/data/apps/aave-defi/benchmarks/index.tsx
Defines Aave DeFi app with metadata and icon. Registers ENSv2 resolution benchmark marked as partial pass, comparing Aave v3 and v4 with proof images.
Lido DeFi app
ensawards.org/data/apps/lido-defi/icon.tsx, ensawards.org/data/apps/lido-defi/index.ts, ensawards.org/data/apps/lido-defi/benchmarks/index.tsx
Defines Lido DeFi app with icon using instance-scoped SVG gradients via React.useId(). Registers ENSv2 resolution benchmark marked as partial pass with proof.
Uniswap DeFi app
ensawards.org/data/apps/uniswap-defi/icon.tsx, ensawards.org/data/apps/uniswap-defi/index.ts, ensawards.org/data/apps/uniswap-defi/benchmarks/index.tsx
Defines Uniswap DeFi app with metadata and icon. Registers ENSv2 resolution benchmark marked as passing, tested via search tool with proof image.
UI text standardization and routing config
ensawards.org/astro.config.mjs, ensawards.org/src/components/organisms/ProtocolBestPracticeDetails.astro, ensawards.org/src/pages/index.astro, ensawards.org/src/pages/leaderboards/[protocolType].astro, ensawards.org/src/components/contract-naming-season/ContractNamingHero.astro
Standardizes protocol leaderboard "view details" text to format as ${formatProtocolType(protocolType)} report across three pages. Adds redirect from /leaderboards/defi to /leaderboards/defi-protocol. Updates DeFi leaderboard link in contract naming hero.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • namehash/ensawards#204: Extends AppTypes.DeFi in best-practice appliesTo arrays alongside this PR's DeFi app type introduction and platform updates.
  • namehash/ensawards#127: Updates DeFi leaderboard routing (from /leaderboards/defi to /leaderboards/defi-protocol), overlapping with this PR's protocol type and UI navigation changes.

Poem

🐰 Four DeFi champions join the ENS Awards fray,
Type systems bloom with defi-app and -protocol way,
Projects, icons, benchmarks stack so tall,
Aave, Uniswap, Lido, 1inch—we've added them all! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: Add new apps - DeFis' directly and clearly summarizes the main change: adding new DeFi applications to the system.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Description check ✅ Passed The PR description clearly explains the purpose (adding 4 new DeFi apps), provides context (requested in sync call), lists testing performed, and acknowledges limitations.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch y3drk/feat/add-new-apps-defis

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.

Comment thread ensawards.org/data/apps/1inch-defi/index.ts
Comment thread ensawards.org/data/apps/lido-defi-app/benchmarks/index.tsx Outdated
@greptile-apps

greptile-apps Bot commented Jun 9, 2026

Copy link
Copy Markdown

Greptile Summary

This PR adds four new DeFi apps (Uniswap, Aave, 1inch, Lido) under a new AppTypes.DeFi type ("defi-app"), and renames ProtocolTypes.DeFi's value from "defi" to "defi-protocol" to avoid a naming collision between the two concepts. A URL redirect from /leaderboards/defi/leaderboards/defi-protocol and renamed OG images keep the existing DeFi-protocol leaderboard working.

  • Added AppTypes.DeFi = "defi-app" with full support across asAppType, formatAppType, formatBestPracticeTarget, and best-practice appliesTo arrays; each new app ships with its icon, definition, and benchmark results.
  • Renamed ProtocolTypes.DeFi value from "defi" to "defi-protocol" and updated formatProtocolType to return "DeFi protocol" / "defi protocol"; simplified the viewDetailsText template in three Astro pages to drop the manual " protocol" suffix now that formatProtocolType includes it.
  • Added ProjectIds.OneInch and ProjectIds.Lido, along with their project definitions and icons.

Confidence Score: 5/5

Safe to merge — changes are well-coordinated data additions with no functional regressions found.

The four new DeFi app entries follow the same pattern as existing apps; the ProtocolTypes.DeFi rename is fully covered by a URL redirect, renamed public OG images, and updated utility functions. The Astro leaderboard page derives its OG image paths dynamically from the protocol type slug, so renaming the public files alongside the constant keeps them in sync. All changed switch statements are exhaustive and TypeScript-checked.

No files require special attention.

Important Files Changed

Filename Overview
ensawards.org/data/apps/types.ts Adds AppTypes.DeFi = "defi-app"; clean addition with no conflicts.
ensawards.org/data/apps/utils.ts Adds DeFi case to asAppType and formatAppType; includes correct capitalization guard for "DeFi" under lowercase mode.
ensawards.org/data/protocols/types.ts Renames ProtocolTypes.DeFi value from "defi" to "defi-protocol" to avoid collision with the new AppTypes.DeFi; a redirect covers the old URL.
ensawards.org/src/pages/leaderboards/[protocolType].astro Simplifies viewDetailsText template now that formatProtocolType includes "protocol"; OG image URLs correctly use the renamed protocolType slug.
ensawards.org/astro.config.mjs Adds redirect from /leaderboards/defi to /leaderboards/defi-protocol to preserve old links.
ensawards.org/data/apps/lido-defi/index.ts New Lido DeFi app; ens social field is omitted (optional per App interface).
ensawards.org/data/ens-best-practices/utils.ts Adds AppTypes.DeFi case to formatBestPracticeTarget; Explorer case pre-existed and is unaffected.
ensawards.org/data/apps/utils.test.ts Adds test coverage for the new DeFi app type in asAppType and appliesToAllApps.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[AppTypes] -->|Wallet| B[wallet apps]
    A -->|Explorer| C[explorer apps]
    A -->|DeFi - NEW| D[defi-app apps]
    D --> D1[uniswap-defi]
    D --> D2[aave-defi]
    D --> D3[1inch-defi]
    D --> D4[lido-defi]

    E[ProtocolTypes] -->|DAO| F[leaderboards dao]
    E -->|DeFi renamed| G[leaderboards defi-protocol]
    H[leaderboards defi OLD URL] -->|redirect| G

    I[ensv2-ready-resolution] -->|appliesTo now includes DeFi| A
    J[display-named-smart-contracts-mainnet] -->|appliesTo now includes DeFi| A
    K[display-named-smart-contracts-l2-chains] -->|appliesTo now includes DeFi| A
Loading

Reviews (6): Last reviewed commit: "Apply AI agents' suggestions, pt.2" | Re-trigger Greptile

appSlug: "1inch-defi-app",
type: AppTypes.DeFi,
project: OneInchProject,
name: '1inch"',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 The app name has a trailing double-quote character inside a single-quoted string, so it renders as 1inch" instead of 1inch.

Suggested change
name: '1inch"',
name: "1inch",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The quote character is a part of the app's name. The current version is correct

Comment thread ensawards.org/data/apps/lido-defi-app/benchmarks/index.tsx Outdated
Comment thread ensawards.org/data/apps/lido-defi-app/benchmarks/index.tsx Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR expands ENSAwards’ dataset to support a new DeFi app category and adds initial DeFi apps (and their benchmark evidence) to the site, alongside some related copy/label updates for protocol leaderboards.

Changes:

  • Introduces AppTypes.DeFi (defi-app) and updates app/best-practice formatting utilities and targets to include DeFi apps.
  • Adds 4 DeFi apps (Uniswap, Aave, 1inch, Lido) with corresponding projects, icons, and app benchmark entries.
  • Updates protocol-type formatting/copy (including a change to the DeFi protocol type slug) and adjusts several UI strings that reference protocol types.

Reviewed changes

Copilot reviewed 29 out of 36 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
ensawards.org/src/pages/leaderboards/[protocolType].astro Updates “view details” label to rely on formatProtocolType output.
ensawards.org/src/pages/index.astro Updates “view details” label to rely on formatProtocolType output.
ensawards.org/src/components/organisms/ProtocolBestPracticeDetails.astro Updates “view details” label to rely on formatProtocolType output.
ensawards.org/data/protocols/utils.ts Updates protocol type parsing/formatting for DeFi.
ensawards.org/data/protocols/types.ts Changes canonical DeFi protocol type slug to defi-protocol.
ensawards.org/data/projects/types.ts Adds ProjectIds entries for 1inch and Lido.
ensawards.org/data/projects/lido/index.ts Adds Lido project definition.
ensawards.org/data/projects/lido/icon.tsx Adds Lido project SVG icon.
ensawards.org/data/projects/1inch/index.ts Adds 1inch project definition.
ensawards.org/data/projects/1inch/icon.tsx Adds 1inch project SVG icon.
ensawards.org/data/ens-best-practices/utils.ts Enables formatting for DeFi app targets.
ensawards.org/data/ens-best-practices/ensv2-readiness/ensv2-ready-resolution/index.ts Extends this best practice to apply to DeFi apps.
ensawards.org/data/ens-best-practices/contract-naming/display-named-smart-contracts-mainnet/index.ts Extends this best practice to apply to DeFi apps.
ensawards.org/data/ens-best-practices/contract-naming/display-named-smart-contracts-l2-chains/index.ts Extends this best practice to apply to DeFi apps.
ensawards.org/data/apps/utils.ts Adds DeFi app parsing/formatting and preserves “DeFi” capitalization for lowercase mode.
ensawards.org/data/apps/utils.test.ts Updates applies-to-all-apps test to include DeFi.
ensawards.org/data/apps/types.ts Adds AppTypes.DeFi.
ensawards.org/data/apps/uniswap-defi-app/index.ts Adds Uniswap DeFi app definition.
ensawards.org/data/apps/uniswap-defi-app/icon.tsx Adds Uniswap DeFi app SVG icon.
ensawards.org/data/apps/uniswap-defi-app/benchmarks/index.tsx Adds Uniswap DeFi app benchmark evidence entries.
ensawards.org/data/apps/aave-defi-app/index.ts Adds Aave DeFi app definition.
ensawards.org/data/apps/aave-defi-app/icon.tsx Adds Aave DeFi app SVG icon.
ensawards.org/data/apps/aave-defi-app/benchmarks/index.tsx Adds Aave DeFi app benchmark evidence entries.
ensawards.org/data/apps/1inch-defi-app/index.ts Adds 1inch DeFi app definition.
ensawards.org/data/apps/1inch-defi-app/icon.tsx Adds 1inch DeFi app SVG icon.
ensawards.org/data/apps/1inch-defi-app/benchmarks/index.tsx Adds 1inch DeFi app benchmark evidence entries.
ensawards.org/data/apps/lido-defi-app/index.ts Adds Lido DeFi app definition.
ensawards.org/data/apps/lido-defi-app/icon.tsx Adds Lido DeFi app SVG icon.
ensawards.org/data/apps/lido-defi-app/benchmarks/index.tsx Adds Lido DeFi app benchmark evidence entries.
Comments suppressed due to low confidence (1)

ensawards.org/data/protocols/utils.ts:92

  • asProtocolType() no longer accepts the previously valid "defi" protocol type value. That will cause runtime errors for any existing inbound links/bookmarks that still use /leaderboards/defi (and any other parsing paths). Consider accepting both "defi" and "defi-protocol" as aliases to preserve backward compatibility.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 50 to 53
export const ProtocolTypes = {
DAO: "dao",
DeFi: "defi",
DeFi: "defi-protocol",
} as const;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated the names of the OG images and added a redirect to the Defi protocol leaderboard

Comment thread ensawards.org/data/apps/1inch-defi/index.ts
Comment thread ensawards.org/data/apps/lido-defi/benchmarks/index.tsx
Comment thread ensawards.org/data/apps/lido-defi/icon.tsx
Comment thread ensawards.org/data/projects/lido/icon.tsx

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ensawards.org/data/apps/utils.test.ts (1)

95-103: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Add direct tests for DeFi parsing/formatting branches.

This update covers appliesToAllApps, but the new asAppType("defi-app") and formatAppType(AppTypes.DeFi, …) paths remain untested.

Suggested test additions
 import {
   appliesToAllApps,
   asAppType,
   calcAppScore,
+  formatAppType,
   getAppById,
   getAppByName,
   getAppBySlug,
   sortApps,
 } from "./utils.ts";

@@
   describe("validateAppType", () => {
     it("Should return the app type for a valid AppType value", () => {
       expect(asAppType("wallet")).toEqual(AppTypes.Wallet);
     });
+
+    it("Should return DeFi for defi-app", () => {
+      expect(asAppType("defi-app")).toEqual(AppTypes.DeFi);
+    });

@@
   });
+
+  describe("formatAppType", () => {
+    it("Should format DeFi type correctly", () => {
+      expect(formatAppType(AppTypes.DeFi)).toEqual("DeFi app");
+      expect(formatAppType(AppTypes.DeFi, { plural: true, lowercase: false })).toEqual("DeFi apps");
+      expect(formatAppType(AppTypes.DeFi, { plural: false, lowercase: true })).toEqual("DeFi app");
+    });
+  });

Also applies to: 214-217

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ensawards.org/data/apps/utils.test.ts` around lines 95 - 103, Add unit tests
covering the DeFi parsing/formatting branches: call asAppType("defi-app") and
assert it returns AppTypes.DeFi; add tests for formatAppType by calling
formatAppType(AppTypes.DeFi, ...) for both appliesToAllApps true and false (use
the same second-argument shape used elsewhere in tests) and assert the returned
string matches the expected formatted DeFi value; also include a test that
verifies appliesToAllApps behavior when used with AppTypes.DeFi. Locate these
calls near the existing validateAppType tests and reuse function names
asAppType, formatAppType and the enum AppTypes to implement the new assertions.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ensawards.org/data/apps/1inch-defi-app/index.ts`:
- Line 16: The app display name has a stray trailing double-quote in the object
property name: change the value for the name property (the "name" field in
index.ts) from "1inch\"" to "1inch" so the string literal does not include the
extra quote; update the token for name in the exported app object (the name
property) to use a clean quoted string '1inch' (or "1inch") with no trailing
characters.

In `@ensawards.org/data/apps/lido-defi-app/benchmarks/index.tsx`:
- Around line 38-41: In the paragraph element (the JSX element with className
"w-full" in index.tsx) remove the duplicated word "when" so the sentence reads
"but when it receives one"; update the string in the JSX to eliminate the extra
"when" and keep punctuation/spacing intact.

In `@ensawards.org/data/apps/lido-defi-app/icon.tsx`:
- Around line 20-251: SVG attributes are in kebab-case which breaks JSX; update
all occurrences of fill-opacity to fillOpacity (e.g., on the <path> using
id("paint8_linear")), and convert all stop-color and stop-opacity attributes
inside the <stop> elements in the gradient defs (ids via id("paint0_radial") ...
id("paint14_radial") and the linear gradient id("paint8_linear")) to camelCase
stopColor and stopOpacity respectively so the gradients and opacity props are
valid in React/JSX.

In `@ensawards.org/data/projects/lido/icon.tsx`:
- Line 27: In the icon component's JSX, replace all kebab-case SVG attributes
with their React camelCase equivalents: change fill-opacity to fillOpacity,
stop-color to stopColor, and stop-opacity to stopOpacity wherever they appear
(notably on <stop> elements and any shape elements) so the TSX compiles
correctly; update every occurrence across the file and run the provided ripgrep
check to confirm no matches remain.

---

Outside diff comments:
In `@ensawards.org/data/apps/utils.test.ts`:
- Around line 95-103: Add unit tests covering the DeFi parsing/formatting
branches: call asAppType("defi-app") and assert it returns AppTypes.DeFi; add
tests for formatAppType by calling formatAppType(AppTypes.DeFi, ...) for both
appliesToAllApps true and false (use the same second-argument shape used
elsewhere in tests) and assert the returned string matches the expected
formatted DeFi value; also include a test that verifies appliesToAllApps
behavior when used with AppTypes.DeFi. Locate these calls near the existing
validateAppType tests and reuse function names asAppType, formatAppType and the
enum AppTypes to implement the new assertions.
🪄 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2973c94e-9b2f-4a23-bfef-8cc0fbf8ef13

📥 Commits

Reviewing files that changed from the base of the PR and between 75d2a46 and fd7a04f.

⛔ Files ignored due to path filters (7)
  • ensawards.org/data/apps/1inch-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof-portfolio.gif is excluded by !**/*.gif
  • ensawards.org/data/apps/1inch-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof-send.png is excluded by !**/*.png
  • ensawards.org/data/apps/aave-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof-v3.gif is excluded by !**/*.gif
  • ensawards.org/data/apps/aave-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof-v4.png is excluded by !**/*.png
  • ensawards.org/data/apps/lido-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof-address.png is excluded by !**/*.png
  • ensawards.org/data/apps/lido-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof-name.PNG is excluded by !**/*.png
  • ensawards.org/data/apps/uniswap-defi-app/benchmarks/correctly-resolve-ensv2-test-name-address-proof.png is excluded by !**/*.png
📒 Files selected for processing (29)
  • ensawards.org/data/apps/1inch-defi-app/benchmarks/index.tsx
  • ensawards.org/data/apps/1inch-defi-app/icon.tsx
  • ensawards.org/data/apps/1inch-defi-app/index.ts
  • ensawards.org/data/apps/aave-defi-app/benchmarks/index.tsx
  • ensawards.org/data/apps/aave-defi-app/icon.tsx
  • ensawards.org/data/apps/aave-defi-app/index.ts
  • ensawards.org/data/apps/lido-defi-app/benchmarks/index.tsx
  • ensawards.org/data/apps/lido-defi-app/icon.tsx
  • ensawards.org/data/apps/lido-defi-app/index.ts
  • ensawards.org/data/apps/types.ts
  • ensawards.org/data/apps/uniswap-defi-app/benchmarks/index.tsx
  • ensawards.org/data/apps/uniswap-defi-app/icon.tsx
  • ensawards.org/data/apps/uniswap-defi-app/index.ts
  • ensawards.org/data/apps/utils.test.ts
  • ensawards.org/data/apps/utils.ts
  • ensawards.org/data/ens-best-practices/contract-naming/display-named-smart-contracts-l2-chains/index.ts
  • ensawards.org/data/ens-best-practices/contract-naming/display-named-smart-contracts-mainnet/index.ts
  • ensawards.org/data/ens-best-practices/ensv2-readiness/ensv2-ready-resolution/index.ts
  • ensawards.org/data/ens-best-practices/utils.ts
  • ensawards.org/data/projects/1inch/icon.tsx
  • ensawards.org/data/projects/1inch/index.ts
  • ensawards.org/data/projects/lido/icon.tsx
  • ensawards.org/data/projects/lido/index.ts
  • ensawards.org/data/projects/types.ts
  • ensawards.org/data/protocols/types.ts
  • ensawards.org/data/protocols/utils.ts
  • ensawards.org/src/components/organisms/ProtocolBestPracticeDetails.astro
  • ensawards.org/src/pages/index.astro
  • ensawards.org/src/pages/leaderboards/[protocolType].astro

Comment thread ensawards.org/data/apps/1inch-defi/index.ts
Comment thread ensawards.org/data/apps/lido-defi/benchmarks/index.tsx
Comment thread ensawards.org/data/apps/lido-defi/icon.tsx
Comment thread ensawards.org/data/projects/lido/icon.tsx Outdated
Copilot AI review requested due to automatic review settings June 9, 2026 15:07
@Y3drk

Y3drk commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

@greptileai

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 31 out of 40 changed files in this pull request and generated 5 comments.

Comment thread ensawards.org/data/apps/1inch-defi/index.ts
Comment thread ensawards.org/data/apps/1inch-defi/icon.tsx
Comment thread ensawards.org/data/projects/1inch/icon.tsx
Comment thread ensawards.org/data/ens-best-practices/utils.ts
Comment thread ensawards.org/data/apps/utils.ts
@Y3drk

Y3drk commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

@greptileai

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
ensawards.org/data/apps/lido-defi/benchmarks/index.tsx (1)

10-10: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Remove .ts extension from type import for consistency.

This file imports from "data/ens-best-practices/types.ts" while the 1inch and Aave benchmark files import from "data/ens-best-practices/types" without the extension. TypeScript and modern bundlers resolve module paths without file extensions, and omitting .ts is the conventional practice. Standardizing across all four DeFi benchmark files improves maintainability.

♻️ Proposed fix
-import type { BestPracticeBenchmarks } from "data/ens-best-practices/types.ts";
+import type { BestPracticeBenchmarks } from "data/ens-best-practices/types";
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ensawards.org/data/apps/lido-defi/benchmarks/index.tsx` at line 10, Update
the import path so it omits the .ts extension for consistency: change the import
of the type BestPracticeBenchmarks (the `import type { BestPracticeBenchmarks }
from "data/ens-best-practices/types.ts";` statement) to import from
"data/ens-best-practices/types" instead, keeping the same named type and import
style to match the other benchmark files.
ensawards.org/data/apps/uniswap-defi/benchmarks/index.tsx (1)

10-10: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Remove .ts extension from type import for consistency.

This file imports from "data/ens-best-practices/types.ts" while the 1inch and Aave benchmark files import from "data/ens-best-practices/types" without the extension. TypeScript and modern bundlers resolve module paths without file extensions, and omitting .ts is the conventional practice. Standardizing across all four DeFi benchmark files improves maintainability.

♻️ Proposed fix
-import type { BestPracticeBenchmarks } from "data/ens-best-practices/types.ts";
+import type { BestPracticeBenchmarks } from "data/ens-best-practices/types";
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ensawards.org/data/apps/uniswap-defi/benchmarks/index.tsx` at line 10, The
import of the BestPracticeBenchmarks type uses a file extension; update the
import statement (import type { BestPracticeBenchmarks } from
"data/ens-best-practices/types.ts") to remove the ".ts" extension so it reads
from "data/ens-best-practices/types" to match the other benchmark files and
maintain consistent module resolution.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@ensawards.org/data/apps/lido-defi/benchmarks/index.tsx`:
- Line 10: Update the import path so it omits the .ts extension for consistency:
change the import of the type BestPracticeBenchmarks (the `import type {
BestPracticeBenchmarks } from "data/ens-best-practices/types.ts";` statement) to
import from "data/ens-best-practices/types" instead, keeping the same named type
and import style to match the other benchmark files.

In `@ensawards.org/data/apps/uniswap-defi/benchmarks/index.tsx`:
- Line 10: The import of the BestPracticeBenchmarks type uses a file extension;
update the import statement (import type { BestPracticeBenchmarks } from
"data/ens-best-practices/types.ts") to remove the ".ts" extension so it reads
from "data/ens-best-practices/types" to match the other benchmark files and
maintain consistent module resolution.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1dc010ca-f22c-4709-91d9-33c67fac86e0

📥 Commits

Reviewing files that changed from the base of the PR and between fd7a04f and 11ac659.

⛔ Files ignored due to path filters (9)
  • ensawards.org/data/apps/1inch-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof-portfolio.gif is excluded by !**/*.gif
  • ensawards.org/data/apps/1inch-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof-send.png is excluded by !**/*.png
  • ensawards.org/data/apps/aave-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof-v3.gif is excluded by !**/*.gif
  • ensawards.org/data/apps/aave-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof-v4.png is excluded by !**/*.png
  • ensawards.org/data/apps/lido-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof-address.png is excluded by !**/*.png
  • ensawards.org/data/apps/lido-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof.png is excluded by !**/*.png
  • ensawards.org/data/apps/uniswap-defi/benchmarks/correctly-resolve-ensv2-test-name-address-proof.png is excluded by !**/*.png
  • ensawards.org/public/defi-protocol_leaderboard_og_image.png is excluded by !**/*.png
  • ensawards.org/public/defi-protocol_leaderboard_twitter_og_image.png is excluded by !**/*.png
📒 Files selected for processing (17)
  • ensawards.org/astro.config.mjs
  • ensawards.org/data/apps/1inch-defi/benchmarks/index.tsx
  • ensawards.org/data/apps/1inch-defi/icon.tsx
  • ensawards.org/data/apps/1inch-defi/index.ts
  • ensawards.org/data/apps/aave-defi/benchmarks/index.tsx
  • ensawards.org/data/apps/aave-defi/icon.tsx
  • ensawards.org/data/apps/aave-defi/index.ts
  • ensawards.org/data/apps/lido-defi/benchmarks/index.tsx
  • ensawards.org/data/apps/lido-defi/icon.tsx
  • ensawards.org/data/apps/lido-defi/index.ts
  • ensawards.org/data/apps/uniswap-defi/benchmarks/index.tsx
  • ensawards.org/data/apps/uniswap-defi/icon.tsx
  • ensawards.org/data/apps/uniswap-defi/index.ts
  • ensawards.org/data/apps/utils.test.ts
  • ensawards.org/data/projects/1inch/icon.tsx
  • ensawards.org/data/projects/lido/icon.tsx
  • ensawards.org/src/components/contract-naming-season/ContractNamingHero.astro
💤 Files with no reviewable changes (4)
  • ensawards.org/data/apps/1inch-defi/icon.tsx
  • ensawards.org/data/apps/uniswap-defi/icon.tsx
  • ensawards.org/data/projects/1inch/icon.tsx
  • ensawards.org/data/apps/aave-defi/icon.tsx

@tk-o tk-o left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The updates look good to me, tested the preview website and it all looks great!

@Y3drk Y3drk merged commit b95344f into main Jun 9, 2026
11 checks passed
@Y3drk Y3drk deleted the y3drk/feat/add-new-apps-defis branch June 9, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ensawards ENSAwards related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants