Code Tours
- 1.1 Genius Protocol: High-Level Overview 
- 2.1 FeeCollector: Fee Collection from Vault 
- 2.2 FeeCollector: Claiming Collected Fees 
- 2.3 FeeCollector: Administrative Configuration 
- 3.1 GeniusVault: Overview 
- 3.2 GeniusVault Interface (IGeniusVault.sol) 
- 3.3 GeniusVaultCore: State and Configuration 
- 3.4 GeniusVaultCore: Staking and Withdrawals 
- 3.5 GeniusVaultCore: Order Creation 
- 3.6 GeniusVaultCore: Order Fulfillment & Reversion 
- 3.7 GeniusVault: Access Control and Upgradeability 
- 4.1 GeniusRouter: Overview 
- 4.2 GeniusRouter Interface 
- 4.3 GeniusRouter Implementation 
- 5.1 GeniusGasTank: Overview 
- 5.2 GeniusGasTank: Sponsoring Ordered Transactions 
- 5.3 GeniusGasTank: Sponsoring Unordered Transactions 
- 5.4 GeniusGasTank: Direct Aggregation with Permit2 
- 5.5 GeniusGasTank: Internal Helpers & State 
- 5.6 GeniusGasTank: Access Control & Admin 
- 6.1 EVM Contracts: GeniusActions – Overview 
- 6.2 Entry Point: GeniusActions.sol 
- 6.3 Core Logic: ERC725Y.sol 
- 6.4 Interface Spec: IERC725Y.sol 
- 6.5 Supporting Definitions: constants.sol & errors.sol 
- 7.1 EVM Contracts: ProxyCall – Overview 
- 7.2 ProxyCall Interface (IGeniusProxyCall) 
- 8.1 Solana Program Utilities & Types: Overview 
- 8.2 State and Data Structures 
- 8.3 Program Constants 
- 8.4 Custom Error Handling 
- 8.5 Utility and Helper Functions 
- 9.1 Solana Program: Initialization & Global State Management Overview 
- 9.2 Initialization Instruction 
- 9.3 Update Global State Parameters Instruction 
- 9.4 Freeze and Thaw Global State Instruction 
- 10.1 Solana Program: Access Control & Authorities: Overview 
- 10.2 Managing Global State Authorities 
- 10.3 Program Ownership Transfer 
- 11.1 Fee Tier Settings 
- 11.2 Scalar & Min Fee Settings 
- 11.3 Claiming Fees 
- 12.1 Solana Program: Order Lifecycle Overview 
- 12.2 Creating an Order on Solana 
- 12.3 Fulfilling an Order on Solana 
- 12.4 Fulfilling an Order with a Token Swap 
- 12.5 Reverting an Order on Solana 
- 13.1 Solana Program: Remove Bridge Liquidity 
- 14.1 Solana Program Entrypoint: Overview 
- 14.2 Entrypoint: Instruction Module Re-Exports 
- 14.3 Entrypoint Instructions by Role 
- 15.1 Genius Actions Service: Overview 
- 15.2 Action Types & Implementation Keys 
- 15.3 GeniusActions Service Implementation 
- 16.1 Off-Chain Orchestration: Creating a Solana Orchestrator 
- 17.1 Off-Chain Orchestration: Solver Overview 
- 17.2 Solver: Lit Action Entrypoint 
- 17.3 Solver: Upgradable Proxy Pattern 
- 17.4 Solver: Interfaces and Data Types 
- 17.5 Solver: Core Logic and Orchestration 
- 17.6 Solver: Utility Functions 
- 17.7 Solver: EVM Implementation 
- 17.8 Solver: Solana Implementation 
- 18.1 Off-Chain Orchestration: Refund Orchestrator (Overview) 
- 18.2 EVM Refund Orchestrator 
- 18.3 Solana Refund Orchestrator 
 
                        