Contract Architecture

Contract Architecture An architecture diagram generated by Archify. Supplier · holds rebasing lmUSDC · Architecture component Supplier holds rebasing lmUSDC Borrower · WETH / wBTC collateral · Architecture component Borrower WETH / wBTC collateral Liquidator bot · absorber and buyer · Architecture component Liquidator bot absorber and buyer ERC20 tokens · USDC base · WETH, wBTC · Architecture component ERC20 tokens USDC base · WETH, wBTC LendingMarket · singleton · lmUSDC ERC20 · Protocol contracts (immutable, no proxy) · accrue first · CEI LendingMarket singleton · lmUSDC ERC20 accrue first · CEI Owner · Ownable2Step · Architecture component Owner Ownable2Step Pause guardian · adds flags only · Architecture component Pause guardian adds flags only InterestRateModel · kinked borrow curve · Protocol contracts (immutable, no proxy) · derived supply rate InterestRateModel kinked borrow curve derived supply rate PythChainlinkOracle · staleness · confidence · deviation · Protocol contracts (immutable, no proxy) · no fallback PythChainlinkOracle staleness · confidence · deviation no fallback Pyth · pull oracle, primary · External oracles Pyth pull oracle, primary Chainlink feeds · deviation anchor · External oracles Chainlink feeds deviation anchor supply · withdraw · transfer supply collateral · withdraw absorb · buyCollateral safeTransfer · safeTransferFrom withdrawReserves · pause setPauseFlags (add only) getBorrowRate · getSupplyRate updateAndGetPrice · getPrice updatePriceFeeds · getPriceUnsafe latestRoundData Protocol contracts (immutable, no proxy) External oracles Legend Backend Security External