@reality.eth/contracts 3.0.6 → 3.0.7
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/WETH/RealityETH_ERC20-3.0.json +3 -3
- package/non_standard_deployments/zksync2/README +2 -2
- package/non_standard_deployments/zksync2/deploy/deploy.ts +1 -1
- package/non_standard_deployments/zksync2/package.json +2 -2
- package/non_standard_deployments/zksync2/yarn.lock +8 -28
- package/package.json +2 -2
- package/tokens/WETH.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
3
|
-
"block":
|
|
4
|
-
"token_address": "
|
|
2
|
+
"address": "0x7955DFA097Cd5474b2773dFe85F1988014d85C01",
|
|
3
|
+
"block": 444697,
|
|
4
|
+
"token_address": "0x000000000000000000000000000000000000800A",
|
|
5
5
|
"notes": null,
|
|
6
6
|
"arbitrators": {
|
|
7
7
|
}
|
|
@@ -11,9 +11,9 @@ yarn add -D typescript ts-node ethers zksync-web3 hardhat @matterlabs/hardhat-zk
|
|
|
11
11
|
# create hardhat.config.ts
|
|
12
12
|
|
|
13
13
|
mkdir contracts
|
|
14
|
+
# Copy source for any contracts we want to compile into contracts from our flat/ directory
|
|
15
|
+
|
|
14
16
|
mkdir deploy
|
|
15
|
-
# Copy source into contracts from our flat/ directory
|
|
16
|
-
# Replace block.number with block.timestamp, not sure if we'll always need to do this, see https://github.com/RealityETH/reality-eth-monorepo/issues/60
|
|
17
17
|
|
|
18
18
|
yarn hardhat compile
|
|
19
19
|
|
|
@@ -39,7 +39,7 @@ export default async function (hre: HardhatRuntimeEnvironment) {
|
|
|
39
39
|
console.log(`${artifact.contractName} was deployed to ${contractAddress}`);
|
|
40
40
|
|
|
41
41
|
// Edit the greeting of the contract
|
|
42
|
-
const token = "
|
|
42
|
+
const token = "0x000000000000000000000000000000000000800A"
|
|
43
43
|
const setTokenHandle = await realityContract.setToken(token);
|
|
44
44
|
await setTokenHandle.wait();
|
|
45
45
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@matterlabs/hardhat-zksync-deploy": "^0.3.
|
|
8
|
-
"@matterlabs/hardhat-zksync-solc": "^0.3.
|
|
7
|
+
"@matterlabs/hardhat-zksync-deploy": "^0.3.6",
|
|
8
|
+
"@matterlabs/hardhat-zksync-solc": "^0.3.6",
|
|
9
9
|
"ethers": "^5.6.9",
|
|
10
10
|
"hardhat": "^2.10.1",
|
|
11
11
|
"ts-node": "^10.9.1",
|
|
@@ -437,21 +437,20 @@
|
|
|
437
437
|
"@jridgewell/resolve-uri" "^3.0.3"
|
|
438
438
|
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
439
439
|
|
|
440
|
-
"@matterlabs/hardhat-zksync-deploy@^0.3.
|
|
441
|
-
version "0.3.
|
|
442
|
-
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-0.3.
|
|
443
|
-
integrity sha512-
|
|
440
|
+
"@matterlabs/hardhat-zksync-deploy@^0.3.6":
|
|
441
|
+
version "0.3.6"
|
|
442
|
+
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-0.3.6.tgz#94d11737dc2524e53da374fdb2f169c7feb5f68a"
|
|
443
|
+
integrity sha512-B6+NBv7cP2xjz1bUpjmuPfWxus1o99TMa+73bl/d4E469gyUFYnXGoKZP5eq+6opJOL7H8f6qmg6Ln3uGSbgHg==
|
|
444
444
|
dependencies:
|
|
445
445
|
glob "^8.0.1"
|
|
446
446
|
|
|
447
|
-
"@matterlabs/hardhat-zksync-solc@^0.3.
|
|
448
|
-
version "0.3.
|
|
449
|
-
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-0.3.
|
|
450
|
-
integrity sha512-
|
|
447
|
+
"@matterlabs/hardhat-zksync-solc@^0.3.6":
|
|
448
|
+
version "0.3.6"
|
|
449
|
+
resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-0.3.6.tgz#4f27105baf00764a6430d03e1c8a8f178c44a805"
|
|
450
|
+
integrity sha512-iuGmNk9QrqG5RDIup4FD/47VGnZoKX7DhST8JRKuh1844KlKoZuEPs0JF2FVQclotUATvEXhOV3XXcv4lo7Myw==
|
|
451
451
|
dependencies:
|
|
452
452
|
"@nomiclabs/hardhat-docker" "^2.0.0"
|
|
453
453
|
dockerode "^3.3.1"
|
|
454
|
-
semver "^7.3.7"
|
|
455
454
|
|
|
456
455
|
"@metamask/eth-sig-util@^4.0.0":
|
|
457
456
|
version "4.0.1"
|
|
@@ -1976,13 +1975,6 @@ lru-cache@^5.1.1:
|
|
|
1976
1975
|
dependencies:
|
|
1977
1976
|
yallist "^3.0.2"
|
|
1978
1977
|
|
|
1979
|
-
lru-cache@^6.0.0:
|
|
1980
|
-
version "6.0.0"
|
|
1981
|
-
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
|
|
1982
|
-
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
|
|
1983
|
-
dependencies:
|
|
1984
|
-
yallist "^4.0.0"
|
|
1985
|
-
|
|
1986
1978
|
lru_map@^0.3.3:
|
|
1987
1979
|
version "0.3.3"
|
|
1988
1980
|
resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd"
|
|
@@ -2449,13 +2441,6 @@ semver@^6.3.0:
|
|
|
2449
2441
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
|
2450
2442
|
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
|
2451
2443
|
|
|
2452
|
-
semver@^7.3.7:
|
|
2453
|
-
version "7.3.7"
|
|
2454
|
-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f"
|
|
2455
|
-
integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==
|
|
2456
|
-
dependencies:
|
|
2457
|
-
lru-cache "^6.0.0"
|
|
2458
|
-
|
|
2459
2444
|
serialize-javascript@6.0.0:
|
|
2460
2445
|
version "6.0.0"
|
|
2461
2446
|
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8"
|
|
@@ -2853,11 +2838,6 @@ yallist@^3.0.2:
|
|
|
2853
2838
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
|
|
2854
2839
|
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
|
|
2855
2840
|
|
|
2856
|
-
yallist@^4.0.0:
|
|
2857
|
-
version "4.0.0"
|
|
2858
|
-
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
|
2859
|
-
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
|
2860
|
-
|
|
2861
2841
|
yargs-parser@20.2.4:
|
|
2862
2842
|
version "20.2.4"
|
|
2863
2843
|
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
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": "90c0439e77228028629bd5433698b2022b3f7eb6",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ethers": "^5.6.8"
|
|
36
36
|
}
|