Function closing_deposit_context_tx

Source
pub fn closing_deposit_context_tx(
    l1_info: &L1BlockInfoTx,
    sequence_number: u64,
) -> Sealed<TxDeposit>
Expand description

Create a TxDeposit for closing the deposit context. This deposit transaction, after interop activation, always is placed last in the deposit section of the block.

https://specs.optimism.io/interop/derivation.html#closing-the-deposit-context