Arc56Contract
class algokit_utils.applications.app_spec.arc56.Arc56Contract
Section titled “class algokit_utils.applications.app_spec.arc56.Arc56Contract”ARC-0056 application specification.
See https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0056.md
arcs : list[int]
Section titled “arcs : list[int]”The list of supported ARC version numbers
bare*actions *: BareActions_
Section titled “bare*actions *: BareActions_”The bare call and create actions
methods : list[Method]
Section titled “methods : list[Method]”The list of contract methods
name : str
Section titled “name : str”The contract name
The contract state information
structs : dict[str, list[StructField]]
Section titled “structs : dict[str, list[StructField]]”The contract struct definitions
byte*code *: ByteCode | None_ = None
Section titled “byte*code *: ByteCode | None_ = None”The optional bytecode for approval and clear programs
compiler*info *: CompilerInfo | None_ = None
Section titled “compiler*info *: CompilerInfo | None_ = None”The optional compiler information
desc : str | None = None
Section titled “desc : str | None = None”The optional contract description
events : list[Event] | None = None
Section titled “events : list[Event] | None = None”The optional list of contract events
networks : dict[str, Network] | None = None
Section titled “networks : dict[str, Network] | None = None”The optional network deployment information
scratch*variables *: dict[str, ScratchVariables] | None_ = None
Section titled “scratch*variables *: dict[str, ScratchVariables] | None_ = None”The optional scratch variable information
source : Source | None = None
Section titled “source : Source | None = None”The optional source code
source*info *: SourceInfoModel | None_ = None
Section titled “source*info *: SourceInfoModel | None_ = None”The optional source code information
template*variables *: dict[str, TemplateVariables] | None_ = None
Section titled “template*variables *: dict[str, TemplateVariables] | None_ = None”The optional template variable information
static from_dict(application_spec: dict) → Arc56Contract
Section titled “static from_dict(application_spec: dict) → Arc56Contract”Create Arc56Contract from dictionary.
- Parameters: application_spec – Dictionary containing contract specification
- Returns: Arc56Contract instance