fuels_core::offsets

Function call_script_data_offset

Source
pub fn call_script_data_offset(
    consensus_parameters: &ConsensusParameters,
    calls_instructions_len: usize,
) -> Result<usize>
Expand description

Calculates the length of the script based on the number of contract calls it has to make and returns the offset at which the script data begins