Data types#
Module containing representations of Cairo types. Mostly used to generate proper serializers.
- class starknet_py.cairo.data_types.CairoType#
Base type for all Cairo type representations. All types extend it.
- class starknet_py.cairo.data_types.FeltType#
Type representation of Cairo field element.
- class starknet_py.cairo.data_types.TupleType#
Type representation of Cairo tuples without named fields.
- class starknet_py.cairo.data_types.NamedTupleType#
Type representation of Cairo tuples with named fields.
- class starknet_py.cairo.data_types.ArrayType#
Type representation of Cairo arrays.