Skip to content

Commit

Permalink
Add SUPPORTED_ASSETS constant
Browse files Browse the repository at this point in the history
  • Loading branch information
yuga-cb committed Apr 16, 2024
1 parent a44f9ce commit af352f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/coinbase/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ module Coinbase

# The amount of Wei per Gwei.
WEI_PER_GWEI = 1_000_000_000

# The amount of Gwei per Ether.
GWEI_PER_ETHER = 1_000_000_000

# A map of supported Asset IDs.
SUPPORTED_ASSET_IDS = {
eth: true, # Ether, the native asset of most EVM networks.
gwei: true, # A medium denomination of Ether, typically used in gas prices.
wei: true # The smallest denomination of Ether.
}.freeze
end

0 comments on commit af352f5

Please sign in to comment.