gas_estimate_data_len

Function gas_estimate_data_len 

Source
pub fn gas_estimate_data_len(input: &[u8]) -> u64
Expand description

Extract the bytes parameter (data) from an ABI-encoded (address, bool, bytes) gas-estimate call, returning its length.

Calldata layout: selector(4) + address(32) + bool(32) + offset(32) + length(32) + data…