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.
Enums§
Functions§
- create_
kickoff_ not_ finalized_ txhandler - Creates a
TxHandlerfor thekickoff_not_finalized_tx. - create_
kickoff_ txhandler - Creates a
TxHandlerfor thekickoff_tx. - create_
optimistic_ payout_ txhandler - Creates a
TxHandlerfor theoptimistic_payout_tx. - create_
payout_ txhandler - Creates a
TxHandlerfor thepayout_tx. - create_
reimburse_ txhandler - Creates a
TxHandlerfor thereimburse_tx.