@reality.eth/contracts 3.0.72 → 3.0.74

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.
@@ -2,5 +2,7 @@
2
2
  "address": "0xB920dBedE88B42aA77eE55ebcE3671132ee856fC",
3
3
  "block": 8561869,
4
4
  "notes": null,
5
- "arbitrators": {}
5
+ "arbitrators": {
6
+ "0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18": "Kleros (Oracle court)"
7
+ }
6
8
  }
@@ -2,5 +2,7 @@
2
2
  "address": "0x2F39f464d16402Ca3D8527dA89617b73DE2F60e8",
3
3
  "block": 26260675,
4
4
  "notes": null,
5
- "arbitrators": {}
5
+ "arbitrators": {
6
+ "0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18": "Kleros (Oracle court)"
7
+ }
6
8
  }
@@ -2,7 +2,8 @@
2
2
  "1": {
3
3
  "hostedRPC": "https://eth-mainnet.alchemyapi.io/v2/c9uS--nIxEOjVjh0AJlNttMaqUXQy8gR",
4
4
  "explorerURL": "https://etherscan.io",
5
- "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AGLkTv6eaW7JhQsLgB6SMzo43uM9V12ZoNkjAw7uijra",
5
+ "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AGLkTv6eaW7JhQsLgB6SMzo43uM9V12ZoNkjAw7uijra",
6
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
6
7
  "network_name": "mainnet"
7
8
  },
8
9
  "3": {
@@ -59,6 +60,7 @@
59
60
  "100": {
60
61
  "explorerURL": "https://gnosisscan.io",
61
62
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh",
63
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
62
64
  "network_name": "gnosis"
63
65
  },
64
66
  "130": {
@@ -155,7 +157,8 @@
155
157
  },
156
158
  "11155111": {
157
159
  "network_name": "sepolia",
158
- "graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U"
160
+ "graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
161
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5"
159
162
  },
160
163
  "11155420": {
161
164
  "network_name": "optimism-sepolia"
@@ -27,7 +27,8 @@
27
27
  "https://api.securerpc.com/v1"
28
28
  ],
29
29
  "hostedRPC": "https://eth-mainnet.alchemyapi.io/v2/c9uS--nIxEOjVjh0AJlNttMaqUXQy8gR",
30
- "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AGLkTv6eaW7JhQsLgB6SMzo43uM9V12ZoNkjAw7uijra",
30
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
31
+ "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AGLkTv6eaW7JhQsLgB6SMzo43uM9V12ZoNkjAw7uijra",
31
32
  "blockExplorerUrls": [
32
33
  "https://etherscan.io",
33
34
  "https://eth.blockscout.com",
@@ -274,6 +275,7 @@
274
275
  "wss://gnosis-rpc.publicnode.com"
275
276
  ],
276
277
  "hostedRPC": "https://rpc.gnosischain.com",
278
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
277
279
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh",
278
280
  "blockExplorerUrls": [
279
281
  "https://gnosisscan.io",
@@ -719,6 +721,7 @@
719
721
  "https://eth-sepolia.g.alchemy.com/v2/WddzdzI2o9S3COdT73d5w6AIogbKq4X-"
720
722
  ],
721
723
  "hostedRPC": "https://rpc.sepolia.org",
724
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
722
725
  "graphURL": "https://gateway.thegraph.com/api/[api-key]/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
723
726
  "blockExplorerUrls": [
724
727
  "https://sepolia.etherscan.io",
@@ -332,7 +332,9 @@
332
332
  "address": "0xB920dBedE88B42aA77eE55ebcE3671132ee856fC",
333
333
  "block": 8561869,
334
334
  "notes": null,
335
- "arbitrators": {}
335
+ "arbitrators": {
336
+ "0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18": "Kleros (Oracle court)"
337
+ }
336
338
  }
337
339
  }
338
340
  },
@@ -454,7 +456,9 @@
454
456
  "address": "0x2F39f464d16402Ca3D8527dA89617b73DE2F60e8",
455
457
  "block": 26260675,
456
458
  "notes": null,
457
- "arbitrators": {}
459
+ "arbitrators": {
460
+ "0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18": "Kleros (Oracle court)"
461
+ }
458
462
  }
459
463
  }
460
464
  },
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.74",
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": "ee04dbb38772893c0c45d02f0525f65839343764",
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'];