Rujira.Thorchain.Events.Bond (rujira_ex v0.0.1)

Copy Markdown View Source

A THORChain bond/rebond event.

Summary

Types

t()

@type t() :: %Rujira.Thorchain.Events.Bond{
  amount: Rujira.Amount.t() | nil,
  bond_type: String.t() | nil,
  type: :bond | :rebond
}

Functions

new(type, attrs)

@spec new(atom(), map()) :: {:ok, t()} | {:error, term()}