_algopy_testing.primitives.biguint

Module Contents

Classes

BigUInt

A python implementation of an TEAL bigint type represented by AVM []byte type.

API

class BigUInt(value: _algopy_testing.primitives.uint64.UInt64 | int = 0)

Bases: _algopy_testing.protocols.BytesBacked

A python implementation of an TEAL bigint type represented by AVM []byte type.

Initialization

classmethod from_bytes(
value: _algopy_testing.primitives.bytes.Bytes | bytes,
) _algopy_testing.primitives.biguint.BigUInt

Construct an instance from the underlying bytes (no validation)

property bytes: _algopy_testing.primitives.bytes.Bytes

Get the underlying Bytes.

property value: int

Get the underlying int.