mint_settle_cell
Settle a work cell by distributing rewards (96% to participants, 2% protocol, 2% creator), returning stakes, and updating on-chain trust scores. Optionally evaluate the cell first by providing scores.
Instructions
Trigger settlement of a work cell.
Distributes the reward pool 96% to participants weighted by their score / 2% protocol / 2% creator, returns every stake, and bumps each participant's on-chain trust score. The configured signer must be the cell's creator.
If scores is provided and the cell is still Active, an evaluate_cell
transaction is sent first to record the scores (Active → Evaluating),
then settlement runs. If the cell was already evaluated, omit scores.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scores | No | optional per-participant scores 0–1000, same order/length as `participants`. Omit if the cell is already in the Evaluating state. | |
| cell_id | Yes | the cell to settle. | |
| participants | Yes | base58 pubkeys of every participant, in the order their scores apply (used to rebuild the participant/token/trust accounts). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||