diff --git a/packages/protocol/contract_layout_layer1.md b/packages/protocol/contract_layout_layer1.md index e5211ecc62e..45bda27324b 100644 --- a/packages/protocol/contract_layout_layer1.md +++ b/packages/protocol/contract_layout_layer1.md @@ -1,547 +1,582 @@ ## ERC1155Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+========================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| __gap | uint256[48] | 303 | 0 | 1536 | +| __gap | uint256[48] | 303 | 0 | 1536 | | -| __gap | uint256[50] | 351 | 0 | 1600 | +| __gap | uint256[50] | 351 | 0 | 1600 | | -| __gap | uint256[50] | 401 | 0 | 1600 | +| __gap | uint256[50] | 401 | 0 | 1600 | | -| __gap | uint256[50] | 451 | 0 | 1600 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ +| __gap | uint256[50] | 451 | 0 | 1600 | +╰--------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ ## ERC20Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+====================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| bridgedToCanonical | mapping(address => struct ERC20Vault.CanonicalERC20) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct ERC20Vault.CanonicalERC20) | 301 | 0 | 32 | | -| btokenDenylist | mapping(address => bool) | 303 | 0 | 32 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| lastMigrationStart | mapping(uint256 => mapping(address => uint256)) | 304 | 0 | 32 | +| btokenDenylist | mapping(address => bool) | 303 | 0 | 32 | | -| solverConditionToSolver | mapping(bytes32 => address) | 305 | 0 | 32 | +| lastMigrationStart | mapping(uint256 => mapping(address => uint256)) | 304 | 0 | 32 | | -| __gap | uint256[45] | 306 | 0 | 1440 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╯ +| __gap | uint256[46] | 305 | 0 | 1472 | +╰--------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╯ ## ERC721Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+======================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | | -| __gap | uint256[48] | 303 | 0 | 1536 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| __gap | uint256[50] | 351 | 0 | 1600 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╯ +| __gap | uint256[48] | 303 | 0 | 1536 | +| +| __gap | uint256[50] | 351 | 0 | 1600 | +╰--------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╯ ## BridgedERC20 -╭-----------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| _balances | mapping(address => uint256) | 251 | 0 | 32 | +| _balances | mapping(address => uint256) | 251 | 0 | 32 | | -| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | +| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | | -| _totalSupply | uint256 | 253 | 0 | 32 | +| _totalSupply | uint256 | 253 | 0 | 32 | | -| _name | string | 254 | 0 | 32 | +| _name | string | 254 | 0 | 32 | | -| _symbol | string | 255 | 0 | 32 | +| _symbol | string | 255 | 0 | 32 | | -| __gap | uint256[45] | 256 | 0 | 1440 | +| __gap | uint256[45] | 256 | 0 | 1440 | | -| srcToken | address | 301 | 0 | 20 | +| srcToken | address | 301 | 0 | 20 | | -| __srcDecimals | uint8 | 301 | 20 | 1 | +| __srcDecimals | uint8 | 301 | 20 | 1 | | -| srcChainId | uint256 | 302 | 0 | 32 | +| srcChainId | uint256 | 302 | 0 | 32 | | -| migratingAddress | address | 303 | 0 | 20 | +| migratingAddress | address | 303 | 0 | 20 | | -| migratingInbound | bool | 303 | 20 | 1 | +| migratingInbound | bool | 303 | 20 | 1 | | -| __gap | uint256[47] | 304 | 0 | 1504 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ +| __gap | uint256[47] | 304 | 0 | 1504 | +╰------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ ## BridgedERC20V2 -╭-----------------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+==============================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| _balances | mapping(address => uint256) | 251 | 0 | 32 | +| _balances | mapping(address => uint256) | 251 | 0 | 32 | | -| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | +| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | | -| _totalSupply | uint256 | 253 | 0 | 32 | +| _totalSupply | uint256 | 253 | 0 | 32 | | -| _name | string | 254 | 0 | 32 | +| _name | string | 254 | 0 | 32 | | -| _symbol | string | 255 | 0 | 32 | +| _symbol | string | 255 | 0 | 32 | | -| __gap | uint256[45] | 256 | 0 | 1440 | +| __gap | uint256[45] | 256 | 0 | 1440 | | -| srcToken | address | 301 | 0 | 20 | +| srcToken | address | 301 | 0 | 20 | | -| __srcDecimals | uint8 | 301 | 20 | 1 | +| __srcDecimals | uint8 | 301 | 20 | 1 | | -| srcChainId | uint256 | 302 | 0 | 32 | +| srcChainId | uint256 | 302 | 0 | 32 | | -| migratingAddress | address | 303 | 0 | 20 | +| migratingAddress | address | 303 | 0 | 20 | | -| migratingInbound | bool | 303 | 20 | 1 | +| migratingInbound | bool | 303 | 20 | 1 | | -| __gap | uint256[47] | 304 | 0 | 1504 | +| __gap | uint256[47] | 304 | 0 | 1504 | | -| _hashedName | bytes32 | 351 | 0 | 32 | +| _hashedName | bytes32 | 351 | 0 | 32 | | -| _hashedVersion | bytes32 | 352 | 0 | 32 | +| _hashedVersion | bytes32 | 352 | 0 | 32 | | -| _name | string | 353 | 0 | 32 | +| _name | string | 353 | 0 | 32 | | -| _version | string | 354 | 0 | 32 | +| _version | string | 354 | 0 | 32 | | -| __gap | uint256[48] | 355 | 0 | 1536 | +| __gap | uint256[48] | 355 | 0 | 1536 | | -| _nonces | mapping(address => struct CountersUpgradeable.Counter) | 403 | 0 | 32 | +| _nonces | mapping(address => struct CountersUpgradeable.Counter) | 403 | 0 | 32 | | -| __gap | uint256[49] | 404 | 0 | 1568 | -╰-----------------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ +| __gap | uint256[49] | 404 | 0 | 1568 | +╰------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ ## BridgedERC721 -╭-----------------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+==================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| _name | string | 301 | 0 | 32 | +| _name | string | 301 | 0 | 32 | | -| _symbol | string | 302 | 0 | 32 | +| _symbol | string | 302 | 0 | 32 | | -| _owners | mapping(uint256 => address) | 303 | 0 | 32 | +| _owners | mapping(uint256 => address) | 303 | 0 | 32 | | -| _balances | mapping(address => uint256) | 304 | 0 | 32 | +| _balances | mapping(address => uint256) | 304 | 0 | 32 | | -| _tokenApprovals | mapping(uint256 => address) | 305 | 0 | 32 | +| _tokenApprovals | mapping(uint256 => address) | 305 | 0 | 32 | | -| _operatorApprovals | mapping(address => mapping(address => bool)) | 306 | 0 | 32 | +| _operatorApprovals | mapping(address => mapping(address => bool)) | 306 | 0 | 32 | | -| __gap | uint256[44] | 307 | 0 | 1408 | +| __gap | uint256[44] | 307 | 0 | 1408 | | -| srcToken | address | 351 | 0 | 20 | +| srcToken | address | 351 | 0 | 20 | | -| srcChainId | uint256 | 352 | 0 | 32 | +| srcChainId | uint256 | 352 | 0 | 32 | | -| __gap | uint256[48] | 353 | 0 | 1536 | -╰-----------------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╯ +| __gap | uint256[48] | 353 | 0 | 1536 | +╰--------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╯ ## BridgedERC1155 -╭-----------------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=======================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| _balances | mapping(uint256 => mapping(address => uint256)) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| _operatorApprovals | mapping(address => mapping(address => bool)) | 302 | 0 | 32 | +| _balances | mapping(uint256 => mapping(address => uint256)) | 301 | 0 | 32 | | -| _uri | string | 303 | 0 | 32 | +| _operatorApprovals | mapping(address => mapping(address => bool)) | 302 | 0 | 32 | | -| __gap | uint256[47] | 304 | 0 | 1504 | +| _uri | string | 303 | 0 | 32 | | -| srcToken | address | 351 | 0 | 20 | +| __gap | uint256[47] | 304 | 0 | 1504 | | -| srcChainId | uint256 | 352 | 0 | 32 | +| srcToken | address | 351 | 0 | 20 | | -| symbol | string | 353 | 0 | 32 | +| srcChainId | uint256 | 352 | 0 | 32 | | -| name | string | 354 | 0 | 32 | +| symbol | string | 353 | 0 | 32 | | -| __gap | uint256[46] | 355 | 0 | 1472 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ +| name | string | 354 | 0 | 32 | +| +| __gap | uint256[46] | 355 | 0 | 1472 | +╰--------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ ## Bridge -╭-----------------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===========================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __reserved1 | uint64 | 251 | 0 | 8 | +| __reserved1 | uint64 | 251 | 0 | 8 | | -| nextMessageId | uint64 | 251 | 8 | 8 | +| nextMessageId | uint64 | 251 | 8 | 8 | | -| messageStatus | mapping(bytes32 => enum IBridge.Status) | 252 | 0 | 32 | +| messageStatus | mapping(bytes32 => enum IBridge.Status) | 252 | 0 | 32 | | -| __ctx | struct IBridge.Context | 253 | 0 | 64 | +| __ctx | struct IBridge.Context | 253 | 0 | 64 | | -| __reserved2 | uint256 | 255 | 0 | 32 | +| __reserved2 | uint256 | 255 | 0 | 32 | | -| __reserved3 | uint256 | 256 | 0 | 32 | +| __reserved3 | uint256 | 256 | 0 | 32 | | -| __gap | uint256[44] | 257 | 0 | 1408 | -╰-----------------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╯ +| __gap | uint256[44] | 257 | 0 | 1408 | +╰------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╯ ## QuotaManager -╭-----------------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=============================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| tokenQuota | mapping(address => struct QuotaManager.Quota) | 251 | 0 | 32 | +| tokenQuota | mapping(address => struct QuotaManager.Quota) | 251 | 0 | 32 | | -| quotaPeriod | uint24 | 252 | 0 | 3 | +| quotaPeriod | uint24 | 252 | 0 | 3 | | -| __gap | uint256[48] | 253 | 0 | 1536 | -╰-----------------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╯ +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╯ -## DefaultResolver +## AddressManager -╭-----------------------------+-------------------------------------------------+------+--------+-------+-------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=====================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __resolver | address | 151 | 0 | 20 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __paused | uint8 | 201 | 1 | 1 | +| __addresses | mapping(uint256 => mapping(bytes32 => address)) | 251 | 0 | 32 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ + + +## AddressResolver + +╭----------------+-------------+------+--------+-------+-------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++====================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| __addresses | mapping(uint256 => mapping(bytes32 => address)) | 251 | 0 | 32 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[49] | 252 | 0 | 1568 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+-------------------------------------------------------------╯ +| addressManager | address | 0 | 2 | 20 | +| +| __gap | uint256[49] | 1 | 0 | 1568 | +╰----------------+-------------+------+--------+-------+-------------------------------------------------------------╯ ## EssentialContract -╭-----------------------------+-------------+------+--------+-------+-----------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=====================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------+------+--------+-------+-----------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==========================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | -╰-----------------------------+-------------+------+--------+-------+-----------------------------------------------------------------╯ +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +╰------------------+-------------+------+--------+-------+-----------------------------------------------------------------╯ ## SignalService -╭-----------------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===============================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++====================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| topBlockId | mapping(uint64 => mapping(bytes32 => uint64)) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| isAuthorized | mapping(address => bool) | 252 | 0 | 32 | +| topBlockId | mapping(uint64 => mapping(bytes32 => uint64)) | 251 | 0 | 32 | | -| _receivedSignals | mapping(bytes32 => bool) | 253 | 0 | 32 | +| isAuthorized | mapping(address => bool) | 252 | 0 | 32 | | -| __gap | uint256[47] | 254 | 0 | 1504 | -╰-----------------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╯ +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╯ ## TaikoToken @@ -563,14 +598,16 @@ | | __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | | __reentry | uint8 | 201 | 0 | 1 | | | __paused | uint8 | 201 | 1 | 1 | | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| | __gap | uint256[49] | 202 | 0 | 1568 | | | __slots_previously_used_by_ERC20SnapshotUpgradeable | uint256[50] | 251 | 0 | 1600 | @@ -615,596 +652,1214 @@ ╰-----------------------------------------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------╯ -## SgxAndZkVerifier +## ComposeVerifier + +╭------------------+-------------+------+--------+-------+------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __gap | uint256[50] | 251 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+------------------------------------------------------------------------╯ + + +## TeeAnyVerifier -╭-----------------------------+-------------+------+--------+-------+--------------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+==============================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------+------+--------+-------+----------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| __gap | uint256[50] | 301 | 0 | 1600 | -╰-----------------------------+-------------+------+--------+-------+--------------------------------------------------------------------------╯ +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+----------------------------------------------------------------------╯ + + +## ZkAndTeeVerifier + +╭------------------+-------------+------+--------+-------+--------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __gap | uint256[50] | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+--------------------------------------------------------------------------╯ + + +## ZkAnyVerifier + +╭------------------+-------------+------+--------+-------+--------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=============================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __gap | uint256[50] | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+--------------------------------------------------------------------╯ ## Risc0Verifier -╭-----------------------------+--------------------------+------+--------+-------+------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=============================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+--------------------------+------+--------+-------+------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| isImageTrusted | mapping(bytes32 => bool) | 251 | 0 | 32 | +| isImageTrusted | mapping(bytes32 => bool) | 251 | 0 | 32 | | -| __gap | uint256[49] | 252 | 0 | 1568 | -╰-----------------------------+--------------------------+------+--------+-------+------------------------------------------------------------╯ +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+--------------------------+------+--------+-------+------------------------------------------------------------╯ ## SP1Verifier -╭-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=========================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+--------------------------+------+--------+-------+--------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==============================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| isProgramTrusted | mapping(bytes32 => bool) | 251 | 0 | 32 | +| isProgramTrusted | mapping(bytes32 => bool) | 251 | 0 | 32 | | -| __gap | uint256[49] | 252 | 0 | 1568 | -╰-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------------╯ +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+--------------------------+------+--------+-------+--------------------------------------------------------╯ ## SgxVerifier -╭-----------------------------+-------------------------------------------------+------+--------+-------+--------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭-------------------+-------------------------------------------------+------+--------+-------+--------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++======================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| nextInstanceId | uint256 | 251 | 0 | 32 | +| nextInstanceId | uint256 | 251 | 0 | 32 | | -| instances | mapping(uint256 => struct SgxVerifier.Instance) | 252 | 0 | 32 | +| instances | mapping(uint256 => struct SgxVerifier.Instance) | 252 | 0 | 32 | | -| addressRegistered | mapping(address => bool) | 253 | 0 | 32 | +| addressRegistered | mapping(address => bool) | 253 | 0 | 32 | | -| __gap | uint256[47] | 254 | 0 | 1504 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+--------------------------------------------------------╯ +| __gap | uint256[47] | 254 | 0 | 1504 | +╰-------------------+-------------------------------------------------+------+--------+-------+--------------------------------------------------------╯ ## AutomataDcapV3Attestation -╭-----------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=======================================================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭-------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===================================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| sigVerifyLib | contract ISigVerifyLib | 251 | 0 | 20 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| pemCertLib | contract IPEMCertChainLib | 252 | 0 | 20 | +| sigVerifyLib | contract ISigVerifyLib | 251 | 0 | 20 | | -| checkLocalEnclaveReport | bool | 252 | 20 | 1 | +| pemCertLib | contract IPEMCertChainLib | 252 | 0 | 20 | | -| trustedUserMrEnclave | mapping(bytes32 => bool) | 253 | 0 | 32 | +| checkLocalEnclaveReport | bool | 252 | 20 | 1 | | -| trustedUserMrSigner | mapping(bytes32 => bool) | 254 | 0 | 32 | +| trustedUserMrEnclave | mapping(bytes32 => bool) | 253 | 0 | 32 | | -| serialNumIsRevoked | mapping(uint256 => mapping(bytes => bool)) | 255 | 0 | 32 | +| trustedUserMrSigner | mapping(bytes32 => bool) | 254 | 0 | 32 | | -| tcbInfo | mapping(string => struct TCBInfoStruct.TCBInfo) | 256 | 0 | 32 | +| serialNumIsRevoked | mapping(uint256 => mapping(bytes => bool)) | 255 | 0 | 32 | | -| qeIdentity | struct EnclaveIdStruct.EnclaveId | 257 | 0 | 128 | +| tcbInfo | mapping(string => struct TCBInfoStruct.TCBInfo) | 256 | 0 | 32 | | -| __gap | uint256[39] | 261 | 0 | 1248 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------------------------------------------╯ +| qeIdentity | struct EnclaveIdStruct.EnclaveId | 257 | 0 | 128 | +| +| __gap | uint256[39] | 261 | 0 | 1248 | +╰-------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------------------------------------------╯ -## TaikoInbox +## TaikoL1 -╭-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+------------------------+------+--------+-------+--------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| state | struct ITaikoInbox.State | 251 | 0 | 1600 | -╰-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------╯ +| state | struct TaikoData.State | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+------------------------+------+--------+-------+--------------------------------------------╯ -## HeklaInbox +## HeklaTaikoL1 -╭-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+------------------------+------+--------+-------+------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==========================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| state | struct ITaikoInbox.State | 251 | 0 | 1600 | -╰-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------╯ +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| state | struct TaikoData.State | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+------------------------+------+--------+-------+------------------------------------------------------╯ + + +## HeklaTierRouter + +╭------+------+------+--------+-------+----------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================+ +╰------+------+------+--------+-------+----------╯ ## MainnetBridge -╭-----------------------------+-----------------------------------------+------+--------+-------+----------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+======================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------+------+--------+-------+----------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __reserved1 | uint64 | 251 | 0 | 8 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| nextMessageId | uint64 | 251 | 8 | 8 | +| __reserved1 | uint64 | 251 | 0 | 8 | | -| messageStatus | mapping(bytes32 => enum IBridge.Status) | 252 | 0 | 32 | +| nextMessageId | uint64 | 251 | 8 | 8 | | -| __ctx | struct IBridge.Context | 253 | 0 | 64 | +| messageStatus | mapping(bytes32 => enum IBridge.Status) | 252 | 0 | 32 | | -| __reserved2 | uint256 | 255 | 0 | 32 | +| __ctx | struct IBridge.Context | 253 | 0 | 64 | | -| __reserved3 | uint256 | 256 | 0 | 32 | +| __reserved2 | uint256 | 255 | 0 | 32 | | -| __gap | uint256[44] | 257 | 0 | 1408 | -╰-----------------------------+-----------------------------------------+------+--------+-------+----------------------------------------------------------------------╯ +| __reserved3 | uint256 | 256 | 0 | 32 | +| +| __gap | uint256[44] | 257 | 0 | 1408 | +╰------------------+-----------------------------------------+------+--------+-------+----------------------------------------------------------------------╯ ## MainnetSignalService -╭-----------------------------+-----------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+==========================================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| topBlockId | mapping(uint64 => mapping(bytes32 => uint64)) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| isAuthorized | mapping(address => bool) | 252 | 0 | 32 | +| topBlockId | mapping(uint64 => mapping(bytes32 => uint64)) | 251 | 0 | 32 | | -| _receivedSignals | mapping(bytes32 => bool) | 253 | 0 | 32 | +| isAuthorized | mapping(address => bool) | 252 | 0 | 32 | | -| __gap | uint256[47] | 254 | 0 | 1504 | -╰-----------------------------+-----------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------╯ +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+-----------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------╯ ## MainnetERC20Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===========================================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| bridgedToCanonical | mapping(address => struct ERC20Vault.CanonicalERC20) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct ERC20Vault.CanonicalERC20) | 301 | 0 | 32 | | -| btokenDenylist | mapping(address => bool) | 303 | 0 | 32 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| lastMigrationStart | mapping(uint256 => mapping(address => uint256)) | 304 | 0 | 32 | +| btokenDenylist | mapping(address => bool) | 303 | 0 | 32 | | -| solverConditionToSolver | mapping(bytes32 => address) | 305 | 0 | 32 | +| lastMigrationStart | mapping(uint256 => mapping(address => uint256)) | 304 | 0 | 32 | | -| __gap | uint256[45] | 306 | 0 | 1440 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------╯ +| __gap | uint256[46] | 305 | 0 | 1472 | +╰--------------------+------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------╯ ## MainnetERC1155Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===============================================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++======================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | | -| __gap | uint256[48] | 303 | 0 | 1536 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| __gap | uint256[50] | 351 | 0 | 1600 | +| __gap | uint256[48] | 303 | 0 | 1536 | | -| __gap | uint256[50] | 401 | 0 | 1600 | +| __gap | uint256[50] | 351 | 0 | 1600 | | -| __gap | uint256[50] | 451 | 0 | 1600 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------╯ +| __gap | uint256[50] | 401 | 0 | 1600 | +| +| __gap | uint256[50] | 451 | 0 | 1600 | +╰--------------------+------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------╯ ## MainnetERC721Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=============================================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++====================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __gap | uint256[50] | 251 | 0 | 1600 | +| +| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| +| __gap | uint256[48] | 303 | 0 | 1536 | +| +| __gap | uint256[50] | 351 | 0 | 1600 | +╰--------------------+------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------╯ + + +## MainnetSharedAddressManager + +╭------------------+-------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __addresses | mapping(uint256 => mapping(bytes32 => address)) | 251 | 0 | 32 | +| +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+-------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------------------╯ + + +## RollupAddressCache + +╭------+------+------+--------+-------+----------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================+ +╰------+------+------+--------+-------+----------╯ + + +## SharedAddressCache + +╭------+------+------+--------+-------+----------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================+ +╰------+------+------+--------+-------+----------╯ + + +## AddressCache + +╭------+------+------+--------+-------+----------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================+ +╰------+------+------+--------+-------+----------╯ + + +## MainnetSgxVerifier + +╭-------------------+-------------------------------------------------+------+--------+-------+-------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| nextInstanceId | uint256 | 251 | 0 | 32 | | -| _pendingOwner | address | 101 | 0 | 20 | +| instances | mapping(uint256 => struct SgxVerifier.Instance) | 252 | 0 | 32 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressRegistered | mapping(address => bool) | 253 | 0 | 32 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[47] | 254 | 0 | 1504 | +╰-------------------+-------------------------------------------------+------+--------+-------+-------------------------------------------------------------------------------------╯ + + +## MainnetSP1Verifier + +╭------------------+--------------------------+------+--------+-------+-------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| _owner | address | 51 | 0 | 20 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __paused | uint8 | 201 | 1 | 1 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| addressManager | address | 151 | 0 | 20 | | -| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __gap | uint256[48] | 303 | 0 | 1536 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[50] | 351 | 0 | 1600 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------╯ +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| isProgramTrusted | mapping(bytes32 => bool) | 251 | 0 | 32 | +| +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+--------------------------+------+--------+-------+-------------------------------------------------------------------------------------╯ -## MainnetInbox +## MainnetZkAnyVerifier -╭-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=========================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------+------+--------+-------+-----------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _initializing | bool | 0 | 1 | 1 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _owner | address | 51 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __paused | uint8 | 201 | 1 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __paused | uint8 | 201 | 1 | 1 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| state | struct ITaikoInbox.State | 251 | 0 | 1600 | -╰-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------------╯ +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+-----------------------------------------------------------------------------------------╯ + + +## MainnetRisc0Verifier + +╭------------------+--------------------------+------+--------+-------+-----------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| isImageTrusted | mapping(bytes32 => bool) | 251 | 0 | 32 | +| +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+--------------------------+------+--------+-------+-----------------------------------------------------------------------------------------╯ + + +## MainnetZkAndTeeVerifier + +╭------------------+-------------+------+--------+-------+-----------------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __gap | uint256[50] | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+-----------------------------------------------------------------------------------------------╯ + + +## MainnetTeeAnyVerifier + +╭------------------+-------------+------+--------+-------+-------------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++====================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __gap | uint256[50] | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+-------------+------+--------+-------+-------------------------------------------------------------------------------------------╯ + + +## MainnetGuardianProver + +╭-------------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=====================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| guardianIds | mapping(address => uint256) | 251 | 0 | 32 | +| +| approvals | mapping(uint256 => mapping(bytes32 => uint256)) | 252 | 0 | 32 | +| +| guardians | address[] | 253 | 0 | 32 | +| +| version | uint32 | 254 | 0 | 4 | +| +| minGuardians | uint32 | 254 | 4 | 4 | +| +| provingAutoPauseEnabled | bool | 254 | 8 | 1 | +| +| latestProofHash | mapping(uint256 => mapping(uint256 => bytes32)) | 255 | 0 | 32 | +| +| __gap | uint256[45] | 256 | 0 | 1440 | +╰-------------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------------------------╯ + + +## MainnetTaikoL1 + +╭------------------+------------------------+------+--------+-------+-------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=======================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| state | struct TaikoData.State | 251 | 0 | 1600 | +| +| __gap | uint256[50] | 301 | 0 | 1600 | +╰------------------+------------------------+------+--------+-------+-------------------------------------------------------------------╯ + + +## MainnetRollupAddressManager + +╭------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==========================================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __addresses | mapping(uint256 => mapping(bytes32 => address)) | 251 | 0 | 32 | +| +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------------------------------------╯ + + +## MainnetTierRouter + +╭------+------+------+--------+-------+----------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================+ +╰------+------+------+--------+-------+----------╯ + + +## MainnetProverSet + +╭------------------+--------------------------+------+--------+-------+-----------------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=============================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| isProver | mapping(address => bool) | 251 | 0 | 32 | +| +| admin | address | 252 | 0 | 20 | +| +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+--------------------------+------+--------+-------+-----------------------------------------------------------------------╯ ## TokenUnlock -╭-----------------------------+--------------------------+------+--------+-------+---------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+====================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+--------------------------+------+--------+-------+---------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=====================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| amountVested | uint256 | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| recipient | address | 252 | 0 | 20 | +| amountVested | uint256 | 251 | 0 | 32 | | -| tgeTimestamp | uint64 | 252 | 20 | 8 | +| recipient | address | 252 | 0 | 20 | | -| isProverSet | mapping(address => bool) | 253 | 0 | 32 | +| tgeTimestamp | uint64 | 252 | 20 | 8 | | -| __gap | uint256[47] | 254 | 0 | 1504 | -╰-----------------------------+--------------------------+------+--------+-------+---------------------------------------------------╯ +| isProverSet | mapping(address => bool) | 253 | 0 | 32 | +| +| __gap | uint256[47] | 254 | 0 | 1504 | +╰------------------+--------------------------+------+--------+-------+---------------------------------------------------------------╯ ## ProverSet -╭-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+--------------------------+------+--------+-------+--------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++========================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| isProver | mapping(address => bool) | 251 | 0 | 32 | +| +| admin | address | 252 | 0 | 20 | +| +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+--------------------------+------+--------+-------+--------------------------------------------------╯ + + +## GuardianProver + +╭-------------------------+-------------------------------------------------+------+--------+-------+------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | | -| _initializing | bool | 0 | 1 | 1 | +| addressManager | address | 151 | 0 | 20 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| _owner | address | 51 | 0 | 20 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __paused | uint8 | 201 | 1 | 1 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| guardianIds | mapping(address => uint256) | 251 | 0 | 32 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| approvals | mapping(uint256 => mapping(bytes32 => uint256)) | 252 | 0 | 32 | | -| __reentry | uint8 | 201 | 0 | 1 | +| guardians | address[] | 253 | 0 | 32 | | -| __paused | uint8 | 201 | 1 | 1 | +| version | uint32 | 254 | 0 | 4 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| minGuardians | uint32 | 254 | 4 | 4 | | -| isProver | mapping(address => bool) | 251 | 0 | 32 | +| provingAutoPauseEnabled | bool | 254 | 8 | 1 | | -| admin | address | 252 | 0 | 20 | +| latestProofHash | mapping(uint256 => mapping(uint256 => bytes32)) | 255 | 0 | 32 | | -| __gap | uint256[48] | 253 | 0 | 1536 | -╰-----------------------------+--------------------------+------+--------+-------+--------------------------------------------------╯ +| __gap | uint256[45] | 256 | 0 | 1440 | +╰-------------------------+-------------------------------------------------+------+--------+-------+------------------------------------------------------------╯ -## ForkRouter +## ForkManager -╭---------------+-------------+------+--------+-------+--------------------------------------------------╮ +╭---------------+-------------+------+--------+-------+---------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | -+========================================================================================================+ ++=========================================================================================================+ | _initialized | uint8 | 0 | 0 | 1 | | | _initializing | bool | 0 | 1 | 1 | @@ -1218,6 +1873,6 @@ | _pendingOwner | address | 101 | 0 | 20 | | | __gap | uint256[49] | 102 | 0 | 1568 | -╰---------------+-------------+------+--------+-------+--------------------------------------------------╯ +╰---------------+-------------+------+--------+-------+---------------------------------------------------╯ diff --git a/packages/protocol/contract_layout_layer2.md b/packages/protocol/contract_layout_layer2.md index 13c68295ee0..fd6476114df 100644 --- a/packages/protocol/contract_layout_layer2.md +++ b/packages/protocol/contract_layout_layer2.md @@ -1,547 +1,582 @@ ## ERC1155Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+========================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| __gap | uint256[48] | 303 | 0 | 1536 | +| __gap | uint256[48] | 303 | 0 | 1536 | | -| __gap | uint256[50] | 351 | 0 | 1600 | +| __gap | uint256[50] | 351 | 0 | 1600 | | -| __gap | uint256[50] | 401 | 0 | 1600 | +| __gap | uint256[50] | 401 | 0 | 1600 | | -| __gap | uint256[50] | 451 | 0 | 1600 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ +| __gap | uint256[50] | 451 | 0 | 1600 | +╰--------------------+------------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ ## ERC20Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+====================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| bridgedToCanonical | mapping(address => struct ERC20Vault.CanonicalERC20) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct ERC20Vault.CanonicalERC20) | 301 | 0 | 32 | | -| btokenDenylist | mapping(address => bool) | 303 | 0 | 32 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| lastMigrationStart | mapping(uint256 => mapping(address => uint256)) | 304 | 0 | 32 | +| btokenDenylist | mapping(address => bool) | 303 | 0 | 32 | | -| solverConditionToSolver | mapping(bytes32 => address) | 305 | 0 | 32 | +| lastMigrationStart | mapping(uint256 => mapping(address => uint256)) | 304 | 0 | 32 | | -| __gap | uint256[45] | 306 | 0 | 1440 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╯ +| __gap | uint256[46] | 305 | 0 | 1472 | +╰--------------------+------------------------------------------------------+------+--------+-------+-------------------------------------------------------╯ ## ERC721Vault -╭-----------------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+======================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | +| bridgedToCanonical | mapping(address => struct BaseNFTVault.CanonicalNFT) | 301 | 0 | 32 | | -| __gap | uint256[48] | 303 | 0 | 1536 | +| canonicalToBridged | mapping(uint256 => mapping(address => address)) | 302 | 0 | 32 | | -| __gap | uint256[50] | 351 | 0 | 1600 | -╰-----------------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╯ +| __gap | uint256[48] | 303 | 0 | 1536 | +| +| __gap | uint256[50] | 351 | 0 | 1600 | +╰--------------------+------------------------------------------------------+------+--------+-------+---------------------------------------------------------╯ ## BridgedERC20 -╭-----------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| _balances | mapping(address => uint256) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | +| _balances | mapping(address => uint256) | 251 | 0 | 32 | | -| _totalSupply | uint256 | 253 | 0 | 32 | +| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | | -| _name | string | 254 | 0 | 32 | +| _totalSupply | uint256 | 253 | 0 | 32 | | -| _symbol | string | 255 | 0 | 32 | +| _name | string | 254 | 0 | 32 | | -| __gap | uint256[45] | 256 | 0 | 1440 | +| _symbol | string | 255 | 0 | 32 | | -| srcToken | address | 301 | 0 | 20 | +| __gap | uint256[45] | 256 | 0 | 1440 | | -| __srcDecimals | uint8 | 301 | 20 | 1 | +| srcToken | address | 301 | 0 | 20 | | -| srcChainId | uint256 | 302 | 0 | 32 | +| __srcDecimals | uint8 | 301 | 20 | 1 | | -| migratingAddress | address | 303 | 0 | 20 | +| srcChainId | uint256 | 302 | 0 | 32 | | -| migratingInbound | bool | 303 | 20 | 1 | +| migratingAddress | address | 303 | 0 | 20 | | -| __gap | uint256[47] | 304 | 0 | 1504 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ +| migratingInbound | bool | 303 | 20 | 1 | +| +| __gap | uint256[47] | 304 | 0 | 1504 | +╰------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ ## BridgedERC20V2 -╭-----------------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+==============================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===================================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| _balances | mapping(address => uint256) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | +| _balances | mapping(address => uint256) | 251 | 0 | 32 | | -| _totalSupply | uint256 | 253 | 0 | 32 | +| _allowances | mapping(address => mapping(address => uint256)) | 252 | 0 | 32 | | -| _name | string | 254 | 0 | 32 | +| _totalSupply | uint256 | 253 | 0 | 32 | | -| _symbol | string | 255 | 0 | 32 | +| _name | string | 254 | 0 | 32 | | -| __gap | uint256[45] | 256 | 0 | 1440 | +| _symbol | string | 255 | 0 | 32 | | -| srcToken | address | 301 | 0 | 20 | +| __gap | uint256[45] | 256 | 0 | 1440 | | -| __srcDecimals | uint8 | 301 | 20 | 1 | +| srcToken | address | 301 | 0 | 20 | | -| srcChainId | uint256 | 302 | 0 | 32 | +| __srcDecimals | uint8 | 301 | 20 | 1 | | -| migratingAddress | address | 303 | 0 | 20 | +| srcChainId | uint256 | 302 | 0 | 32 | | -| migratingInbound | bool | 303 | 20 | 1 | +| migratingAddress | address | 303 | 0 | 20 | | -| __gap | uint256[47] | 304 | 0 | 1504 | +| migratingInbound | bool | 303 | 20 | 1 | | -| _hashedName | bytes32 | 351 | 0 | 32 | +| __gap | uint256[47] | 304 | 0 | 1504 | | -| _hashedVersion | bytes32 | 352 | 0 | 32 | +| _hashedName | bytes32 | 351 | 0 | 32 | | -| _name | string | 353 | 0 | 32 | +| _hashedVersion | bytes32 | 352 | 0 | 32 | | -| _version | string | 354 | 0 | 32 | +| _name | string | 353 | 0 | 32 | | -| __gap | uint256[48] | 355 | 0 | 1536 | +| _version | string | 354 | 0 | 32 | | -| _nonces | mapping(address => struct CountersUpgradeable.Counter) | 403 | 0 | 32 | +| __gap | uint256[48] | 355 | 0 | 1536 | | -| __gap | uint256[49] | 404 | 0 | 1568 | -╰-----------------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ +| _nonces | mapping(address => struct CountersUpgradeable.Counter) | 403 | 0 | 32 | +| +| __gap | uint256[49] | 404 | 0 | 1568 | +╰------------------+--------------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ ## BridgedERC721 -╭-----------------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+==================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| _name | string | 301 | 0 | 32 | +| _name | string | 301 | 0 | 32 | | -| _symbol | string | 302 | 0 | 32 | +| _symbol | string | 302 | 0 | 32 | | -| _owners | mapping(uint256 => address) | 303 | 0 | 32 | +| _owners | mapping(uint256 => address) | 303 | 0 | 32 | | -| _balances | mapping(address => uint256) | 304 | 0 | 32 | +| _balances | mapping(address => uint256) | 304 | 0 | 32 | | -| _tokenApprovals | mapping(uint256 => address) | 305 | 0 | 32 | +| _tokenApprovals | mapping(uint256 => address) | 305 | 0 | 32 | | -| _operatorApprovals | mapping(address => mapping(address => bool)) | 306 | 0 | 32 | +| _operatorApprovals | mapping(address => mapping(address => bool)) | 306 | 0 | 32 | | -| __gap | uint256[44] | 307 | 0 | 1408 | +| __gap | uint256[44] | 307 | 0 | 1408 | | -| srcToken | address | 351 | 0 | 20 | +| srcToken | address | 351 | 0 | 20 | | -| srcChainId | uint256 | 352 | 0 | 32 | +| srcChainId | uint256 | 352 | 0 | 32 | | -| __gap | uint256[48] | 353 | 0 | 1536 | -╰-----------------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╯ +| __gap | uint256[48] | 353 | 0 | 1536 | +╰--------------------+----------------------------------------------+------+--------+-------+-------------------------------------------------------------╯ ## BridgedERC1155 -╭-----------------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=======================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭--------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==============================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[50] | 251 | 0 | 1600 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| _balances | mapping(uint256 => mapping(address => uint256)) | 301 | 0 | 32 | +| __gap | uint256[50] | 251 | 0 | 1600 | | -| _operatorApprovals | mapping(address => mapping(address => bool)) | 302 | 0 | 32 | +| _balances | mapping(uint256 => mapping(address => uint256)) | 301 | 0 | 32 | | -| _uri | string | 303 | 0 | 32 | +| _operatorApprovals | mapping(address => mapping(address => bool)) | 302 | 0 | 32 | | -| __gap | uint256[47] | 304 | 0 | 1504 | +| _uri | string | 303 | 0 | 32 | | -| srcToken | address | 351 | 0 | 20 | +| __gap | uint256[47] | 304 | 0 | 1504 | | -| srcChainId | uint256 | 352 | 0 | 32 | +| srcToken | address | 351 | 0 | 20 | | -| symbol | string | 353 | 0 | 32 | +| srcChainId | uint256 | 352 | 0 | 32 | | -| name | string | 354 | 0 | 32 | +| symbol | string | 353 | 0 | 32 | | -| __gap | uint256[46] | 355 | 0 | 1472 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ +| name | string | 354 | 0 | 32 | +| +| __gap | uint256[46] | 355 | 0 | 1472 | +╰--------------------+-------------------------------------------------+------+--------+-------+---------------------------------------------------------------╯ ## Bridge -╭-----------------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===========================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| __reserved1 | uint64 | 251 | 0 | 8 | +| __reserved1 | uint64 | 251 | 0 | 8 | | -| nextMessageId | uint64 | 251 | 8 | 8 | +| nextMessageId | uint64 | 251 | 8 | 8 | | -| messageStatus | mapping(bytes32 => enum IBridge.Status) | 252 | 0 | 32 | +| messageStatus | mapping(bytes32 => enum IBridge.Status) | 252 | 0 | 32 | | -| __ctx | struct IBridge.Context | 253 | 0 | 64 | +| __ctx | struct IBridge.Context | 253 | 0 | 64 | | -| __reserved2 | uint256 | 255 | 0 | 32 | +| __reserved2 | uint256 | 255 | 0 | 32 | | -| __reserved3 | uint256 | 256 | 0 | 32 | +| __reserved3 | uint256 | 256 | 0 | 32 | | -| __gap | uint256[44] | 257 | 0 | 1408 | -╰-----------------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╯ +| __gap | uint256[44] | 257 | 0 | 1408 | +╰------------------+-----------------------------------------+------+--------+-------+-------------------------------------------╯ ## QuotaManager -╭-----------------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=============================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| tokenQuota | mapping(address => struct QuotaManager.Quota) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| quotaPeriod | uint24 | 252 | 0 | 3 | +| tokenQuota | mapping(address => struct QuotaManager.Quota) | 251 | 0 | 32 | | -| __gap | uint256[48] | 253 | 0 | 1536 | -╰-----------------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╯ +| quotaPeriod | uint24 | 252 | 0 | 3 | +| +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+-----------------------------------------------+------+--------+-------+-------------------------------------------------------╯ -## DefaultResolver +## AddressManager -╭-----------------------------+-------------------------------------------------+------+--------+-------+-------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=====================================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++========================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| __addresses | mapping(uint256 => mapping(bytes32 => address)) | 251 | 0 | 32 | +| +| __gap | uint256[49] | 252 | 0 | 1568 | +╰------------------+-------------------------------------------------+------+--------+-------+-----------------------------------------------------------╯ + + +## AddressResolver + +╭----------------+-------------+------+--------+-------+-------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++====================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| _initializing | bool | 0 | 1 | 1 | | -| __addresses | mapping(uint256 => mapping(bytes32 => address)) | 251 | 0 | 32 | +| addressManager | address | 0 | 2 | 20 | | -| __gap | uint256[49] | 252 | 0 | 1568 | -╰-----------------------------+-------------------------------------------------+------+--------+-------+-------------------------------------------------------------╯ +| __gap | uint256[49] | 1 | 0 | 1568 | +╰----------------+-------------+------+--------+-------+-------------------------------------------------------------╯ ## EssentialContract -╭-----------------------------+-------------+------+--------+-------+-----------------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+=====================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------+------+--------+-------+-----------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++==========================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | -╰-----------------------------+-------------+------+--------+-------+-----------------------------------------------------------------╯ +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +╰------------------+-------------+------+--------+-------+-----------------------------------------------------------------╯ ## SignalService -╭-----------------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+===============================================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++====================================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| topBlockId | mapping(uint64 => mapping(bytes32 => uint64)) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| isAuthorized | mapping(address => bool) | 252 | 0 | 32 | +| topBlockId | mapping(uint64 => mapping(bytes32 => uint64)) | 251 | 0 | 32 | | -| _receivedSignals | mapping(bytes32 => bool) | 253 | 0 | 32 | +| isAuthorized | mapping(address => bool) | 252 | 0 | 32 | | -| __gap | uint256[47] | 254 | 0 | 1504 | -╰-----------------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╯ +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+-----------------------------------------------+------+--------+-------+---------------------------------------------------------╯ ## BridgedTaikoToken @@ -563,14 +598,16 @@ | | __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | | __reentry | uint8 | 201 | 0 | 1 | | | __paused | uint8 | 201 | 1 | 1 | | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| | __gap | uint256[49] | 202 | 0 | 1568 | | | __slots_previously_used_by_ERC20SnapshotUpgradeable | uint256[50] | 251 | 0 | 1600 | @@ -617,91 +654,191 @@ ## DelegateOwner -╭-----------------------------+-------------+------+--------+-------+--------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+======================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-------------+------+--------+-------+--------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===========================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| remoteChainId | uint64 | 251 | 0 | 8 | +| +| admin | address | 251 | 8 | 20 | +| +| nextTxId | uint64 | 252 | 0 | 8 | +| +| remoteOwner | address | 252 | 8 | 20 | +| +| __gap | uint256[48] | 253 | 0 | 1536 | +╰------------------+-------------+------+--------+-------+--------------------------------------------------╯ + + +## TaikoL2 + +╭------------------+-----------------------------+------+--------+-------+--------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=====================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | +| +| __gap | uint256[50] | 1 | 0 | 1600 | +| +| _owner | address | 51 | 0 | 20 | +| +| __gap | uint256[49] | 52 | 0 | 1568 | +| +| _pendingOwner | address | 101 | 0 | 20 | +| +| __gap | uint256[49] | 102 | 0 | 1568 | +| +| addressManager | address | 151 | 0 | 20 | +| +| __gap | uint256[49] | 152 | 0 | 1568 | +| +| __reentry | uint8 | 201 | 0 | 1 | +| +| __paused | uint8 | 201 | 1 | 1 | +| +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | +| +| __gap | uint256[49] | 202 | 0 | 1568 | +| +| _blockhashes | mapping(uint256 => bytes32) | 251 | 0 | 32 | +| +| publicInputHash | bytes32 | 252 | 0 | 32 | +| +| parentGasExcess | uint64 | 253 | 0 | 8 | +| +| lastSyncedBlock | uint64 | 253 | 8 | 8 | +| +| parentTimestamp | uint64 | 253 | 16 | 8 | +| +| parentGasTarget | uint64 | 253 | 24 | 8 | +| +| l1ChainId | uint64 | 254 | 0 | 8 | +| +| __gap | uint256[46] | 255 | 0 | 1472 | +╰------------------+-----------------------------+------+--------+-------+--------------------------------------------╯ + + +## HeklaTaikoL2 + +╭------------------+-----------------------------+------+--------+-------+------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++===============================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | +| +| _initializing | bool | 0 | 1 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| _owner | address | 51 | 0 | 20 | | -| _owner | address | 51 | 0 | 20 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| _pendingOwner | address | 101 | 0 | 20 | | -| _pendingOwner | address | 101 | 0 | 20 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| addressManager | address | 151 | 0 | 20 | | -| __resolver | address | 151 | 0 | 20 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| remoteChainId | uint64 | 251 | 0 | 8 | +| _blockhashes | mapping(uint256 => bytes32) | 251 | 0 | 32 | | -| admin | address | 251 | 8 | 20 | +| publicInputHash | bytes32 | 252 | 0 | 32 | | -| nextTxId | uint64 | 252 | 0 | 8 | +| parentGasExcess | uint64 | 253 | 0 | 8 | | -| remoteOwner | address | 252 | 8 | 20 | +| lastSyncedBlock | uint64 | 253 | 8 | 8 | | -| __gap | uint256[48] | 253 | 0 | 1536 | -╰-----------------------------+-------------+------+--------+-------+--------------------------------------------------╯ +| parentTimestamp | uint64 | 253 | 16 | 8 | +| +| parentGasTarget | uint64 | 253 | 24 | 8 | +| +| l1ChainId | uint64 | 254 | 0 | 8 | +| +| __gap | uint256[46] | 255 | 0 | 1472 | +╰------------------+-----------------------------+------+--------+-------+------------------------------------------------------╯ -## TaikoAnchor +## MainnetTaikoL2 -╭-----------------------------+-----------------------------+------+--------+-------+----------------------------------------------------╮ -| Name | Type | Slot | Offset | Bytes | -+========================================================================================================================================+ -| _initialized | uint8 | 0 | 0 | 1 | +╭------------------+-----------------------------+------+--------+-------+------------------------------------------------------------╮ +| Name | Type | Slot | Offset | Bytes | ++=====================================================================================================================================+ +| _initialized | uint8 | 0 | 0 | 1 | | -| _initializing | bool | 0 | 1 | 1 | +| _initializing | bool | 0 | 1 | 1 | | -| __gap | uint256[50] | 1 | 0 | 1600 | +| __gap | uint256[50] | 1 | 0 | 1600 | | -| _owner | address | 51 | 0 | 20 | +| _owner | address | 51 | 0 | 20 | | -| __gap | uint256[49] | 52 | 0 | 1568 | +| __gap | uint256[49] | 52 | 0 | 1568 | | -| _pendingOwner | address | 101 | 0 | 20 | +| _pendingOwner | address | 101 | 0 | 20 | | -| __gap | uint256[49] | 102 | 0 | 1568 | +| __gap | uint256[49] | 102 | 0 | 1568 | | -| __resolver | address | 151 | 0 | 20 | +| addressManager | address | 151 | 0 | 20 | | -| __gapFromOldAddressResolver | uint256[49] | 152 | 0 | 1568 | +| __gap | uint256[49] | 152 | 0 | 1568 | | -| __reentry | uint8 | 201 | 0 | 1 | +| __reentry | uint8 | 201 | 0 | 1 | | -| __paused | uint8 | 201 | 1 | 1 | +| __paused | uint8 | 201 | 1 | 1 | | -| __gap | uint256[49] | 202 | 0 | 1568 | +| __lastUnpausedAt | uint64 | 201 | 2 | 8 | | -| _blockhashes | mapping(uint256 => bytes32) | 251 | 0 | 32 | +| __gap | uint256[49] | 202 | 0 | 1568 | | -| publicInputHash | bytes32 | 252 | 0 | 32 | +| _blockhashes | mapping(uint256 => bytes32) | 251 | 0 | 32 | | -| parentGasExcess | uint64 | 253 | 0 | 8 | +| publicInputHash | bytes32 | 252 | 0 | 32 | | -| lastSyncedBlock | uint64 | 253 | 8 | 8 | +| parentGasExcess | uint64 | 253 | 0 | 8 | | -| parentTimestamp | uint64 | 253 | 16 | 8 | +| lastSyncedBlock | uint64 | 253 | 8 | 8 | | -| parentGasTarget | uint64 | 253 | 24 | 8 | +| parentTimestamp | uint64 | 253 | 16 | 8 | | -| l1ChainId | uint64 | 254 | 0 | 8 | +| parentGasTarget | uint64 | 253 | 24 | 8 | | -| anchorInput | bytes32 | 255 | 0 | 32 | +| l1ChainId | uint64 | 254 | 0 | 8 | | -| __gap | uint256[45] | 256 | 0 | 1440 | -╰-----------------------------+-----------------------------+------+--------+-------+----------------------------------------------------╯ +| __gap | uint256[46] | 255 | 0 | 1472 | +╰------------------+-----------------------------+------+--------+-------+------------------------------------------------------------╯ diff --git a/packages/protocol/deployments/hekla-contract-logs.md b/packages/protocol/deployments/hekla-contract-logs.md index 70c11e98d8e..8218803b2a0 100644 --- a/packages/protocol/deployments/hekla-contract-logs.md +++ b/packages/protocol/deployments/hekla-contract-logs.md @@ -223,10 +223,11 @@ ### risc0_groth16_verifier -- addr : 0x5fd84014c62D5ea28D4533D5B1B48Ca44e571057 +- addr : 0x714FD0666B0cee87bFC29A029E2AE66f40F12cE5 - logs: - deployed on August 14, 2024 at commit `cba2a1e` - upgraded on October 22, 2024 at commit `684a909` + - upgraded on Jan 10, 2025 at commit `2802b21` ### tier_zkvm_risc0 @@ -239,12 +240,13 @@ ### sp1_plonk_verifier -- addr : 0xfb2d02219D065eBF3Aa8d2D1a1C52b1868EE7384 +- addr : 0x7110bd8909CFC4C31204BA8597882CBFa1F77dC9 - logs: - deployed on September 02, 2024 at commit `16ac02e` - upgraded on September 15, 2024 at commit `6f26434` - upgraded on October 22, 2024 at commit `684a909` - upgraded on Nov 8, 2024 at commit `0b11101` + - upgraded on Jan 9, 2025 at commit `de12a26` ### tier_zkvm_sp1 diff --git a/packages/protocol/package.json b/packages/protocol/package.json index a8fa6716d45..08cb8cac258 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -52,8 +52,8 @@ "merkletreejs": "^0.4.0", "optimism": "github:ethereum-optimism/optimism#v1.8.0", "p256-verifier": "github:taikoxyz/p256-verifier#v0.1.0", - "risc0-ethereum": "github:risc0/risc0-ethereum#v1.1.2", + "risc0-ethereum": "github:risc0/risc0-ethereum#v1.2.0", "solady": "github:Vectorized/solady#v0.0.231", - "sp1-contracts": "github:succinctlabs/sp1-contracts#v3.0.0" + "sp1-contracts": "github:succinctlabs/sp1-contracts#v4.0.0-rc.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15f8fcb5840..29d20c8f30e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -443,14 +443,14 @@ importers: specifier: github:taikoxyz/p256-verifier#v0.1.0 version: p256-verifier#v0.1.0@https://codeload.github.com/taikoxyz/p256-verifier/tar.gz/6ef45b117642786b08a37b4c37c6a6ce151166da risc0-ethereum: - specifier: github:risc0/risc0-ethereum#v1.1.2 - version: risc0-ethereum#v1.1.2@https://codeload.github.com/risc0/risc0-ethereum/tar.gz/b8a14213d92fff07dacda993804e7edb7946ca58 + specifier: github:risc0/risc0-ethereum#v1.2.0 + version: risc0-ethereum#v1.2.0@https://codeload.github.com/risc0/risc0-ethereum/tar.gz/3c1fd2a859e40ea009a580aac294191196968c60 solady: specifier: github:Vectorized/solady#v0.0.231 version: https://codeload.github.com/Vectorized/solady/tar.gz/a12a2575c899a328c1bafdada632dabbff27cf6b sp1-contracts: - specifier: github:succinctlabs/sp1-contracts#v3.0.0 - version: sp1-contracts#v3.0.0@https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/1c4acaeab86789995ae5c6baced66f81e4a57f4d + specifier: github:succinctlabs/sp1-contracts#v4.0.0-rc.3 + version: sp1-contracts#v4.0.0-rc.3@https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/0885c34b525708ed5f7e87a3d7b20c42564b4c00 devDependencies: '@types/node': specifier: ^20.11.30 @@ -10607,8 +10607,8 @@ packages: ripemd160@2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} - risc0-ethereum#v1.1.2@https://codeload.github.com/risc0/risc0-ethereum/tar.gz/b8a14213d92fff07dacda993804e7edb7946ca58: - resolution: {tarball: https://codeload.github.com/risc0/risc0-ethereum/tar.gz/b8a14213d92fff07dacda993804e7edb7946ca58} + risc0-ethereum#v1.2.0@https://codeload.github.com/risc0/risc0-ethereum/tar.gz/3c1fd2a859e40ea009a580aac294191196968c60: + resolution: {tarball: https://codeload.github.com/risc0/risc0-ethereum/tar.gz/3c1fd2a859e40ea009a580aac294191196968c60} version: 0.0.0 rlp@2.2.7: @@ -10938,8 +10938,8 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} - sp1-contracts#v3.0.0@https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/1c4acaeab86789995ae5c6baced66f81e4a57f4d: - resolution: {tarball: https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/1c4acaeab86789995ae5c6baced66f81e4a57f4d} + sp1-contracts#v4.0.0-rc.3@https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/0885c34b525708ed5f7e87a3d7b20c42564b4c00: + resolution: {tarball: https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/0885c34b525708ed5f7e87a3d7b20c42564b4c00} version: 0.0.0 space-separated-tokens@2.0.2: @@ -27239,7 +27239,7 @@ snapshots: hash-base: 3.1.0 inherits: 2.0.4 - risc0-ethereum#v1.1.2@https://codeload.github.com/risc0/risc0-ethereum/tar.gz/b8a14213d92fff07dacda993804e7edb7946ca58: {} + risc0-ethereum#v1.2.0@https://codeload.github.com/risc0/risc0-ethereum/tar.gz/3c1fd2a859e40ea009a580aac294191196968c60: {} rlp@2.2.7: dependencies: @@ -27701,7 +27701,7 @@ snapshots: source-map@0.7.4: {} - sp1-contracts#v3.0.0@https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/1c4acaeab86789995ae5c6baced66f81e4a57f4d: {} + sp1-contracts#v4.0.0-rc.3@https://codeload.github.com/succinctlabs/sp1-contracts/tar.gz/0885c34b525708ed5f7e87a3d7b20c42564b4c00: {} space-separated-tokens@2.0.2: {}