fuels_types

Module offsets

Source

Functionsยง

base_offset_create
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.
base_offset_script
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.
call_script_data_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
coin_predicate_data_offset
coin_signed_data_offset
contract_input_offset
message_predicate_data_offset
message_signed_data_offset