deposit
may change things: you confirm before it runsDeposit funds into a vault. The user can specify any token to deposit and it will be automatically swapped. Use this method only for vaults, not CLM pools.
Input schema
{
"type": "object",
"properties": {
"chainName": {
"type": "string",
"enum": [
"ethereum",
"optimism",
"bsc",
"base",
"avalanche",
"arbitrum",
"sonic",
"hyperevm",
"plasma",
"monad",
"robinhood",
"arc"
],
"description": "Chain name"
},
"vaultIdOrName": {
"type": "string",
"description": "ID or name of the vault"
},
"tokenAddress": {
"description": "The address of any token the user wants to deposit into the vault. If not specified, deposits the underlying token into the vault.",
"type": "string"
},
"amount": {
"type": "string",
"description": "Amount to deposit in human-readable decimal format (e.g. '1.5'). Pass '-1' to deposit the full available balance."
},
"userAddress": {
"type": "string",
"description": "The EVM wallet address of the user."
}
},
"required": [
"chainName",
"vaultIdOrName",
"amount",
"userAddress"
],
"additionalProperties": false
}