Expand description
Client-side deposit ECIES, mirrored from tempoxyz/zones at a1c15e9f.
Re-exportsยง
use super::abi::DepositPayload;๐use aes_gcm::Aes256Gcm;๐use aes_gcm::KeyInit;๐use aes_gcm::Nonce;๐use aes_gcm::aead::Aead;๐use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::U256;๐use eyre::Result;๐use eyre::eyre;๐use hkdf::Hkdf;๐use k256::AffinePoint;๐use k256::ProjectivePoint;๐use k256::PublicKey;๐use k256::SecretKey;๐use k256::elliptic_curve::sec1::ToEncodedPoint;๐use sha2::Sha256;๐
Functionsยง
- encrypt_
deposit ๐ - Encrypt
[recipient(20) | memo(32) | padding(12)]for the sequencer.