Skip to main content

encrypt_deposit

Function encrypt_deposit 

Source
pub(super) fn encrypt_deposit(
    x: B256,
    parity: u8,
    to: Address,
    memo: B256,
    sender: Address,
    portal: Address,
    key_index: U256,
) -> Result<DepositPayload>
Expand description

Encrypt [recipient(20) | memo(32) | padding(12)] for the sequencer.