_algopy_testing.protocols

Module Contents

Classes

BytesBacked

Represents a type that is a single bytes value.

UInt64Backed

Represents a type that is a single uint64 value.

API

class BytesBacked

Represents a type that is a single bytes value.

abstract classmethod from_bytes(value: algopy.Bytes | bytes, /) Self

Construct an instance from the underlying bytes (no validation)

abstract property bytes: algopy.Bytes

Get the underlying Bytes.

class UInt64Backed

Represents a type that is a single uint64 value.

abstract classmethod from_int(value: int, /) Self

Construct an instance from the underlying bytes (no validation)

abstract property int_: int

Get the underlying Bytes.