Module operator_reimburse

Source
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§

AssertScripts
DisprovePath

Functions§

create_kickoff_not_finalized_txhandler
Creates a TxHandler for the kickoff_not_finalized_tx.
create_kickoff_txhandler
Creates a TxHandler for the kickoff_tx.
create_optimistic_payout_txhandler
Creates a TxHandler for the optimistic_payout_tx.
create_payout_txhandler
Creates a TxHandler for the payout_tx.
create_reimburse_txhandler
Creates a TxHandler for the reimburse_tx.