@bgd-labs/toolbox 0.0.18 → 0.0.20
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/dist/{index-CoGUyq9j.d.mts → index-DPOHC58S.d.mts} +212 -52
- package/dist/{index-CoGUyq9j.d.ts → index-DPOHC58S.d.ts} +212 -52
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +286 -141
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +285 -145
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +3 -2
- package/dist/node.d.ts +3 -2
- package/dist/node.js +286 -141
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +285 -145
- package/dist/node.mjs.map +1 -1
- package/package.json +3 -1
package/dist/node.js
CHANGED
|
@@ -31,6 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var node_exports = {};
|
|
32
32
|
__export(node_exports, {
|
|
33
33
|
AggregatorInterface_ABI: () => AggregatorInterface_ABI,
|
|
34
|
+
Aip: () => Aip,
|
|
34
35
|
ChainId: () => ChainId,
|
|
35
36
|
ChainList: () => ChainList,
|
|
36
37
|
EVENT_DB: () => EVENT_DB,
|
|
@@ -118,6 +119,7 @@ __export(node_exports, {
|
|
|
118
119
|
getReserveConfigurations: () => getReserveConfigurations,
|
|
119
120
|
getReserveTokens: () => getReserveTokens,
|
|
120
121
|
getSourceCode: () => getSourceCode,
|
|
122
|
+
getVerificationStatus: () => getVerificationStatus,
|
|
121
123
|
hyperRPCSupportedNetworks: () => hyperRPCSupportedNetworks,
|
|
122
124
|
isPayloadFinal: () => isPayloadFinal,
|
|
123
125
|
isProposalFinal: () => isProposalFinal,
|
|
@@ -140,6 +142,8 @@ __export(node_exports, {
|
|
|
140
142
|
tenderly_getVnet: () => tenderly_getVnet,
|
|
141
143
|
tenderly_sim: () => tenderly_sim,
|
|
142
144
|
tenderly_simVnet: () => tenderly_simVnet,
|
|
145
|
+
toTxLink: () => toTxLink,
|
|
146
|
+
validateAip: () => validateAip,
|
|
143
147
|
wadDiv: () => wadDiv,
|
|
144
148
|
wadToRay: () => wadToRay
|
|
145
149
|
});
|
|
@@ -12868,6 +12872,24 @@ async function getNonFinalizedProposals(client, governanceAddress) {
|
|
|
12868
12872
|
return nonFinalProposals;
|
|
12869
12873
|
}
|
|
12870
12874
|
|
|
12875
|
+
// src/aave/governance/aip.ts
|
|
12876
|
+
var import_arktype = require("arktype");
|
|
12877
|
+
var import_gray_matter = __toESM(require("gray-matter"));
|
|
12878
|
+
var Aip = (0, import_arktype.type)({
|
|
12879
|
+
discussions: "string.url",
|
|
12880
|
+
title: "string",
|
|
12881
|
+
author: "string",
|
|
12882
|
+
snapshot: "string.url?"
|
|
12883
|
+
});
|
|
12884
|
+
function validateAip(content) {
|
|
12885
|
+
const fm = (0, import_gray_matter.default)(content);
|
|
12886
|
+
const out = Aip(fm.data);
|
|
12887
|
+
if (out instanceof import_arktype.type.errors) {
|
|
12888
|
+
console.error(out.summary);
|
|
12889
|
+
throw new Error("aip validation failed");
|
|
12890
|
+
}
|
|
12891
|
+
}
|
|
12892
|
+
|
|
12871
12893
|
// src/ecosystem/generated/etherscanExplorers.ts
|
|
12872
12894
|
var etherscanExplorers = {
|
|
12873
12895
|
1: {
|
|
@@ -13346,6 +13368,10 @@ var routescanExplorers = {
|
|
|
13346
13368
|
api: "https://api.routescan.io/v2/network/testnet/evm/2358/etherscan",
|
|
13347
13369
|
explorer: "2358.routescan.io"
|
|
13348
13370
|
},
|
|
13371
|
+
2368: {
|
|
13372
|
+
api: "https://api.routescan.io/v2/network/testnet/evm/2368/etherscan",
|
|
13373
|
+
explorer: "2368.routescan.io"
|
|
13374
|
+
},
|
|
13349
13375
|
2522: {
|
|
13350
13376
|
api: "https://api.routescan.io/v2/network/testnet/evm/2522/etherscan",
|
|
13351
13377
|
explorer: "2522.routescan.io"
|
|
@@ -13554,6 +13580,10 @@ var routescanExplorers = {
|
|
|
13554
13580
|
api: "https://api.routescan.io/v2/network/testnet/evm/21816/etherscan",
|
|
13555
13581
|
explorer: "21816.routescan.io"
|
|
13556
13582
|
},
|
|
13583
|
+
23944: {
|
|
13584
|
+
api: "https://api.routescan.io/v2/network/testnet/evm/23944/etherscan",
|
|
13585
|
+
explorer: "23944.routescan.io"
|
|
13586
|
+
},
|
|
13557
13587
|
24010: {
|
|
13558
13588
|
api: "https://api.routescan.io/v2/network/testnet/evm/24010/etherscan",
|
|
13559
13589
|
explorer: "24010.routescan.io"
|
|
@@ -14120,7 +14150,8 @@ var ChainId = {
|
|
|
14120
14150
|
zksync: import_chains.zksync.id,
|
|
14121
14151
|
linea: import_chains.linea.id,
|
|
14122
14152
|
ink: import_chains.ink.id,
|
|
14123
|
-
soneium: import_chains.soneium.id
|
|
14153
|
+
soneium: import_chains.soneium.id,
|
|
14154
|
+
bob: import_chains.bob.id
|
|
14124
14155
|
};
|
|
14125
14156
|
var ChainList = {
|
|
14126
14157
|
[ChainId.mainnet]: import_chains.mainnet,
|
|
@@ -14160,7 +14191,8 @@ var ChainList = {
|
|
|
14160
14191
|
[ChainId.zksync]: import_chains.zksync,
|
|
14161
14192
|
[ChainId.linea]: import_chains.linea,
|
|
14162
14193
|
[ChainId.ink]: import_chains.ink,
|
|
14163
|
-
[ChainId.soneium]: import_chains.soneium
|
|
14194
|
+
[ChainId.soneium]: import_chains.soneium,
|
|
14195
|
+
[ChainId.bob]: import_chains.bob
|
|
14164
14196
|
};
|
|
14165
14197
|
|
|
14166
14198
|
// src/ecosystem/rpcs.ts
|
|
@@ -14203,7 +14235,6 @@ var alchemyNetworkMap = {
|
|
|
14203
14235
|
2442: "polygonzkevm-cardona",
|
|
14204
14236
|
2523: "frax-sepolia",
|
|
14205
14237
|
2741: "abstract-mainnet",
|
|
14206
|
-
4002: "fantom-testnet",
|
|
14207
14238
|
4157: "crossfi-testnet",
|
|
14208
14239
|
4158: "crossfi-mainnet",
|
|
14209
14240
|
4801: "worldchain-sepolia",
|
|
@@ -14261,7 +14292,7 @@ var alchemyNetworkMap = {
|
|
|
14261
14292
|
994873017: "lumia-prism",
|
|
14262
14293
|
999999999: "zora-sepolia",
|
|
14263
14294
|
1952959480: "lumia-testnet",
|
|
14264
|
-
"null": "
|
|
14295
|
+
"null": "aptos-testnet"
|
|
14265
14296
|
};
|
|
14266
14297
|
|
|
14267
14298
|
// src/ecosystem/generated/quicknodeNetworkMap.ts
|
|
@@ -14361,7 +14392,8 @@ var publicRPCs = {
|
|
|
14361
14392
|
[ChainId.zksync]: "https://mainnet.era.zksync.io",
|
|
14362
14393
|
[ChainId.fantom]: "https://rpc.ftm.tools",
|
|
14363
14394
|
[ChainId.avalanche]: "https://api.avax.network/ext/bc/C/rpc",
|
|
14364
|
-
[ChainId.linea]: "https://rpc.linea.build"
|
|
14395
|
+
[ChainId.linea]: "https://rpc.linea.build",
|
|
14396
|
+
[ChainId.bob]: "https://rpc.gobob.xyz"
|
|
14365
14397
|
};
|
|
14366
14398
|
var alchemySupportedChainIds = Object.values(ChainId).filter(
|
|
14367
14399
|
(id) => alchemyNetworkMap[id]
|
|
@@ -14752,7 +14784,7 @@ var chainlinkFeeds = {
|
|
|
14752
14784
|
"contractAddress": "0x00f0eFB3d9dBe7fE91fee44aE09DAe5DFA65c382",
|
|
14753
14785
|
"proxyAddress": "0x75A0d3264a949C2C920d7F25Df174af1FaF73399",
|
|
14754
14786
|
"decimals": 8,
|
|
14755
|
-
"name": "FBTC
|
|
14787
|
+
"name": "FBTC Proof of Reserves"
|
|
14756
14788
|
},
|
|
14757
14789
|
{
|
|
14758
14790
|
"contractAddress": "0x019699e5b12331cf77DF9E39818c2E15C8B06215",
|
|
@@ -14854,7 +14886,7 @@ var chainlinkFeeds = {
|
|
|
14854
14886
|
"contractAddress": "0x0bb1203d3Df75752723290EFB116a91a1a9196D1",
|
|
14855
14887
|
"proxyAddress": "0x7Eaa6f116Ab9E57f58d9A9Ce88cc3f1c2476ECfA",
|
|
14856
14888
|
"decimals": 18,
|
|
14857
|
-
"name": "stBTC
|
|
14889
|
+
"name": "stBTC Proof of Reserves"
|
|
14858
14890
|
},
|
|
14859
14891
|
{
|
|
14860
14892
|
"contractAddress": "0x0c5781B3d5E2F7c00bC286E910cB9D28a86D94b6",
|
|
@@ -15088,7 +15120,7 @@ var chainlinkFeeds = {
|
|
|
15088
15120
|
"contractAddress": "0x4803f34B757726d857c86cE585582AeB5F4A9417",
|
|
15089
15121
|
"proxyAddress": "0x5586bF404C7A22A4a4077401272cE5945f80189C",
|
|
15090
15122
|
"decimals": 8,
|
|
15091
|
-
"name": "CacheGold
|
|
15123
|
+
"name": "CacheGold Proof of Reserves USD"
|
|
15092
15124
|
},
|
|
15093
15125
|
{
|
|
15094
15126
|
"contractAddress": "0x48ac3CD812680C39879A1Fd1666639dBC9B978C0",
|
|
@@ -15136,7 +15168,7 @@ var chainlinkFeeds = {
|
|
|
15136
15168
|
"contractAddress": "0x50e1007404025e412F13eD1e1C1e6F57957F6A6F",
|
|
15137
15169
|
"proxyAddress": "0xe80baC615c38D01c101B0B1b943b05E20C8c2f76",
|
|
15138
15170
|
"decimals": 18,
|
|
15139
|
-
"name": "PumpBTC
|
|
15171
|
+
"name": "PumpBTC Proof of Reserves"
|
|
15140
15172
|
},
|
|
15141
15173
|
{
|
|
15142
15174
|
"contractAddress": "0x51766d8b44551740eFd8A34AA569D15aA0A13eCe",
|
|
@@ -15208,7 +15240,7 @@ var chainlinkFeeds = {
|
|
|
15208
15240
|
"contractAddress": "0x5EFFB9e0D6B472E48C542842B0306a1C12c9627c",
|
|
15209
15241
|
"proxyAddress": "0xC8cd82067eA907EA4af81b625d2bB653E21b5156",
|
|
15210
15242
|
"decimals": 18,
|
|
15211
|
-
"name": "eETH
|
|
15243
|
+
"name": "eETH Proof of Reserves"
|
|
15212
15244
|
},
|
|
15213
15245
|
{
|
|
15214
15246
|
"contractAddress": "0x5a0efD6D1a058A46D3Ac4511861adB8F3540BD49",
|
|
@@ -15232,7 +15264,7 @@ var chainlinkFeeds = {
|
|
|
15232
15264
|
"contractAddress": "0x601009229b0215e4FC90C10c8145E066aE03d5F9",
|
|
15233
15265
|
"proxyAddress": "0x461790bDAF5aeD3df6a88cB97Dec42DD0EFA73c0",
|
|
15234
15266
|
"decimals": 18,
|
|
15235
|
-
"name": "xSolvBTC
|
|
15267
|
+
"name": "xSolvBTC Proof of Reserves"
|
|
15236
15268
|
},
|
|
15237
15269
|
{
|
|
15238
15270
|
"contractAddress": "0x62a897c3e81d809c7444BB63D7D51E1F2EbB6C3D",
|
|
@@ -15262,7 +15294,7 @@ var chainlinkFeeds = {
|
|
|
15262
15294
|
"contractAddress": "0x64DEE1Bc46e817ed93dEA4815F071B20eD218E39",
|
|
15263
15295
|
"proxyAddress": "0xa81FE04086865e63E12dD3776978E49DEEa2ea4e",
|
|
15264
15296
|
"decimals": 8,
|
|
15265
|
-
"name": "WBTC
|
|
15297
|
+
"name": "WBTC Proof of Reserves"
|
|
15266
15298
|
},
|
|
15267
15299
|
{
|
|
15268
15300
|
"contractAddress": "0x64c67984A458513C6BAb23a815916B1b1075cf3a",
|
|
@@ -15420,7 +15452,7 @@ var chainlinkFeeds = {
|
|
|
15420
15452
|
"contractAddress": "0x83cE6dbda88D4b59b370d765567d2CaB460bBdc9",
|
|
15421
15453
|
"proxyAddress": "0x43921Ca0eca1EA69722c048A6afbc2CAd0BB80e9",
|
|
15422
15454
|
"decimals": 8,
|
|
15423
|
-
"name": "21BTC
|
|
15455
|
+
"name": "21BTC Proof of Reserves"
|
|
15424
15456
|
},
|
|
15425
15457
|
{
|
|
15426
15458
|
"contractAddress": "0x841385263b2192A6f4b14353574C02bf0577473d",
|
|
@@ -15474,7 +15506,7 @@ var chainlinkFeeds = {
|
|
|
15474
15506
|
"contractAddress": "0x8a43cc06554Ab042FFBf07e64cfb8FeE4E673422",
|
|
15475
15507
|
"proxyAddress": "0xAd410E655C0fE4741F573152592eeb766e686CE7",
|
|
15476
15508
|
"decimals": 18,
|
|
15477
|
-
"name": "stETH
|
|
15509
|
+
"name": "stETH Proof of Reserves"
|
|
15478
15510
|
},
|
|
15479
15511
|
{
|
|
15480
15512
|
"contractAddress": "0x8c944f66a996b5399F51dc3d8d023E07Bb0767fD",
|
|
@@ -15594,7 +15626,7 @@ var chainlinkFeeds = {
|
|
|
15594
15626
|
"contractAddress": "0x99BC071f317BEF648E5e84f7E0600423360C0Cd1",
|
|
15595
15627
|
"proxyAddress": "0xad4A9bED9a5E2c1c9a6E43D35Db53c83873dd901",
|
|
15596
15628
|
"decimals": 18,
|
|
15597
|
-
"name": "STBT
|
|
15629
|
+
"name": "STBT Proof of Reserves"
|
|
15598
15630
|
},
|
|
15599
15631
|
{
|
|
15600
15632
|
"contractAddress": "0x9Bc91f0E55b0d6509F65fd8C4b34b89F23AEfA35",
|
|
@@ -15602,6 +15634,12 @@ var chainlinkFeeds = {
|
|
|
15602
15634
|
"decimals": 18,
|
|
15603
15635
|
"name": "FTT / ETH"
|
|
15604
15636
|
},
|
|
15637
|
+
{
|
|
15638
|
+
"contractAddress": "0x9E3AABA3B04264DD009437F48eBFD70713dd0667",
|
|
15639
|
+
"proxyAddress": "0xAcFCF155a0de611414C510D43446c27a4EE6a758",
|
|
15640
|
+
"decimals": 8,
|
|
15641
|
+
"name": "WAMPL / USD"
|
|
15642
|
+
},
|
|
15605
15643
|
{
|
|
15606
15644
|
"contractAddress": "0x9c7CF045f964B45FFC6AA0Ffbffd7bb6d1b470A3",
|
|
15607
15645
|
"proxyAddress": "0x3C7dB4D25deAb7c89660512C5494Dc9A3FC40f78",
|
|
@@ -15823,7 +15861,7 @@ var chainlinkFeeds = {
|
|
|
15823
15861
|
"contractAddress": "0xD0f0efAfB63ce1e46ae1aF84BCFE2A2A175E6797",
|
|
15824
15862
|
"proxyAddress": "0xda9258AFc797Cd64d1b6FC651051224cdAB1B25E",
|
|
15825
15863
|
"decimals": 18,
|
|
15826
|
-
"name": "SolvBTC
|
|
15864
|
+
"name": "SolvBTC Proof of Reserves"
|
|
15827
15865
|
},
|
|
15828
15866
|
{
|
|
15829
15867
|
"contractAddress": "0xD37190eC18fEfE85F4a0fCdEb8Bc220A47093457",
|
|
@@ -15841,7 +15879,7 @@ var chainlinkFeeds = {
|
|
|
15841
15879
|
"contractAddress": "0xE5490FcdFe66b1680f2b4c09f81149f0C285a2E3",
|
|
15842
15880
|
"proxyAddress": "0x60cbE8D88EF519cF3C62414D76f50818D211fea1",
|
|
15843
15881
|
"decimals": 18,
|
|
15844
|
-
"name": "Swell ETH
|
|
15882
|
+
"name": "Swell ETH Proof of Reserves"
|
|
15845
15883
|
},
|
|
15846
15884
|
{
|
|
15847
15885
|
"contractAddress": "0xE6c7AE04e83aa7e491988cAeecf5BD6a240A0d14",
|
|
@@ -15913,7 +15951,7 @@ var chainlinkFeeds = {
|
|
|
15913
15951
|
"contractAddress": "0xa685F0Bb86044e9c6A182A3689bBF8A98eB5764C",
|
|
15914
15952
|
"proxyAddress": "0x0c89c488e763AC2d69cB058CCAC7A8B283EE3DbA",
|
|
15915
15953
|
"decimals": 18,
|
|
15916
|
-
"name": "Swell Restaked ETH
|
|
15954
|
+
"name": "Swell Restaked ETH Proof of Reserves"
|
|
15917
15955
|
},
|
|
15918
15956
|
{
|
|
15919
15957
|
"contractAddress": "0xa7Daf8A03B064262FfF0D615663553DAe3E18744",
|
|
@@ -15943,7 +15981,7 @@ var chainlinkFeeds = {
|
|
|
15943
15981
|
"contractAddress": "0xb49dBd447D2C3ae00B205200Fe629cA73E3E80e3",
|
|
15944
15982
|
"proxyAddress": "0x0A8cD0115B1EE87EbA5b8E06A9a15ED93e230f7a",
|
|
15945
15983
|
"decimals": 18,
|
|
15946
|
-
"name": "HBTC
|
|
15984
|
+
"name": "HBTC Proof of Reserves"
|
|
15947
15985
|
},
|
|
15948
15986
|
{
|
|
15949
15987
|
"contractAddress": "0xb611401574061947aBAc7d2406711F115BE22A6e",
|
|
@@ -15955,7 +15993,7 @@ var chainlinkFeeds = {
|
|
|
15955
15993
|
"contractAddress": "0xbBaf2F253Dec10c17eF9531bc8Cd7A7C708A10Bc",
|
|
15956
15994
|
"proxyAddress": "0xc590D9fb8eE78a0909dFF341ccf717000b7b7fF2",
|
|
15957
15995
|
"decimals": 18,
|
|
15958
|
-
"name": "uniBTC
|
|
15996
|
+
"name": "uniBTC Proof of Reserves"
|
|
15959
15997
|
},
|
|
15960
15998
|
{
|
|
15961
15999
|
"contractAddress": "0xbCD99Bc4C5Bee667939bf7E9B3367d0A0Fa096a0",
|
|
@@ -17072,7 +17110,7 @@ var chainlinkFeeds = {
|
|
|
17072
17110
|
"contractAddress": "0x0044980acB0C01d75afF2Cc3DF2F11171442295c",
|
|
17073
17111
|
"proxyAddress": "0x657b128a4936542A48a40C320BFfa3F44043583a",
|
|
17074
17112
|
"decimals": 18,
|
|
17075
|
-
"name": "SolvBTC
|
|
17113
|
+
"name": "SolvBTC Proof of Reserves"
|
|
17076
17114
|
},
|
|
17077
17115
|
{
|
|
17078
17116
|
"contractAddress": "0x0765d9EF5E38A2E742d2c3A58C4944a3fb6D25C5",
|
|
@@ -17612,7 +17650,7 @@ var chainlinkFeeds = {
|
|
|
17612
17650
|
"contractAddress": "0x9a8b0bf764D6cd177616A6133fb222ad5938b51a",
|
|
17613
17651
|
"proxyAddress": "0x81ca991cEf14e7bFB3fa8cc70303a2DEaEb09A42",
|
|
17614
17652
|
"decimals": 18,
|
|
17615
|
-
"name": "Solv
|
|
17653
|
+
"name": "Solv Proof of Reserves"
|
|
17616
17654
|
},
|
|
17617
17655
|
{
|
|
17618
17656
|
"contractAddress": "0x9f1fD891E4D82F4b23420C769Bd96409C99806b2",
|
|
@@ -17726,7 +17764,7 @@ var chainlinkFeeds = {
|
|
|
17726
17764
|
"contractAddress": "0xDa15d5A05A2813395e9A851EA463281AA1354FF7",
|
|
17727
17765
|
"proxyAddress": "0x696B7eA5827548cd35C743A0a05c1f3130196e5e",
|
|
17728
17766
|
"decimals": 18,
|
|
17729
|
-
"name": "stBTC
|
|
17767
|
+
"name": "stBTC Proof of Reserves"
|
|
17730
17768
|
},
|
|
17731
17769
|
{
|
|
17732
17770
|
"contractAddress": "0xE0Aa6B17316140A964B08E0228152E282225607D",
|
|
@@ -18372,7 +18410,7 @@ var chainlinkFeeds = {
|
|
|
18372
18410
|
"contractAddress": "0x31fe6bD1D7E4166B5b8Fd4112eea3C7eECA51217",
|
|
18373
18411
|
"proxyAddress": "0x0fB2beD999da86Cb1Fdd97E746600A96141EeA09",
|
|
18374
18412
|
"decimals": 8,
|
|
18375
|
-
"name": "bNVDA Reserves /
|
|
18413
|
+
"name": "bNVDA Reserves / Proof of Reserves"
|
|
18376
18414
|
},
|
|
18377
18415
|
{
|
|
18378
18416
|
"contractAddress": "0x32411A331EAf9829adCEC478afF9adF2B5bd296c",
|
|
@@ -18858,7 +18896,7 @@ var chainlinkFeeds = {
|
|
|
18858
18896
|
"contractAddress": "0xC65B00c8D77dc82Bd29E8b571De22c6ED3F6eE89",
|
|
18859
18897
|
"proxyAddress": "0x4e9fc7480c16F3FE5d956C0759eE6b4808d1F5D7",
|
|
18860
18898
|
"decimals": 8,
|
|
18861
|
-
"name": "CGT
|
|
18899
|
+
"name": "CGT Proof of Reserves (ETH)"
|
|
18862
18900
|
},
|
|
18863
18901
|
{
|
|
18864
18902
|
"contractAddress": "0xC6c7Bb0d721e4Ef7318A16F682dd4c1013b430F0",
|
|
@@ -19770,6 +19808,12 @@ var chainlinkFeeds = {
|
|
|
19770
19808
|
"decimals": 8,
|
|
19771
19809
|
"name": "BTC / USD"
|
|
19772
19810
|
},
|
|
19811
|
+
{
|
|
19812
|
+
"contractAddress": "0xa236d64Ef51e3243887aac4270ea75De65ECABfd",
|
|
19813
|
+
"proxyAddress": "0x01dd982820B7c25e2A9C77BDd3bC0eDA90298A2F",
|
|
19814
|
+
"decimals": 8,
|
|
19815
|
+
"name": "USD1 / USD"
|
|
19816
|
+
},
|
|
19773
19817
|
{
|
|
19774
19818
|
"contractAddress": "0xfB1193670633f958F50C0E49688a82E6b73297b1",
|
|
19775
19819
|
"proxyAddress": "0xD97F20bEbeD74e8144134C4b148fE93417dd0F96",
|
|
@@ -20040,7 +20084,13 @@ var chainlinkFeeds = {
|
|
|
20040
20084
|
"contractAddress": "0x52d743436F6bA414050bD8869C8bF6537C355A00",
|
|
20041
20085
|
"proxyAddress": "0x30A76F4E688Cf52f4A06D7AAd987A7037f3Ae6f7",
|
|
20042
20086
|
"decimals": 8,
|
|
20043
|
-
"name": "dlcBTC
|
|
20087
|
+
"name": "dlcBTC Proof of Reserves"
|
|
20088
|
+
},
|
|
20089
|
+
{
|
|
20090
|
+
"contractAddress": "0x5387a1EA9361BD8A2AA1BE68E1e10bd566eECFa4",
|
|
20091
|
+
"proxyAddress": "0x9f0C1dD78C4CBdF5b9cf923a549A201EdC676D34",
|
|
20092
|
+
"decimals": 8,
|
|
20093
|
+
"name": "XRP / USD"
|
|
20044
20094
|
},
|
|
20045
20095
|
{
|
|
20046
20096
|
"contractAddress": "0x55012EF027ae9b4E2bb5a5f529E5a1184Bcc998D",
|
|
@@ -20090,6 +20140,12 @@ var chainlinkFeeds = {
|
|
|
20090
20140
|
"decimals": 8,
|
|
20091
20141
|
"name": "COMP / USD"
|
|
20092
20142
|
},
|
|
20143
|
+
{
|
|
20144
|
+
"contractAddress": "0x62c9CB9Dd648d9ed28C4C243d062093571b934D7",
|
|
20145
|
+
"proxyAddress": "0x206a34e47093125fbf4C75b7c7E88b84c6A77a69",
|
|
20146
|
+
"decimals": 8,
|
|
20147
|
+
"name": "LTC / USD"
|
|
20148
|
+
},
|
|
20093
20149
|
{
|
|
20094
20150
|
"contractAddress": "0x63a3b4E2aeea2d1Cc883987AEc22E9Aa88323b3c",
|
|
20095
20151
|
"proxyAddress": "0x79cf4a31B29D69191f0b6E97916eB93FEB81E533",
|
|
@@ -20240,6 +20296,12 @@ var chainlinkFeeds = {
|
|
|
20240
20296
|
"decimals": 8,
|
|
20241
20297
|
"name": "GHO / USD"
|
|
20242
20298
|
},
|
|
20299
|
+
{
|
|
20300
|
+
"contractAddress": "0x91e936921Df850Cc8714527EBE6C45ECbD2CAd31",
|
|
20301
|
+
"proxyAddress": "0x34cD971a092d5411bD69C10a5F0A7EEF72C69041",
|
|
20302
|
+
"decimals": 8,
|
|
20303
|
+
"name": "ADA / USD"
|
|
20304
|
+
},
|
|
20243
20305
|
{
|
|
20244
20306
|
"contractAddress": "0x9465CF4b4032080434E397F42fB99A8446c35376",
|
|
20245
20307
|
"proxyAddress": "0xd5Ec94430eF4170D819E0996BC53ed40d31638d8",
|
|
@@ -20424,7 +20486,7 @@ var chainlinkFeeds = {
|
|
|
20424
20486
|
"contractAddress": "0xa24AAfb9d49d0cF43dcd8A5f2442a30391F494D2",
|
|
20425
20487
|
"proxyAddress": "0x7FCED5198e43ec93Ef2179DFC70a8dcf494DcB80",
|
|
20426
20488
|
"decimals": 8,
|
|
20427
|
-
"name": "iBTC
|
|
20489
|
+
"name": "iBTC Proof of Reserves"
|
|
20428
20490
|
},
|
|
20429
20491
|
{
|
|
20430
20492
|
"contractAddress": "0xa332cbef58964977Fa47d8Fa9abdc58FBd477e62",
|
|
@@ -20618,7 +20680,7 @@ var chainlinkFeeds = {
|
|
|
20618
20680
|
"contractAddress": "0x0000000000000000000000000000000000000000",
|
|
20619
20681
|
"proxyAddress": null,
|
|
20620
20682
|
"decimals": 18,
|
|
20621
|
-
"name": "UNIBTC/BTC-ExRate-mainnet-production"
|
|
20683
|
+
"name": "UNIBTC/BTC-ExRate-Deprecated-mainnet-production"
|
|
20622
20684
|
},
|
|
20623
20685
|
{
|
|
20624
20686
|
"contractAddress": "0x0000000000000000000000000000000000000000",
|
|
@@ -21847,9 +21909,21 @@ var chainlinkFeeds = {
|
|
|
21847
21909
|
{
|
|
21848
21910
|
"contractAddress": "0x0000000000000000000000000000000000000000",
|
|
21849
21911
|
"proxyAddress": null,
|
|
21850
|
-
"decimals":
|
|
21912
|
+
"decimals": 0,
|
|
21851
21913
|
"name": "SYRUPUSDC/USDC-ExRate-mainnet-production"
|
|
21852
21914
|
},
|
|
21915
|
+
{
|
|
21916
|
+
"contractAddress": "0x0000000000000000000000000000000000000000",
|
|
21917
|
+
"proxyAddress": null,
|
|
21918
|
+
"decimals": 18,
|
|
21919
|
+
"name": "SyrupUSDC/USDC-ExRate-Deprecated-mainnet-production"
|
|
21920
|
+
},
|
|
21921
|
+
{
|
|
21922
|
+
"contractAddress": "0x0000000000000000000000000000000000000000",
|
|
21923
|
+
"proxyAddress": null,
|
|
21924
|
+
"decimals": 0,
|
|
21925
|
+
"name": "UNIBTC/BTC-ExRate-mainnet-production"
|
|
21926
|
+
},
|
|
21853
21927
|
{
|
|
21854
21928
|
"contractAddress": "0x01DD3Cf6118069DB13A2d64d7e1A09FECd587EDD",
|
|
21855
21929
|
"proxyAddress": "0x8d0CC5f38f9E802475f2CFf4F9fc7000C2E1557c",
|
|
@@ -22022,7 +22096,7 @@ var chainlinkFeeds = {
|
|
|
22022
22096
|
"contractAddress": "0x29ef0aE1eDb5764b5bd2ff3a605b5d4Eb39a0d63",
|
|
22023
22097
|
"proxyAddress": "0x5F25Ea8Cf2a3aB12E4D6fB58FB63C7938473B036",
|
|
22024
22098
|
"decimals": 10,
|
|
22025
|
-
"name": "aBTC
|
|
22099
|
+
"name": "aBTC Proof of Reserves"
|
|
22026
22100
|
},
|
|
22027
22101
|
{
|
|
22028
22102
|
"contractAddress": "0x2C50f2Fe9427d120DEA2eb804c148d2780519d59",
|
|
@@ -22076,7 +22150,7 @@ var chainlinkFeeds = {
|
|
|
22076
22150
|
"contractAddress": "0x331480b3C79f16018704A83847db1e29d8cdce14",
|
|
22077
22151
|
"proxyAddress": "0xfb010c715Ff2B85DB9c896f0C030bF9329638905",
|
|
22078
22152
|
"decimals": 8,
|
|
22079
|
-
"name": "FBTC
|
|
22153
|
+
"name": "FBTC Proof of Reserves"
|
|
22080
22154
|
},
|
|
22081
22155
|
{
|
|
22082
22156
|
"contractAddress": "0x338D614Af8c05eF9d77a33E9D33A92b770809ED4",
|
|
@@ -23977,7 +24051,7 @@ var chainlinkFeeds = {
|
|
|
23977
24051
|
{
|
|
23978
24052
|
"contractAddress": "0x534a7FF707Bc862cAB0Dda546F1B817Be5235b66",
|
|
23979
24053
|
"proxyAddress": null,
|
|
23980
|
-
"decimals":
|
|
24054
|
+
"decimals": 0,
|
|
23981
24055
|
"name": "wstETH/USD-RefPrice-DS-Premium-Global-003"
|
|
23982
24056
|
},
|
|
23983
24057
|
{
|
|
@@ -24206,7 +24280,7 @@ var chainlinkFeeds = {
|
|
|
24206
24280
|
"contractAddress": "0x5F36C484290Ec4bDaC745c6C8BD681F44bE6ac4D",
|
|
24207
24281
|
"proxyAddress": "0x0543Bb6b5A57E3e7569237b67321eAB773e41401",
|
|
24208
24282
|
"decimals": 8,
|
|
24209
|
-
"name": "iBTC
|
|
24283
|
+
"name": "iBTC Proof of Reserves"
|
|
24210
24284
|
},
|
|
24211
24285
|
{
|
|
24212
24286
|
"contractAddress": "0x5ab0B1e2604d4B708721bc3cD1ce962958b4297E",
|
|
@@ -24320,7 +24394,7 @@ var chainlinkFeeds = {
|
|
|
24320
24394
|
"contractAddress": "0x73b6A47371f6278F41Ec655A3a06477997912D09",
|
|
24321
24395
|
"proxyAddress": "0xA0118D8948FA85624608d94eC6B52973578082fA",
|
|
24322
24396
|
"decimals": 18,
|
|
24323
|
-
"name": "stBTC
|
|
24397
|
+
"name": "stBTC Proof of Reserves"
|
|
24324
24398
|
},
|
|
24325
24399
|
{
|
|
24326
24400
|
"contractAddress": "0x75DD106b46017F9b5BF2c468f29Ee55f410b991c",
|
|
@@ -24548,7 +24622,7 @@ var chainlinkFeeds = {
|
|
|
24548
24622
|
"contractAddress": "0xAfAEbEB1Db6d13EC1279B59396a9dc40502458c1",
|
|
24549
24623
|
"proxyAddress": "0x47A2fBEb46553F01E7133686Fb1b5349d4823a0C",
|
|
24550
24624
|
"decimals": 8,
|
|
24551
|
-
"name": "dlcBTC
|
|
24625
|
+
"name": "dlcBTC Proof of Reserves"
|
|
24552
24626
|
},
|
|
24553
24627
|
{
|
|
24554
24628
|
"contractAddress": "0xB4A1F9641186D822a941FEc71E374bB66cd27cdA",
|
|
@@ -24644,7 +24718,7 @@ var chainlinkFeeds = {
|
|
|
24644
24718
|
"contractAddress": "0xDB99d80bD3aE8dae5d929493Ddf696196f7f59f2",
|
|
24645
24719
|
"proxyAddress": "0xd9344493d99153Ad4353D604A1d80d4089004c5D",
|
|
24646
24720
|
"decimals": 8,
|
|
24647
|
-
"name": "zBTC
|
|
24721
|
+
"name": "zBTC Proof of Reserves"
|
|
24648
24722
|
},
|
|
24649
24723
|
{
|
|
24650
24724
|
"contractAddress": "0xDf8a3fc9bC6fA89F1b630e58f6eB4b874f24C165",
|
|
@@ -25188,7 +25262,7 @@ var chainlinkFeeds = {
|
|
|
25188
25262
|
"contractAddress": "0x017780bFA4D66Ee3b4b816a15b0f05DF2654f7B9",
|
|
25189
25263
|
"proxyAddress": "0xebEfEAA58636DF9B20a4fAd78Fad8759e6A20e87",
|
|
25190
25264
|
"decimals": 8,
|
|
25191
|
-
"name": "WBTC.e
|
|
25265
|
+
"name": "WBTC.e Proof of Reserves"
|
|
25192
25266
|
},
|
|
25193
25267
|
{
|
|
25194
25268
|
"contractAddress": "0x0B2bFcbE40213cF93CE2Be85156DD16E31483f70",
|
|
@@ -25242,7 +25316,7 @@ var chainlinkFeeds = {
|
|
|
25242
25316
|
"contractAddress": "0x1c4841636a4848d474892E7408312804D3f9a43F",
|
|
25243
25317
|
"proxyAddress": "0x976D7fAc81A49FA71EF20694a3C56B9eFB93c30B",
|
|
25244
25318
|
"decimals": 18,
|
|
25245
|
-
"name": "DAI.e
|
|
25319
|
+
"name": "DAI.e Proof of Reserves"
|
|
25246
25320
|
},
|
|
25247
25321
|
{
|
|
25248
25322
|
"contractAddress": "0x255ca8e07c6Dbc4835DC7680dB7D9E969c08c120",
|
|
@@ -25320,7 +25394,7 @@ var chainlinkFeeds = {
|
|
|
25320
25394
|
"contractAddress": "0x461b95e560697B0C83AB569f06034832a4b62707",
|
|
25321
25395
|
"proxyAddress": "0x99311B4bf6D8E3D3B4b9fbdD09a1B0F4Ad8e06E9",
|
|
25322
25396
|
"decimals": 8,
|
|
25323
|
-
"name": "BTC.b
|
|
25397
|
+
"name": "BTC.b Proof of Reserves"
|
|
25324
25398
|
},
|
|
25325
25399
|
{
|
|
25326
25400
|
"contractAddress": "0x4A5cE69A1aDA639042B30e1574Eb9D6e939388A3",
|
|
@@ -25362,7 +25436,7 @@ var chainlinkFeeds = {
|
|
|
25362
25436
|
"contractAddress": "0x61595142b147De812B43C66f30094a3219a38bCD",
|
|
25363
25437
|
"proxyAddress": "0x943cEF1B112Ca9FD7EDaDC9A46477d3812a382b6",
|
|
25364
25438
|
"decimals": 18,
|
|
25365
|
-
"name": "LINK.e
|
|
25439
|
+
"name": "LINK.e Proof of Reserves"
|
|
25366
25440
|
},
|
|
25367
25441
|
{
|
|
25368
25442
|
"contractAddress": "0x64922B570edf432defD4d3C5647269727a667EDa",
|
|
@@ -25518,7 +25592,7 @@ var chainlinkFeeds = {
|
|
|
25518
25592
|
"contractAddress": "0xC5463267394709421b0FF3726dd21e152Ec0B1D9",
|
|
25519
25593
|
"proxyAddress": "0x14C4c668E34c09E1FBA823aD5DB47F60aeBDD4F7",
|
|
25520
25594
|
"decimals": 18,
|
|
25521
|
-
"name": "AAVE.e
|
|
25595
|
+
"name": "AAVE.e Proof of Reserves"
|
|
25522
25596
|
},
|
|
25523
25597
|
{
|
|
25524
25598
|
"contractAddress": "0xC54d8293A7f98ef887BE882311E4C274BE67f927",
|
|
@@ -25542,7 +25616,7 @@ var chainlinkFeeds = {
|
|
|
25542
25616
|
"contractAddress": "0xD38Acd83073EeF07186D5Db701C576aD42D6cf27",
|
|
25543
25617
|
"proxyAddress": "0xDDaf9290D057BfA12d7576e6dADC109421F31948",
|
|
25544
25618
|
"decimals": 18,
|
|
25545
|
-
"name": "WETH.e
|
|
25619
|
+
"name": "WETH.e Proof of Reserves"
|
|
25546
25620
|
},
|
|
25547
25621
|
{
|
|
25548
25622
|
"contractAddress": "0xD74bBE6Db11AD5F3D4F7d4Ee23D9C9d5c301D4e0",
|
|
@@ -25644,7 +25718,7 @@ var chainlinkFeeds = {
|
|
|
25644
25718
|
"contractAddress": "0xd4452d1811AA9AC14B9c55444a1B55CDB97760eC",
|
|
25645
25719
|
"proxyAddress": "0x94D8c2548018C27F1aa078A23C4158206bE1CC72",
|
|
25646
25720
|
"decimals": 6,
|
|
25647
|
-
"name": "USDT.e
|
|
25721
|
+
"name": "USDT.e Proof of Reserves"
|
|
25648
25722
|
},
|
|
25649
25723
|
{
|
|
25650
25724
|
"contractAddress": "0xd761cFc03e833FEBB04297Cc1aB7291D80c9595f",
|
|
@@ -25658,11 +25732,17 @@ var chainlinkFeeds = {
|
|
|
25658
25732
|
"decimals": 8,
|
|
25659
25733
|
"name": "CRV / USD"
|
|
25660
25734
|
},
|
|
25735
|
+
{
|
|
25736
|
+
"contractAddress": "0xe3fA7342C4096E02aB376f64b6C5251bf6f3c657",
|
|
25737
|
+
"proxyAddress": "0x0d2807dc7FA52d3B38be564B64a2b37753C49AdD",
|
|
25738
|
+
"decimals": 8,
|
|
25739
|
+
"name": "EmCH Reserves"
|
|
25740
|
+
},
|
|
25661
25741
|
{
|
|
25662
25742
|
"contractAddress": "0xf52BF03f3f406BAAADE542b3D2D5CeCfFf1754E6",
|
|
25663
25743
|
"proxyAddress": "0x63769951E4cfDbDC653dD9BBde63D2Ce0746e5F2",
|
|
25664
25744
|
"decimals": 6,
|
|
25665
|
-
"name": "USDC.e
|
|
25745
|
+
"name": "USDC.e Proof of Reserves"
|
|
25666
25746
|
},
|
|
25667
25747
|
{
|
|
25668
25748
|
"contractAddress": "0xfb317b2a4404802dF62c87a5982EE383F2711ce6",
|
|
@@ -25942,7 +26022,7 @@ var chainlinkFeeds = {
|
|
|
25942
26022
|
"contractAddress": "0x863451a4C718699bb3C860799a785DBd4DDf3a4D",
|
|
25943
26023
|
"proxyAddress": "0x6dCa10bce66548e26DBd1FCF4E8692796BeDdd7E",
|
|
25944
26024
|
"decimals": 18,
|
|
25945
|
-
"name": "stBTC
|
|
26025
|
+
"name": "stBTC Proof of Reserves"
|
|
25946
26026
|
},
|
|
25947
26027
|
{
|
|
25948
26028
|
"contractAddress": "0x88926382559e24D1153d9F492554064C9f052A22",
|
|
@@ -26081,85 +26161,85 @@ var chainlinkFeeds = {
|
|
|
26081
26161
|
|
|
26082
26162
|
// src/ecosystem/generated/hyperRPC.ts
|
|
26083
26163
|
var hyperRPCSupportedNetworks = [
|
|
26084
|
-
645749,
|
|
26085
|
-
1923,
|
|
26086
|
-
130,
|
|
26087
|
-
33111,
|
|
26088
|
-
50002,
|
|
26089
|
-
1868,
|
|
26090
|
-
1750,
|
|
26091
|
-
100,
|
|
26092
|
-
42170,
|
|
26093
|
-
51,
|
|
26094
|
-
2741,
|
|
26095
|
-
57073,
|
|
26096
|
-
8453,
|
|
26097
|
-
531050104,
|
|
26098
26164
|
1,
|
|
26099
|
-
|
|
26100
|
-
7e3,
|
|
26101
|
-
48900,
|
|
26102
|
-
1301,
|
|
26103
|
-
10143,
|
|
26104
|
-
59144,
|
|
26105
|
-
11155420,
|
|
26106
|
-
80094,
|
|
26107
|
-
80084,
|
|
26108
|
-
5e3,
|
|
26109
|
-
6342,
|
|
26110
|
-
2810,
|
|
26111
|
-
80002,
|
|
26165
|
+
1,
|
|
26112
26166
|
10,
|
|
26113
|
-
50,
|
|
26114
|
-
42220,
|
|
26115
26167
|
100,
|
|
26116
|
-
|
|
26117
|
-
|
|
26118
|
-
|
|
26119
|
-
81457,
|
|
26120
|
-
97,
|
|
26121
|
-
43114,
|
|
26122
|
-
17864,
|
|
26123
|
-
252,
|
|
26124
|
-
146,
|
|
26125
|
-
42,
|
|
26126
|
-
1,
|
|
26127
|
-
4201,
|
|
26128
|
-
148,
|
|
26129
|
-
9889,
|
|
26130
|
-
7225878,
|
|
26131
|
-
7560,
|
|
26132
|
-
84532,
|
|
26133
|
-
5330,
|
|
26134
|
-
168587773,
|
|
26135
|
-
14,
|
|
26168
|
+
100,
|
|
26169
|
+
10143,
|
|
26170
|
+
10200,
|
|
26136
26171
|
1101,
|
|
26137
26172
|
11155111,
|
|
26138
|
-
|
|
26139
|
-
|
|
26140
|
-
|
|
26141
|
-
8888,
|
|
26173
|
+
11155420,
|
|
26174
|
+
1135,
|
|
26175
|
+
1284,
|
|
26142
26176
|
1287,
|
|
26177
|
+
130,
|
|
26178
|
+
1301,
|
|
26179
|
+
1313161554,
|
|
26180
|
+
137,
|
|
26181
|
+
14,
|
|
26182
|
+
146,
|
|
26183
|
+
148,
|
|
26184
|
+
16666e5,
|
|
26185
|
+
168587773,
|
|
26186
|
+
169,
|
|
26187
|
+
17e3,
|
|
26188
|
+
1750,
|
|
26189
|
+
17864,
|
|
26190
|
+
1868,
|
|
26191
|
+
1923,
|
|
26192
|
+
204,
|
|
26193
|
+
250,
|
|
26194
|
+
252,
|
|
26143
26195
|
255,
|
|
26144
|
-
|
|
26145
|
-
|
|
26196
|
+
2741,
|
|
26197
|
+
2810,
|
|
26198
|
+
2818,
|
|
26199
|
+
288,
|
|
26146
26200
|
30,
|
|
26201
|
+
324,
|
|
26202
|
+
33111,
|
|
26203
|
+
34443,
|
|
26204
|
+
42,
|
|
26147
26205
|
4200,
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
17e3,
|
|
26206
|
+
4201,
|
|
26207
|
+
42161,
|
|
26151
26208
|
421614,
|
|
26152
|
-
|
|
26153
|
-
|
|
26154
|
-
|
|
26155
|
-
|
|
26209
|
+
42170,
|
|
26210
|
+
42220,
|
|
26211
|
+
43113,
|
|
26212
|
+
43114,
|
|
26213
|
+
480,
|
|
26214
|
+
48900,
|
|
26215
|
+
50,
|
|
26216
|
+
5e3,
|
|
26217
|
+
50002,
|
|
26156
26218
|
50104,
|
|
26219
|
+
51,
|
|
26220
|
+
5115,
|
|
26221
|
+
531050104,
|
|
26222
|
+
5330,
|
|
26157
26223
|
534352,
|
|
26158
|
-
|
|
26159
|
-
|
|
26160
|
-
|
|
26161
|
-
|
|
26162
|
-
|
|
26224
|
+
56,
|
|
26225
|
+
57073,
|
|
26226
|
+
59144,
|
|
26227
|
+
6342,
|
|
26228
|
+
645749,
|
|
26229
|
+
696969,
|
|
26230
|
+
7e3,
|
|
26231
|
+
7225878,
|
|
26232
|
+
7560,
|
|
26233
|
+
7777777,
|
|
26234
|
+
80002,
|
|
26235
|
+
80084,
|
|
26236
|
+
80094,
|
|
26237
|
+
81457,
|
|
26238
|
+
8453,
|
|
26239
|
+
84532,
|
|
26240
|
+
8888,
|
|
26241
|
+
97,
|
|
26242
|
+
9889
|
|
26163
26243
|
];
|
|
26164
26244
|
|
|
26165
26245
|
// src/operations/diffCode.ts
|
|
@@ -26366,42 +26446,62 @@ function checkCode(bytecode) {
|
|
|
26366
26446
|
}
|
|
26367
26447
|
|
|
26368
26448
|
// src/seatbelt/verified.ts
|
|
26369
|
-
|
|
26370
|
-
|
|
26449
|
+
var import_actions7 = require("viem/actions");
|
|
26450
|
+
async function getVerificationStatus({
|
|
26451
|
+
client,
|
|
26371
26452
|
addresses,
|
|
26372
|
-
contractDb,
|
|
26453
|
+
contractDb = {},
|
|
26373
26454
|
apiKey,
|
|
26374
26455
|
apiUrl
|
|
26375
26456
|
}) {
|
|
26376
|
-
|
|
26377
|
-
|
|
26378
|
-
|
|
26379
|
-
|
|
26380
|
-
|
|
26381
|
-
|
|
26382
|
-
|
|
26383
|
-
|
|
26384
|
-
|
|
26385
|
-
|
|
26386
|
-
|
|
26387
|
-
|
|
26388
|
-
|
|
26389
|
-
|
|
26390
|
-
|
|
26391
|
-
}
|
|
26392
|
-
|
|
26393
|
-
|
|
26394
|
-
|
|
26395
|
-
|
|
26396
|
-
|
|
26397
|
-
|
|
26398
|
-
|
|
26457
|
+
const results = [];
|
|
26458
|
+
for (const address of addresses) {
|
|
26459
|
+
if (contractDb[address]) {
|
|
26460
|
+
results.push({
|
|
26461
|
+
address,
|
|
26462
|
+
name: contractDb[address],
|
|
26463
|
+
status: 1 /* CONTRACT */
|
|
26464
|
+
});
|
|
26465
|
+
continue;
|
|
26466
|
+
}
|
|
26467
|
+
const code = await (0, import_actions7.getCode)(client, { address });
|
|
26468
|
+
if (!code) {
|
|
26469
|
+
results.push({
|
|
26470
|
+
address,
|
|
26471
|
+
status: 0 /* EOA */
|
|
26472
|
+
});
|
|
26473
|
+
continue;
|
|
26474
|
+
}
|
|
26475
|
+
try {
|
|
26476
|
+
const code2 = await getSourceCode({
|
|
26477
|
+
chainId: client.chain.id,
|
|
26478
|
+
address,
|
|
26479
|
+
apiKey,
|
|
26480
|
+
apiUrl
|
|
26481
|
+
});
|
|
26482
|
+
results.push({
|
|
26483
|
+
address,
|
|
26484
|
+
name: code2.ContractName,
|
|
26485
|
+
status: 1 /* CONTRACT */,
|
|
26486
|
+
new: true
|
|
26487
|
+
});
|
|
26488
|
+
} catch (e) {
|
|
26489
|
+
results.push({
|
|
26490
|
+
address,
|
|
26491
|
+
status: 2 /* ERROR */
|
|
26492
|
+
});
|
|
26493
|
+
}
|
|
26494
|
+
}
|
|
26495
|
+
return results;
|
|
26399
26496
|
}
|
|
26400
26497
|
|
|
26401
26498
|
// src/seatbelt/tenderly-report.ts
|
|
26402
26499
|
async function renderTenderlyReport({
|
|
26403
26500
|
client,
|
|
26404
|
-
sim
|
|
26501
|
+
sim,
|
|
26502
|
+
payloadId,
|
|
26503
|
+
payload,
|
|
26504
|
+
onchainLogs: { createdLog, queuedLog, executedLog }
|
|
26405
26505
|
}) {
|
|
26406
26506
|
const logs = parseLogs({
|
|
26407
26507
|
logs: (sim.transaction.transaction_info.logs || []).map((l) => l.raw),
|
|
@@ -26414,11 +26514,52 @@ async function renderTenderlyReport({
|
|
|
26414
26514
|
// trusted addresses
|
|
26415
26515
|
);
|
|
26416
26516
|
const verified = getVerificationStatus({
|
|
26417
|
-
|
|
26517
|
+
client,
|
|
26418
26518
|
addresses: sim.transaction.addresses,
|
|
26419
26519
|
contractDb: {}
|
|
26420
26520
|
});
|
|
26421
|
-
|
|
26521
|
+
let report = `## Payload ${payloadId} on ${client.chain.name}
|
|
26522
|
+
|
|
26523
|
+
- creator: ${payload.creator}
|
|
26524
|
+
- maximumAccessLevelRequired: ${payload.maximumAccessLevelRequired}
|
|
26525
|
+
- state: ${payload.state}(${HUMAN_READABLE_PAYLOAD_STATE[payload.state]})
|
|
26526
|
+
- actions:
|
|
26527
|
+
${payload.actions.map((a) => ` - [${a.target}](${toTxLink(a.target, client)}), accessLevel: ${a.accessLevel}, withDelegateCall: ${a.withDelegateCall}, value: ${a.value}, signature: ${a.signature}, callData: ${a.callData}`).join("\n")}
|
|
26528
|
+
- createdAt: [${renderUnixTime(payload.createdAt)}](${toTxLink(createdLog.transactionHash, client)})
|
|
26529
|
+
`;
|
|
26530
|
+
if (queuedLog) {
|
|
26531
|
+
report += `- queuedAt: [${renderUnixTime(payload.queuedAt)}](${toTxLink(
|
|
26532
|
+
queuedLog.transactionHash,
|
|
26533
|
+
client
|
|
26534
|
+
)})
|
|
26535
|
+
`;
|
|
26536
|
+
if (executedLog) {
|
|
26537
|
+
report += `- executedAt: [${renderUnixTime(payload.executedAt)}, block: ${executedLog.blockNumber}](${toTxLink(
|
|
26538
|
+
executedLog.transactionHash,
|
|
26539
|
+
client
|
|
26540
|
+
)})
|
|
26541
|
+
`;
|
|
26542
|
+
} else {
|
|
26543
|
+
report += `- earliest execution at: [${renderUnixTime(
|
|
26544
|
+
payload.queuedAt + payload.delay
|
|
26545
|
+
)}](https://www.epochconverter.com/countdown?q=${payload.queuedAt + payload.delay})
|
|
26546
|
+
`;
|
|
26547
|
+
const timestamp = Math.floor(
|
|
26548
|
+
new Date(sim.transaction.timestamp).getTime() / 1e3
|
|
26549
|
+
);
|
|
26550
|
+
report += `- simulatedExecutionAt: ${renderUnixTime(
|
|
26551
|
+
timestamp
|
|
26552
|
+
)}, timestamp: ${timestamp}, block: ${sim.transaction.block_number}`;
|
|
26553
|
+
}
|
|
26554
|
+
}
|
|
26555
|
+
report += "\n";
|
|
26556
|
+
return report;
|
|
26557
|
+
}
|
|
26558
|
+
function renderUnixTime(time) {
|
|
26559
|
+
return new Date(time * 1e3).toLocaleString("en-GB", { timeZone: "UTC" });
|
|
26560
|
+
}
|
|
26561
|
+
function toTxLink(txn, client) {
|
|
26562
|
+
return `${client.chain?.blockExplorers?.default.url}/tx/${txn}`;
|
|
26422
26563
|
}
|
|
26423
26564
|
|
|
26424
26565
|
// src/ecosystem/foundry.ts
|
|
@@ -26480,6 +26621,7 @@ function diffFoundryStorageLayout(layoutBefore, layoutAfter) {
|
|
|
26480
26621
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26481
26622
|
0 && (module.exports = {
|
|
26482
26623
|
AggregatorInterface_ABI,
|
|
26624
|
+
Aip,
|
|
26483
26625
|
ChainId,
|
|
26484
26626
|
ChainList,
|
|
26485
26627
|
EVENT_DB,
|
|
@@ -26567,6 +26709,7 @@ function diffFoundryStorageLayout(layoutBefore, layoutAfter) {
|
|
|
26567
26709
|
getReserveConfigurations,
|
|
26568
26710
|
getReserveTokens,
|
|
26569
26711
|
getSourceCode,
|
|
26712
|
+
getVerificationStatus,
|
|
26570
26713
|
hyperRPCSupportedNetworks,
|
|
26571
26714
|
isPayloadFinal,
|
|
26572
26715
|
isProposalFinal,
|
|
@@ -26589,6 +26732,8 @@ function diffFoundryStorageLayout(layoutBefore, layoutAfter) {
|
|
|
26589
26732
|
tenderly_getVnet,
|
|
26590
26733
|
tenderly_sim,
|
|
26591
26734
|
tenderly_simVnet,
|
|
26735
|
+
toTxLink,
|
|
26736
|
+
validateAip,
|
|
26592
26737
|
wadDiv,
|
|
26593
26738
|
wadToRay
|
|
26594
26739
|
});
|