algopy_testing.state.global_state
Module Contents
Section titled “Module Contents”Classes
Section titled “Classes”GlobalState |
|---|
class GlobalState
Section titled “class GlobalState”Bases: Generic[_T]
description = ”
Section titled “description = ””app_id
Section titled “app_id”set_key(key: Bytes | String | bytes | str) → None
Section titled “set_key(key: Bytes | String | bytes | str) → None”Set the key and apply any pending value.
Pending values are used for implicit keys in Contract subclasses. They’re stored until the ‘Contract’’s initialization sets the key.
property key : algopy.Bytes
Section titled “property key : algopy.Bytes”Provides access to the raw storage key.