Expand description
Numerical and Ethereum utilities
Traits§
- Eth
- Convert values in in eth to weth
Functions§
- address_
from_ hex - Create a revm address from a hex string.
- clamp_
u256_ to_ u128 - Clamp a u256 to the u128 range and cast
- constructor_
data - Append contract bytecode and encoded arguments for use in deployment
- data_
bytes_ from_ hex - Create a Bytes object from a hex string.
- div_
u256 - Divide two u256 values returning a f64
- scale_
data_ value - Scale a U256 value representing a fixed number of decimals into a value that fits a f64 (discarding some precision)