@reality.eth/contracts 3.0.71 → 3.0.73
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/chains/supported.json +4 -1
- package/generated/chains.json +3 -0
- package/index.js +8 -0
- package/package.json +2 -2
- package/scripts/generate_chains_json.js +3 -0
package/chains/supported.json
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"100": {
|
|
60
60
|
"explorerURL": "https://gnosisscan.io",
|
|
61
61
|
"graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh",
|
|
62
|
+
"atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
|
|
62
63
|
"network_name": "gnosis"
|
|
63
64
|
},
|
|
64
65
|
"130": {
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
},
|
|
107
108
|
"8453": {
|
|
108
109
|
"hostedRPC": "https://mainnet.base.org",
|
|
110
|
+
"graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/8Gtjsx3LGtN3Jfxx1YEbLWNLEd2ntrq3dsyzXgGHov1i",
|
|
109
111
|
"explorerURL": "https://basescan.org/",
|
|
110
112
|
"network_name": "base"
|
|
111
113
|
},
|
|
@@ -154,7 +156,8 @@
|
|
|
154
156
|
},
|
|
155
157
|
"11155111": {
|
|
156
158
|
"network_name": "sepolia",
|
|
157
|
-
"graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U"
|
|
159
|
+
"graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
|
|
160
|
+
"atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5"
|
|
158
161
|
},
|
|
159
162
|
"11155420": {
|
|
160
163
|
"network_name": "optimism-sepolia"
|
package/generated/chains.json
CHANGED
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"wss://gnosis-rpc.publicnode.com"
|
|
275
275
|
],
|
|
276
276
|
"hostedRPC": "https://rpc.gnosischain.com",
|
|
277
|
+
"atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
|
|
277
278
|
"graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh",
|
|
278
279
|
"blockExplorerUrls": [
|
|
279
280
|
"https://gnosisscan.io",
|
|
@@ -480,6 +481,7 @@
|
|
|
480
481
|
"wss://base-rpc.publicnode.com"
|
|
481
482
|
],
|
|
482
483
|
"hostedRPC": "https://mainnet.base.org",
|
|
484
|
+
"graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/8Gtjsx3LGtN3Jfxx1YEbLWNLEd2ntrq3dsyzXgGHov1i",
|
|
483
485
|
"blockExplorerUrls": [
|
|
484
486
|
"https://basescan.org",
|
|
485
487
|
"https://base.blockscout.com",
|
|
@@ -718,6 +720,7 @@
|
|
|
718
720
|
"https://eth-sepolia.g.alchemy.com/v2/WddzdzI2o9S3COdT73d5w6AIogbKq4X-"
|
|
719
721
|
],
|
|
720
722
|
"hostedRPC": "https://rpc.sepolia.org",
|
|
723
|
+
"atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
|
|
721
724
|
"graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
|
|
722
725
|
"blockExplorerUrls": [
|
|
723
726
|
"https://sepolia.etherscan.io",
|
package/index.js
CHANGED
|
@@ -344,6 +344,13 @@ function realityETH10BitChainID(chain_id) {
|
|
|
344
344
|
return assigned_manually[""+chain_id];
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
+
function atProtoBotDid(chain_id) {
|
|
348
|
+
if (chain_info[""+chain_id] && chain_info[""+chain_id]['atprotoBot']) {
|
|
349
|
+
return chain_info[""+chain_id]['atprotoBot']
|
|
350
|
+
}
|
|
351
|
+
return null;
|
|
352
|
+
}
|
|
353
|
+
|
|
347
354
|
function getChainLabel(chain_id) {
|
|
348
355
|
const c = chain_info[chain_id];
|
|
349
356
|
if (!c) {
|
|
@@ -372,3 +379,4 @@ module.exports.configForAddress = configForAddress;
|
|
|
372
379
|
module.exports.populateImports = populateImports;
|
|
373
380
|
module.exports.getChainLabel = getChainLabel;
|
|
374
381
|
module.exports.realityETH10BitChainID = realityETH10BitChainID;
|
|
382
|
+
module.exports.atProtoBotDid = atProtoBotDid;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.73",
|
|
4
4
|
"description": "Collection of smart contracts for the Realitio fact verification platform",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate-chains": "node scripts/generate_chains_json.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"url": "https://github.com/RealityETH/monorepo/issues"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://reality.eth.link",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "339632bde8fd27add20263a775a6aca8ff494c57",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"ethers": "^5.6.8"
|
|
40
40
|
}
|
|
@@ -60,6 +60,9 @@ for (var ci = 0; ci< chain_id_list.length; ci++) {
|
|
|
60
60
|
if (our_data['iconURL']) {
|
|
61
61
|
chainparams['iconUrls'] = [our_data['iconURL']];
|
|
62
62
|
}
|
|
63
|
+
if (our_data['atprotoBot']) {
|
|
64
|
+
chainparams['atprotoBot'] = our_data['atprotoBot'];
|
|
65
|
+
}
|
|
63
66
|
|
|
64
67
|
if (our_data['graphURL']) {
|
|
65
68
|
chainparams['graphURL'] = our_data['graphURL'];
|