Skip to content

Comments

feat: add cross-chain vault infrastructure and utilities#2

Open
JMSBPP wants to merge 22 commits intoint/lend-automationfrom
feature/jmsbpp-vault-infrastructure
Open

feat: add cross-chain vault infrastructure and utilities#2
JMSBPP wants to merge 22 commits intoint/lend-automationfrom
feature/jmsbpp-vault-infrastructure

Conversation

@JMSBPP
Copy link
Member

@JMSBPP JMSBPP commented Dec 20, 2025

Adds core infrastructure for cross-chain vault operations and reactive contract integration.

JMSBPP and others added 22 commits December 17, 2025 13:21
- Add EVaultReactive and VaultListenerMod contracts
- Configure Foundry with remappings for dependencies
- Add solady library as submodule
- Remove default Counter contract boilerplate
- Add project documentation and requirements
- Add test utilities and fork testing setup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Compose library (feat/createX branch) for CreateX deployment
- Add createx and foundry-devops submodules
- Refactor VaultListenerMod to use crossChainVaultFactory type
- Add EVaultListener contract with storage pattern
- Add CrossChainTokenMod contract
- Add deployment script and integration tests
- Update remappings and foundry config for new dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ture

Remove monolithic EVault listener/reactive implementations in favor of modular cross-chain architecture:
- Add CrossChainEVaultReactive and CrossChainEVaultRegistryMod for vault coordination
- Add Generics library and Types for shared type definitions
- Add MetaProxyDeployerMod utility for contract deployment
- Update deployment script to support new architecture
- Document contract initialization bug (BUG-001)
- Add reactive-expert agent documentation

Deleted legacy implementations:
- EVaultListener, EVaultReactive, VaultListenerMod
- Associated test files for legacy contracts

Updated configuration and documentation to reflect architectural changes.

Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add CrossChainEVaultReactive.fork.t.sol for integration testing
- Add eVaultFactoryInteractions.s.sol deployment script
- Update Types.sol with EVC address and chain configuration
- Enhance CrossChainEVaultReactive with dynamic address handling
- Update CrossChainEVaultRegistryMod with deployment improvements
- Update Deploy.s.sol with chain-specific configuration
- Update TODO.md with progress on reactive implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add EulerLendingMarketClient for Euler protocol integration
- Add LiquidationHelper script for liquidation operations
- Extend type definitions with Euler-specific structures
- Refactor borrower test suite for improved clarity
- Add safeBorrow, borrow, and borrowExact methods to EulerLendingMarketClient
- Refine borrow position calculation with guaranteed execution bounds
- Fix position bounds semantics: lowerBound=guaranteed, positionValue=target, upperBound=theoretical max
- Add proper EVC.call integration for borrow operations
- Improve error handling with BorrowExceedsGuaranteedBounds and BorrowPositionInvalid
- Add BaseTest.t.sol with common test setup
- Add Oracle.t.sol for oracle testing
- Update Euler client and market types
- Refine borrower and lender test suites
- Reorganize tests into fork-specific and integration test files
- Add deployment scripts for vault infrastructure
- Update HealthTracker with enhanced authorization checks
- Improve borrow type safety with zero price validation
- Add Python utility for deployed vault address retrieval
- Remove obsolete test files and reactive contract implementations
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