Module: BudaApi::Constants::Currency

Defined in:
lib/buda_api/constants.rb

Overview

Supported currencies

Constant Summary collapse

ARS =

Argentine Peso

"ARS"
BCH =

Bitcoin Cash

"BCH"
BTC =

Bitcoin

"BTC"
CLP =

Chilean Peso

"CLP"
COP =

Colombian Peso

"COP"
ETH =

Ethereum

"ETH"
LTC =

Litecoin

"LTC"
PEN =

Peruvian Sol

"PEN"
USDC =

USD Coin

"USDC"
ALL =
[ARS, BCH, BTC, CLP, COP, ETH, LTC, PEN, USDC].freeze
DECIMALS =

Currency decimal places

{
  ARS => 2,
  BCH => 8,
  BTC => 8,
  CLP => 2,
  COP => 2,
  ETH => 9,
  LTC => 8,
  PEN => 2,
  USDC => 2
}.freeze