@reality.eth/contracts 3.0.28 → 3.0.30
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 +1867 -106
- package/chains/deployments/421613/ARETH/RealityETH-3.0.json +6 -0
- package/chains/supported.json +5 -0
- package/generated/chains.json +20 -2
- package/generated/contracts.json +10 -0
- package/generated/tokens.json +2 -1
- package/package.json +2 -2
- package/scripts/deploy.js +16 -7
- package/tokens/ARETH.json +2 -1
package/chains/supported.json
CHANGED
|
@@ -93,11 +93,16 @@
|
|
|
93
93
|
"network_name": "avalanche"
|
|
94
94
|
},
|
|
95
95
|
"42161": {
|
|
96
|
+
"hostedRPC": "https://arb1.arbitrum.io/rpc",
|
|
97
|
+
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-arbitrum",
|
|
96
98
|
"network_name": "arbitrum-one"
|
|
97
99
|
},
|
|
98
100
|
"421611": {
|
|
99
101
|
"network_name": "arbitrum-rinkeby"
|
|
100
102
|
},
|
|
103
|
+
"421613": {
|
|
104
|
+
"network_name": "arbitrum-goerli"
|
|
105
|
+
},
|
|
101
106
|
"11155111": {
|
|
102
107
|
"network_name": "sepolia"
|
|
103
108
|
},
|
package/generated/chains.json
CHANGED
|
@@ -292,9 +292,9 @@
|
|
|
292
292
|
},
|
|
293
293
|
"network_name": "zksync-era",
|
|
294
294
|
"rpcUrls": [
|
|
295
|
-
"https://
|
|
295
|
+
"https://mainnet.era.zksync.io"
|
|
296
296
|
],
|
|
297
|
-
"hostedRPC": "https://
|
|
297
|
+
"hostedRPC": "https://mainnet.era.zksync.io",
|
|
298
298
|
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-era",
|
|
299
299
|
"blockExplorerUrls": [
|
|
300
300
|
"https://explorer.zksync.io",
|
|
@@ -332,6 +332,7 @@
|
|
|
332
332
|
"wss://arb1.arbitrum.io/ws"
|
|
333
333
|
],
|
|
334
334
|
"hostedRPC": "https://arb1.arbitrum.io/rpc",
|
|
335
|
+
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-arbitrum",
|
|
335
336
|
"blockExplorerUrls": [
|
|
336
337
|
"https://explorer.arbitrum.io"
|
|
337
338
|
]
|
|
@@ -394,6 +395,23 @@
|
|
|
394
395
|
"https://rinkeby-explorer.arbitrum.io"
|
|
395
396
|
]
|
|
396
397
|
},
|
|
398
|
+
"421613": {
|
|
399
|
+
"chainId": "0x66eed",
|
|
400
|
+
"chainName": "Arbitrum Goerli",
|
|
401
|
+
"nativeCurrency": {
|
|
402
|
+
"name": "Arbitrum Goerli Ether",
|
|
403
|
+
"symbol": "AGOR",
|
|
404
|
+
"decimals": 18
|
|
405
|
+
},
|
|
406
|
+
"network_name": "arbitrum-goerli",
|
|
407
|
+
"rpcUrls": [
|
|
408
|
+
"https://goerli-rollup.arbitrum.io/rpc/"
|
|
409
|
+
],
|
|
410
|
+
"hostedRPC": "https://goerli-rollup.arbitrum.io/rpc/",
|
|
411
|
+
"blockExplorerUrls": [
|
|
412
|
+
"https://goerli-rollup-explorer.arbitrum.io"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
397
415
|
"1337702": {
|
|
398
416
|
"chainId": "0x146966",
|
|
399
417
|
"chainName": "Kintsugi",
|
package/generated/contracts.json
CHANGED
|
@@ -471,6 +471,16 @@
|
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
|
+
"421613": {
|
|
475
|
+
"ARETH": {
|
|
476
|
+
"RealityETH-3.0": {
|
|
477
|
+
"address": "0x14a6748192aBC6E10CA694Ae07bDd4327D6c7A51",
|
|
478
|
+
"block": 19181142,
|
|
479
|
+
"notes": null,
|
|
480
|
+
"arbitrators": {}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
},
|
|
474
484
|
"1337702": {
|
|
475
485
|
"ETH": {
|
|
476
486
|
"RealityETH-3.0": {
|
package/generated/tokens.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.30",
|
|
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": "03e4a48bc6ffcb5d327c5503fa1afb2eba3f97fb",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ethers": "^5.6.8"
|
|
36
36
|
}
|
package/scripts/deploy.js
CHANGED
|
@@ -11,16 +11,20 @@ const deployed_at = null;
|
|
|
11
11
|
var undef;
|
|
12
12
|
|
|
13
13
|
const defaultConfigs = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
//gasPrice: 70000000000
|
|
17
|
-
//
|
|
14
|
+
//maxFeePerGas: 610000000000,
|
|
15
|
+
//maxPriorityFeePerGas: 10000000000,
|
|
16
|
+
//gasPrice: 70000000000,
|
|
17
|
+
//gasPrice: 10000000000,
|
|
18
|
+
// gasPrice: 100000000,
|
|
18
19
|
// gasPrice: 10000, // optimism 1000000,
|
|
19
20
|
/// gasPrice: 5000000000,
|
|
20
|
-
//
|
|
21
|
+
//gasLimit: 6000000, // optimism 4500000
|
|
21
22
|
gasLimit: 4500000,
|
|
22
23
|
//etherscanApiKey: 'TPA4BFDDIH8Q7YBQ4JMGN6WDDRRPAV6G34'
|
|
23
|
-
//
|
|
24
|
+
//gasLimit: 155734867 // arbitrum
|
|
25
|
+
//gasLimit: 7000000
|
|
26
|
+
//gasLimit: 800035294
|
|
27
|
+
// gasLimit: 4291955938
|
|
24
28
|
}
|
|
25
29
|
const task = process.argv[2]
|
|
26
30
|
const version = process.argv[3]
|
|
@@ -45,10 +49,12 @@ const chains = {
|
|
|
45
49
|
'cheapeth': 777,
|
|
46
50
|
'gnosis': 100,
|
|
47
51
|
'polygon': 137,
|
|
52
|
+
'hermez': 1101,
|
|
48
53
|
'mumbai': 80001,
|
|
49
54
|
'ava': 43114,
|
|
50
55
|
'arbitrum': 42161,
|
|
51
56
|
'arbitrum-rinkeby': 421611,
|
|
57
|
+
'arbitrum-goerli': 421613,
|
|
52
58
|
'kovan-optimistic': 69,
|
|
53
59
|
'kintsugi': 1337702,
|
|
54
60
|
'sepolia': 11155111,
|
|
@@ -59,9 +65,11 @@ const non_infura_chains = {
|
|
|
59
65
|
'bsc': 'https://bsc-dataseed.binance.org',
|
|
60
66
|
'chapel': 'https://bsc-testnet.public.blastapi.io',
|
|
61
67
|
'polygon': 'https://rpc-mainnet.maticvigil.com',
|
|
68
|
+
'hermez': 'https://rpc.ankr.com/polygon_zkevm',
|
|
62
69
|
'ava': 'https://api.avax.network/ext/bc/C/rpc',
|
|
63
70
|
'arbitrum': 'https://arb1.arbitrum.io/rpc',
|
|
64
71
|
'arbitrum-rinkeby': 'https://rinkeby.arbitrum.io/rpc',
|
|
72
|
+
'arbitrum-goerli': 'https://goerli-rollup.arbitrum.io/rpc',
|
|
65
73
|
'ubiq': 'https://rpc.octano.dev',
|
|
66
74
|
'cheapeth': 'https://node.cheapeth.org/rpc',
|
|
67
75
|
'kovan-optimistic': 'https://kovan.optimism.io',
|
|
@@ -202,7 +210,8 @@ async function waitForGas(provider) {
|
|
|
202
210
|
}
|
|
203
211
|
|
|
204
212
|
const f = await provider.getFeeData()
|
|
205
|
-
|
|
213
|
+
console.log('fee', f)
|
|
214
|
+
return;
|
|
206
215
|
if (f.gasPrice.gt(ethers.BigNumber.from(defaultConfigs.maxFeePerGas))) {
|
|
207
216
|
console.log('Gas is too expensive, got', f.gasPrice.toString(), 'but you will only pay ', defaultConfigs.maxFeePerGas, ', retrying...')
|
|
208
217
|
await sleep(2000);
|