💳execution_settlement
Enum ExecutionOutcome
Terminal result returned to the owning Task.
public enum ExecutionOutcome has copy, dropConstants
Function settle_task_execution
Settles a finished scheduled execution's payment from its reserve, refunding on abortion or failure and accomplishing on success, and returns whether a refund was issued. Aborts if the reserve's scheduled task id does not match the execution's (EExecutionMismatch).
Function outcome_is_succeeded
Returns whether an outcome is successful.
Function abort_expired_execution
Aborts an execution that has an expired active walk, applying the abort effects.
Function settle_committed_tool_result_for_walk_by_leader
Settles a leader result while keeping the shared priority-fee vault immutable.
Function record_committed_tool_result_gas_charge_by_leader
Records primary leader committed-result gas, creating provisional failed on-chain tool evidence when supplied.
Function refill_tap_execution_payment
Tops up the execution's TAP payment from the supplied coin and emits a refill event.
Function refill_tap_execution_payment_from_agent_vault
Tops up the execution's TAP payment by the given amount from the agent's vault and emits a refill event.
Function settle_committed_tool_result_for_walk
Permissionlessly settles a result while keeping the shared priority-fee vault immutable.
Function cleanup_broken_onchain_tool_result
Function settle_onchain_tool_result_for_walk
Consumes an on-chain tool result for a walk and then settles the resulting committed tool result.
Function emit_payment_ready_walk_requests
Settles the finished invoker payment if ready, then emits execution requests for all payment-ready active walks.
Last updated

