Antd.PointerRecord (antd v0.4.1)

Copy Markdown View Source

A pointer's current state, as the network serves it (pointer_get).

  • owner — the owner's ML-DSA-65 public key (hex, 1,952 bytes). The address is derived from it, so it is the proof of who owns the pointer.
  • counter — an integer, the daemon's u64 sent as a decimal string. A final state (after a transfer or a freeze) sits at final_counter/0, 2^64 - 1, and is_final is true: nothing can replace it.
  • kind — "chunk", "pointer", or "unknown" for a kind the daemon does not know; kind_tag is the raw value either way.
  • transferred_to — the pointer this one was handed over to, or nil.

Summary

Functions

The counter of a pointer's final state, 2^64 - 1.

Types

t()

@type t() :: %Antd.PointerRecord{
  address: String.t(),
  counter: non_neg_integer(),
  is_final: boolean(),
  kind: String.t(),
  kind_tag: non_neg_integer(),
  owner: String.t(),
  state_id: String.t(),
  target: String.t(),
  transferred_to: String.t() | nil
}

Functions

final_counter()

@spec final_counter() :: non_neg_integer()

The counter of a pointer's final state, 2^64 - 1.