Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CasmClass ¶
type CasmClass struct { Prime string `json:"prime"` Version string `json:"compiler_version"` ByteCode []*felt.Felt `json:"bytecode"` EntryPointByType CasmClassEntryPointsByType `json:"entry_points_by_type"` }
func UnmarshalCasmClass ¶
UnmarshalCasmClass is a function that unmarshals a CasmClass object from a file. CASM = Cairo instructions
It takes a file path as a parameter and returns a pointer to the unmarshaled CasmClass object and an error.
type CasmClassEntryPoint ¶
type CasmClassEntryPointsByType ¶
type CasmClassEntryPointsByType struct { Constructor []CasmClassEntryPoint `json:"CONSTRUCTOR"` External []CasmClassEntryPoint `json:"EXTERNAL"` L1Handler []CasmClassEntryPoint `json:"L1_HANDLER"` }
Click to show internal directories.
Click to hide internal directories.