Arc32Contract
class algokit_utils.applications.app_spec.arc32.Arc32Contract
Section titled “class algokit_utils.applications.app_spec.arc32.Arc32Contract”ARC-0032 application specification
See <https://github.com/algorandfoundation/ARCs/pull/150>
approval*program *: str_
Section titled “approval*program *: str_”clear*program *: str_
Section titled “clear*program *: str_”contract : algosdk.abi.Contract
Section titled “contract : algosdk.abi.Contract”hints : dict[str, MethodHints]
Section titled “hints : dict[str, MethodHints]”schema : StateDict
Section titled “schema : StateDict”global*state_schema *: algosdk.transaction.StateSchema_
Section titled “global*state_schema *: algosdk.transaction.StateSchema_”local*state_schema *: algosdk.transaction.StateSchema_
Section titled “local*state_schema *: algosdk.transaction.StateSchema_”bare*call_config *: MethodConfigDict_
Section titled “bare*call_config *: MethodConfigDict_”dictify() → dict
Section titled “dictify() → dict”to_json(indent: int | None = None) → str
Section titled “to_json(indent: int | None = None) → str”static from_json(application_spec: str) → Arc32Contract
Section titled “static from_json(application_spec: str) → Arc32Contract”export(directory: pathlib.Path | str | None = None) → None
Section titled “export(directory: pathlib.Path | str | None = None) → None”Write out the artifacts generated by the application to disk.
Writes the approval program, clear program, contract specification and application specification to files in the specified directory.
- Parameters: directory – Path to the directory where the artifacts should be written. If not specified, uses the current working directory