@reality.eth/contracts 3.2.1 → 3.2.3

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/index.js CHANGED
@@ -290,11 +290,11 @@ function configForAddress(addr, chain_id) {
290
290
  if (!config.arbitrators) {
291
291
  config.arbitrators = [];
292
292
  }
293
- const [contract_name, contract_version] = ver.split('-');
294
- config.version_number = ver;
293
+ const [contract_name, version_number] = ver.split('-');
294
+ config.version_number = version_number;
295
295
  config.chain_id = cid;
296
296
  config.contract_name = contract_name;
297
- config.contract_version = contract_version;
297
+ config.contract_version = ver;
298
298
  config.token_ticker = ticker;
299
299
  return config;
300
300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reality.eth/contracts",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
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": "5de7ca2957f604eed35a5357736ad5c297d7a302",
37
+ "gitHead": "1826d9fb4111d5a0bd38ff8c3b8aa7e61d5399dc",
38
38
  "dependencies": {
39
39
  "ethers": "^5.8.0"
40
40
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "decimals": 18,
3
+ "small_number": "1000000000000000000",
4
+ "native_chains": {
5
+ "42220": true
6
+ }
7
+ }