algopy_testing.state.utils
Module Contents
Section titled “Module Contents”Functions
Section titled “Functions”serialize(→ SerializableValue) | |
|---|---|
deserialize(→ _TValue) | |
cast_from_bytes(→ _TValue) | assuming _TValue to be one of the followings: |
cast_to_bytes(→ bytes) | |
get_account(→ algopy.Account) |
SerializableValue |
|---|
SerializableValue
Section titled “SerializableValue”serialize(value: _TValue) → SerializableValue
Section titled “serialize(value: _TValue) → SerializableValue”deserialize(typ: type[_TValue], value: SerializableValue) → _TValue
Section titled “deserialize(typ: type[_TValue], value: SerializableValue) → _TValue”cast_from_bytes(typ: type[_TValue], value: bytes) → _TValue
Section titled “cast_from_bytes(typ: type[_TValue], value: bytes) → _TValue”assuming _TValue to be one of the followings: : - bool,
- UInt64Backed
- BytesBacked