@reality.eth/contracts 3.0.26 → 3.0.28
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/deployments/280/ETH/RealityETH-3.0.json +2 -2
- package/chains/deployments/324/ETH/RealityETH-3.0.json +2 -2
- package/chains/supported.json +2 -2
- package/example.js +1 -1
- package/generated/chains.json +2 -2
- package/generated/contracts.json +4 -4
- package/index.js +9 -0
- package/non_standard_deployments/zksync2/contracts/RealityETH-3.0.sol +4 -2
- package/non_standard_deployments/zksync2/deploy/deploy.ts +1 -1
- package/non_standard_deployments/zksync2/deploy/deploy_mainnet.ts +1 -2
- package/non_standard_deployments/zksync2/hardhat.config.ts +1 -1
- package/non_standard_deployments/zksync2/package.json +2 -2
- package/non_standard_deployments/zksync2/yarn.lock +99 -99
- package/package.json +2 -2
- package/scripts/deploy.js +2 -2
package/chains/supported.json
CHANGED
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
},
|
|
69
69
|
"324": {
|
|
70
70
|
"explorerURL": "https://explorer.zksync.io/",
|
|
71
|
-
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-
|
|
72
|
-
"network_name": "era
|
|
71
|
+
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-era",
|
|
72
|
+
"network_name": "zksync-era"
|
|
73
73
|
},
|
|
74
74
|
"777": {
|
|
75
75
|
"explorerURL": "https://explore.cheapswap.io/",
|
package/example.js
CHANGED
|
@@ -7,7 +7,7 @@ const ethers = require('ethers');
|
|
|
7
7
|
|
|
8
8
|
// The chain ID is usually either specified by the user or detected from metamask etc.
|
|
9
9
|
const chain_id = 1;
|
|
10
|
-
console.log('Using chain
|
|
10
|
+
console.log('Using chain', chain_id, realityeth_contracts.getChainLabel(chain_id))
|
|
11
11
|
|
|
12
12
|
// We provide some basic information about chains we support.
|
|
13
13
|
// This will include an RPC node and a Graph endpoint where available.
|
package/generated/chains.json
CHANGED
|
@@ -290,12 +290,12 @@
|
|
|
290
290
|
"symbol": "ETH",
|
|
291
291
|
"decimals": 18
|
|
292
292
|
},
|
|
293
|
-
"network_name": "era
|
|
293
|
+
"network_name": "zksync-era",
|
|
294
294
|
"rpcUrls": [
|
|
295
295
|
"https://zksync2-mainnet.zksync.io"
|
|
296
296
|
],
|
|
297
297
|
"hostedRPC": "https://zksync2-mainnet.zksync.io",
|
|
298
|
-
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-
|
|
298
|
+
"graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-era",
|
|
299
299
|
"blockExplorerUrls": [
|
|
300
300
|
"https://explorer.zksync.io",
|
|
301
301
|
"https://explorer.zksync.io/"
|
package/generated/contracts.json
CHANGED
|
@@ -378,8 +378,8 @@
|
|
|
378
378
|
"280": {
|
|
379
379
|
"ETH": {
|
|
380
380
|
"RealityETH-3.0": {
|
|
381
|
-
"address": "
|
|
382
|
-
"block":
|
|
381
|
+
"address": "0xFAD6e5e3a9421B9de71A517122D3Bb39A57D6FF5",
|
|
382
|
+
"block": 2902645,
|
|
383
383
|
"notes": null,
|
|
384
384
|
"arbitrators": {}
|
|
385
385
|
}
|
|
@@ -388,8 +388,8 @@
|
|
|
388
388
|
"324": {
|
|
389
389
|
"ETH": {
|
|
390
390
|
"RealityETH-3.0": {
|
|
391
|
-
"address": "
|
|
392
|
-
"block":
|
|
391
|
+
"address": "0xA8AC760332770FcF2056040B1f964750e4bEf808",
|
|
392
|
+
"block": 9691,
|
|
393
393
|
"notes": null,
|
|
394
394
|
"arbitrators": {}
|
|
395
395
|
}
|
package/index.js
CHANGED
|
@@ -315,6 +315,14 @@ function tokenAndContractConfigFromFactory(factory_data, chain_id) {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
|
|
318
|
+
function getChainLabel(chain_id) {
|
|
319
|
+
const c = chain_info[chain_id];
|
|
320
|
+
if (!c) {
|
|
321
|
+
return null;
|
|
322
|
+
}
|
|
323
|
+
return c['chainName'];
|
|
324
|
+
}
|
|
325
|
+
|
|
318
326
|
module.exports.realityETHConfig = realityETHConfig;
|
|
319
327
|
module.exports.realityETHConfigs = realityETHConfigs;
|
|
320
328
|
module.exports.realityETHInstance = realityETHInstance;
|
|
@@ -332,3 +340,4 @@ module.exports.factoryList = factoryList;
|
|
|
332
340
|
module.exports.tokenAndContractConfigFromFactory = tokenAndContractConfigFromFactory;
|
|
333
341
|
module.exports.configForAddress = configForAddress;
|
|
334
342
|
module.exports.populateImports = populateImports;
|
|
343
|
+
module.exports.getChainLabel = getChainLabel;
|
|
@@ -15,13 +15,15 @@ contract BalanceHolder {
|
|
|
15
15
|
public {
|
|
16
16
|
uint256 bal = balanceOf[msg.sender];
|
|
17
17
|
balanceOf[msg.sender] = 0;
|
|
18
|
-
payable(msg.sender).transfer(bal);
|
|
18
|
+
// payable(msg.sender).transfer(bal); This behaves badly in zksync
|
|
19
|
+
(bool success, ) = payable(msg.sender).call{value: bal}("");
|
|
20
|
+
require(success, "transfer failed");
|
|
19
21
|
emit LogWithdraw(msg.sender, bal);
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
}
|
|
23
25
|
|
|
24
|
-
contract
|
|
26
|
+
contract RealityETH_zksync_v3_0 is BalanceHolder {
|
|
25
27
|
|
|
26
28
|
address constant NULL_ADDRESS = address(0);
|
|
27
29
|
|
|
@@ -21,7 +21,7 @@ export default async function (hre: HardhatRuntimeEnvironment) {
|
|
|
21
21
|
|
|
22
22
|
// Create deployer object and load the artifact of the contract we want to deploy.
|
|
23
23
|
const deployer = new Deployer(hre, wallet);
|
|
24
|
-
const artifact = await deployer.loadArtifact("
|
|
24
|
+
const artifact = await deployer.loadArtifact("RealityETH_zksync_v3_0");
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
// Deposit some funds to L2 in order to be able to perform L2 transactions.
|
|
@@ -16,10 +16,9 @@ export default async function (hre: HardhatRuntimeEnvironment) {
|
|
|
16
16
|
|
|
17
17
|
// Create deployer object and load the artifact of the contract you want to deploy.
|
|
18
18
|
const deployer = new Deployer(hre, wallet);
|
|
19
|
-
const artifact = await deployer.loadArtifact("
|
|
19
|
+
const artifact = await deployer.loadArtifact("RealityETH_zksync_v3_0");
|
|
20
20
|
|
|
21
21
|
// Estimate contract deployment fee
|
|
22
|
-
const greeting = "Hi there!";
|
|
23
22
|
const deploymentFee = await deployer.estimateDeployFee(artifact, []);
|
|
24
23
|
|
|
25
24
|
/*
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@matterlabs/hardhat-zksync-deploy": "^0.6.2",
|
|
8
8
|
"@matterlabs/hardhat-zksync-solc": "^0.3.14",
|
|
9
|
-
"ethers": "
|
|
9
|
+
"ethers": "5",
|
|
10
10
|
"hardhat": "^2.13.0",
|
|
11
11
|
"ts-node": "^10.9.1",
|
|
12
12
|
"typescript": "^4.9.5",
|
|
13
|
-
"zksync-web3": "^0.
|
|
13
|
+
"zksync-web3": "^0.14.3"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -411,29 +411,29 @@
|
|
|
411
411
|
resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c"
|
|
412
412
|
integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==
|
|
413
413
|
|
|
414
|
-
"@nomicfoundation/ethereumjs-block@^4.0.0":
|
|
415
|
-
version "4.
|
|
416
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-block/-/ethereumjs-block-4.
|
|
417
|
-
integrity sha512-
|
|
418
|
-
dependencies:
|
|
419
|
-
"@nomicfoundation/ethereumjs-common" "
|
|
420
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
421
|
-
"@nomicfoundation/ethereumjs-trie" "
|
|
422
|
-
"@nomicfoundation/ethereumjs-tx" "
|
|
423
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
414
|
+
"@nomicfoundation/ethereumjs-block@4.2.2", "@nomicfoundation/ethereumjs-block@^4.0.0":
|
|
415
|
+
version "4.2.2"
|
|
416
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-block/-/ethereumjs-block-4.2.2.tgz#f317078c810a54381c682d0c12e1e81acfc11599"
|
|
417
|
+
integrity sha512-atjpt4gc6ZGZUPHBAQaUJsm1l/VCo7FmyQ780tMGO8QStjLdhz09dXynmhwVTy5YbRr0FOh/uX3QaEM0yIB2Zg==
|
|
418
|
+
dependencies:
|
|
419
|
+
"@nomicfoundation/ethereumjs-common" "3.1.2"
|
|
420
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
421
|
+
"@nomicfoundation/ethereumjs-trie" "5.0.5"
|
|
422
|
+
"@nomicfoundation/ethereumjs-tx" "4.1.2"
|
|
423
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
424
424
|
ethereum-cryptography "0.1.3"
|
|
425
425
|
|
|
426
|
-
"@nomicfoundation/ethereumjs-blockchain@^6.0.0":
|
|
427
|
-
version "6.
|
|
428
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-blockchain/-/ethereumjs-blockchain-6.
|
|
429
|
-
integrity sha512-
|
|
430
|
-
dependencies:
|
|
431
|
-
"@nomicfoundation/ethereumjs-block" "
|
|
432
|
-
"@nomicfoundation/ethereumjs-common" "
|
|
433
|
-
"@nomicfoundation/ethereumjs-ethash" "
|
|
434
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
435
|
-
"@nomicfoundation/ethereumjs-trie" "
|
|
436
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
426
|
+
"@nomicfoundation/ethereumjs-blockchain@6.2.2", "@nomicfoundation/ethereumjs-blockchain@^6.0.0":
|
|
427
|
+
version "6.2.2"
|
|
428
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-blockchain/-/ethereumjs-blockchain-6.2.2.tgz#9f79dd2b3dc73f5d5a220f7d8a734330c4c26320"
|
|
429
|
+
integrity sha512-6AIB2MoTEPZJLl6IRKcbd8mUmaBAQ/NMe3O7OsAOIiDjMNPPH5KaUQiLfbVlegT4wKIg/GOsFH7XlH2KDVoJNg==
|
|
430
|
+
dependencies:
|
|
431
|
+
"@nomicfoundation/ethereumjs-block" "4.2.2"
|
|
432
|
+
"@nomicfoundation/ethereumjs-common" "3.1.2"
|
|
433
|
+
"@nomicfoundation/ethereumjs-ethash" "2.0.5"
|
|
434
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
435
|
+
"@nomicfoundation/ethereumjs-trie" "5.0.5"
|
|
436
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
437
437
|
abstract-level "^1.0.3"
|
|
438
438
|
debug "^4.3.3"
|
|
439
439
|
ethereum-cryptography "0.1.3"
|
|
@@ -441,33 +441,33 @@
|
|
|
441
441
|
lru-cache "^5.1.1"
|
|
442
442
|
memory-level "^1.0.0"
|
|
443
443
|
|
|
444
|
-
"@nomicfoundation/ethereumjs-common@^3.0.0":
|
|
445
|
-
version "3.
|
|
446
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-common/-/ethereumjs-common-3.
|
|
447
|
-
integrity sha512-
|
|
444
|
+
"@nomicfoundation/ethereumjs-common@3.1.2", "@nomicfoundation/ethereumjs-common@^3.0.0":
|
|
445
|
+
version "3.1.2"
|
|
446
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-common/-/ethereumjs-common-3.1.2.tgz#041086da66ed40f2bf2a2116a1f2f0fcf33fb80d"
|
|
447
|
+
integrity sha512-JAEBpIua62dyObHM9KI2b4wHZcRQYYge9gxiygTWa3lNCr2zo+K0TbypDpgiNij5MCGNWP1eboNfNfx1a3vkvA==
|
|
448
448
|
dependencies:
|
|
449
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
449
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
450
450
|
crc-32 "^1.2.0"
|
|
451
451
|
|
|
452
|
-
"@nomicfoundation/ethereumjs-ethash
|
|
453
|
-
version "2.0.
|
|
454
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-ethash/-/ethereumjs-ethash-2.0.
|
|
455
|
-
integrity sha512-
|
|
452
|
+
"@nomicfoundation/ethereumjs-ethash@2.0.5":
|
|
453
|
+
version "2.0.5"
|
|
454
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-ethash/-/ethereumjs-ethash-2.0.5.tgz#0c605812f6f4589a9f6d597db537bbf3b86469db"
|
|
455
|
+
integrity sha512-xlLdcICGgAYyYmnI3r1t0R5fKGBJNDQSOQxXNjVO99JmxJIdXR5MgPo5CSJO1RpyzKOgzi3uIFn8agv564dZEQ==
|
|
456
456
|
dependencies:
|
|
457
|
-
"@nomicfoundation/ethereumjs-block" "
|
|
458
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
459
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
457
|
+
"@nomicfoundation/ethereumjs-block" "4.2.2"
|
|
458
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
459
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
460
460
|
abstract-level "^1.0.3"
|
|
461
461
|
bigint-crypto-utils "^3.0.23"
|
|
462
462
|
ethereum-cryptography "0.1.3"
|
|
463
463
|
|
|
464
|
-
"@nomicfoundation/ethereumjs-evm@^1.0.0":
|
|
465
|
-
version "1.
|
|
466
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-evm/-/ethereumjs-evm-1.
|
|
467
|
-
integrity sha512-
|
|
464
|
+
"@nomicfoundation/ethereumjs-evm@1.3.2", "@nomicfoundation/ethereumjs-evm@^1.0.0":
|
|
465
|
+
version "1.3.2"
|
|
466
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-evm/-/ethereumjs-evm-1.3.2.tgz#f9d6bafd5c23d07ab75b8649d589af1a43b60bfc"
|
|
467
|
+
integrity sha512-I00d4MwXuobyoqdPe/12dxUQxTYzX8OckSaWsMcWAfQhgVDvBx6ffPyP/w1aL0NW7MjyerySPcSVfDJAMHjilw==
|
|
468
468
|
dependencies:
|
|
469
|
-
"@nomicfoundation/ethereumjs-common" "
|
|
470
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
469
|
+
"@nomicfoundation/ethereumjs-common" "3.1.2"
|
|
470
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
471
471
|
"@types/async-eventemitter" "^0.2.1"
|
|
472
472
|
async-eventemitter "^0.2.4"
|
|
473
473
|
debug "^4.3.3"
|
|
@@ -475,66 +475,66 @@
|
|
|
475
475
|
mcl-wasm "^0.7.1"
|
|
476
476
|
rustbn.js "~0.2.0"
|
|
477
477
|
|
|
478
|
-
"@nomicfoundation/ethereumjs-rlp
|
|
479
|
-
version "4.0.
|
|
480
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-rlp/-/ethereumjs-rlp-4.0.
|
|
481
|
-
integrity sha512-
|
|
478
|
+
"@nomicfoundation/ethereumjs-rlp@4.0.3", "@nomicfoundation/ethereumjs-rlp@^4.0.0":
|
|
479
|
+
version "4.0.3"
|
|
480
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-rlp/-/ethereumjs-rlp-4.0.3.tgz#8d9147fbd0d49e8f4c5ce729d226694a8fe03eb8"
|
|
481
|
+
integrity sha512-DZMzB/lqPK78T6MluyXqtlRmOMcsZbTTbbEyAjo0ncaff2mqu/k8a79PBcyvpgAhWD/R59Fjq/x3ro5Lof0AtA==
|
|
482
482
|
|
|
483
|
-
"@nomicfoundation/ethereumjs-statemanager@^1.0.0":
|
|
484
|
-
version "1.0.
|
|
485
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-statemanager/-/ethereumjs-statemanager-1.0.
|
|
486
|
-
integrity sha512-
|
|
483
|
+
"@nomicfoundation/ethereumjs-statemanager@1.0.5", "@nomicfoundation/ethereumjs-statemanager@^1.0.0":
|
|
484
|
+
version "1.0.5"
|
|
485
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-statemanager/-/ethereumjs-statemanager-1.0.5.tgz#951cc9ff2c421d40233d2e9d0fe033db2391ee44"
|
|
486
|
+
integrity sha512-CAhzpzTR5toh/qOJIZUUOnWekUXuRqkkzaGAQrVcF457VhtCmr+ddZjjK50KNZ524c1XP8cISguEVNqJ6ij1sA==
|
|
487
487
|
dependencies:
|
|
488
|
-
"@nomicfoundation/ethereumjs-common" "
|
|
489
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
490
|
-
"@nomicfoundation/ethereumjs-trie" "
|
|
491
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
488
|
+
"@nomicfoundation/ethereumjs-common" "3.1.2"
|
|
489
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
490
|
+
"@nomicfoundation/ethereumjs-trie" "5.0.5"
|
|
491
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
492
492
|
debug "^4.3.3"
|
|
493
493
|
ethereum-cryptography "0.1.3"
|
|
494
494
|
functional-red-black-tree "^1.0.1"
|
|
495
495
|
|
|
496
|
-
"@nomicfoundation/ethereumjs-trie@^5.0.0":
|
|
497
|
-
version "5.0.
|
|
498
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-trie/-/ethereumjs-trie-5.0.
|
|
499
|
-
integrity sha512
|
|
496
|
+
"@nomicfoundation/ethereumjs-trie@5.0.5", "@nomicfoundation/ethereumjs-trie@^5.0.0":
|
|
497
|
+
version "5.0.5"
|
|
498
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-trie/-/ethereumjs-trie-5.0.5.tgz#bf31c9306dcbba2007fad668e96109ddb147040c"
|
|
499
|
+
integrity sha512-+8sNZrXkzvA1NH5F4kz5RSYl1I6iaRz7mAZRsyxOm0IVY4UaP43Ofvfp/TwOalFunurQrYB5pRO40+8FBcxFMA==
|
|
500
500
|
dependencies:
|
|
501
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
502
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
501
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
502
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
503
503
|
ethereum-cryptography "0.1.3"
|
|
504
504
|
readable-stream "^3.6.0"
|
|
505
505
|
|
|
506
|
-
"@nomicfoundation/ethereumjs-tx@^4.0.0":
|
|
507
|
-
version "4.
|
|
508
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-tx/-/ethereumjs-tx-4.
|
|
509
|
-
integrity sha512-
|
|
506
|
+
"@nomicfoundation/ethereumjs-tx@4.1.2", "@nomicfoundation/ethereumjs-tx@^4.0.0":
|
|
507
|
+
version "4.1.2"
|
|
508
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-tx/-/ethereumjs-tx-4.1.2.tgz#8659fad7f9094b7eb82aa6cc3c8097cb1c42ff31"
|
|
509
|
+
integrity sha512-emJBJZpmTdUa09cqxQqHaysbBI9Od353ZazeH7WgPb35miMgNY6mb7/3vBA98N5lUW/rgkiItjX0KZfIzihSoQ==
|
|
510
510
|
dependencies:
|
|
511
|
-
"@nomicfoundation/ethereumjs-common" "
|
|
512
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
513
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
511
|
+
"@nomicfoundation/ethereumjs-common" "3.1.2"
|
|
512
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
513
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
514
514
|
ethereum-cryptography "0.1.3"
|
|
515
515
|
|
|
516
|
-
"@nomicfoundation/ethereumjs-util@^8.0.0":
|
|
517
|
-
version "8.0.
|
|
518
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.
|
|
519
|
-
integrity sha512-
|
|
516
|
+
"@nomicfoundation/ethereumjs-util@8.0.6", "@nomicfoundation/ethereumjs-util@^8.0.0":
|
|
517
|
+
version "8.0.6"
|
|
518
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.6.tgz#dbce5d258b017b37aa58b3a7c330ad59d10ccf0b"
|
|
519
|
+
integrity sha512-jOQfF44laa7xRfbfLXojdlcpkvxeHrE2Xu7tSeITsWFgoII163MzjOwFEzSNozHYieFysyoEMhCdP+NY5ikstw==
|
|
520
520
|
dependencies:
|
|
521
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
521
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
522
522
|
ethereum-cryptography "0.1.3"
|
|
523
523
|
|
|
524
524
|
"@nomicfoundation/ethereumjs-vm@^6.0.0":
|
|
525
|
-
version "6.
|
|
526
|
-
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-vm/-/ethereumjs-vm-6.
|
|
527
|
-
integrity sha512-
|
|
528
|
-
dependencies:
|
|
529
|
-
"@nomicfoundation/ethereumjs-block" "
|
|
530
|
-
"@nomicfoundation/ethereumjs-blockchain" "
|
|
531
|
-
"@nomicfoundation/ethereumjs-common" "
|
|
532
|
-
"@nomicfoundation/ethereumjs-evm" "
|
|
533
|
-
"@nomicfoundation/ethereumjs-rlp" "
|
|
534
|
-
"@nomicfoundation/ethereumjs-statemanager" "
|
|
535
|
-
"@nomicfoundation/ethereumjs-trie" "
|
|
536
|
-
"@nomicfoundation/ethereumjs-tx" "
|
|
537
|
-
"@nomicfoundation/ethereumjs-util" "
|
|
525
|
+
version "6.4.2"
|
|
526
|
+
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-vm/-/ethereumjs-vm-6.4.2.tgz#af1cf62e6c0054bc2b7febc8556d032433d1b18c"
|
|
527
|
+
integrity sha512-PRTyxZMP6kx+OdAzBhuH1LD2Yw+hrSpaytftvaK//thDy2OI07S0nrTdbrdk7b8ZVPAc9H9oTwFBl3/wJ3w15g==
|
|
528
|
+
dependencies:
|
|
529
|
+
"@nomicfoundation/ethereumjs-block" "4.2.2"
|
|
530
|
+
"@nomicfoundation/ethereumjs-blockchain" "6.2.2"
|
|
531
|
+
"@nomicfoundation/ethereumjs-common" "3.1.2"
|
|
532
|
+
"@nomicfoundation/ethereumjs-evm" "1.3.2"
|
|
533
|
+
"@nomicfoundation/ethereumjs-rlp" "4.0.3"
|
|
534
|
+
"@nomicfoundation/ethereumjs-statemanager" "1.0.5"
|
|
535
|
+
"@nomicfoundation/ethereumjs-trie" "5.0.5"
|
|
536
|
+
"@nomicfoundation/ethereumjs-tx" "4.1.2"
|
|
537
|
+
"@nomicfoundation/ethereumjs-util" "8.0.6"
|
|
538
538
|
"@types/async-eventemitter" "^0.2.1"
|
|
539
539
|
async-eventemitter "^0.2.4"
|
|
540
540
|
debug "^4.3.3"
|
|
@@ -753,9 +753,9 @@
|
|
|
753
753
|
integrity sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==
|
|
754
754
|
|
|
755
755
|
"@types/node@*":
|
|
756
|
-
version "18.15.
|
|
757
|
-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.
|
|
758
|
-
integrity sha512-
|
|
756
|
+
version "18.15.6"
|
|
757
|
+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.6.tgz#af98ef4a36e7ac5f2d03040f3109fcce972bf6cb"
|
|
758
|
+
integrity sha512-YErOafCZpK4g+Rp3Q/PBgZNAsWKGunQTm9FA3/Pbcm0VCriTEzcrutQ/SxSc0rytAp0NoFWue669jmKhEtd0sA==
|
|
759
759
|
|
|
760
760
|
"@types/pbkdf2@^3.0.0":
|
|
761
761
|
version "3.1.0"
|
|
@@ -1356,9 +1356,9 @@ docker-modem@^1.0.8:
|
|
|
1356
1356
|
split-ca "^1.0.0"
|
|
1357
1357
|
|
|
1358
1358
|
docker-modem@^3.0.0:
|
|
1359
|
-
version "3.0.
|
|
1360
|
-
resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-3.0.
|
|
1361
|
-
integrity sha512-
|
|
1359
|
+
version "3.0.8"
|
|
1360
|
+
resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-3.0.8.tgz#ef62c8bdff6e8a7d12f0160988c295ea8705e77a"
|
|
1361
|
+
integrity sha512-f0ReSURdM3pcKPNS30mxOHSbaFLcknGmQjwSfmbcdOw1XWKXVhukM3NJHhr7NpY9BIyyWQb0EBo3KQvvuU5egQ==
|
|
1362
1362
|
dependencies:
|
|
1363
1363
|
debug "^4.1.1"
|
|
1364
1364
|
readable-stream "^3.5.0"
|
|
@@ -1487,7 +1487,7 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1:
|
|
|
1487
1487
|
ethjs-util "0.1.6"
|
|
1488
1488
|
rlp "^2.2.3"
|
|
1489
1489
|
|
|
1490
|
-
ethers
|
|
1490
|
+
ethers@5:
|
|
1491
1491
|
version "5.7.2"
|
|
1492
1492
|
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e"
|
|
1493
1493
|
integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==
|
|
@@ -1677,9 +1677,9 @@ glob@^7.1.3:
|
|
|
1677
1677
|
path-is-absolute "^1.0.0"
|
|
1678
1678
|
|
|
1679
1679
|
graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
|
|
1680
|
-
version "4.2.
|
|
1681
|
-
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.
|
|
1682
|
-
integrity sha512-
|
|
1680
|
+
version "4.2.11"
|
|
1681
|
+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
|
|
1682
|
+
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
|
|
1683
1683
|
|
|
1684
1684
|
hardhat@^2.13.0:
|
|
1685
1685
|
version "2.13.0"
|
|
@@ -2761,9 +2761,9 @@ typescript@^4.9.5:
|
|
|
2761
2761
|
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
|
|
2762
2762
|
|
|
2763
2763
|
undici@^5.14.0:
|
|
2764
|
-
version "5.
|
|
2765
|
-
resolved "https://registry.yarnpkg.com/undici/-/undici-5.
|
|
2766
|
-
integrity sha512-
|
|
2764
|
+
version "5.21.0"
|
|
2765
|
+
resolved "https://registry.yarnpkg.com/undici/-/undici-5.21.0.tgz#b00dfc381f202565ab7f52023222ab862bb2494f"
|
|
2766
|
+
integrity sha512-HOjK8l6a57b2ZGXOcUsI5NLfoTrfmbOl90ixJDl0AEFG4wgHNDQxtZy15/ZQp7HhjkpaGlp/eneMgtsu1dIlUA==
|
|
2767
2767
|
dependencies:
|
|
2768
2768
|
busboy "^1.6.0"
|
|
2769
2769
|
|
|
@@ -2892,7 +2892,7 @@ yocto-queue@^0.1.0:
|
|
|
2892
2892
|
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
|
|
2893
2893
|
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
|
|
2894
2894
|
|
|
2895
|
-
zksync-web3@^0.
|
|
2896
|
-
version "0.
|
|
2897
|
-
resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.
|
|
2898
|
-
integrity sha512-
|
|
2895
|
+
zksync-web3@^0.14.3:
|
|
2896
|
+
version "0.14.3"
|
|
2897
|
+
resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.14.3.tgz#64ac2a16d597464c3fc4ae07447a8007631c57c9"
|
|
2898
|
+
integrity sha512-hT72th4AnqyLW1d5Jlv8N2B/qhEnl2NePK2A3org7tAa24niem/UAaHMkEvmWI3SF9waYUPtqAtjpf+yvQ9zvQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
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": "ee8105a5204125b708d3919365a2c53d72711124",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ethers": "^5.6.8"
|
|
36
36
|
}
|
package/scripts/deploy.js
CHANGED
|
@@ -43,7 +43,7 @@ const chains = {
|
|
|
43
43
|
'chapel': 97,
|
|
44
44
|
'sokol': 77,
|
|
45
45
|
'cheapeth': 777,
|
|
46
|
-
'
|
|
46
|
+
'gnosis': 100,
|
|
47
47
|
'polygon': 137,
|
|
48
48
|
'mumbai': 80001,
|
|
49
49
|
'ava': 43114,
|
|
@@ -54,7 +54,7 @@ const chains = {
|
|
|
54
54
|
'sepolia': 11155111,
|
|
55
55
|
}
|
|
56
56
|
const non_infura_chains = {
|
|
57
|
-
'
|
|
57
|
+
'gnosis': 'https://rpc.ankr.com/gnosis',
|
|
58
58
|
'sokol': 'https://sokol.poa.network',
|
|
59
59
|
'bsc': 'https://bsc-dataseed.binance.org',
|
|
60
60
|
'chapel': 'https://bsc-testnet.public.blastapi.io',
|