Cross-Chain Deposits
:::caution V1 testnet vault retired (2026-11-25) The Arbitrum Sepolia vault and its MockUSDC described on this page are retired. The app no longer deposits into or withdraws from it; the vault moves to Vault V2 on HyperEVM testnet, which is not deployed yet. Existing V1 positions stay claimable on-chain: see The retired V1 vault. :::
Cross-chain deposits are designed to take USDC from Ethereum or Base into the 7N7D Trading Vault on Arbitrum, with no manual bridging.
:::warning Not available for the current testnet vault
The CCTP bridge mints Circle's testnet USDC on Arbitrum Sepolia. The current testnet vault (0x225c91C3943028EbBa44e33202Ef914B845F0267) accepts only MockUSDC (0x3a55B1E3B5Af2D90A3802b7359a6EC1fc0a435FD), so it can't take bridged USDC.
Cross-chain deposits are not available for the current testnet vault. To deposit, hold the vault's MockUSDC on Arbitrum Sepolia and deposit directly. See Deposit & Withdraw.
The rest of this page describes how the DepositRouter and DepositReceiver contracts work. :::
:::info Circle CCTP Cross-chain deposits use Circle CCTP (Cross-Chain Transfer Protocol), the official native USDC bridge. Your USDC is burned on the source chain and minted natively on Arbitrum — no wrapped tokens, no third-party bridges. :::
Supported Chains
| Source Chain | Destination | CCTP Domain | Status |
|---|---|---|---|
| Ethereum | Arbitrum | 0 → 3 | Not available for the current testnet vault |
| Base | Arbitrum | 6 → 3 | Not available for the current testnet vault |
| Arbitrum (direct) | Arbitrum | — | Testnet (MockUSDC) |
Direct Arbitrum deposits go straight to the vault — no bridging needed. See Deposit & Withdraw.
How It Works
Source Chain (ETH / Base) Arbitrum
┌──────────────────────┐ ┌──────────────────────┐
│ │ │ │
│ 1. User sends USDC │ │ 4. CCTP mints USDC │
│ to DepositRouter │ │ to DepositReceiver│
│ │ │ │
│ 2. Router calls │ Circle │ 5. Receiver deposits │
│ CCTP burn ───────┼──attestation─┼──► into TradingVault │
│ │ (~15 min) │ │
│ 3. USDC burned │ │ 6. User gets vault │
│ on source chain │ │ shares │
│ │ │ │
└──────────────────────┘ └──────────────────────┘
Step-by-Step Flow
- Approve — User approves the DepositRouter to spend their USDC on the source chain.
- Route — User calls
routeDeposit(amount)on the DepositRouter. The router transfers USDC from the user and calls Circle'sTokenMessenger.depositForBurn(). - Burn — USDC is burned on the source chain. Circle issues an attestation (~15 minutes).
- Mint — Using the attestation, USDC is natively minted to the DepositReceiver contract on Arbitrum.
- Complete — Anyone can call
completeDeposit()on the DepositReceiver. The receiver deposits the USDC into the TradingVault (ERC-4626) and vault shares are minted directly to the depositor's address.
Timing & Fees
| Item | Details |
|---|---|
| Bridge time | ~15 minutes (Circle attestation) |
| Source chain gas | ~$1–5 on Ethereum, ~$0.01 on Base |
| Destination gas | ~$0.20 on Arbitrum (for completeDeposit) |
| Bridge fee | None — CCTP is fee-free |
| Minimum deposit | 1 USDC |
:::tip Use Base for Cheaper Deposits Depositing from Base costs a fraction of Ethereum gas. If you have USDC on Base, it's the cheapest path to the vault. :::
Contracts
DepositRouter (Source Chains)
Designed for Ethereum and Base. Accepts USDC and routes it to Arbitrum via CCTP. No deployment is published for the current testnet.
| Function | Description |
|---|---|
routeDeposit(amount) | Burns USDC via CCTP, returns a nonce for tracking |
addressToBytes32(addr) | Helper to convert address for CCTP mint recipient |
Security features:
- ReentrancyGuard on deposits
- Pausable by owner (emergency only)
- Minimum deposit enforcement (1 USDC)
rescueTokens()for accidentally sent tokens
DepositReceiver (Arbitrum)
Receives CCTP-minted USDC and deposits into the TradingVault.
| Function | Description |
|---|---|
completeDeposit(depositor, amount, sourceDomain, nonce) | Forwards USDC to vault, mints shares to depositor |
getDepositRecord(sourceDomain, nonce) | Look up a completed cross-chain deposit |
totalDepositsCompleted | Counter of all cross-chain deposits |
totalUsdcDeposited | Total USDC received cross-chain |
Security features:
- ReentrancyGuard on completions
- Duplicate deposit prevention (nonce-based)
- Balance verification before vault deposit
- Pausable by owner (emergency only)
rescueTokens()for accidentally sent tokens
Tracking Your Deposit
Each cross-chain deposit returns a nonce from CCTP. You can track the deposit through its lifecycle:
- Source chain — Transaction confirmed, USDC burned. Check the
DepositRoutedevent for your nonce. - Attestation — Wait ~15 minutes for Circle's attestation service.
- Completion — Once
completeDeposit()is called, check theDepositCompletedevent or callgetDepositRecord(sourceDomain, nonce).
Limitations
- Asset mismatch on testnet: CCTP mints Circle testnet USDC, but the current testnet vault takes only MockUSDC, so cross-chain deposits can't reach it.
- USDC only — Other tokens must be swapped to USDC before depositing.
- Attestation delay — The ~15 minute wait for Circle attestation is not under our control.
- Manual completion — Someone must call
completeDeposit()on Arbitrum after CCTP mints the USDC. This will be automated in a future release.
Circle CCTP Testnet Addresses
| Contract | Address |
|---|---|
| TokenMessenger | 0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5 |
| ETH Sepolia domain | 0 |
| Arbitrum Sepolia domain | 3 |
| Base Sepolia domain | 6 |
SDK Support
:::info Coming Soon
The SDK does not yet include cross-chain deposit methods. For now, interact with the DepositRouter contract directly. SDK support (client.vault.crossChainDeposit()) is planned.
:::
Next: Understand the Fee Structure.