Owner tx: deposit into a manager
prepare_depositReturns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. A plain transfer to the manager (an ERC-20 transfer, or a native value send) — managers do not pull, so there is no approve. Amount in raw base units. The funds land idle; an operator or the owner then allocates them into positions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chainId": "<chainId>",
"manager": "<manager>",
"token": "<token>",
"amount": "<amount>",
"from": "<from>"
},
"name": "prepare_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The wallet the funds come from — anyone may fund a manager, only the owner may take funds out | |
| token | Yes | Token to deposit; 0x0000000000000000000000000000000000000000 for the native coin | |
| amount | Yes | Raw base units as a decimal string (USDC 1.5 = "1500000"), never a decimal | |
| chainId | Yes | EVM chain id: 8453 Base, 42161 Arbitrum, 130 Unichain (1 = Ethereum mainnet, your gas) | |
| manager | Yes | Manager NFT contract address |