Module fuels_types::offsets
source · Functions
- Gets the base offset for a script or a predicate. The offset depends on the
max_inputs
field of theConsensusParameters
and the static offset. - Gets the base offset for a script or a predicate. The offset depends on the
max_inputs
field of theConsensusParameters
and the static offset. - 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