Code Tours
1.1: Ammalgam Protocol: A High-Level Overview
2.1: Plugins: Overview
2.2: Plugin Registry Interface
2.3: Plugin Registry Implementation and Security Analysis
3.1: Tokens: Overview
3.2: Tokens: ERC20Base Contract
3.3: Tokens: ERC20DebtBase Contract
3.4: Tokens: Liquidity Tokens
3.5: Tokens: ERC4626 Vaults
4.1: Saturation and TWAP: Overview
4.2: State Management for Saturation and TWAP
5.1: Liquidation Logic in Ammalgam
6.2: TokenController: Managing Pair Tokens
6.5: AmmalgamPair: Swapping Tokens
6.6: AmmalgamPair: Lending and Borrowing
6.7: AmmalgamPair: Liquidations
6.8: Pair: Interfaces
7.1: Factory: Overview
7.2: AmmalgamFactory and Interface Deep Dive
7.3: NewTokensFactory and Interface Deep Dive
7.5: Factory Callback System