Prepare a ve-token extension
prepare_ve33_extendPrepare a direct extension for an unvoted VeToken or an atomic claim-and-extend call when current_pool_key identifies an active vote, so pending voter fees are preserved. Extending moves the stake to a later end time and clears its vote — that is why the claim is compounded into the same call. A stake's end time only ever moves later, here and everywhere else in Ve33. No NFT is burned and no stake leaves the wallet; re-vote afterwards with prepare_ve33_vote. max_duration=true must be the user's explicit choice.
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>",
"ve_token": "<ve_token>",
"sender": "<sender>",
"ve_id": "<ve_id>"
},
"name": "prepare_ve33_extend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ve_id | Yes | decimal integer | |
| sender | Yes | address | |
| chain_id | Yes | With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain | |
| ve_token | Yes | address | |
| max_duration | No | ||
| current_pool_key | No | Active pool key when voted; the MCP claims fees atomically before extension. Omit only for an unvoted VeToken. PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote | |
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |