@reality.eth/contracts 3.0.32 → 3.0.34
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.
- package/chains/chainid.network.json +2079 -115
- package/chains/deployments/534353/SETH/RealityETH-3.0.json +6 -0
- package/chains/deployments/80001/POLK/RealityETH_ERC20-3.0.json +1 -0
- package/generated/chains.json +6 -3
- package/generated/contracts.json +13 -1
- package/package.json +2 -2
- package/scripts/deploy.js +4 -1
package/generated/chains.json
CHANGED
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
},
|
|
62
62
|
"network_name": "goerli",
|
|
63
63
|
"rpcUrls": [
|
|
64
|
-
"https://rpc.goerli.mudit.blog/"
|
|
64
|
+
"https://rpc.goerli.mudit.blog/",
|
|
65
|
+
"https://ethereum-goerli.publicnode.com"
|
|
65
66
|
],
|
|
66
67
|
"hostedRPC": "https://eth-goerli.g.alchemy.com/v2/i2jZKhmFBPZYl8YdSHxsZ6viP3PQLwId",
|
|
67
68
|
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-goerli",
|
|
@@ -207,7 +208,8 @@
|
|
|
207
208
|
"https://data-seed-prebsc-1-s2.binance.org:8545",
|
|
208
209
|
"https://data-seed-prebsc-2-s2.binance.org:8545",
|
|
209
210
|
"https://data-seed-prebsc-1-s3.binance.org:8545",
|
|
210
|
-
"https://data-seed-prebsc-2-s3.binance.org:8545"
|
|
211
|
+
"https://data-seed-prebsc-2-s3.binance.org:8545",
|
|
212
|
+
"https://bsc-testnet.publicnode.com"
|
|
211
213
|
],
|
|
212
214
|
"hostedRPC": "https://data-seed-prebsc-1-s1.binance.org:8545",
|
|
213
215
|
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-chapel",
|
|
@@ -369,7 +371,8 @@
|
|
|
369
371
|
"rpcUrls": [
|
|
370
372
|
"https://matic-mumbai.chainstacklabs.com",
|
|
371
373
|
"https://rpc-mumbai.maticvigil.com",
|
|
372
|
-
"https://matic-testnet-archive-rpc.bwarelabs.com"
|
|
374
|
+
"https://matic-testnet-archive-rpc.bwarelabs.com",
|
|
375
|
+
"https://polygon-mumbai-bor.publicnode.com"
|
|
373
376
|
],
|
|
374
377
|
"hostedRPC": "https://rpc.ankr.com/polygon_mumbai",
|
|
375
378
|
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-mumbai",
|
package/generated/contracts.json
CHANGED
|
@@ -453,7 +453,9 @@
|
|
|
453
453
|
"block": 35623862,
|
|
454
454
|
"token_address": "0x935f82d011ee37e8870c435417ac58407a9863f7",
|
|
455
455
|
"notes": null,
|
|
456
|
-
"arbitrators": {
|
|
456
|
+
"arbitrators": {
|
|
457
|
+
"0x39cd45615e20847fc50cff6bbcde45198f8f46d9": "Kleros"
|
|
458
|
+
}
|
|
457
459
|
}
|
|
458
460
|
}
|
|
459
461
|
},
|
|
@@ -490,6 +492,16 @@
|
|
|
490
492
|
}
|
|
491
493
|
}
|
|
492
494
|
},
|
|
495
|
+
"534353": {
|
|
496
|
+
"SETH": {
|
|
497
|
+
"RealityETH-3.0": {
|
|
498
|
+
"address": "0x4300d4C410f87c7c1824Cbc2eF67431030106604",
|
|
499
|
+
"block": 2364219,
|
|
500
|
+
"notes": null,
|
|
501
|
+
"arbitrators": {}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
},
|
|
493
505
|
"1337702": {
|
|
494
506
|
"ETH": {
|
|
495
507
|
"RealityETH-3.0": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.34",
|
|
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",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/RealityETH/monorepo/issues"
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://reality.eth.link",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "6ac1849ade69b1537839039e35a73551839506dc",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ethers": "^5.6.8"
|
|
36
36
|
}
|
package/scripts/deploy.js
CHANGED
|
@@ -3,6 +3,7 @@ const ethers = require('ethers');
|
|
|
3
3
|
const project_base = './../';
|
|
4
4
|
const build_dir = './../truffle/build/contracts/';
|
|
5
5
|
const rc = require('../index.js');
|
|
6
|
+
const { join } = require('path');
|
|
6
7
|
|
|
7
8
|
const deployed_at = null;
|
|
8
9
|
// const deployed_at = '0x33aa365a53a4c9ba777fb5f450901a8eef73f0a9'; //mainnet gno
|
|
@@ -48,6 +49,7 @@ const chains = {
|
|
|
48
49
|
'sokol': 77,
|
|
49
50
|
'cheapeth': 777,
|
|
50
51
|
'gnosis': 100,
|
|
52
|
+
'scroll-alpha-testnet': 534353,
|
|
51
53
|
'polygon': 137,
|
|
52
54
|
'hermez': 1101,
|
|
53
55
|
'mumbai': 80001,
|
|
@@ -61,6 +63,7 @@ const chains = {
|
|
|
61
63
|
}
|
|
62
64
|
const non_infura_chains = {
|
|
63
65
|
'gnosis': 'https://rpc.ankr.com/gnosis',
|
|
66
|
+
'scroll-alpha-testnet': 'https://alpha-rpc.scroll.io/l2',
|
|
64
67
|
'sokol': 'https://sokol.poa.network',
|
|
65
68
|
'bsc': 'https://bsc-dataseed.binance.org',
|
|
66
69
|
'chapel': 'https://bsc-testnet.public.blastapi.io',
|
|
@@ -135,7 +138,7 @@ if (arbitrator_owner == undef) {
|
|
|
135
138
|
arbitrator_owner = "0xdd8a989e5e89ad23ed2f91c6f106aea678a1a3d0";
|
|
136
139
|
}
|
|
137
140
|
|
|
138
|
-
const priv = fs.readFileSync('
|
|
141
|
+
const priv = fs.readFileSync(join(__dirname, '../secrets/' + chain + '.sec'), 'utf8').replace(/\n/, '')
|
|
139
142
|
|
|
140
143
|
ensure_chain_directory_exists(chain_id, token_name);
|
|
141
144
|
|