Prepare an Aerodrome v2 liquidity deposit
prepare_aerodrome_liquidity_depositPrepare a v2 addLiquidity through Aerodrome's Router with exact approvals and allowance cleanup. The read bundle quotes the actual split and resolves the pool, so a pair with no pool is caught before a deposit sets its price. LP tokens earn no AERO until staked with prepare_aerodrome_gauge_deposit.
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": {
"chain_id": "<chain_id>",
"sender": "<sender>",
"token_a": "<token_a>",
"token_b": "<token_b>",
"stable": "<stable>",
"amount_a_desired": "<amount_a_desired>",
"amount_b_desired": "<amount_b_desired>",
"amount_a_min": "<amount_a_min>",
"amount_b_min": "<amount_b_min>",
"deadline": "<deadline>"
},
"name": "prepare_aerodrome_liquidity_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| stable | Yes | Stable (true) or volatile pool; with the pair it identifies the pool | |
| token_a | Yes | address | |
| token_b | Yes | address | |
| chain_id | Yes | Base (8453) only | |
| deadline | Yes | Near-term unix timestamp; a past one makes the plan revert (positive decimal integer) | |
| recipient | No | Defaults to sender (address) | |
| amount_a_min | Yes | Slippage bound: minimum token_a base units consumed (positive decimal integer) | |
| amount_b_min | Yes | Minimum token_b base units consumed (positive decimal integer) | |
| amount_a_desired | Yes | Maximum token_a base units (positive decimal integer) | |
| amount_b_desired | Yes | Maximum token_b base units (positive decimal integer) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |