# models.application

## Classes

| [`AppState`](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.AppState) |  |
| --- | --- |
| [`AppInformation`](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.AppInformation) |  |
| [`CompiledTeal`](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.CompiledTeal) | The compiled teal code |
| [`AppCompilationResult`](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.AppCompilationResult) | The compiled teal code |
| [`AppSourceMaps`](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.AppSourceMaps) | The source maps for the application |

## Module Contents

### _class_ algokit_utils.models.application.AppState

#### key*raw*: bytes_
The key of the state as raw bytes

#### key*base64*: str_
The key of the state

#### value*raw*: bytes | None_
The value of the state as raw bytes

#### value*base64*: 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

#### app*id*: int_
The ID of the application

#### app*address*: str_
The address of the application

#### approval*program*: bytes_
The approval program

#### clear*state_program*: bytes_
The clear state program

#### creator: str_
The creator of the application

#### global*state*: dict[str, [AppState](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.AppState)]_
The global state of the application

#### local*ints*: int_
The number of local ints

#### local*byte_slices*: int_
The number of local byte slices

#### global*ints*: int_
The number of global ints

#### global*byte_slices*: int_
The number of global byte slices

#### extra*program_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

#### compiled*hash*: str_
The compiled hash

#### compiled*base64_to_bytes*: bytes_
The compiled base64 to bytes

#### source_map: algosdk.sourcemap.SourceMap | None_

### _class_ algokit_utils.models.application.AppCompilationResult

The compiled teal code

#### compiled*approval*: [CompiledTeal](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.CompiledTeal)_
The compiled approval program

#### compiled*clear*: [CompiledTeal](https://dev.algorand.co/reference/algokit-utils-py/api/models/application/#algokit_utils.models.application.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
