BSV.Tokens.DstasSpendType (bsv_sdk v1.1.0)

Copy Markdown View Source

dSTAS spending operation type.

Summary

Functions

Convert a spend type atom to its wire-format byte value.

Types

t()

@type t() :: :transfer | :freeze_unfreeze | :confiscation | :swap_cancellation

Functions

to_byte(atom)

@spec to_byte(t()) :: byte()

Convert a spend type atom to its wire-format byte value.