deploySafe or createSessionKey call is needed (or supported).
Supported assets:
- USDC: 6 decimals — e.g.,
"100000000"= 100 USDC - WETH: 18 decimals — e.g.,
"1000000000000000000"= 1 WETH - EURC: 6 decimals — e.g.,
"100000000"= 100 EURC (Mainnet and Base only)
Minimums apply to the total Safe balance after the deposit (current Safe balance + deposit amount). Top-ups smaller than the minimum are allowed if the Safe already holds enough of the asset to meet it. Pairs without a configured threshold are not checked.
Signature
Parameters
What happens under the hood
- Resolves the Safe address for the EOA (backend-assigned for pre-deployed wallets — not derived from the EOA).
- Ensures the Safe is available on-chain.
- First-deposit protocol patching (see below), then transfers the token from the EOA to the Safe and logs the deposit.
First-deposit protocol patching
Runs only when the USDC profile has nochains configured yet (later deposits and pauseAgent do not re-trigger it):
- Patches USDC, WETH, and EURC with chains
[1, 8453, 42161](EURC limited to[1, 8453]). - Fetches protocols, filters by strategy / chain / asset + pool availability, and persists via
updateUserProfile→assetTypeSettings.[usdc|eth|eurc]. - Failures are non-fatal (
console.warn); the deposit still proceeds.
depositFunds call — not by any separate deploy or session-key step.