@reality.eth/contracts 3.2.25 → 3.2.26

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.
Files changed (41) hide show
  1. package/chains/deployments/10/OETH/RealityETH-3.0.json +3 -1
  2. package/chains/deployments/100/XDAI/RealityETH-3.0.json +3 -1
  3. package/chains/deployments/8453/ETH/RealityETH-3.0.json +3 -1
  4. package/chains/supported.json +62 -14
  5. package/generated/chains.json +23 -0
  6. package/generated/contract_token_lookup.json +476 -0
  7. package/generated/contracts.json +9 -3
  8. package/generated/tokens.json +45 -23
  9. package/generated/website-data.js +1 -0
  10. package/package.json +7 -3
  11. package/scripts/generate_chains_json.js +8 -0
  12. package/scripts/generate_contract_token_lookup.js +40 -0
  13. package/scripts/generate_indexer_config.js +111 -0
  14. package/scripts/generate_ponder_config.js +222 -0
  15. package/scripts/generate_website_data.js +68 -0
  16. package/scripts/update_token_prices.js +144 -0
  17. package/tests/python/requirements.txt +0 -4
  18. package/tests/python/test.py +37 -34
  19. package/tests/python/test_erc20.py +27 -25
  20. package/tokens/ARETH.json +3 -2
  21. package/tokens/AVAX.json +2 -1
  22. package/tokens/BNB.json +2 -1
  23. package/tokens/BOND.json +2 -1
  24. package/tokens/CELO.json +3 -2
  25. package/tokens/CTH.json +2 -1
  26. package/tokens/DAOOS.json +2 -1
  27. package/tokens/DEXE.json +2 -1
  28. package/tokens/ETH.json +3 -2
  29. package/tokens/FOX.json +2 -1
  30. package/tokens/GNO.json +4 -3
  31. package/tokens/MATIC.json +2 -1
  32. package/tokens/MONAD.json +3 -2
  33. package/tokens/OETH.json +3 -2
  34. package/tokens/POLK.json +2 -1
  35. package/tokens/SUKU.json +2 -1
  36. package/tokens/SWISE.json +2 -1
  37. package/tokens/TLOS.json +3 -2
  38. package/tokens/TRST.json +2 -1
  39. package/tokens/UBQ.json +2 -1
  40. package/tokens/XDAI.json +3 -2
  41. package/tokens/ZBS.json +2 -1
@@ -2,5 +2,7 @@
2
2
  "address": "0x0eF940F7f053a2eF5D6578841072488aF0c7d89A",
3
3
  "block": 2462149,
4
4
  "notes": null,
5
- "arbitrators": {}
5
+ "arbitrators": {
6
+ "0x5AFa42b30955f137e10f89dfb5EF1542a186F90e": "Kleros (Seer)"
7
+ }
6
8
  }
@@ -3,6 +3,8 @@
3
3
  "block": 17997262,
4
4
  "notes": null,
5
5
  "arbitrators": {
6
- "0x29f39de98d750eb77b5fafb31b2837f079fce222": "Kleros"
6
+ "0x29f39de98d750eb77b5fafb31b2837f079fce222": "Kleros",
7
+ "0x68154ea682f95bf582b80dd6453fa401737491dc": "Kleros (Seer)",
8
+ "0xe04f5791d671d5c4e08ab49b39807087b591ea3e": "Kleros Moderate"
7
9
  }
8
10
  }
@@ -3,6 +3,8 @@
3
3
  "block": 26260675,
4
4
  "notes": null,
5
5
  "arbitrators": {
6
- "0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18": "Kleros (Oracle court)"
6
+ "0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18": "Kleros (Oracle court)",
7
+ "0x5AFa42b30955f137e10f89dfb5EF1542a186F90e": "Kleros (Seer)",
8
+ "0xd04f24364687dbd6db67d2101fae59e91a6e605b": "Kleros (Precog)"
7
9
  }
8
10
  }
@@ -4,7 +4,10 @@
4
4
  "explorerURL": "https://etherscan.io",
5
5
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/deployments/id/QmaugeofXNk2tCN3U3LaEi8vRq99zZ6pbKYJDWbbVF1Z9E",
6
6
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
7
- "network_name": "mainnet"
7
+ "network_name": "mainnet",
8
+ "realityETHIndexerSupport": true,
9
+ "indexer_batch_size": 12000,
10
+ "blocksPerDay": 7200
8
11
  },
