Developers
Smart Contracts
Smart contract architecture — CK App uses LI.FI's audited contracts.
Smart Contracts
CK App does not deploy its own swap or bridge contracts. Instead, it leverages the LI.FI Protocol which routes transactions through audited smart contracts of established protocols.
Architecture
User Wallet → LI.FI Diamond Contract → DEX/Bridge Contracts → DestinationWhen you execute a swap or bridge through CK App:
- The LI.FI SDK generates transaction data targeting the LI.FI Diamond Proxy contract
- The Diamond contract routes the call to the appropriate DEX or bridge facet
- The underlying protocol's contracts execute the swap or transfer
- Tokens arrive in your wallet (same chain or cross-chain)
Audited Protocols
All swaps and bridges route through established, audited protocols:
- Uniswap — Audited by Trail of Bits, ABDK
- Aave — Audited by Certora, SigmaPrime, Trail of Bits
- Curve — Audited by Trail of Bits
- Stargate — Audited by Quantstamp, Zellic
- LI.FI Diamond — Audited by multiple firms, bug bounty active
Contract Addresses
LI.FI Diamond Proxy addresses by chain:
| Chain | Diamond Address |
|---|---|
| Ethereum | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
| Polygon | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
| Arbitrum | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
| Optimism | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
| Base | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
| BNB Chain | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
| Avalanche | 0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE |
LI.FI uses the same Diamond address across all EVM chains for consistency.
Integration Note
Always use the LI.FI SDK or CK App frontend rather than interacting with contracts directly. The SDK handles:
- Correct calldata encoding for each DEX/bridge
- Token approval checks and management
- Gas estimation and optimization
- Routing across multiple steps when needed