etherscan 0.4.0 → 0.4.2

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: 8a1f22fee2a0c10e2a9476a8b7b221cfa4c471701807b8f662cfadf8d6285083
4
+ data.tar.gz: 7ac059ca78e92469ff13daaa628d8f3aafe37ffd9853917e039fc7b663ec57a3
5
5
  SHA512:
6
- metadata.gz: a0ae0a1a1092fae3b479260a95f1725724b685a305c8aab475a573855f5226b74e88fc67b8f62b8c85662f7e615d55470735971eaff8a4cab9eb3bf51b9a427e
7
- data.tar.gz: 599c757ea7a9812a3a9a46f045708d936858bfc7670049d75d7ed9a1453b7e54409b9b9119544349e4fd28e69ebd5ab37cd203f184842fc6b91ed5a88a89b27e
6
+ metadata.gz: f025c002f84ec158d6858a360bc8b4b7011bfa5b6bd228cc0691850af6f142e99358a77c539075071f00fa955868a371ed5a6d595417f160f89ebc50796bcfb1
7
+ data.tar.gz: b8325cec89325c8df8d6381ab61e2a5083aecb318aad8bcc7f328cfe7545167c7ef16a221871eccb734ca30743529d0d6bbc09d5d54fba2558767a0889fa0150
@@ -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.2'
5
5
  end
data/lib/etherscan.rb CHANGED
@@ -40,7 +40,14 @@ module Etherscan
40
40
  1111 => 'wemix',
41
41
  534_352 => 'scr',
42
42
  534_351 => 'scr_sepolia',
43
- 204 => 'obnb'
43
+ 204 => 'obnb',
44
+ 81457 => 'blastmainnet',
45
+
46
+ 728_126_428 => 'tron',
47
+ 2_494_104_990 => 'tron_shasta',
48
+ 43 => 'pangolin',
49
+ 44 => 'crab',
50
+ 46 => 'darwinia'
44
51
  }
45
52
 
46
53
  # https://chainid.network/chains.json
@@ -79,12 +86,14 @@ module Etherscan
79
86
  'wemix' => 'https://api.wemixscan.com/api',
80
87
  'scr' => 'https://api.scrollscan.com/api',
81
88
  'scr_sepolia' => 'https://api-sepolia.scrollscan.com/api',
82
- 'obnb' => 'https://api-opbnb.bscscan.com/api'
89
+ 'obnb' => 'https://api-opbnb.bscscan.com/api',
90
+ 'blastmainnet' => 'https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan/api'
83
91
  }
84
92
 
85
93
  # https://tronscan.org/#/developer/api
86
94
  TRON_CHAINS = {
87
- 'tron' => 'https://apilist.tronscanapi.com/api'
95
+ 'tron' => 'https://apilist.tronscanapi.com/api',
96
+ 'tron_shasta' => 'https://shastapi.tronscan.org/api'
88
97
  }
89
98
 
90
99
  SUBSCAN_CHAINS = {
metadata CHANGED
@@ -1,14 +1,14 @@
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aki Wu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport