algokit_utils.models.state
Attributes
Section titled “Attributes”TealTemplateParams | |
|---|---|
BoxIdentifier |
Classes
Section titled “Classes”BoxName | The name of the box |
|---|---|
BoxValue | The value of the box |
DataTypeFlag | Enum where members are also (and must be) ints |
BoxReference | Represents a box reference with a foreign app index and the box name. |
Module Contents
Section titled “Module Contents”class BoxName
Section titled “class BoxName”The name of the box
name : str
Section titled “name : str”The name of the box as a string. If the name can’t be decoded from UTF-8, the string representation of the bytes is returned instead.
name_raw : bytes
Section titled “name_raw : bytes”The name of the box as raw bytes
name_base64 : str
Section titled “name_base64 : str”The name of the box as a base64 encoded string
class BoxValue
Section titled “class BoxValue”The value of the box
The name of the box
value : bytes
Section titled “value : bytes”The value of the box as raw bytes
class DataTypeFlag
Section titled “class DataTypeFlag”Bases: enum.IntEnum
Enum where members are also (and must be) ints
BYTES = 1
Section titled “BYTES = 1”UINT = 2
Section titled “UINT = 2”type TealTemplateParams = Mapping[str, str | int | bytes] | dict[str, str | int | bytes]
Section titled “type TealTemplateParams = Mapping[str, str | int | bytes] | dict[str, str | int | bytes]”type BoxIdentifier = str | bytes | AccountTransactionSigner
Section titled “type BoxIdentifier = str | bytes | AccountTransactionSigner”class BoxReference
Section titled “class BoxReference”Bases: algosdk.box_reference.BoxReference
Represents a box reference with a foreign app index and the box name.
Args: : app_index (int): index of the application in the foreign app array name (bytes): key for the box in bytes