Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CasmClass ¶ added in v0.4.6
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 ¶ added in v0.4.6
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 ¶ added in v0.4.6
type CasmClassEntryPointsByType ¶ added in v0.4.6
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.