Skip to content

Commit

Permalink
Goerli/Mumbai -> Goerli/Base Sepolia migration (#261)
Browse files Browse the repository at this point in the history
* Hardhat.config support for Sepolia & Amoy

* Set up release workflow config - Sepolia & Amoy

* Update 'scripts' and 'tasks' to work on Amoy & Sepolia

* Add placeholder Amoy & Sepolia multisig and relayer

* Create Sepolia & Amoy deployment JSON

* Create Amoy & Sepolia .openzeppelin JSONs

* Update Hardhat config for Base Sepolia

* Create Base Sepolia task/script set up files

* Add Base Sepolia multisig & relayer placeholder

* Update task/script file for Base Sepolia

* Deployed contracts JSONs

* Add Base Sepolia Relayer & multisig to JSONs

* Uncomment out some LoC

* Update to 'reverse register'

* Update 'chainsMini.json'

* Create 'propose-admin.json'

* Update 'propose-admin.js' task for Base Sepolia

* Add 'AgentRegistry - setStakeThreshold' execution to 'propose-admin.json'

* Remove Amoy setup & JSONs, rename 'release'
  • Loading branch information
RCantu92 authored Apr 8, 2024
1 parent 51c9be4 commit 59ae488
Show file tree
Hide file tree
Showing 23 changed files with 9,081 additions and 40 deletions.
370 changes: 370 additions & 0 deletions .openzeppelin/sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,370 @@
{
"manifestVersion": "3.2",
"proxies": [
{
"address": "0x95d9a757ad9C25999ffE93f3067221F04ce1Cc79",
"txHash": "0xe6630a9172a655398a5df198ab4534a7e108d590ea3974243e030a42a6f177ec",
"kind": "uups"
}
],
"impls": {
"ba5452f42c3a4a4a469e2ef0aa7712fef3e1142a1bce8b2b8f281c70879d759a": {
"address": "0x6A434647A4a3De2F915Bb49B6227444EBbE67Aed",
"txHash": "0x14ecfb9a2e8822b0dedf4b0194539e4ef0c66af1bb208effe940917fead7b7f3",
"layout": {
"solcVersion": "0.8.9",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC165Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41"
},
{
"label": "_roles",
"offset": 0,
"slot": "101",
"type": "t_mapping(t_bytes32,t_struct(RoleData)5114_storage)",
"contract": "AccessControlUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61"
},
{
"label": "__gap",
"offset": 0,
"slot": "102",
"type": "t_array(t_uint256)49_storage",
"contract": "AccessControlUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259"
},
{
"label": "_balances",
"offset": 0,
"slot": "151",
"type": "t_mapping(t_address,t_uint256)",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:37"
},
{
"label": "_allowances",
"offset": 0,
"slot": "152",
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:39"
},
{
"label": "_totalSupply",
"offset": 0,
"slot": "153",
"type": "t_uint256",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:41"
},
{
"label": "_name",
"offset": 0,
"slot": "154",
"type": "t_string_storage",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:43"
},
{
"label": "_symbol",
"offset": 0,
"slot": "155",
"type": "t_string_storage",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:44"
},
{
"label": "__gap",
"offset": 0,
"slot": "156",
"type": "t_array(t_uint256)45_storage",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:394"
},
{
"label": "_HASHED_NAME",
"offset": 0,
"slot": "201",
"type": "t_bytes32",
"contract": "EIP712Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/cryptography/draft-EIP712Upgradeable.sol:32"
},
{
"label": "_HASHED_VERSION",
"offset": 0,
"slot": "202",
"type": "t_bytes32",
"contract": "EIP712Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/cryptography/draft-EIP712Upgradeable.sol:33"
},
{
"label": "__gap",
"offset": 0,
"slot": "203",
"type": "t_array(t_uint256)50_storage",
"contract": "EIP712Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/cryptography/draft-EIP712Upgradeable.sol:120"
},
{
"label": "_nonces",
"offset": 0,
"slot": "253",
"type": "t_mapping(t_address,t_struct(Counter)11323_storage)",
"contract": "ERC20PermitUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol:28"
},
{
"label": "_PERMIT_TYPEHASH_DEPRECATED_SLOT",
"offset": 0,
"slot": "254",
"type": "t_bytes32",
"contract": "ERC20PermitUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol:40",
"renamedFrom": "_PERMIT_TYPEHASH"
},
{
"label": "__gap",
"offset": 0,
"slot": "255",
"type": "t_array(t_uint256)49_storage",
"contract": "ERC20PermitUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol:108"
},
{
"label": "_delegates",
"offset": 0,
"slot": "304",
"type": "t_mapping(t_address,t_address)",
"contract": "ERC20VotesUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20VotesUpgradeable.sol:42"
},
{
"label": "_checkpoints",
"offset": 0,
"slot": "305",
"type": "t_mapping(t_address,t_array(t_struct(Checkpoint)8713_storage)dyn_storage)",
"contract": "ERC20VotesUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20VotesUpgradeable.sol:43"
},
{
"label": "_totalSupplyCheckpoints",
"offset": 0,
"slot": "306",
"type": "t_array(t_struct(Checkpoint)8713_storage)dyn_storage",
"contract": "ERC20VotesUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20VotesUpgradeable.sol:44"
},
{
"label": "__gap",
"offset": 0,
"slot": "307",
"type": "t_array(t_uint256)47_storage",
"contract": "ERC20VotesUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20VotesUpgradeable.sol:261"
},
{
"label": "__gap",
"offset": 0,
"slot": "354",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
},
{
"label": "__gap",
"offset": 0,
"slot": "404",
"type": "t_array(t_uint256)50_storage",
"contract": "UUPSUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:107"
},
{
"label": "deprecated_whitelistDisabled",
"offset": 0,
"slot": "454",
"type": "t_bool",
"contract": "FortaCommon",
"src": "contracts/token/FortaCommon.sol:27",
"renamedFrom": "whitelistDisabled"
},
{
"label": "__gap",
"offset": 0,
"slot": "455",
"type": "t_array(t_uint256)49_storage",
"contract": "FortaCommon",
"src": "contracts/token/FortaCommon.sol:66"
},
{
"label": "__gap",
"offset": 0,
"slot": "504",
"type": "t_array(t_uint256)50_storage",
"contract": "Forta",
"src": "contracts/token/Forta.sol:46"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_struct(Checkpoint)8713_storage)dyn_storage": {
"label": "struct ERC20VotesUpgradeable.Checkpoint[]",
"numberOfBytes": "32"
},
"t_array(t_uint256)45_storage": {
"label": "uint256[45]",
"numberOfBytes": "1440"
},
"t_array(t_uint256)47_storage": {
"label": "uint256[47]",
"numberOfBytes": "1504"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_address)": {
"label": "mapping(address => address)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_array(t_struct(Checkpoint)8713_storage)dyn_storage)": {
"label": "mapping(address => struct ERC20VotesUpgradeable.Checkpoint[])",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_bool)": {
"label": "mapping(address => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_mapping(t_address,t_uint256))": {
"label": "mapping(address => mapping(address => uint256))",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(Counter)11323_storage)": {
"label": "mapping(address => struct CountersUpgradeable.Counter)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_struct(RoleData)5114_storage)": {
"label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(Checkpoint)8713_storage": {
"label": "struct ERC20VotesUpgradeable.Checkpoint",
"members": [
{
"label": "fromBlock",
"type": "t_uint32",
"offset": 0,
"slot": "0"
},
{
"label": "votes",
"type": "t_uint224",
"offset": 4,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(Counter)11323_storage": {
"label": "struct CountersUpgradeable.Counter",
"members": [
{
"label": "_value",
"type": "t_uint256",
"offset": 0,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(RoleData)5114_storage": {
"label": "struct AccessControlUpgradeable.RoleData",
"members": [
{
"label": "members",
"type": "t_mapping(t_address,t_bool)",
"offset": 0,
"slot": "0"
},
{
"label": "adminRole",
"type": "t_bytes32",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_uint224": {
"label": "uint224",
"numberOfBytes": "28"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint32": {
"label": "uint32",
"numberOfBytes": "4"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
}
}
}
Loading

0 comments on commit 59ae488

Please sign in to comment.