9
12
  "3": {
10
13
  "hostedRPC": "https://ropsten.infura.io/tSrhlXUe1sNEO5ZWhpUK",
@@ -25,12 +28,20 @@
25
28
  },
26
29
  "8": {
27
30
  "hostedRPC": "https://rpc.octano.dev",
28
- "explorerURL": "https://ubqblockexplorer.com/"
31
+ "explorerURL": "https://ubqblockexplorer.com/",
32
+ "network_name": "ubiq"
29
33
  },
30
34
  "10": {
31
35
  "hostedRPC": "https://mainnet.optimism.io",
32
36
  "explorerURL": "https://optimistic.etherscan.io",
33
- "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/DbXiienZtjzLNQiXUfVvEyGxR3xkrJ7sJm5XdDKT4DqL"
37
+ "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/DbXiienZtjzLNQiXUfVvEyGxR3xkrJ7sJm5XdDKT4DqL",
38
+ "network_name": "optimism",
39
+ "realityETHIndexerSupport": true,
40
+ "indexer_batch_size": 10000,
41
+ "explorer_api_url": "https://explorer.optimism.io/api",
42
+ "explorer_api_key_env": null,
43
+ "explorer_api_no_chain_id": true,
44
+ "blocksPerDay": 43200
34
45
  },
