Nostr.Event.ParameterizedReplaceable (Nostr Lib v0.2.1) (event) (nip33)

View Source

Parameterized replaceable event

Defined in NIP 33 https://github.com/nostr-protocol/nips/blob/master/33.md

Summary

Functions

Parses a kind 30000-39999 event into a ParameterizedReplaceable struct (keyed by pubkey+kind+d tag).

Types

t()

@type t() :: %Nostr.Event.ParameterizedReplaceable{
  d: String.t(),
  event: Nostr.Event.t(),
  user: <<_::32, _::_*8>>
}

Functions

parse(event)

@spec parse(event :: Nostr.Event.t()) :: t()

Parses a kind 30000-39999 event into a ParameterizedReplaceable struct (keyed by pubkey+kind+d tag).