BSV.Tokens.Authority (bsv_sdk v1.1.0)

Copy Markdown View Source

Multi-signature authority configuration for token governance.

Summary

Functions

Validate the authority configuration (m-of-n keys).

Types

t()

@type t() :: %BSV.Tokens.Authority{m: non_neg_integer(), public_keys: [String.t()]}

Functions

validate(authority)

@spec validate(t()) :: :ok | {:error, BSV.Tokens.Error.t()}

Validate the authority configuration (m-of-n keys).