prepare_store_upgrade
Stores: prepare (unsigned) the fee for moving your store up a tier, paid in ZENI into the reward pool (approve the exact amount, then RewardPool.fund). Only when your sales have earned the tier. After it is mined call store_upgrade_confirm with the transaction hash.
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": {
"wallet": "<wallet>",
"tier": "<tier>"
},
"name": "prepare_store_upgrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. |