fuels_core::offsets

Function base_offset_script

Source
pub fn base_offset_script(consensus_parameters: &ConsensusParameters) -> usize
Expand description

Gets the base offset for a script or a predicate. The offset depends on the max_inputs field of the ConsensusParameters and the static offset.