@reality.eth/contracts 3.2.2 → 3.2.4

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.
@@ -0,0 +1,6 @@
1
+ {
2
+ "address": "0x4C2863bb9969dD693Ec487bED72BDfD83C0cA5b3",
3
+ "block": 31954377,
4
+ "notes": null,
5
+ "arbitrators": {}
6
+ }
@@ -130,6 +130,10 @@
130
130
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/GE8vDWJM3JBeqM8uk3LHZMbyBaeZTNjaeZRx1KgWvHeD",
131
131
  "network_name": "arbitrum-one"
132
132
  },
133
+ "42220": {
134
+ "hostedRPC": "https://forno.celo.org",
135
+ "network_name": "celo"
136
+ },
133
137
  "43114": {
134
138
  "explorerURL": "https://cchain.explorer.avax.network/",
135
139
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5mxhdAbQubvMU8cVjevsC2L8vre6EaHhpCXBdNPjd6EL",
@@ -563,6 +563,25 @@
563
563
  "https://explorer.arbitrum.io"
564
564
  ]
565
565
  },
566
+ "42220": {
567
+ "chainId": "0xa4ec",
568
+ "chainName": "Celo Mainnet",
569
+ "nativeCurrency": {
570
+ "name": "CELO",
571
+ "symbol": "CELO",
572
+ "decimals": 18
573
+ },
574
+ "network_name": "celo",
575
+ "rpcUrls": [
576
+ "https://forno.celo.org",
577
+ "wss://forno.celo.org/ws"
578
+ ],
579
+ "hostedRPC": "https://forno.celo.org",
580
+ "blockExplorerUrls": [
581
+ "https://celoscan.io",
582
+ "https://explorer.celo.org"
583
+ ]
584
+ },
566
585
  "43114": {
567
586
  "chainId": "0xa86a",
568
587
  "chainName": "Avalanche C-Chain",
@@ -531,6 +531,16 @@
531
531
  }
532
532
  }
533
533
  },
534
+ "42220": {
535
+ "CELO": {
536
+ "RealityETH-3.0": {
537
+ "address": "0x4C2863bb9969dD693Ec487bED72BDfD83C0cA5b3",
538
+ "block": 31954377,
539
+ "notes": null,
540
+ "arbitrators": {}
541
+ }
542
+ }
543
+ },
534
544
  "43114": {
535
545
  "AVAX": {
536
546
  "RealityETH-3.0": {
@@ -23,6 +23,13 @@
23
23
  "97": true
24
24
  }
25
25
  },
26
+ "CELO": {
27
+ "decimals": 18,
28
+ "small_number": "1000000000000000000",
29
+ "native_chains": {
30
+ "42220": true
31
+ }
32
+ },
26
33
  "CTH": {
27
34
  "decimals": 18,
28
35
  "small_number": 10000000000000000000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reality.eth/contracts",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
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": "a6dddbb0d2f8f2b9354be0dfb1abc61f84e2054c",
37
+ "gitHead": "6a29fa3b5c50ede5f76c8c8530d8562d5824b208",
38
38
  "dependencies": {
39
39
  "ethers": "^5.8.0"
40
40
  }
package/scripts/deploy.js CHANGED
@@ -221,12 +221,6 @@ function store_deployed_factory_contract(template, chain_id, out_json) {
221
221
  console.log('wrote file', file);
222
222
  }
223
223
 
224
- function chain_config_for_name(chain_name) {
225
- for (cc in chain_configs) {
226
-
227
- }
228
- }
229
-
230
224
  function provider_for_chain() {
231
225
  if (non_infura_chains[chain]) {
232
226
  console.log('Using chain', non_infura_chains[chain]);
@@ -0,0 +1,7 @@
1
+ {
2
+ "decimals": 18,
3
+ "small_number": "1000000000000000000",
4
+ "native_chains": {
5
+ "42220": true
6
+ }
7
+ }