models.application | Algorand Developer Portal

models.application

Classes

AppState
AppInformation
CompiledTeal The compiled teal code
AppCompilationResult The compiled teal code
AppSourceMaps The source maps for the application

Module Contents

class algokit_utils.models.application.AppState

keyraw: bytes_

The key of the state as raw bytes

keybase64: str_

The key of the state

valueraw: bytes | None_

The value of the state as raw bytes

valuebase64: str | None_

The value of the state as base64 encoded string

value: str | int_

The value of the state as a string or integer

class algokit_utils.models.application.AppInformation

appid: int_

The ID of the application

appaddress: str_

The address of the application

approvalprogram: bytes_

The approval program

clearstate_program: bytes_

The clear state program

creator: str_

The creator of the application

globalstate: dict[str, AppState]_

The global state of the application

localints: int_

The number of local ints

localbyte_slices: int_

The number of local byte slices

globalints: int_

The number of global ints

globalbyte_slices: int_

The number of global byte slices

extraprogram_pages: int | None_

The number of extra program pages

class algokit_utils.models.application.CompiledTeal

The compiled teal code

teal: str_

The teal code

compiled: str_

The compiled teal code

compiledhash: str_

The compiled hash

compiledbase64_to_bytes: bytes_

The compiled base64 to bytes

source_map: algosdk.sourcemap.SourceMap | None_

class algokit_utils.models.application.AppCompilationResult

The compiled teal code

compiledapproval: CompiledTeal_

The compiled approval program

compiledclear: CompiledTeal_

The compiled clear state program

class algokit_utils.models.application.AppSourceMaps

The source maps for the application

approval_source_map: algosdk.sourcemap.SourceMap | None = None_

The source map for the approval program

clear_source_map: algosdk.sourcemap.SourceMap | None = None_

The source map for the clear state program