ContractIdentity
yosoi.identities.ContractIdentity
class ContractIdentity(str):
The hexadecimal representation of a Rust-computed 32-byte identity.
Source: python/yosoi/identities.py:108
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Methods
Section titled “Methods”as_bytes
Section titled “as_bytes”def as_bytes(self) -> bytes:
Decode the identity into an owned 32-byte value without recomputing it.