Expand description
EVM helpers: multicall encoding, provider extensions.
Multicall encoding is pure (no async, no provider). Provider helpers
that perform actual calls live in family hydrate modules instead —
this module never reads the chain.
Structs§
- Call3
- Call3
Value - aggregate3
Call - Function with signature
aggregate3((address,bool,bytes)[])and selector0x82ad56cb. - aggregate3
Return - Container type for the return parameters of the
aggregate3((address,bool,bytes)[])function. - aggregate3
Value Call - Function with signature
aggregate3Value((address,bool,uint256,bytes)[])and selector0x174dea71. - aggregate3
Value Return - Container type for the return parameters of the
aggregate3Value((address,bool,uint256,bytes)[])function.
Constants§
- MULTICAL
L3_ ADDRESS - Canonical multicall3 deployment, present on most EVM chains.
Functions§
- encode_
multicall3_ aggregate3 - Encode a
Vec<Call>as a multicall3aggregate3call (calldata only, caller is responsible for settingto = MULTICALL3_ADDRESSandvalue). - encode_
multicall3_ aggregate3_ value - Encode a
Vec<Call>as a multicall3aggregate3Valuecall (calldata only; caller setsto = MULTICALL3_ADDRESSand the top-level txvalue). - sign_
extend_ i24 - Sign-extend alloy’s
I24(a wrapping signed 24-bit type) toi32.