@reality.eth/contracts 3.2.0 → 3.2.2

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": "0x6a2155613b68eFB38D5c6074921F3F4281c8c177",
3
+ "block": 22100226,
4
+ "notes": null,
5
+ "arbitrators": {}
6
+ }
@@ -21,6 +21,12 @@
21
21
  "0xf72cfd1b34a91a64f9a98537fe63fbab7530adca": "Kleros DAO Governance (Technical Court)",
22
22
  "0x728cba71a3723caab33ea416cb46e2cc9215a596": "Kleros (Old General Court, deprecated)"
23
23
  }
24
+ },
25
+ "RealityETH-3.2": {
26
+ "address": "0x6a2155613b68eFB38D5c6074921F3F4281c8c177",
27
+ "block": 22100226,
28
+ "notes": null,
29
+ "arbitrators": {}
24
30
  }
25
31
  },
26
32
  "FOX": {
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.0",
3
+ "version": "3.2.2",
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": "3657381c3ba9f62bb6d3f07e59e38f7cebf8ffdd",
37
+ "gitHead": "a6dddbb0d2f8f2b9354be0dfb1abc61f84e2054c",
38
38
  "dependencies": {
39
39
  "ethers": "^5.8.0"
40
40
  }