HomeAPI Reference
Smart Contract API

API Reference

Complete reference for all BridgeFlow smart contract functions. All contracts deployed on Polygon (Chain ID: 137).

Contract Addresses — Polygon Mainnet

YieldVault
0x5Ac3257f
AaveV3Adapter
0x7a63a8b1
MorphoAdapter
0x5B7A186D
AIOptimizer
0x2169D616
CCTPBridgeRouter
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 methods

ERC4626-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.