4 protocols · pinned releases · read from the AST
Explore DeFi protocols
Each one mapped from its own code: which contracts exist, how they call each other, and every business flow step by step. Open one, then ask your AI about it.
- SwapRouterSwap entry pointIWETH9UniswapV3PoolCallbackValidationPoolAddress
Uniswapv3DEXAutomated market maker with concentrated liquidity: LPs provide liquidity inside a price range, traders swap against the pool of one token pair and fee tier.Swap·Add liquidity·Remove and collect·Create a pool14 contracts4 flowsSource for 5 of 14 - PoolMain entry pointBorrowLogicFlashLoanLogicLiquidationLogicSupplyLogicACLManager+2 more
Aavev3.5LendingPooled lending market: suppliers earn interest through aTokens, borrowers take variable-rate loans against collateral, unhealthy positions are liquidated.Supply·Borrow·Repay·Liquidation·Flash loan15 contracts5 flowsSource for 2 of 15 - MetaMorphoERC-4626 vaultIERC20MorphoMarketParamsLibPendingLibSharesMathLib+1 more
MorphoBlue v1 · MetaMorpho v1LendingIsolated lending markets in one immutable contract, each defined by loan token, collateral token, oracle, rate model and LLTV; MetaMorpho vaults allocate deposits across them.Supply·Borrow·Repay·Liquidation·Vault deposit·Curate a vault·Create a market9 contracts7 flowsSource for 8 of 9 - CometWithExtendedAssetListThe marketCometExtAssetListIERC20NonStandardIPriceFeed
CompoundIII (Comet)LendingOne market per base asset (e.g. USDC): lenders earn interest on the base asset, borrowers post collateral assets that earn nothing, underwater accounts are absorbed by the protocol.Supply base·Borrow·Absorb (liquidation)·Buy collateral·Change a parameter8 contracts5 flowsStructure only
Not here yet: Curve (Vyper; the map reads solc ASTs) and Lido (solc 0.4.24 with Aragon). Structure only means the licence (BUSL) keeps the code on GitHub: every function links to its line at the pinned commit.