Expand description
§Operator Reimburse Transactions
This module contains the logic for creating operator reimbursement and payout-related transactions in the protocol. These transactions handle the flow of funds for operator compensation, challenge handling, and user withdrawals.
The main responsibilities include:
- Constructing the kickoff transaction, which sets up all outputs needed for subsequent protocol steps (challenge, reimbursement, asserts, etc.).
- Creating transactions for operator reimbursement in case of honest behavior.
- Handling payout transactions for user withdrawals, including both standard (with BitVM) and optimistic payout flows.