Prepare ve-token vote clearing
prepare_ve33_clear_voteRemove the active vote from one or more ve-tokens, claiming each stake's current pool fees immediately before its clearVote in one atomic batch. Use this instead of raw clearVote calldata: Ve33 discards pending voter fees when a stake's weight goes to zero, and a current_pool_key that is not the stake's active pool reverts the whole batch. Stake amount, lock end and NFT ownership are untouched; the stake stops directing emissions and earning that pool's voter fees. Prefer prepare_ve33_reallocation when votes move to other pools. See ekubo://docs/ve33-workflow.
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>",
"votes": "<votes>"
},
"name": "prepare_ve33_clear_vote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| votes | Yes | ||
| sender | Yes | address | |
| chain_id | Yes | With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain | |
| ve_token | Yes | address | |
| recipient | No | Fee recipient; defaults to sender for claimPoolFeesToSelf (address) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |