Explorer

definy.signed-event-cbor

description
A SignedEvent: {signature, event_binary: tag24(the inner event)}
type
Fn(signature: List<Number>, event_binary: List<Number>) -> @cbor.item
expression
fn(signature$0, event_binary$1) =>
  #map<@cbor.item>([
    {key: #text<@cbor.item>("signature"), value: #bytes<@cbor.item>($0)},
    {
      key: #text<@cbor.item>("event_binary"),
      value: #tagged<@cbor.item>({tag: 24, value: #bytes<@cbor.item>($1)})
    }
  ])
visibility
public
definy.signed-event-cbor (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: LIZ7J8FbPJAAM3QJ05bmTLw8nfn46dR8swnbl4FR1ac
content hash: _jTIOB9UyuYgJcDVHH1dG5afrXFkAJqsq_CPcOnvbLI