atstake_legion_conclude
Settles a proposal after voting closes and pays the proposer if it passed; call within 12 blocks before it expires.
Instructions
Settle a proposal and, if it passed, pay the proposer. Permissionless — anyone may call it, and someone must.
Conclude opens the moment voting closes and stays open for 12 blocks. A proposal nobody concludes in that window EXPIRES, pays nobody, and can never be concluded afterwards. Concluding late pays exactly what concluding early would.
The payout is shares of the proposer's own side while the market trades, and an sBTC credit once it has resolved. The caller pays gas and receives nothing.
Requires an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Which legion: "yes"/"bonded" argues the coins entered a PoX-5 bond, "no"/"idle" argues they did not. | |
| proposal_id | Yes | The proposal id. |