View Source StellarBase.XDR.Thresholds (Elixir Stellar Base v0.16.0)

Representation of an AccountEntry's Thresholds. Thresholds stores unsigned bytes: [weight of master|low|med|high]

Summary

Types

@type t() :: %StellarBase.XDR.Thresholds{
  high: byte(),
  low: byte(),
  master_weight: byte(),
  med: byte()
}
@type thresholds() :: [master_weight: byte(), low: byte(), med: byte(), high: byte()]

Functions

@spec new(thresholds :: thresholds()) :: t()