Expand description
§Collaterals
This module contains the logic for creating the round_tx
, ready_to_reimburse_tx
,
and unspent_kickoff_tx
transactions. These transactions are used to control the sequence of transactions
in the withdrawal process and limits the number of withdrawals the operator can make in a given time period.
The flow is as follows:
round_tx -> ready_to_reimburse_tx -> round_tx -> ...
The round_tx
is used to create a collateral for the withdrawal, kickoff utxos for the current
round and the reimburse connectors for the previous round.
Enums§
Functions§
- Creates a vector of
TxHandler
forassert_timeout_tx
transactions. - Creates a
TxHandler
for burning unused kickoff connectors. - Creates a
TxHandler
for theready_to_reimburse_tx
. - Creates the nth (1-indexed)
round_txhandler
andreimburse_generator_txhandler
pair for a specific operator. - Creates a
TxHandler
forround_tx
. - Creates a vector of
TxHandler
forunspent_kickoff_tx
transactions. These transactions can be sent if an operator sends ReadyToReimburse transaction without spending all the kickoff utxos of the round.