pub fn create_move_to_vault_txhandler(
deposit_data: &mut DepositData,
paramset: &'static ProtocolParamset,
) -> Result<TxHandler<Unsigned>, BridgeError>
Expand description
Creates a TxHandler
for the move_to_vault_tx
.
This transaction moves funds to a N-of-N address from the deposit address created by the user that deposits into Citrea after all signature collection operations are done for the deposit.
§Arguments
deposit_data
- Mutable reference to the deposit data for the transaction.paramset
- Protocol parameter set.
§Returns
A TxHandler
for the move-to-vault transaction, or a BridgeError
if construction fails.