Skip to content

Add Aave bridge with e2e deposit/claim flow#2

Draft
critesjosh wants to merge 2 commits intomainfrom
feat/aave-bridge-e2e
Draft

Add Aave bridge with e2e deposit/claim flow#2
critesjosh wants to merge 2 commits intomainfrom
feat/aave-bridge-e2e

Conversation

@critesjosh
Copy link
Owner

Summary

  • Adds L1 contracts: AavePortal, MockERC20, MockAToken, MockAavePool
  • Adds Aztec L2 AaveBridge contract (Noir) with TypeScript codegen artifacts
  • Adds end-to-end script demonstrating full L2→L1→Aave deposit and L1→L2 claim with 10% yield
  • Updates dependencies to aztec v5.0.0-nightly.20260311
  • Fixes Hardhat 3 remappings for @aztec/l1-contracts compatibility (@aztec-blob-lib, @oz)

Test plan

  • npx hardhat compile succeeds
  • npx hardhat run scripts/index.ts --network localhost completes with Yield earned successfully: YES

🤖 Generated with Claude Code

critesjosh and others added 2 commits March 11, 2026 21:43
Adds L1 contracts (AavePortal, MockERC20, MockAToken, MockAavePool),
Aztec L2 bridge contract with codegen artifacts, and an end-to-end
script demonstrating L2→L1→Aave deposit and L1→L2 claim with yield.
Updates dependencies to aztec v5.0.0-nightly.20260311 and fixes
Hardhat remappings for @aztec/l1-contracts compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant