Skip to main content

encode_multi_target_calldata

Function encode_multi_target_calldata 

Source
pub fn encode_multi_target_calldata(targets: &[(Address, Vec<U256>)]) -> Bytes
Expand description

ABI-encode one aggregate3 dispatch whose subcalls run the extractor at each (target, slots) pair. Subcalls use allowFailure = true so one failing target degrades to per-target errors instead of reverting the whole batch.