StellarBase.XDR.Preconditions (Elixir Stellar Base v0.8.0) View Source

Representation of Stellar Preconditions type.

Link to this section Summary

Link to this section Types

Specs

preconditions() ::
  StellarBase.XDR.Void
  | StellarBase.XDR.TimeBounds.t()
  | StellarBase.XDR.PreconditionsV2.t()

Specs

t() :: %StellarBase.XDR.Preconditions{
  preconditions: preconditions(),
  type: StellarBase.XDR.PreconditionType.t()
}

Link to this section Functions

Link to this function

new(preconditions, type)

View Source

Specs

new(
  preconditions :: preconditions(),
  type :: StellarBase.XDR.PreconditionType.t()
) :: t()