Skip to content

Commit

Permalink
Update storage layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Mar 29, 2024
1 parent 5d6fa3e commit 5b2b877
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 146 deletions.
38 changes: 19 additions & 19 deletions storage-layouts/Arbitrum_SpokePool.json
@@ -1,79 +1,79 @@
{
"storage": [
{
"astId": 43208,
"astId": 43242,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8"
},
{
"astId": 43211,
"astId": 43245,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool"
},
{
"astId": 43190,
"astId": 43224,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage"
},
{
"astId": 43506,
"astId": 43540,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage"
},
{
"astId": 43522,
"astId": 43556,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "_status",
"offset": 0,
"slot": "101",
"type": "t_uint256"
},
{
"astId": 43591,
"astId": 43625,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "102",
"type": "t_array(t_uint256)49_storage"
},
{
"astId": 15923,
"astId": 15957,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "151",
"type": "t_array(t_uint256)1000_storage"
},
{
"astId": 15728,
"astId": 15762,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "_HASHED_NAME",
"offset": 0,
"slot": "1151",
"type": "t_bytes32"
},
{
"astId": 15730,
"astId": 15764,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "_HASHED_VERSION",
"offset": 0,
"slot": "1152",
"type": "t_bytes32"
},
{
"astId": 15829,
"astId": 15863,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "__gap",
"offset": 0,
Expand Down Expand Up @@ -102,7 +102,7 @@
"label": "DEPRECATED_wrappedNativeToken",
"offset": 0,
"slot": "2155",
"type": "t_contract(WETH9Interface)11825"
"type": "t_contract(WETH9Interface)11859"
},
{
"astId": 5492,
Expand Down Expand Up @@ -142,7 +142,7 @@
"label": "rootBundles",
"offset": 0,
"slot": "2156",
"type": "t_array(t_struct(RootBundle)12102_storage)dyn_storage"
"type": "t_array(t_struct(RootBundle)12136_storage)dyn_storage"
},
{
"astId": 5508,
Expand Down Expand Up @@ -223,11 +223,11 @@
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_struct(RootBundle)12102_storage)dyn_storage": {
"t_array(t_struct(RootBundle)12136_storage)dyn_storage": {
"encoding": "dynamic_array",
"label": "struct SpokePoolInterface.RootBundle[]",
"numberOfBytes": "32",
"base": "t_struct(RootBundle)12102_storage"
"base": "t_struct(RootBundle)12136_storage"
},
"t_array(t_uint256)1000_storage": {
"encoding": "inplace",
Expand Down Expand Up @@ -263,7 +263,7 @@
"label": "bytes32",
"numberOfBytes": "32"
},
"t_contract(WETH9Interface)11825": {
"t_contract(WETH9Interface)11859": {
"encoding": "inplace",
"label": "contract WETH9Interface",
"numberOfBytes": "20"
Expand Down Expand Up @@ -310,29 +310,29 @@
"numberOfBytes": "32",
"value": "t_uint256"
},
"t_struct(RootBundle)12102_storage": {
"t_struct(RootBundle)12136_storage": {
"encoding": "inplace",
"label": "struct SpokePoolInterface.RootBundle",
"numberOfBytes": "96",
"members": [
{
"astId": 12095,
"astId": 12129,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "slowRelayRoot",
"offset": 0,
"slot": "0",
"type": "t_bytes32"
},
{
"astId": 12097,
"astId": 12131,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "relayerRefundRoot",
"offset": 0,
"slot": "1",
"type": "t_bytes32"
},
{
"astId": 12101,
"astId": 12135,
"contract": "contracts/Arbitrum_SpokePool.sol:Arbitrum_SpokePool",
"label": "claimedBitmap",
"offset": 0,
Expand Down
38 changes: 19 additions & 19 deletions storage-layouts/Base_SpokePool.json
@@ -1,79 +1,79 @@
{
"storage": [
{
"astId": 43208,
"astId": 43242,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8"
},
{
"astId": 43211,
"astId": 43245,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool"
},
{
"astId": 43190,
"astId": 43224,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage"
},
{
"astId": 43506,
"astId": 43540,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage"
},
{
"astId": 43522,
"astId": 43556,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "_status",
"offset": 0,
"slot": "101",
"type": "t_uint256"
},
{
"astId": 43591,
"astId": 43625,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "102",
"type": "t_array(t_uint256)49_storage"
},
{
"astId": 15923,
"astId": 15957,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "__gap",
"offset": 0,
"slot": "151",
"type": "t_array(t_uint256)1000_storage"
},
{
"astId": 15728,
"astId": 15762,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "_HASHED_NAME",
"offset": 0,
"slot": "1151",
"type": "t_bytes32"
},
{
"astId": 15730,
"astId": 15764,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "_HASHED_VERSION",
"offset": 0,
"slot": "1152",
"type": "t_bytes32"
},
{
"astId": 15829,
"astId": 15863,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "__gap",
"offset": 0,
Expand Down Expand Up @@ -102,7 +102,7 @@
"label": "DEPRECATED_wrappedNativeToken",
"offset": 0,
"slot": "2155",
"type": "t_contract(WETH9Interface)11825"
"type": "t_contract(WETH9Interface)11859"
},
{
"astId": 5492,
Expand Down Expand Up @@ -142,7 +142,7 @@
"label": "rootBundles",
"offset": 0,
"slot": "2156",
"type": "t_array(t_struct(RootBundle)12102_storage)dyn_storage"
"type": "t_array(t_struct(RootBundle)12136_storage)dyn_storage"
},
{
"astId": 5508,
Expand Down Expand Up @@ -247,11 +247,11 @@
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_struct(RootBundle)12102_storage)dyn_storage": {
"t_array(t_struct(RootBundle)12136_storage)dyn_storage": {
"encoding": "dynamic_array",
"label": "struct SpokePoolInterface.RootBundle[]",
"numberOfBytes": "32",
"base": "t_struct(RootBundle)12102_storage"
"base": "t_struct(RootBundle)12136_storage"
},
"t_array(t_uint256)1000_storage": {
"encoding": "inplace",
Expand Down Expand Up @@ -287,7 +287,7 @@
"label": "bytes32",
"numberOfBytes": "32"
},
"t_contract(WETH9Interface)11825": {
"t_contract(WETH9Interface)11859": {
"encoding": "inplace",
"label": "contract WETH9Interface",
"numberOfBytes": "20"
Expand Down Expand Up @@ -334,29 +334,29 @@
"numberOfBytes": "32",
"value": "t_uint256"
},
"t_struct(RootBundle)12102_storage": {
"t_struct(RootBundle)12136_storage": {
"encoding": "inplace",
"label": "struct SpokePoolInterface.RootBundle",
"numberOfBytes": "96",
"members": [
{
"astId": 12095,
"astId": 12129,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "slowRelayRoot",
"offset": 0,
"slot": "0",
"type": "t_bytes32"
},
{
"astId": 12097,
"astId": 12131,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "relayerRefundRoot",
"offset": 0,
"slot": "1",
"type": "t_bytes32"
},
{
"astId": 12101,
"astId": 12135,
"contract": "contracts/Base_SpokePool.sol:Base_SpokePool",
"label": "claimedBitmap",
"offset": 0,
Expand Down

0 comments on commit 5b2b877

Please sign in to comment.