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

Command struct definition.

Link to this section Summary

Link to this section Types

@type cmd() :: String.t()
@type raw_cmd() :: list()
@type sigs() :: [Kadena.Types.Signature.t()]
@type t() :: %Kadena.Types.Command{cmd: cmd(), hash: hash(), sigs: sigs()}
@type validation() :: {:ok, value()} | {:error, Keyword.t()}
@type value() :: hash() | sigs() | cmd()