Module builder

Source

Structs§

CasmProgramWrapperInfo
Information about a CASM program.
EntryCodeConfig
Configuration for the entry code creation.
RunnableBuilder
Builder for creating a runnable CASM program from Sierra code.

Enums§

BuildError

Functions§

create_code_footer
Creates a list of instructions that will be appended to the program’s bytecode.
create_entry_code_from_params
Returns the entry code to call the function with param_types as its inputs and return_types as outputs, located at code_offset. If finalize_for_proof is true, will make sure to remove the segment arena after calling the function. For testing purposes, finalize_for_proof can be set to false, to avoid a failure of the segment arena validation.