Module hint_processor_utils

Source

Functionsยง

compute_addr_from_reference
Computes the memory address of the ids variable indicated by the HintReference as a Relocatable
felt_to_u32
Tries to convert a Felt252 value to u32
felt_to_usize
get_integer_from_reference
Returns the Integer value stored in the given ids variable Returns an internal error, users should map it into a more informative type
get_maybe_relocatable_from_reference
Returns the value given by a reference as MaybeRelocatable
get_ptr_from_reference
Returns the Relocatable value stored in the given ids variable
insert_value_from_reference
Inserts value into the address of the given ids variable