fuels_core

Module offsets

Source

Functionsยง

  • 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.
  • 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