Skip to main content

Accepted Flash-Loan Sources

OperationsFlash Loans → Accepted Sources (Composer)

A flash-loan callback hands control back to the composer while funds are in flight, so the composer hardcode-trusts a fixed set of contracts as the only valid callback callers. Because the composers are immutable, this trusted set is frozen.

Trust model

A source is accepted only if it falls into one of these categories:

  1. Immutable by construction — a canonical singleton or a CREATE2-derived pool whose address an attacker cannot occupy. No governance judgement is required.
  2. Original Aave — a canonical Aave DAO deployment.
  3. Strongly-governed fork — a reputable fork that is not upgradeable by a single EOA (real multisig / timelock / DAO), or, in rare cases, the dominant lender of its chain.

Forks that are single-EOA upgradeable, anonymously governed, unaudited, defunct, or previously exploited are excluded from code generation and are never trusted as a callback source.

Trustless sources (immutable / re-derived)

SourceBasis
Morpho BlueCanonical immutable singleton; callback only fires on msg.sender
Morpho Blue forks (Lista / Moolah)Canonical singleton, msg.sender-only callback
Morpho MidnightCanonical instance, ERC-3156; callback hardened with initiator == address(this)
Uniswap V4 (PoolManager)Canonical singleton; unlock callback fires on msg.sender
Balancer V3 (Vault)Canonical singleton; unlock callback fires on msg.sender
Balancer V2 and forks (incl. Swaap)Canonical vault; standardized flash-loan interface
Uniswap V3 / Algebra / PancakeSwap V3 and forksPool address re-derived via CREATE2 (keccak256(0xff ++ factory ++ salt ++ initHash))

Aave-family sources

SourceChainsBasis
Aave V3Canonical DAO deployments across all supported chainsOriginal Aave (Aave Governance)
Aave V3 – Prime / EtherFi / HorizonEthereumOfficial Aave DAO instances
Aave V2Ethereum, Polygon, AvalancheCanonical Aave V2
SparkEthereum, GnosisSky / MakerDAO SubDAO — timelock-gated
HyperLendHyperEVMAave-recognized fork; multisig-governed, audited
YEI (main market)Sei24h timelock + multisig
PhiatPulseChainDominant lender on PulseChain (chain-level exception)

Excluded forks

Weak/opaque-governance, defunct, or flash-loan-disabled Aave forks are dropped from the trusted set — for example Colend and Fathom (flash loans frozen at the protocol), and several EOA-governed or previously-exploited forks. The full accept/reject policy and per-fork governance analysis is maintained in the contracts repository.