Skip to content

Commit ed86d23

Browse files
authored
chore: deploy Staking transfer tools to testnet and bump to 5.0.0 (#847)
1 parent 99d7c97 commit ed86d23

File tree

3 files changed

+66
-34
lines changed

3 files changed

+66
-34
lines changed

addresses.json

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -463,12 +463,12 @@
463463
"txHash": "0x1960be49029284756037cf3ee8afe9eeaba93de4ba84875c5eefd5d2289903bd",
464464
"proxy": true,
465465
"implementation": {
466-
"address": "0x16e64AA72De0f3BDa30d3D324E967BDecb7c826a",
467-
"creationCodeHash": "0x6828025572bcf46c755088cd0b11329db6b249b0221140e93571799125255ae1",
468-
"runtimeCodeHash": "0x523492e8e808f27ac0240edc7359b760b1c17d0572a13e68799775b53c2a50ec",
469-
"txHash": "0x42ff9ce1b319bbdd8619cdd999b2c3c7c3aeacc5ac7a6eddcc1c3f0a2774f4a0",
466+
"address": "0x8E56ee65Ed613f2AecA8898D19497D288601bdeb",
467+
"creationCodeHash": "0xc11ee08fc39fc62ba834be312e3c90f125385a333e0caed07bff116baf4c8121",
468+
"runtimeCodeHash": "0xa0f12a9f441f148f8efd267f65b00eedb860d926aed2c5706711f72c3fa3e17b",
469+
"txHash": "0x5ae66fb4956b2b733aa6a44d08c701d480d2d665d1aa12cc2a22ce1c23e6a61a",
470470
"libraries": {
471-
"LibCobbDouglas": "0x137e60D093F679B0fF9ad922EB14aCe0F4F443cf"
471+
"LibCobbDouglas": "0x86f0f6cd9a38A851E3AB8f110be06B77C199eC1F"
472472
}
473473
}
474474
},
@@ -552,6 +552,12 @@
552552
"runtimeCodeHash": "0xa0c0a37340ee949d31c3d41b642c507c58f225c09da9ae3d378e5148cd27081a",
553553
"txHash": "0x517794503416be02d916d289f4e7510359d17567bec987da99319e27e5f40fc1"
554554
}
555+
},
556+
"StakingExtension": {
557+
"address": "0xbD2C402683D5A3a4A0E381807c9e9D3bce8375E6",
558+
"creationCodeHash": "0x105ab964d46b3e9208aae1d0e5f40d7bd1450d979b9b5f56966fcd7fe3b44803",
559+
"runtimeCodeHash": "0xb4a55a3aaa9fe067a273172d4a20f4a05e5a53f74c86f56a757c4a355e122b3c",
560+
"txHash": "0xd8b5f4fb74ace45288aa0a92719c19ad4f0aba08c18c364210d3763e1bfda41b"
555561
}
556562
},
557563
"1337": {
@@ -880,7 +886,7 @@
880886
"txHash": "0xb4bf3e0fdf9486ff24c567fecb90875a8d11efa1a1a4dba36f25d529c586852c"
881887
}
882888
},
883-
"Staking": {
889+
"L2Staking": {
884890
"address": "0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03",
885891
"initArgs": [
886892
"0x0a8491544221dd212964fbb96487467291b2C97e",
@@ -1119,12 +1125,12 @@
11191125
"txHash": "0xc98ebdd0a80b97ef8f6305903ef6496a7781db76a5b1b3c3c3b2b10dbd9a7af5",
11201126
"proxy": true,
11211127
"implementation": {
1122-
"address": "0x8E56ee65Ed613f2AecA8898D19497D288601bdeb",
1123-
"creationCodeHash": "0x75b63ef816627315c635cae7f95917764e2cb797496280cdeaa9b3230bf7f7bc",
1124-
"runtimeCodeHash": "0x461ccf91c7c6188c94c6df430b6954dfd9c5cc2a79a5e4db21422e11b663d319",
1125-
"txHash": "0xb9ce53dafab3dcaad25b24d9f998888225103265bd2d84cb1545b4e06e96e3b6",
1128+
"address": "0x824EB36c110a7d688D44213fD622462C68480809",
1129+
"creationCodeHash": "0x0ec60ec4edef559f29d6d5f8f27f6d08fd50f0be04cc424118c369d3546021b6",
1130+
"runtimeCodeHash": "0xf4c2f0a793a8af077f42e410e19ff73ab169f86646cdc4c6d354d02da5a86cb6",
1131+
"txHash": "0x6de083f86a76d9581b087bb09f1a676bf8b2d779c1c141f726ad7bb70ef8ac0e",
11261132
"libraries": {
1127-
"LibCobbDouglas": "0x86f0f6cd9a38A851E3AB8f110be06B77C199eC1F"
1133+
"LibCobbDouglas": "0x5082fcD66C1Cb1FdE6c8E2c7a6F25F81A6AfDBce"
11281134
}
11291135
}
11301136
},
@@ -1191,6 +1197,12 @@
11911197
},
11921198
"IEthereumDIDRegistry": {
11931199
"address": "0x8FFfcD6a85D29E9C33517aaf60b16FE4548f517E"
1200+
},
1201+
"StakingExtension": {
1202+
"address": "0x9f71A5526289BAe457Fe2B0D8e61e10a6d6e0aC4",
1203+
"creationCodeHash": "0x105ab964d46b3e9208aae1d0e5f40d7bd1450d979b9b5f56966fcd7fe3b44803",
1204+
"runtimeCodeHash": "0xb4a55a3aaa9fe067a273172d4a20f4a05e5a53f74c86f56a757c4a355e122b3c",
1205+
"txHash": "0x63f3cf27f0e6228b6443a9824203521d7f564e8aa4b861e7236a0c3c6994963e"
11941206
}
11951207
}
11961208
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/contracts",
3-
"version": "4.0.1",
3+
"version": "5.0.0",
44
"description": "Contracts for the Graph Protocol",
55
"directories": {
66
"test": "test"
@@ -23,7 +23,7 @@
2323
"@ethersproject/experimental": "^5.6.0",
2424
"@graphprotocol/common-ts": "^1.8.3",
2525
"@nomiclabs/hardhat-ethers": "^2.0.2",
26-
"@nomiclabs/hardhat-etherscan": "^2.1.1",
26+
"@nomiclabs/hardhat-etherscan": "^3.1.7",
2727
"@nomiclabs/hardhat-waffle": "^2.0.1",
2828
"@openzeppelin/contracts": "^3.4.1",
2929
"@openzeppelin/contracts-upgradeable": "3.4.2",

yarn.lock

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -975,18 +975,21 @@
975975
resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-ethers/-/hardhat-ethers-2.0.5.tgz#131b0da1b71680d5a01569f916ae878229d326d3"
976976
integrity sha512-A2gZAGB6kUvLx+kzM92HKuUF33F1FSe90L0TmkXkT2Hh0OKRpvWZURUSU2nghD2yC4DzfEZ3DftfeHGvZ2JTUw==
977977

978-
"@nomiclabs/hardhat-etherscan@^2.1.1":
979-
version "2.1.8"
980-
resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-2.1.8.tgz#e206275e96962cd15e5ba9148b44388bc922d8c2"
981-
integrity sha512-0+rj0SsZotVOcTLyDOxnOc3Gulo8upo0rsw/h+gBPcmtj91YqYJNhdARHoBxOhhE8z+5IUQPx+Dii04lXT14PA==
978+
"@nomiclabs/hardhat-etherscan@^3.1.7":
979+
version "3.1.7"
980+
resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-3.1.7.tgz#72e3d5bd5d0ceb695e097a7f6f5ff6fcbf062b9a"
981+
integrity sha512-tZ3TvSgpvsQ6B6OGmo1/Au6u8BrAkvs1mIC/eURA3xgIfznUZBhmpne8hv7BXUzw9xNL3fXdpOYgOQlVMTcoHQ==
982982
dependencies:
983983
"@ethersproject/abi" "^5.1.2"
984984
"@ethersproject/address" "^5.0.2"
985-
cbor "^5.0.2"
985+
cbor "^8.1.0"
986+
chalk "^2.4.2"
986987
debug "^4.1.1"
987988
fs-extra "^7.0.1"
988-
node-fetch "^2.6.0"
989+
lodash "^4.17.11"
989990
semver "^6.3.0"
991+
table "^6.8.0"
992+
undici "^5.14.0"
990993

991994
"@nomiclabs/hardhat-waffle@^2.0.1":
992995
version "2.0.3"
@@ -2734,7 +2737,7 @@ [email protected]:
27342737
resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9"
27352738
integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==
27362739

2737-
bignumber.js@^9.0.0, bignumber.js@^9.0.1:
2740+
bignumber.js@^9.0.0:
27382741
version "9.0.2"
27392742
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.2.tgz#71c6c6bed38de64e24a65ebe16cfcf23ae693673"
27402743
integrity sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==
@@ -3046,6 +3049,13 @@ bufferutil@^4.0.1:
30463049
dependencies:
30473050
node-gyp-build "^4.3.0"
30483051

3052+
busboy@^1.6.0:
3053+
version "1.6.0"
3054+
resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893"
3055+
integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
3056+
dependencies:
3057+
streamsearch "^1.1.0"
3058+
30493059
30503060
version "3.1.1"
30513061
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.1.tgz#3f018291cb4cbad9accb6e6970bca9c8889e879a"
@@ -3173,15 +3183,7 @@ caseless@^0.12.0, caseless@~0.12.0:
31733183
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
31743184
integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==
31753185

3176-
cbor@^5.0.2:
3177-
version "5.2.0"
3178-
resolved "https://registry.yarnpkg.com/cbor/-/cbor-5.2.0.tgz#4cca67783ccd6de7b50ab4ed62636712f287a67c"
3179-
integrity sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==
3180-
dependencies:
3181-
bignumber.js "^9.0.1"
3182-
nofilter "^1.0.4"
3183-
3184-
cbor@^8.0.0:
3186+
cbor@^8.0.0, cbor@^8.1.0:
31853187
version "8.1.0"
31863188
resolved "https://registry.yarnpkg.com/cbor/-/cbor-8.1.0.tgz#cfc56437e770b73417a2ecbfc9caf6b771af60d5"
31873189
integrity sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==
@@ -8841,11 +8843,6 @@ node-gyp-build@^4.2.0, node-gyp-build@^4.3.0:
88418843
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.4.0.tgz#42e99687ce87ddeaf3a10b99dc06abc11021f3f4"
88428844
integrity sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==
88438845

8844-
nofilter@^1.0.4:
8845-
version "1.0.4"
8846-
resolved "https://registry.yarnpkg.com/nofilter/-/nofilter-1.0.4.tgz#78d6f4b6a613e7ced8b015cec534625f7667006e"
8847-
integrity sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==
8848-
88498846
nofilter@^3.1.0:
88508847
version "3.1.0"
88518848
resolved "https://registry.yarnpkg.com/nofilter/-/nofilter-3.1.0.tgz#c757ba68801d41ff930ba2ec55bab52ca184aa66"
@@ -11158,6 +11155,11 @@ stream-to-pull-stream@^1.7.1:
1115811155
looper "^3.0.0"
1115911156
pull-stream "^3.2.3"
1116011157

11158+
streamsearch@^1.1.0:
11159+
version "1.1.0"
11160+
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
11161+
integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
11162+
1116111163
strict-uri-encode@^1.0.0:
1116211164
version "1.1.0"
1116311165
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
@@ -11421,6 +11423,17 @@ table@^6.0.9:
1142111423
string-width "^4.2.3"
1142211424
strip-ansi "^6.0.1"
1142311425

11426+
table@^6.8.0:
11427+
version "6.8.1"
11428+
resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf"
11429+
integrity sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==
11430+
dependencies:
11431+
ajv "^8.0.1"
11432+
lodash.truncate "^4.4.2"
11433+
slice-ansi "^4.0.0"
11434+
string-width "^4.2.3"
11435+
strip-ansi "^6.0.1"
11436+
1142411437
tape@^4.6.3:
1142511438
version "4.15.0"
1142611439
resolved "https://registry.yarnpkg.com/tape/-/tape-4.15.0.tgz#1b8a9563b4bc7e51302216c137732fb2ce6d1a99"
@@ -11955,6 +11968,13 @@ undici@^4.14.1:
1195511968
resolved "https://registry.yarnpkg.com/undici/-/undici-4.16.0.tgz#469bb87b3b918818d3d7843d91a1d08da357d5ff"
1195611969
integrity sha512-tkZSECUYi+/T1i4u+4+lwZmQgLXd4BLGlrc7KZPcLIW7Jpq99+Xpc30ONv7nS6F5UNOxp/HBZSSL9MafUrvJbw==
1195711970

11971+
undici@^5.14.0:
11972+
version "5.22.1"
11973+
resolved "https://registry.yarnpkg.com/undici/-/undici-5.22.1.tgz#877d512effef2ac8be65e695f3586922e1a57d7b"
11974+
integrity sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==
11975+
dependencies:
11976+
busboy "^1.6.0"
11977+
1195811978
undici@^5.4.0:
1195911979
version "5.9.1"
1196011980
resolved "https://registry.yarnpkg.com/undici/-/undici-5.9.1.tgz#fc9fd85dd488f965f153314a63d9426a11f3360b"

0 commit comments

Comments
 (0)