Docs.rs
ethrex-levm-17.0.0
ethrex-levm 17.0.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
klaus993
Dependencies
bytes ^1.6.0
normal
derive_more ^1.0.0
normal
ethrex-common ^17.0.0
normal
ethrex-crypto ^17.0.0
normal
ethrex-rlp ^17.0.0
normal
malachite ^0.6.1
normal
rayon ^1.10.0
normal
optional
rustc-hash ^2.1.1
normal
serde ^1.0.203
normal
strum ^0.27.1
normal
thiserror ^2.0.9
normal
Versions
33.43%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module l2_hook
ethrex_
levm
17.0.0
Module l2_hook
Module Items
Structs
Constants
Functions
In ethrex_
levm::
hooks
ethrex_levm
::
hooks
Module
l2_hook
Copy item path
Source
Structs
§
L2Hook
Constants
§
COMMON_
BRIDGE_
L2_
ADDRESS
FEE_
TOKEN_
RATIO_
ADDRESS
FEE_
TOKEN_
REGISTRY_
ADDRESS
Functions
§
deduct_
caller_
fee_
token
Deducts the caller’s balance in the fee token for the upfront gas cost. This is calculated as gas_limit * gas_price. This is done through a call to the fee token contract’s lockFee function.