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

Representation of Stellar Price type.

Summary

Types

@type t() :: %StellarBase.XDR.Price{
  denominator: StellarBase.XDR.Int32.t(),
  numerator: StellarBase.XDR.Int32.t()
}

Functions

Link to this function

new(numerator, denominator)

View Source
@spec new(
  numerator :: StellarBase.XDR.Int32.t(),
  denominator :: StellarBase.XDR.Int32.t()
) :: t()