View Source Kadena.Types.Signer (Kadena v0.19.1)

Signer struct definition.

Link to this section Summary

Link to this section Types

@type addr() :: Kadena.Types.Base16String.t() | nil
@type clist() :: [Kadena.Types.Cap.t()] | nil
@type pub_key() :: Kadena.Types.Base16String.t()
@type scheme() :: :ed25519 | nil
@type str() :: String.t()
@type t() :: %Kadena.Types.Signer{
  addr: addr(),
  clist: clist(),
  pub_key: pub_key(),
  scheme: scheme()
}
@type validation() :: {:ok, value()} | {:error, Keyword.t()}
@type value() :: pub_key() | scheme() | addr() | clist()