Struct zksync_vm2_interface::L2ToL1Log
source · pub struct L2ToL1Log {
pub key: U256,
pub value: U256,
pub is_service: bool,
pub address: H160,
pub shard_id: u8,
pub tx_number: u16,
}
Expand description
L2-to-L1 log emitted by EraVM.
Fields§
§key: U256
Log key.
value: U256
Log value.
is_service: bool
Is this a service log?
address: H160
Address of the contract that has emitted this log.
shard_id: u8
Shard identifier (currently, always set to 0).
tx_number: u16
0-based index of a transaction that has emitted this event.
Trait Implementations§
impl Copy for L2ToL1Log
impl StructuralPartialEq for L2ToL1Log
Auto Trait Implementations§
impl Freeze for L2ToL1Log
impl RefUnwindSafe for L2ToL1Log
impl Send for L2ToL1Log
impl Sync for L2ToL1Log
impl Unpin for L2ToL1Log
impl UnwindSafe for L2ToL1Log
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)