cairo_lang_starknet

Module contract

source

Structs§

Functions§

  • Finds the inline modules annotated as contracts in the given crate_ids and returns the corresponding ContractDeclarations.
  • Returns the ABI functions of a given contract. Assumes the given module is a contract module.
  • Returns the list of functions in a given module.
  • Converts a function to a Sierra function. Returns the selector and the sierra function id.
  • Returns the contract declaration of a given module if it is a contract module.