Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
d99c99c4
Unverified
Commit
d99c99c4
authored
Nov 22, 2023
by
inphi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix labels; add storage width to storage layout
parent
02a7f5a8
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
451 additions
and
236 deletions
+451
-236
generate-snapshots.ts
packages/contracts-bedrock/scripts/generate-snapshots.ts
+8
-1
AddressManager.json
...racts-bedrock/snapshots/storageLayout/AddressManager.json
+4
-2
AssetReceiver.json
...tracts-bedrock/snapshots/storageLayout/AssetReceiver.json
+2
-1
AttestationStation.json
...s-bedrock/snapshots/storageLayout/AttestationStation.json
+2
-1
BaseFeeVault.json
...ntracts-bedrock/snapshots/storageLayout/BaseFeeVault.json
+2
-1
BlockOracle.json
...ontracts-bedrock/snapshots/storageLayout/BlockOracle.json
+3
-2
DelayedVetoable.json
...acts-bedrock/snapshots/storageLayout/DelayedVetoable.json
+4
-2
DeployerWhitelist.json
...ts-bedrock/snapshots/storageLayout/DeployerWhitelist.json
+4
-2
DisputeGameFactory.json
...s-bedrock/snapshots/storageLayout/DisputeGameFactory.json
+19
-11
Drippie.json
...es/contracts-bedrock/snapshots/storageLayout/Drippie.json
+5
-3
EAS.json
packages/contracts-bedrock/snapshots/storageLayout/EAS.json
+13
-7
Faucet.json
...ges/contracts-bedrock/snapshots/storageLayout/Faucet.json
+8
-5
FaultDisputeGame.json
...cts-bedrock/snapshots/storageLayout/FaultDisputeGame.json
+25
-16
GovernanceToken.json
...acts-bedrock/snapshots/storageLayout/GovernanceToken.json
+25
-14
L1Block.json
...es/contracts-bedrock/snapshots/storageLayout/L1Block.json
+16
-8
L1CrossDomainMessenger.json
...drock/snapshots/storageLayout/L1CrossDomainMessenger.json
+34
-17
L1ERC721Bridge.json
...racts-bedrock/snapshots/storageLayout/L1ERC721Bridge.json
+4
-2
L1FeeVault.json
...contracts-bedrock/snapshots/storageLayout/L1FeeVault.json
+2
-1
L1StandardBridge.json
...cts-bedrock/snapshots/storageLayout/L1StandardBridge.json
+8
-4
L2CrossDomainMessenger.json
...drock/snapshots/storageLayout/L2CrossDomainMessenger.json
+34
-17
L2ERC721Bridge.json
...racts-bedrock/snapshots/storageLayout/L2ERC721Bridge.json
+2
-1
L2OutputOracle.json
...racts-bedrock/snapshots/storageLayout/L2OutputOracle.json
+11
-6
L2StandardBridge.json
...cts-bedrock/snapshots/storageLayout/L2StandardBridge.json
+8
-4
L2ToL1MessagePasser.json
...-bedrock/snapshots/storageLayout/L2ToL1MessagePasser.json
+4
-2
LegacyERC20ETH.json
...racts-bedrock/snapshots/storageLayout/LegacyERC20ETH.json
+10
-5
LegacyMessagePasser.json
...-bedrock/snapshots/storageLayout/LegacyMessagePasser.json
+2
-1
LegacyMintableERC20.json
...-bedrock/snapshots/storageLayout/LegacyMintableERC20.json
+14
-7
LivenessGuard.json
...tracts-bedrock/snapshots/storageLayout/LivenessGuard.json
+5
-3
MintManager.json
...ontracts-bedrock/snapshots/storageLayout/MintManager.json
+4
-2
OptimismMintableERC20.json
...edrock/snapshots/storageLayout/OptimismMintableERC20.json
+10
-5
OptimismMintableERC721.json
...drock/snapshots/storageLayout/OptimismMintableERC721.json
+22
-11
OptimismMintableERC721Factory.json
...napshots/storageLayout/OptimismMintableERC721Factory.json
+2
-1
OptimismPortal.json
...racts-bedrock/snapshots/storageLayout/OptimismPortal.json
+18
-10
Optimist.json
...s/contracts-bedrock/snapshots/storageLayout/Optimist.json
+24
-12
OptimistInviter.json
...acts-bedrock/snapshots/storageLayout/OptimistInviter.json
+16
-8
PreimageOracle.json
...racts-bedrock/snapshots/storageLayout/PreimageOracle.json
+6
-3
ProtocolVersions.json
...cts-bedrock/snapshots/storageLayout/ProtocolVersions.json
+10
-5
ProxyAdmin.json
...contracts-bedrock/snapshots/storageLayout/ProxyAdmin.json
+12
-7
ResolvedDelegateProxy.json
...edrock/snapshots/storageLayout/ResolvedDelegateProxy.json
+5
-3
SchemaRegistry.json
...racts-bedrock/snapshots/storageLayout/SchemaRegistry.json
+5
-3
SequencerFeeVault.json
...ts-bedrock/snapshots/storageLayout/SequencerFeeVault.json
+2
-1
SystemConfig.json
...ntracts-bedrock/snapshots/storageLayout/SystemConfig.json
+21
-11
Transactor.json
...contracts-bedrock/snapshots/storageLayout/Transactor.json
+2
-1
TransferOnion.json
...tracts-bedrock/snapshots/storageLayout/TransferOnion.json
+4
-2
WETH9.json
...ages/contracts-bedrock/snapshots/storageLayout/WETH9.json
+10
-5
No files found.
packages/contracts-bedrock/scripts/generate-snapshots.ts
View file @
d99c99c4
...
...
@@ -37,6 +37,7 @@ type AbiSpecStorageLayoutEntry = {
slot
:
number
offset
:
number
type
:
string
bytes
:
number
}
const
sortKeys
=
(
obj
:
any
)
=>
{
if
(
typeof
obj
!==
'
object
'
||
obj
===
null
)
{
...
...
@@ -104,8 +105,14 @@ const main = async () => {
const
storageLayout
:
AbiSpecStorageLayoutEntry
[]
=
[]
for
(
const
storageEntry
of
artifact
.
storageLayout
.
storage
)
{
// convert ast-based type to solidity type
const
typ
=
artifact
.
storageLayout
.
types
[
storageEntry
.
type
]
if
(
typ
===
undefined
)
{
throw
new
Error
(
`undefined type for
${
contractName
}
:
${
storageEntry
.
label
}
`
)
}
storageLayout
.
push
({
label
:
storageEntry
.
label
,
label
:
typ
.
label
,
bytes
:
typ
.
numberOfBytes
,
offset
:
storageEntry
.
offset
,
slot
:
storageEntry
.
slot
,
type
:
storageEntry
.
type
,
...
...
packages/contracts-bedrock/snapshots/storageLayout/AddressManager.json
View file @
d99c99c4
[
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"addresses"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => address)"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_bytes32,t_address)"
...
...
packages/contracts-bedrock/snapshots/storageLayout/AssetReceiver.json
View file @
d99c99c4
[
{
"label"
:
"owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
...
...
packages/contracts-bedrock/snapshots/storageLayout/AttestationStation.json
View file @
d99c99c4
[
{
"label"
:
"attestations"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => mapping(bytes32 => bytes)))"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_mapping(t_bytes32,t_bytes_storage)))"
...
...
packages/contracts-bedrock/snapshots/storageLayout/BaseFeeVault.json
View file @
d99c99c4
[
{
"label"
:
"totalProcessed"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint256"
...
...
packages/contracts-bedrock/snapshots/storageLayout/BlockOracle.json
View file @
d99c99c4
[
{
"label"
:
"blocks"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => struct BlockOracle.BlockInfo)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_uint256,t_struct(BlockInfo)81
594
_storage)"
"type"
:
"t_mapping(t_uint256,t_struct(BlockInfo)81
992
_storage)"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/DelayedVetoable.json
View file @
d99c99c4
[
{
"label"
:
"_delay"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint256"
},
{
"label"
:
"_queuedAt"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => uint256)"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_bytes32,t_uint256)"
...
...
packages/contracts-bedrock/snapshots/storageLayout/DeployerWhitelist.json
View file @
d99c99c4
[
{
"label"
:
"owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"whitelist"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => bool)"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_bool)"
...
...
packages/contracts-bedrock/snapshots/storageLayout/DisputeGameFactory.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_address"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"gameImpls"
,
"bytes"
:
"32"
,
"label"
:
"mapping(GameType => contract IDisputeGame)"
,
"offset"
:
0
,
"slot"
:
"101"
,
"type"
:
"t_mapping(t_userDefinedValueType(GameType)8
5641,t_contract(IDisputeGame)83315
)"
"type"
:
"t_mapping(t_userDefinedValueType(GameType)8
6039,t_contract(IDisputeGame)83713
)"
},
{
"label"
:
"_disputeGames"
,
"bytes"
:
"32"
,
"label"
:
"mapping(Hash => GameId)"
,
"offset"
:
0
,
"slot"
:
"102"
,
"type"
:
"t_mapping(t_userDefinedValueType(Hash)8
5623,t_userDefinedValueType(GameId)85635
)"
"type"
:
"t_mapping(t_userDefinedValueType(Hash)8
6021,t_userDefinedValueType(GameId)86033
)"
},
{
"label"
:
"_disputeGameList"
,
"bytes"
:
"32"
,
"label"
:
"GameId[]"
,
"offset"
:
0
,
"slot"
:
"103"
,
"type"
:
"t_array(t_userDefinedValueType(GameId)8
5635
)dyn_storage"
"type"
:
"t_array(t_userDefinedValueType(GameId)8
6033
)dyn_storage"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/Drippie.json
View file @
d99c99c4
[
{
"label"
:
"owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"drips"
,
"bytes"
:
"32"
,
"label"
:
"mapping(string => struct Drippie.DripState)"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_string_memory_ptr,t_struct(DripState)8
8682
_storage)"
"type"
:
"t_mapping(t_string_memory_ptr,t_struct(DripState)8
9080
_storage)"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/EAS.json
View file @
d99c99c4
[
{
"label"
:
"_nonces"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"_db"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => struct Attestation)"
,
"offset"
:
0
,
"slot"
:
"50"
,
"type"
:
"t_mapping(t_bytes32,t_struct(Attestation)
43501
_storage)"
"type"
:
"t_mapping(t_bytes32,t_struct(Attestation)
55167
_storage)"
},
{
"label"
:
"_timestamps"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => uint64)"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_mapping(t_bytes32,t_uint64)"
},
{
"label"
:
"_revocationsOffchain"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(bytes32 => uint64))"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_mapping(t_address,t_mapping(t_bytes32,t_uint64))"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1504"
,
"label"
:
"uint256[47]"
,
"offset"
:
0
,
"slot"
:
"53"
,
"type"
:
"t_array(t_uint256)47_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/Faucet.json
View file @
d99c99c4
[
{
"label"
:
"modules"
,
"bytes"
:
"32"
,
"label"
:
"mapping(contract IFaucetAuthModule => struct Faucet.ModuleConfig)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_contract(IFaucetAuthModule)
89603,t_struct(ModuleConfig)89280
_storage)"
"type"
:
"t_mapping(t_contract(IFaucetAuthModule)
90001,t_struct(ModuleConfig)89678
_storage)"
},
{
"label"
:
"timeouts"
,
"bytes"
:
"32"
,
"label"
:
"mapping(contract IFaucetAuthModule => mapping(bytes32 => uint256))"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_contract(IFaucetAuthModule)
89603
,t_mapping(t_bytes32,t_uint256))"
"type"
:
"t_mapping(t_contract(IFaucetAuthModule)
90001
,t_mapping(t_bytes32,t_uint256))"
},
{
"label"
:
"nonces"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => mapping(bytes32 => bool))"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_mapping(t_bytes32,t_mapping(t_bytes32,t_bool))"
...
...
packages/contracts-bedrock/snapshots/storageLayout/FaultDisputeGame.json
View file @
d99c99c4
[
{
"label"
:
"createdAt"
,
"bytes"
:
"8"
,
"label"
:
"Timestamp"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_userDefinedValueType(Timestamp)8
5631
"
"type"
:
"t_userDefinedValueType(Timestamp)8
6029
"
},
{
"label"
:
"status"
,
"bytes"
:
"1"
,
"label"
:
"enum GameStatus"
,
"offset"
:
8
,
"slot"
:
"0"
,
"type"
:
"t_enum(GameStatus)8
5647
"
"type"
:
"t_enum(GameStatus)8
6045
"
},
{
"label"
:
"bondManager"
,
"bytes"
:
"20"
,
"label"
:
"contract IBondManager"
,
"offset"
:
9
,
"slot"
:
"0"
,
"type"
:
"t_contract(IBondManager)83
238
"
"type"
:
"t_contract(IBondManager)83
636
"
},
{
"label"
:
"l1Head"
,
"bytes"
:
"32"
,
"label"
:
"Hash"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_userDefinedValueType(Hash)8
5623
"
"type"
:
"t_userDefinedValueType(Hash)8
6021
"
},
{
"label"
:
"claimData"
,
"bytes"
:
"32"
,
"label"
:
"struct IFaultDisputeGame.ClaimData[]"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_array(t_struct(ClaimData)83
452
_storage)dyn_storage"
"type"
:
"t_array(t_struct(ClaimData)83
850
_storage)dyn_storage"
},
{
"label"
:
"proposals"
,
"bytes"
:
"128"
,
"label"
:
"struct IFaultDisputeGame.OutputProposals"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_struct(OutputProposals)83
467
_storage"
"type"
:
"t_struct(OutputProposals)83
865
_storage"
},
{
"label"
:
"claims"
,
"bytes"
:
"32"
,
"label"
:
"mapping(ClaimHash => bool)"
,
"offset"
:
0
,
"slot"
:
"7"
,
"type"
:
"t_mapping(t_userDefinedValueType(ClaimHash)8
5627
,t_bool)"
"type"
:
"t_mapping(t_userDefinedValueType(ClaimHash)8
6025
,t_bool)"
},
{
"label"
:
"subgames"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => uint256[])"
,
"offset"
:
0
,
"slot"
:
"8"
,
"type"
:
"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)"
},
{
"label"
:
"subgameAtRootResolved"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
0
,
"slot"
:
"9"
,
"type"
:
"t_bool"
...
...
packages/contracts-bedrock/snapshots/storageLayout/GovernanceToken.json
View file @
d99c99c4
[
{
"label"
:
"_balances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"_allowances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"label"
:
"_totalSupply"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_uint256"
},
{
"label"
:
"_name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_nonces"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => struct Counters.Counter)"
,
"offset"
:
0
,
"slot"
:
"5"
,
"type"
:
"t_mapping(t_address,t_struct(Counter)
4991
5_storage)"
"type"
:
"t_mapping(t_address,t_struct(Counter)
5109
5_storage)"
},
{
"label"
:
"_PERMIT_TYPEHASH_DEPRECATED_SLOT"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"6"
,
"type"
:
"t_bytes32"
},
{
"label"
:
"_delegates"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => address)"
,
"offset"
:
0
,
"slot"
:
"7"
,
"type"
:
"t_mapping(t_address,t_address)"
},
{
"label"
:
"_checkpoints"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => struct ERC20Votes.Checkpoint[])"
,
"offset"
:
0
,
"slot"
:
"8"
,
"type"
:
"t_mapping(t_address,t_array(t_struct(Checkpoint)4
706
1_storage)dyn_storage)"
"type"
:
"t_mapping(t_address,t_array(t_struct(Checkpoint)4
824
1_storage)dyn_storage)"
},
{
"label"
:
"_totalSupplyCheckpoints"
,
"bytes"
:
"32"
,
"label"
:
"struct ERC20Votes.Checkpoint[]"
,
"offset"
:
0
,
"slot"
:
"9"
,
"type"
:
"t_array(t_struct(Checkpoint)4
706
1_storage)dyn_storage"
"type"
:
"t_array(t_struct(Checkpoint)4
824
1_storage)dyn_storage"
},
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"10"
,
"type"
:
"t_address"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L1Block.json
View file @
d99c99c4
[
{
"label"
:
"number"
,
"bytes"
:
"8"
,
"label"
:
"uint64"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint64"
},
{
"label"
:
"timestamp"
,
"bytes"
:
"8"
,
"label"
:
"uint64"
,
"offset"
:
8
,
"slot"
:
"0"
,
"type"
:
"t_uint64"
},
{
"label"
:
"basefee"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_uint256"
},
{
"label"
:
"hash"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_bytes32"
},
{
"label"
:
"sequenceNumber"
,
"bytes"
:
"8"
,
"label"
:
"uint64"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_uint64"
},
{
"label"
:
"batcherHash"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_bytes32"
},
{
"label"
:
"l1FeeOverhead"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"5"
,
"type"
:
"t_uint256"
},
{
"label"
:
"l1FeeScalar"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"6"
,
"type"
:
"t_uint256"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L1CrossDomainMessenger.json
View file @
d99c99c4
[
{
"label"
:
"spacer_0_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
20
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
21
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"spacer_1_0_1600"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"spacer_51_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_address"
},
{
"label"
:
"spacer_52_0_1568"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"spacer_101_0_1"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
0
,
"slot"
:
"101"
,
"type"
:
"t_bool"
},
{
"label"
:
"spacer_102_0_1568"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"102"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"spacer_151_0_32"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"151"
,
"type"
:
"t_uint256"
},
{
"label"
:
"spacer_152_0_1568"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"152"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"spacer_201_0_32"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"201"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"spacer_202_0_32"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"202"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"successfulMessages"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"203"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"xDomainMsgSender"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"204"
,
"type"
:
"t_address"
},
{
"label"
:
"msgNonce"
,
"bytes"
:
"30"
,
"label"
:
"uint240"
,
"offset"
:
0
,
"slot"
:
"205"
,
"type"
:
"t_uint240"
},
{
"label"
:
"failedMessages"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"206"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1344"
,
"label"
:
"uint256[42]"
,
"offset"
:
0
,
"slot"
:
"207"
,
"type"
:
"t_array(t_uint256)42_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L1ERC721Bridge.json
View file @
d99c99c4
[
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"deposits"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => mapping(uint256 => bool)))"
,
"offset"
:
0
,
"slot"
:
"49"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L1FeeVault.json
View file @
d99c99c4
[
{
"label"
:
"totalProcessed"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint256"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L1StandardBridge.json
View file @
d99c99c4
[
{
"label"
:
"spacer_0_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"spacer_1_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_address"
},
{
"label"
:
"deposits"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1504"
,
"label"
:
"uint256[47]"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_array(t_uint256)47_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L2CrossDomainMessenger.json
View file @
d99c99c4
[
{
"label"
:
"spacer_0_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
20
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
21
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"spacer_1_0_1600"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"spacer_51_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_address"
},
{
"label"
:
"spacer_52_0_1568"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"spacer_101_0_1"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
0
,
"slot"
:
"101"
,
"type"
:
"t_bool"
},
{
"label"
:
"spacer_102_0_1568"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"102"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"spacer_151_0_32"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"151"
,
"type"
:
"t_uint256"
},
{
"label"
:
"spacer_152_0_1568"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"152"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"spacer_201_0_32"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"201"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"spacer_202_0_32"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"202"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"successfulMessages"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"203"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"xDomainMsgSender"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"204"
,
"type"
:
"t_address"
},
{
"label"
:
"msgNonce"
,
"bytes"
:
"30"
,
"label"
:
"uint240"
,
"offset"
:
0
,
"slot"
:
"205"
,
"type"
:
"t_uint240"
},
{
"label"
:
"failedMessages"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"206"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1344"
,
"label"
:
"uint256[42]"
,
"offset"
:
0
,
"slot"
:
"207"
,
"type"
:
"t_array(t_uint256)42_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L2ERC721Bridge.json
View file @
d99c99c4
[
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_array(t_uint256)49_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L2OutputOracle.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"startingBlockNumber"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_uint256"
},
{
"label"
:
"startingTimestamp"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_uint256"
},
{
"label"
:
"l2Outputs"
,
"bytes"
:
"32"
,
"label"
:
"struct Types.OutputProposal[]"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_array(t_struct(OutputProposal)86
496
_storage)dyn_storage"
"type"
:
"t_array(t_struct(OutputProposal)86
894
_storage)dyn_storage"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/L2StandardBridge.json
View file @
d99c99c4
[
{
"label"
:
"spacer_0_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"spacer_1_0_20"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_address"
},
{
"label"
:
"deposits"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1504"
,
"label"
:
"uint256[47]"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_array(t_uint256)47_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/L2ToL1MessagePasser.json
View file @
d99c99c4
[
{
"label"
:
"sentMessages"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"msgNonce"
,
"bytes"
:
"30"
,
"label"
:
"uint240"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_uint240"
...
...
packages/contracts-bedrock/snapshots/storageLayout/LegacyERC20ETH.json
View file @
d99c99c4
[
{
"label"
:
"_balances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"_allowances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"label"
:
"_totalSupply"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_uint256"
},
{
"label"
:
"_name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_string_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/LegacyMessagePasser.json
View file @
d99c99c4
[
{
"label"
:
"sentMessages"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
...
...
packages/contracts-bedrock/snapshots/storageLayout/LegacyMintableERC20.json
View file @
d99c99c4
[
{
"label"
:
"_balances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"_allowances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"label"
:
"_totalSupply"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_uint256"
},
{
"label"
:
"_name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"l1Token"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"5"
,
"type"
:
"t_address"
},
{
"label"
:
"l2Bridge"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"6"
,
"type"
:
"t_address"
...
...
packages/contracts-bedrock/snapshots/storageLayout/LivenessGuard.json
View file @
d99c99c4
[
{
"label"
:
"lastLive"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"ownersBefore"
,
"bytes"
:
"64"
,
"label"
:
"struct EnumerableSet.AddressSet"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_struct(AddressSet)5
383
6_storage"
"type"
:
"t_struct(AddressSet)5
501
6_storage"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/MintManager.json
View file @
d99c99c4
[
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"mintPermittedAfter"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_uint256"
...
...
packages/contracts-bedrock/snapshots/storageLayout/OptimismMintableERC20.json
View file @
d99c99c4
[
{
"label"
:
"_balances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"_allowances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
},
{
"label"
:
"_totalSupply"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_uint256"
},
{
"label"
:
"_name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_string_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/OptimismMintableERC721.json
View file @
d99c99c4
[
{
"label"
:
"_name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_owners"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => address)"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_mapping(t_uint256,t_address)"
},
{
"label"
:
"_balances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"_tokenApprovals"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => address)"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_mapping(t_uint256,t_address)"
},
{
"label"
:
"_operatorApprovals"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => bool))"
,
"offset"
:
0
,
"slot"
:
"5"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_bool))"
},
{
"label"
:
"_ownedTokens"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(uint256 => uint256))"
,
"offset"
:
0
,
"slot"
:
"6"
,
"type"
:
"t_mapping(t_address,t_mapping(t_uint256,t_uint256))"
},
{
"label"
:
"_ownedTokensIndex"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => uint256)"
,
"offset"
:
0
,
"slot"
:
"7"
,
"type"
:
"t_mapping(t_uint256,t_uint256)"
},
{
"label"
:
"_allTokens"
,
"bytes"
:
"32"
,
"label"
:
"uint256[]"
,
"offset"
:
0
,
"slot"
:
"8"
,
"type"
:
"t_array(t_uint256)dyn_storage"
},
{
"label"
:
"_allTokensIndex"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => uint256)"
,
"offset"
:
0
,
"slot"
:
"9"
,
"type"
:
"t_mapping(t_uint256,t_uint256)"
},
{
"label"
:
"baseTokenURI"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"10"
,
"type"
:
"t_string_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/OptimismMintableERC721Factory.json
View file @
d99c99c4
[
{
"label"
:
"isOptimismMintableERC721"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => bool)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_bool)"
...
...
packages/contracts-bedrock/snapshots/storageLayout/OptimismPortal.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"params"
,
"bytes"
:
"32"
,
"label"
:
"struct ResourceMetering.ResourceParams"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_struct(ResourceParams)75
595
_storage"
"type"
:
"t_struct(ResourceParams)75
993
_storage"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1536"
,
"label"
:
"uint256[48]"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_array(t_uint256)48_storage"
},
{
"label"
:
"l2Sender"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"50"
,
"type"
:
"t_address"
},
{
"label"
:
"finalizedWithdrawals"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => bool)"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_mapping(t_bytes32,t_bool)"
},
{
"label"
:
"provenWithdrawals"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)7
4655
_storage)"
"type"
:
"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)7
5053
_storage)"
},
{
"label"
:
"paused"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
0
,
"slot"
:
"53"
,
"type"
:
"t_bool"
...
...
packages/contracts-bedrock/snapshots/storageLayout/Optimist.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"_name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"101"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"102"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"_owners"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => address)"
,
"offset"
:
0
,
"slot"
:
"103"
,
"type"
:
"t_mapping(t_uint256,t_address)"
},
{
"label"
:
"_balances"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"104"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"_tokenApprovals"
,
"bytes"
:
"32"
,
"label"
:
"mapping(uint256 => address)"
,
"offset"
:
0
,
"slot"
:
"105"
,
"type"
:
"t_mapping(t_uint256,t_address)"
},
{
"label"
:
"_operatorApprovals"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => bool))"
,
"offset"
:
0
,
"slot"
:
"106"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_bool))"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1408"
,
"label"
:
"uint256[44]"
,
"offset"
:
0
,
"slot"
:
"107"
,
"type"
:
"t_array(t_uint256)44_storage"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"151"
,
"type"
:
"t_array(t_uint256)50_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/OptimistInviter.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"_HASHED_NAME"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_bytes32"
},
{
"label"
:
"_HASHED_VERSION"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_bytes32"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"commitmentTimestamps"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => uint256)"
,
"offset"
:
0
,
"slot"
:
"53"
,
"type"
:
"t_mapping(t_bytes32,t_uint256)"
},
{
"label"
:
"usedNonces"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(bytes32 => bool))"
,
"offset"
:
0
,
"slot"
:
"54"
,
"type"
:
"t_mapping(t_address,t_mapping(t_bytes32,t_bool))"
},
{
"label"
:
"inviteCounts"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"55"
,
"type"
:
"t_mapping(t_address,t_uint256)"
...
...
packages/contracts-bedrock/snapshots/storageLayout/PreimageOracle.json
View file @
d99c99c4
[
{
"label"
:
"preimageLengths"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => uint256)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_bytes32,t_uint256)"
},
{
"label"
:
"preimageParts"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => mapping(uint256 => bytes32))"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_bytes32,t_mapping(t_uint256,t_bytes32))"
},
{
"label"
:
"preimagePartOk"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => mapping(uint256 => bool))"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_mapping(t_bytes32,t_mapping(t_uint256,t_bool))"
...
...
packages/contracts-bedrock/snapshots/storageLayout/ProtocolVersions.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_address"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_array(t_uint256)49_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/ProxyAdmin.json
View file @
d99c99c4
[
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
},
{
"label"
:
"proxyType"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => enum ProxyAdmin.ProxyType)"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_enum(ProxyType)92
592
)"
"type"
:
"t_mapping(t_address,t_enum(ProxyType)92
990
)"
},
{
"label"
:
"implementationName"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => string)"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_mapping(t_address,t_string_storage)"
},
{
"label"
:
"addressManager"
,
"bytes"
:
"20"
,
"label"
:
"contract AddressManager"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_contract(AddressManager)84
130
"
"type"
:
"t_contract(AddressManager)84
528
"
},
{
"label"
:
"upgrading"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
20
,
"slot"
:
"3"
,
"type"
:
"t_bool"
...
...
packages/contracts-bedrock/snapshots/storageLayout/ResolvedDelegateProxy.json
View file @
d99c99c4
[
{
"label"
:
"implementationName"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => string)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_address,t_string_storage)"
},
{
"label"
:
"addressManager"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => contract AddressManager)"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_mapping(t_address,t_contract(AddressManager)84
130
)"
"type"
:
"t_mapping(t_address,t_contract(AddressManager)84
528
)"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/SchemaRegistry.json
View file @
d99c99c4
[
{
"label"
:
"_registry"
,
"bytes"
:
"32"
,
"label"
:
"mapping(bytes32 => struct SchemaRecord)"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_mapping(t_bytes32,t_struct(SchemaRecord)
45881
_storage)"
"type"
:
"t_mapping(t_bytes32,t_struct(SchemaRecord)
57547
_storage)"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)49_storage"
...
...
packages/contracts-bedrock/snapshots/storageLayout/SequencerFeeVault.json
View file @
d99c99c4
[
{
"label"
:
"totalProcessed"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint256"
...
...
packages/contracts-bedrock/snapshots/storageLayout/SystemConfig.json
View file @
d99c99c4
[
{
"label"
:
"_initialized"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint8"
},
{
"label"
:
"_initializing"
,
"bytes"
:
"1"
,
"label"
:
"bool"
,
"offset"
:
1
,
"slot"
:
"0"
,
"type"
:
"t_bool"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1600"
,
"label"
:
"uint256[50]"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_array(t_uint256)50_storage"
},
{
"label"
:
"_owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"51"
,
"type"
:
"t_address"
},
{
"label"
:
"__gap"
,
"bytes"
:
"1568"
,
"label"
:
"uint256[49]"
,
"offset"
:
0
,
"slot"
:
"52"
,
"type"
:
"t_array(t_uint256)49_storage"
},
{
"label"
:
"overhead"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"101"
,
"type"
:
"t_uint256"
},
{
"label"
:
"scalar"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"102"
,
"type"
:
"t_uint256"
},
{
"label"
:
"batcherHash"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"103"
,
"type"
:
"t_bytes32"
},
{
"label"
:
"gasLimit"
,
"bytes"
:
"8"
,
"label"
:
"uint64"
,
"offset"
:
0
,
"slot"
:
"104"
,
"type"
:
"t_uint64"
},
{
"label"
:
"_resourceConfig"
,
"bytes"
:
"32"
,
"label"
:
"struct ResourceMetering.ResourceConfig"
,
"offset"
:
0
,
"slot"
:
"105"
,
"type"
:
"t_struct(ResourceConfig)7
5608
_storage"
"type"
:
"t_struct(ResourceConfig)7
6006
_storage"
}
]
\ No newline at end of file
packages/contracts-bedrock/snapshots/storageLayout/Transactor.json
View file @
d99c99c4
[
{
"label"
:
"owner"
,
"bytes"
:
"20"
,
"label"
:
"address"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_address"
...
...
packages/contracts-bedrock/snapshots/storageLayout/TransferOnion.json
View file @
d99c99c4
[
{
"label"
:
"_status"
,
"bytes"
:
"32"
,
"label"
:
"uint256"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_uint256"
},
{
"label"
:
"shell"
,
"bytes"
:
"32"
,
"label"
:
"bytes32"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_bytes32"
...
...
packages/contracts-bedrock/snapshots/storageLayout/WETH9.json
View file @
d99c99c4
[
{
"label"
:
"name"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"0"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"symbol"
,
"bytes"
:
"32"
,
"label"
:
"string"
,
"offset"
:
0
,
"slot"
:
"1"
,
"type"
:
"t_string_storage"
},
{
"label"
:
"decimals"
,
"bytes"
:
"1"
,
"label"
:
"uint8"
,
"offset"
:
0
,
"slot"
:
"2"
,
"type"
:
"t_uint8"
},
{
"label"
:
"balanceOf"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => uint256)"
,
"offset"
:
0
,
"slot"
:
"3"
,
"type"
:
"t_mapping(t_address,t_uint256)"
},
{
"label"
:
"allowance"
,
"bytes"
:
"32"
,
"label"
:
"mapping(address => mapping(address => uint256))"
,
"offset"
:
0
,
"slot"
:
"4"
,
"type"
:
"t_mapping(t_address,t_mapping(t_address,t_uint256))"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment