@defillama/sdk 5.0.212 → 5.0.214
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.
package/build/util/blocks.js
CHANGED
|
@@ -132,7 +132,7 @@ const intialBlocks = {
|
|
|
132
132
|
};
|
|
133
133
|
let lastBlockCacheSave = Date.now();
|
|
134
134
|
const blockCacheSaveInterval = 1000 * 60 * 5; // 5 minutes
|
|
135
|
-
const { data: blockTimeCache, saveCacheFile: saveBlockCacheFile } = (0, cache_1.getTempLocalCache)({ file: 'BlockCache.json', defaultData: {}, clearAfter: cache_1.ONE_WEEK, returnWithSaveFunction: true });
|
|
135
|
+
const { data: blockTimeCache, saveCacheFile: saveBlockCacheFile } = (0, cache_1.getTempLocalCache)({ file: 'BlockCache-v1.json', defaultData: {}, clearAfter: cache_1.ONE_WEEK, returnWithSaveFunction: true });
|
|
136
136
|
function validateCurrentBlock(block, chain = 'ethereum') {
|
|
137
137
|
// sometimes the chain is halted or facing issues, so we skip the validation for those chains
|
|
138
138
|
if ((0, env_1.shouldSkipBlockValidation)(chain))
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"ailayer": "AILayer",
|
|
12
12
|
"airdao": "AirDAO",
|
|
13
13
|
"akash": "Akash",
|
|
14
|
+
"aleo": "ALEO",
|
|
14
15
|
"aleph_zero": "Aleph Zero EVM",
|
|
15
16
|
"aleph_zero_evm": "Aleph Zero EVM",
|
|
16
17
|
"alephium": "Alephium",
|
|
@@ -160,6 +161,7 @@
|
|
|
160
161
|
"ethereumclassic": "EthereumClassic",
|
|
161
162
|
"ethf": "ETHF",
|
|
162
163
|
"ethpow": "EthereumPoW",
|
|
164
|
+
"etica": "Etica",
|
|
163
165
|
"etlk": "Etherlink",
|
|
164
166
|
"etn": "Electroneum",
|
|
165
167
|
"europa": "SKALE Europa",
|
|
@@ -192,6 +194,7 @@
|
|
|
192
194
|
"gatelayer": "GateLayer",
|
|
193
195
|
"genesys": "Genesys",
|
|
194
196
|
"genshiro": "Genshiro",
|
|
197
|
+
"gensyn": "Gensyn",
|
|
195
198
|
"goat": "GOAT",
|
|
196
199
|
"gochain": "GoChain",
|
|
197
200
|
"godwoken": "Godwoken",
|
|
@@ -300,6 +303,7 @@
|
|
|
300
303
|
"milkyway_rollup": "MilkyWay Rollup",
|
|
301
304
|
"mint": "Mint",
|
|
302
305
|
"mixin": "Mixin",
|
|
306
|
+
"moca": "Moca",
|
|
303
307
|
"mode": "Mode",
|
|
304
308
|
"molten_network": "Molten Network",
|
|
305
309
|
"monad": "Monad",
|
|
@@ -407,6 +411,7 @@
|
|
|
407
411
|
"renec": "RENEC",
|
|
408
412
|
"reya": "ReyaChain",
|
|
409
413
|
"ripple": "XRPL",
|
|
414
|
+
"rise": "RISE",
|
|
410
415
|
"robonomics": "Robonomics",
|
|
411
416
|
"rollux": "Rollux",
|
|
412
417
|
"ronin": "Ronin",
|
|
@@ -458,6 +463,7 @@
|
|
|
458
463
|
"stellar": "Stellar",
|
|
459
464
|
"step": "Step",
|
|
460
465
|
"stratis": "Stratis",
|
|
466
|
+
"strato": "Strato",
|
|
461
467
|
"stride": "Stride",
|
|
462
468
|
"sty": "Story",
|
|
463
469
|
"sui": "Sui",
|
|
@@ -547,6 +553,7 @@
|
|
|
547
553
|
"0G": "0g",
|
|
548
554
|
"AB": "new",
|
|
549
555
|
"AILayer": "ailayer",
|
|
556
|
+
"ALEO": "aleo",
|
|
550
557
|
"ALV": "alv",
|
|
551
558
|
"AO": "ao",
|
|
552
559
|
"Abstract": "abstract",
|
|
@@ -556,6 +563,7 @@
|
|
|
556
563
|
"Agoric": "agoric",
|
|
557
564
|
"AirDAO": "airdao",
|
|
558
565
|
"Akash": "akash",
|
|
566
|
+
"Aleo": "aleo",
|
|
559
567
|
"Aleph Zero EVM": "aleph_zero",
|
|
560
568
|
"Alephium": "alephium",
|
|
561
569
|
"Algorand": "algorand",
|
|
@@ -708,6 +716,7 @@
|
|
|
708
716
|
"EthereumClassic": "ethereumclassic",
|
|
709
717
|
"EthereumPoW": "ethpow",
|
|
710
718
|
"Etherlink": "etlk",
|
|
719
|
+
"Etica": "etica",
|
|
711
720
|
"Europa": "europa",
|
|
712
721
|
"Eventum": "eventum",
|
|
713
722
|
"Everclear": "everclear",
|
|
@@ -740,6 +749,7 @@
|
|
|
740
749
|
"GateLayer": "gatelayer",
|
|
741
750
|
"Genesys": "genesys",
|
|
742
751
|
"Genshiro": "genshiro",
|
|
752
|
+
"Gensyn": "gensyn",
|
|
743
753
|
"Gnosis": "xdai",
|
|
744
754
|
"GoChain": "gochain",
|
|
745
755
|
"Goat": "goat",
|
|
@@ -859,6 +869,7 @@
|
|
|
859
869
|
"Mind Network": "fhe",
|
|
860
870
|
"Mint": "mint",
|
|
861
871
|
"Mixin": "mixin",
|
|
872
|
+
"Moca": "moca",
|
|
862
873
|
"Mode": "mode",
|
|
863
874
|
"Molten Network": "molten_network",
|
|
864
875
|
"Monad": "monad",
|
|
@@ -963,6 +974,7 @@
|
|
|
963
974
|
"REI": "rei",
|
|
964
975
|
"REIchain": "reichain",
|
|
965
976
|
"RENEC": "renec",
|
|
977
|
+
"RISE": "rise",
|
|
966
978
|
"RSK": "rsk",
|
|
967
979
|
"RSS3": "rss3_vsl",
|
|
968
980
|
"Radix": "radixdlt",
|
|
@@ -1025,6 +1037,7 @@
|
|
|
1025
1037
|
"Step": "step",
|
|
1026
1038
|
"Story": "sty",
|
|
1027
1039
|
"Stratis": "stratis",
|
|
1040
|
+
"Strato": "strato",
|
|
1028
1041
|
"Stride": "stride",
|
|
1029
1042
|
"Sui": "sui",
|
|
1030
1043
|
"Superposition": "spn",
|