SlotView class

Constructors

SlotView({String? blsPubkey, String? crName, int? createdAt, String? namespace, String? network, String? nodeID, String? nodeStatus, RegistrationView? registration, int? slot, int? tokenId, int? updatedAt, String? wallet})
Returns a new SlotView instance.

Properties

blsPubkey ↔ String?
BLSPubkey is the node's BLS public key, hex.
getter/setter pair
createdAt ↔ int?
CreatedAt is when the slot was first claimed, as a Unix timestamp.
getter/setter pair
crName ↔ String?
CRName is the LuxNetwork custom resource that materializes the node.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
namespace ↔ String?
Namespace is the Kubernetes namespace the node's CR lives in.
getter/setter pair
network ↔ String?
Network is the luxd network slug the node joins.
getter/setter pair
nodeID ↔ String?
NodeID is the luxd node id derived from the sealed staking identity. It is stable across re-claims of the same slot.
getter/setter pair
nodeStatus ↔ String?
NodeStatus is the provisioning state of the node: "node_created" once the CR is applied, "node_pending" when no cluster is reachable (the slot is still claimed and the keys are still sealed).
getter/setter pair
registration ↔ RegistrationView?
Registration is the queued owner-gated registration, absent until one exists.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slot ↔ int?
Slot is the validator slot number — the same value as tokenId, under the name the portal reads.
getter/setter pair
tokenId ↔ int?
TokenID is the GenesisNFT token id that IS this slot.
getter/setter pair
updatedAt ↔ int?
UpdatedAt is when the slot last changed, as a Unix timestamp.
getter/setter pair
wallet ↔ String?
Wallet is the lowercase Ethereum address that proved ownership of the NFT.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → SlotView?
Returns a new SlotView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SlotView>
mapFromJson(dynamic json) → Map<String, SlotView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SlotView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.