etherscan 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae5a3c27f579a927ac49bf966f739638880883ea3427329e68f77a6d94fa84f
4
- data.tar.gz: 2a88c324132a2a6cad32e36b290d50410abb9d19a54293566454ed26dc0615d6
3
+ metadata.gz: a4d5ec6886432a0abcb073b8e17053be4a0f03ce6ad95f956cc2af34d2ece2c3
4
+ data.tar.gz: a527e4a0a3c221851db4e7d881c4bea20f313ef00ff9ad7c4fbdf5bec26b094b
5
5
  SHA512:
6
- metadata.gz: a0ae0a1a1092fae3b479260a95f1725724b685a305c8aab475a573855f5226b74e88fc67b8f62b8c85662f7e615d55470735971eaff8a4cab9eb3bf51b9a427e
7
- data.tar.gz: 599c757ea7a9812a3a9a46f045708d936858bfc7670049d75d7ed9a1453b7e54409b9b9119544349e4fd28e69ebd5ab37cd203f184842fc6b91ed5a88a89b27e
6
+ metadata.gz: b643fed3858d01831668d7f6b80aa5bde9c5a7108927282bca291ef276440d79196422f7b2eccabe1599fb47bd7d0c04be9e2370b5f6ccd65b83ac27ccc54016
7
+ data.tar.gz: 4363b96d1a7aff5e392e9b6f002b0d7305abd997b9ff567daa2e397bc00a931d78eb250f1ab0132314d5d6c560220b938cc2b7a279551bdec8a6aa588a8e6b6a
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Etherscan
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
data/lib/etherscan.rb CHANGED
@@ -40,7 +40,13 @@ module Etherscan
40
40
  1111 => 'wemix',
41
41
  534_352 => 'scr',
42
42
  534_351 => 'scr_sepolia',
43
- 204 => 'obnb'
43
+ 204 => 'obnb',
44
+
45
+ 728_126_428 => 'tron',
46
+ 2_494_104_990 => 'tron_shasta',
47
+ 43 => 'pangolin',
48
+ 44 => 'crab',
49
+ 46 => 'darwinia'
44
50
  }
45
51
 
46
52
  # https://chainid.network/chains.json
@@ -84,7 +90,8 @@ module Etherscan
84
90
 
85
91
  # https://tronscan.org/#/developer/api
86
92
  TRON_CHAINS = {
87
- 'tron' => 'https://apilist.tronscanapi.com/api'
93
+ 'tron' => 'https://apilist.tronscanapi.com/api',
94
+ 'tron_shasta' => 'https://shastapi.tronscan.org/api'
88
95
  }
89
96
 
90
97
  SUBSCAN_CHAINS = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etherscan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aki Wu