Plan a mission: "trade my block", reward escrowed
tblock_plan_taskReturns the unsigned calls that post a mission on the Block Missions board for a block: approve EXACTLY reward x maxDone (raw units of the block), then postTask. The task is "trade my block on its TokenizedBlock pool" (a v4 Swap on the block's pool on our hook, the only pool a mission may name), held hold raw units for 24 h, open 7 days, one completion per wallet. The block creator's wallet signs. REFUSED while the board's contract is not deployed, or when the block has no pool on a TokenizedBlock hook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold | Yes | Minimum holding of the block during the 24 h window, raw units. | |
| block | Yes | The block (B20 token) the mission is about; its units pay the reward. | |
| reward | Yes | Reward per player, raw units of the block (18 decimals). | |
| maxDone | Yes | How many players can complete it, 1 to 10000. |