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
0x5Eb88A93
AaveV3Adapter
0x641f4A6f
CompoundV3Adapter
0x8d73A345
SparkAdapter
0x...Spark
AIOptimizer
0xd77bcc33
CCTPBridgeRouter
0x163d4247

⚠ Addresses will be updated after mainnet deployment. Verify on Polygonscan.

YieldVault

7 methods

ERC4626-compliant vault. Core entry point for deposits, withdrawals, and share accounting.

CCTPBridgeRouter

Handles cross-chain USDC transfers via Circle's CCTP burn-and-mint protocol.

AIOptimizer

Chainlink Functions-powered optimizer that fetches live APYs and triggers protocol rebalancing.

Protocol Adapters

IProtocolAdapter interface implemented by AaveV3Adapter and CompoundV3Adapter.

Need help integrating?

Join our Discord for developer support, or check the Smart Contracts page for ABIs and source code.