Function fuels_core::offsets::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.