API Reference
Complete reference for all BridgeFlow smart contract functions. All contracts deployed on Polygon (Chain ID: 137).
Contract Addresses — Polygon Mainnet
0x5Ac3257f…0x7a63a8b1…0x5B7A186D…0x2169D616…0x18D24a79…Active protocol slots: Aave V3 (slot 0) · Morpho — Steakhouse High Yield USDC (slot 1). Spark (slot 2) and Compound V3 (slot 3) are reserved but not deployed. Verify on Polygonscan.
YieldVault
9 methodsERC4626-compliant vault. Core entry point for deposits, withdrawals, and share accounting.
CCTPBridgeRouter
Handles cross-chain USDC transfers via Circle's CCTP v1 burn-and-mint protocol.
AIOptimizer
Chainlink Functions-powered optimizer that fetches live APYs via DeFi Llama and triggers protocol rebalancing. Active protocols: Aave V3 (slot 0) and Morpho (slot 1).
Protocol Adapters
IProtocolAdapter interface implemented by AaveV3Adapter (slot 0) and MorphoAdapter (slot 1). Spark and Compound V3 slots are reserved but not deployed.
Need help integrating?
Join our Discord for developer support, or check the Smart Contracts page for ABIs and source code.