Code Tours
1.1 - The "BoringVault" Architecture: A High-Level Overview
2.1 - External: Price Oracle - PriceRouter Interface
3.1 - External: DEX Interfaces: Overview
3.2 - DEX Interface: 1inch AggregationRouterV5
3.3 - DEX Interface: Uniswap V3 Router
3.4 - DEX Interface: Velodrome Position Manager
4.1 - External: Staking Interfaces Overview
4.2 - Multi-Protocol Staking Interfaces (IStaking.sol)
4.3 - EtherFi Liquid Staking Vault Interface (EtherFiLiquid1.sol)
5.1 - Core: BoringVault: Overview
5.2 - BoringVault Implementation Deep Dive
6.1 - Infrastructure: Price Feed Constants – Overview
6.2 - IPriceFeed Interface: Abstraction & Error Handling
6.3 - Constants.sol: Endpoints, Roles & Data Flow
7.1 - Periphery: Rate Providers: Overview
7.2 - IRateProvider Interface
7.3 - EthPerTokenRateProvider Implementation
7.4 - EthPerWstEthRateProvider Implementation
8.1 - Core: Accountant Overview
8.2 - Core: Accountant Security & Fee Mechanics
9.1 - Core: Teller: Overview
9.2 - Core: Teller: TellerWithMultiAssetSupport.sol
10.1 - Security: Base Decoder Infrastructure: Overview
10.2 - BaseDecoderAndSanitizer Mechanics & Inheritance
10.3 - Protocol-Specific Decoders: Uniswap V3 Walkthrough
10.4 - Custom Types & External Interfaces Integration
11.1 - Security: Major DeFi Protocol Decoders: Overview
11.2 - AaveV3 Decoder and Sanitizer
11.3 - BalancerV2 Decoder and Sanitizer
11.4 - Curve and Convex Decoders
11.5 - Morpho Blue Decoder and Sanitizer
11.6 - UniswapV3 Decoder and Sanitizer
11.7 - Euler Decoder and Sanitizer
11.8 - Other Protocol Decoders
12.1 - Security: Staking and Liquid Staking Decoders: Overview and Integration
12.2 - Decoder Security Model: Threats & Mitigations
12.3 - Decoder Security Model: Threats & Mitigations
12.4 - Merkle Leaf Structure Deep Dive
12.5 - Basic Liquid Staking Decoder: Lido
12.6 - Basic Liquid Staking Decoder: Lido
12.7 - Simple Staking Patterns: Swell & Zircuit
12.8 - Simple Staking Patterns: Swell & Zircuit
12.9 - Security Patterns Comparison Across Protocols
12.10 - EigenLayer Basic Operations
12.11 - EigenLayer Complex Withdrawals & Performance
12.12 - Protocol Diversity Quick Tour
13.1 - Cross-Chain Decoders Overview 13.2 - LayerZero OFT Decoder: Validation & Attack Prevention
13.3 - Optimism Standard L2 Bridge Decoder: Usage & Flexibility
13.4 - SuperBridge Decoder: Proof Handling & Errors
13.5 - Circle CCTP Decoder: Burn-and-Mint & Security
14.1 - Security: ITB Protocol Decoders – Overview
14.2 - Security: ITB Protocol Decoders – Common Decoders
14.3 - Security: ITB Protocol Decoders – Aave Decoder Deep Dive
14.4 - Security: ITB Protocol Decoders – Curve & Convex Decoder Deep Dive
14.5 - Security: ITB Protocol Decoders – Gearbox Decoder Analysis
14.6 - Security: ITB Protocol Decoders – ITBPosition Decoder Aggregator
14.7 - Security: ITB Protocol Decoders – Manager Integration & Proof Flow
14.8 - Security: ITB Protocol Decoders – Attack Scenario & Proof Mismatch
14.9 - Security: ITB Protocol Decoders – Full Data Flow Trace
14.10 - Security: ITB Protocol Decoders – Extending & Auditing New Decoders
15.1 - Security: Specialized Protocol Decoders: Overview
15.2 - Specialized Protocol Decoder Tours
16.1 - Security: Vault-Specific Decoders: Overview
16.2 - Simple Vault Decoder: Composition Pattern
16.3 - Complex Vault Decoder: Function Collision Resolution
17.1 - Infrastructure: DEX Aggregator Wrappers: Overview
17.2 - DexAggregatorWrapper: Swapping and Depositing
17.3 - DexAggregatorWrapperWithPredicateProxy: Adding Predicate Checks
18.1 - Core: Manager - ManagerWithMerkleVerification.sol
19.1 - Periphery: Micro-Managers: Overview
19.2 - UManager.sol: The Base Micro-Manager
19.3 - DexAggregatorUManager.sol: 1inch Swaps
19.4 - DexSwapperUManager.sol: Uniswap, Balancer, and Curve Swaps
20.1 - Periphery: Atomic Queue: Overview
20.2 - AtomicQueue: Core Logic
20.3 - Atomic Solvers
21.1 - Periphery OApp Authentication: Overview
21.2 - `OAppAuthSender.sol`: Sending Authenticated Messages
21.3 - `OAppAuth.sol`: Putting It All Together
22.1 - Infrastructure: Hyperlane Cross-Chain Bridge: Overview
22.2 - Hyperlane: `WarpRouteWrapper`
22.3 - Hyperlane: `StandardHookMetadata` Library 23.1 - Periphery: Cross-Chain Tellers: Overview
23.2 - Cross-Chain Teller: The Foundation
23.3 - Multi-Chain Teller: One-to-Many
23.4 - Cross-Chain Teller: Optimism 23.5 - Multi-Chain Teller: LayerZero
23.6 - Multi-Chain Teller: Hyperlane