Expand description
Shared signing utilities.
Enums§
- HexConst
Error - Errors raised by
parse_address_const/parse_b256_const.
Functions§
- decimal_
to_ scaled_ i256 - Scales a [
Decimal] amount to a 1e18 fixed-point [I256]. - decimal_
to_ scaled_ u256 - Scales a [
Decimal] amount to a 1e18 fixed-point [U256]. - parse_
address_ const - Parses a
0x-prefixed 20-byte address constant, surfacing a clear error if the placeholder marker<paste_is still present. - parse_
b256_ const - Parses a
0x-prefixed 32-byte hash constant, surfacing a clear error if the placeholder marker<paste_is still present. - utc_
now_ ms - Returns the current UNIX time in milliseconds.