@reality.eth/contracts 3.0.72 → 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.
@@ -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": {
@@ -155,7 +156,8 @@
155
156
  },
156
157
  "11155111": {
157
158
  "network_name": "sepolia",
158
- "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"
159
161
  },
160
162
  "11155420": {
161
163
  "network_name": "optimism-sepolia"
@@ -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",
@@ -719,6 +720,7 @@
719
720
  "https://eth-sepolia.g.alchemy.com/v2/WddzdzI2o9S3COdT73d5w6AIogbKq4X-"
720
721
  ],
721
722
  "hostedRPC": "https://rpc.sepolia.org",
723
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
722
724
  "graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
723
725
  "blockExplorerUrls": [
724
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.72",
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": "d78e484c63f01925317e36e408cad8a06ba58bc4",
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'];