NetworkId
Companion for NetworkId providing constructors and an extension method for unwrapping.
Attributes
- Source
- NetworkId.scala
- Graph
-
- Supertypes
- Self type
-
NetworkId.type
Members list
Value members
Concrete methods
Construct a NetworkId from a validated BigNat.
Alias for apply to emphasize validated input.
Unsafe helper for tests and constants.
Unsafe helper for tests and constants.
Only intended for fixtures and hard coded examples where the literal value is already guaranteed to be non-negative.
Attributes
- Source
- NetworkId.scala
Givens
Inherited givens
Byte decoder derived from the representation's decoder.
Byte decoder derived from the representation's decoder.
Attributes
- Inherited from:
- OpaqueValueCompanion
- Source
- OpaqueValueCompanion.scala
Byte encoder derived from the representation's encoder.
Byte encoder derived from the representation's encoder.
Attributes
- Inherited from:
- OpaqueValueCompanion
- Source
- OpaqueValueCompanion.scala
Cats Eq instance derived from the representation's Eq.
Cats Eq instance derived from the representation's Eq.
Attributes
- Inherited from:
- OpaqueValueCompanion
- Source
- OpaqueValueCompanion.scala
JSON decoder derived from the representation's decoder.
JSON decoder derived from the representation's decoder.
Attributes
- Inherited from:
- OpaqueValueCompanion
- Source
- OpaqueValueCompanion.scala
JSON encoder derived from the representation's encoder.
JSON encoder derived from the representation's encoder.
Attributes
- Inherited from:
- OpaqueValueCompanion
- Source
- OpaqueValueCompanion.scala
Extensions
Extensions
Access the underlying org.sigilaris.core.datatype.BigNat value.
Access the underlying org.sigilaris.core.datatype.BigNat value.
Use this sparingly when integrating with external systems that expect the raw representation.
Attributes
- Source
- NetworkId.scala
Inherited extensions
Exposes the underlying representation of the opaque value.
Exposes the underlying representation of the opaque value.
Attributes
- Returns
-
the representation value
- Inherited from:
- OpaqueValueCompanion
- Source
- OpaqueValueCompanion.scala