35
46
  "40": {
36
47
  "network_name": "TelosEVM"
@@ -38,7 +49,14 @@
38
49
  "56": {
39
50
  "explorerURL": "https://www.bscscan.com",
40
51
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5KjMLU6mx7RrjJJK9XKrM7i6oeB7C6gpnsi3CTWqpYpm",
41
- "network_name": "bsc"
52
+ "network_name": "bsc",
53
+ "realityETHIndexerSupport": true,
54
+ "indexer_name": "bnb",
55
+ "indexer_batch_size": 10000,
56
+ "no_explorer_refresh": true,
57
+ "explorer_api_key_env": "BSCSCAN_API_KEY",
58
+ "explorer_api_key_required": true,
59
+ "blocksPerDay": 28800
42
60
  },
43
61
  "69": {
44
62
  "hostedRPC": "https://kovan.optimism.io",
@@ -59,19 +77,29 @@
59
77
  "explorerURL": "https://gnosisscan.io",
60
78
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh",
61
79
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
62
- "network_name": "gnosis"
80
+ "network_name": "gnosis",
81
+ "realityETHIndexerSupport": true,
82
+ "indexer_batch_size": 5000,
83
+ "blocksPerDay": 17280
63
84
  },
64
85
  "130": {
65
86
  "explorerURL": "https://unichain.blockscout.com/",
66
87
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/ChZUYehW8ionezxqgM1UQsrjuZpcBbNkiTjQX5jBauEi",
67
88
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
68
- "network_name": "unichain"
89
+ "network_name": "unichain",
90
+ "realityETHIndexerSupport": true,
91
+ "indexer_batch_size": 10000,
92
+ "blocksPerDay": 43200
69
93
  },
70
94
  "137": {
71
95
  "explorerURL": "https://polygonscan.com/",
72
96
  "graphURLHosted": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-polygon",
73
97
  "graphURLStudio": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AWx6jkeKZ3xKRzkrzgfCAMPT7d6Jc3AMcqB8koN3QEqE",
74
- "network_name": "matic"
98
+ "network_name": "matic",
99
+ "realityETHIndexerSupport": true,
100
+ "indexer_name": "polygon",
101
+ "indexer_batch_size": 5000,
102
+ "blocksPerDay": 43200
75
103
  },
76
104
  "143": {
77
105
  "explorerURL": "https://monad.socialscan.io/",
@@ -114,7 +142,13 @@
114
142
  "hostedRPC": "https://mainnet.base.org",
115
143
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/8Gtjsx3LGtN3Jfxx1YEbLWNLEd2ntrq3dsyzXgGHov1i",
116
144
  "explorerURL": "https://basescan.org/",
117
- "network_name": "base"
145
+ "network_name": "base",
146
+ "realityETHIndexerSupport": true,
147
+ "indexer_batch_size": 10000,
148
+ "explorer_api_url": "https://base.blockscout.com/api",
149
+ "explorer_api_key_env": null,
150
+ "explorer_api_no_chain_id": true,
151
+ "blocksPerDay": 43200
118
152
  },
119
153
  "10200": {
120
154
  "hostedRPC": "https://rpc.chiadochain.net",
@@ -130,17 +164,27 @@
130
164
  "42161": {
131
165
  "hostedRPC": "https://arb1.arbitrum.io/rpc",
132
166
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/GE8vDWJM3JBeqM8uk3LHZMbyBaeZTNjaeZRx1KgWvHeD",
133
- "network_name": "arbitrum-one"
167
+ "network_name": "arbitrum-one",
168
+ "realityETHIndexerSupport": true,
169
+ "indexer_name": "arbitrum",
170
+ "indexer_batch_size": 10000,
171
+ "blocksPerDay": 360000
134
172
  },
135
173
  "42220": {
136
174
  "hostedRPC": "https://forno.celo.org",
137
175
  "graphURL": "https://api.studio.thegraph.com/query/41571/realityeth-celo/version/latest",
138
- "network_name": "celo"
176
+ "network_name": "celo",
177
+ "realityETHIndexerSupport": true,
178
+ "indexer_batch_size": 5000
139
179
  },
140
180
  "43114": {
141
181
  "explorerURL": "https://cchain.explorer.avax.network/",
142
182
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5mxhdAbQubvMU8cVjevsC2L8vre6EaHhpCXBdNPjd6EL",
143
- "network_name": "avalanche"
183
+ "network_name": "avalanche",
184
+ "realityETHIndexerSupport": true,
185
+ "indexer_batch_size": 5000,
186
+ "explorer_api_url": "https://api.snowtrace.io/api",
187
+ "explorer_api_key_env": null
144
188
  },
145
189
  "80001": {
146
190
  "hostedRPC": "https://rpc.ankr.com/polygon_mumbai",
@@ -161,7 +205,8 @@
161
205
  "network_name": "arbitrum-sepolia"
162
206
  },
163
207
  "534353": {
164
- "hostedRPC": "https://alpha-rpc.scroll.io/l2"
208
+ "hostedRPC": "https://alpha-rpc.scroll.io/l2",
209
+ "network_name": "scroll-alpha"
165
210
  },
166
211
  "1337702": {
167
212
  "network_name": "kintsugi",
@@ -170,7 +215,10 @@
170
215
  "11155111": {
171
216
  "network_name": "sepolia",
172
217
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
173
- "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5"
218
+ "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
219
+ "realityETHIndexerSupport": true,
220
+ "indexer_batch_size": 10000,
221
+ "blocksPerDay": 7200
174
222
  },
175
223
  "11155420": {
176
224
  "network_name": "optimism-sepolia"
@@ -181,4 +229,4 @@
181
229
  "network_name": "backstopTestnet1",
182
230
  "graphURL": "https://testnet.graph.backstop.technology/subgraphs/name/realityeth-backstop"
183
231
  }
184
- }
232
+ }
@@ -29,6 +29,8 @@
29
29
  "hostedRPC": "https://eth-mainnet.g.alchemy.com/v2/c9uS--nIxEOjVjh0AJlNttMaqUXQy8gR",
30
30
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
31
31
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/deployments/id/QmaugeofXNk2tCN3U3LaEi8vRq99zZ6pbKYJDWbbVF1Z9E",
32
+ "realityETHIndexerSupport": true,
33
+ "blocksPerDay": 7200,
32
34
  "blockExplorerUrls": [
33
35
  "https://etherscan.io",
34
36
  "https://eth.blockscout.com",
@@ -99,6 +101,7 @@
99
101
  "symbol": "UBQ",
100
102
  "decimals": 18
101
103
  },
104
+ "network_name": "ubiq",
102
105
  "rpcUrls": [
103
106
  "https://rpc.octano.dev",
104
107
  "https://pyrus2.ubiqscan.io"
@@ -117,6 +120,7 @@
117
120
  "symbol": "ETH",
118
121
  "decimals": 18
119
122
  },
123
+ "network_name": "optimism",
120
124
  "rpcUrls": [
121
125
  "https://mainnet.optimism.io",
122
126
  "https://optimism-rpc.publicnode.com",
@@ -128,6 +132,8 @@
128
132
  ],
129
133
  "hostedRPC": "https://mainnet.optimism.io",
130
134
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/DbXiienZtjzLNQiXUfVvEyGxR3xkrJ7sJm5XdDKT4DqL",
135
+ "realityETHIndexerSupport": true,
136
+ "blocksPerDay": 43200,
131
137
  "blockExplorerUrls": [
132
138
  "https://optimistic.etherscan.io",
133
139
  "https://optimism.blockscout.com",
@@ -182,6 +188,8 @@
182
188
  ],
183
189
  "hostedRPC": "https://bsc-dataseed1.bnbchain.org",
184
190
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5KjMLU6mx7RrjJJK9XKrM7i6oeB7C6gpnsi3CTWqpYpm",
191
+ "realityETHIndexerSupport": true,
192
+ "blocksPerDay": 28800,
185
193
  "blockExplorerUrls": [
186
194
  "https://bscscan.com",
187
195
  "https://bnb.dex.guru",
@@ -276,6 +284,8 @@
276
284
  "hostedRPC": "https://rpc.gnosischain.com",
277
285
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
278
286
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh",
287
+ "realityETHIndexerSupport": true,
288
+ "blocksPerDay": 17280,
279
289
  "blockExplorerUrls": [
280
290
  "https://gnosisscan.io",
281
291
  "https://gnosis.blockscout.com",
@@ -299,6 +309,8 @@
299
309
  "hostedRPC": "https://mainnet.unichain.org",
300
310
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
301
311
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/ChZUYehW8ionezxqgM1UQsrjuZpcBbNkiTjQX5jBauEi",
312
+ "realityETHIndexerSupport": true,
313
+ "blocksPerDay": 43200,
302
314
  "blockExplorerUrls": [
303
315
  "https://uniscan.xyz",
304
316
  "https://unichain.blockscout.com",
@@ -330,6 +342,8 @@
330
342
  ],
331
343
  "hostedRPC": "https://polygon-rpc.com/",
332
344
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AWx6jkeKZ3xKRzkrzgfCAMPT7d6Jc3AMcqB8koN3QEqE",
345
+ "realityETHIndexerSupport": true,
346
+ "blocksPerDay": 43200,
333
347
  "blockExplorerUrls": [
334
348
  "https://polygonscan.com",
335
349
  "https://polygon.dex.guru",
@@ -510,6 +524,8 @@
510
524
  ],
511
525
  "hostedRPC": "https://mainnet.base.org",
512
526
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/8Gtjsx3LGtN3Jfxx1YEbLWNLEd2ntrq3dsyzXgGHov1i",
527
+ "realityETHIndexerSupport": true,
528
+ "blocksPerDay": 43200,
513
529
  "blockExplorerUrls": [
514
530
  "https://basescan.org",
515
531
  "https://base.blockscout.com",
@@ -584,6 +600,8 @@
584
600
  ],
585
601
  "hostedRPC": "https://arb1.arbitrum.io/rpc",
586
602
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/GE8vDWJM3JBeqM8uk3LHZMbyBaeZTNjaeZRx1KgWvHeD",
603
+ "realityETHIndexerSupport": true,
604
+ "blocksPerDay": 360000,
587
605
  "blockExplorerUrls": [
588
606
  "https://explorer.arbitrum.io"
589
607
  ]
@@ -603,6 +621,7 @@
603
621
  ],
604
622
  "hostedRPC": "https://forno.celo.org",
605
623
  "graphURL": "https://api.studio.thegraph.com/query/41571/realityeth-celo/version/latest",
624
+ "realityETHIndexerSupport": true,
606
625
  "blockExplorerUrls": [
607
626
  "https://celoscan.io",
608
627
  "https://celo.blockscout.com"
@@ -624,6 +643,7 @@
624
643
  ],
625
644
  "hostedRPC": "https://api.avax.network/ext/bc/C/rpc",
626
645
  "graphURL": "https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5mxhdAbQubvMU8cVjevsC2L8vre6EaHhpCXBdNPjd6EL",
646
+ "realityETHIndexerSupport": true,
627
647
  "blockExplorerUrls": [
628
648
  "https://snowscan.xyz",
629
649
  "https://snowtrace.io",
@@ -738,6 +758,7 @@
738
758
  "symbol": "ETH",
739
759
  "decimals": 18
740
760
  },
761
+ "network_name": "scroll-alpha",
741
762
  "rpcUrls": [
742
763
  "https://alpha-rpc.scroll.io/l2"
743
764
  ],
@@ -788,6 +809,8 @@
788
809
  "hostedRPC": "https://rpc.sepolia.org",
789
810
  "atprotoBot": "did:plc:u4d5v5zsl5jb2y33vtfhyjo5",
790
811
  "graphURL": "https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U",
812
+ "realityETHIndexerSupport": true,
813
+ "blocksPerDay": 7200,
791
814
  "blockExplorerUrls": [
792
815
  "https://sepolia.etherscan.io",
793
816
  "https://sepolia.otterscan.io",