diff --git a/docs/Index.md b/docs/Index.md deleted file mode 100644 index 2d94f700c..000000000 --- a/docs/Index.md +++ /dev/null @@ -1,10 +0,0 @@ -# Documentation index - -The sections are provided roughly in the order of how they should be read. However, their topics may be still intertwined a bit, so to get the full grasp of the system, it may make sense to read all of it at once and refer back to separate pages about the topics later. - -## Structure of the repo - - -## System documentation - -1. [System contracts/bootloader description](./other/System%20contracts%20bootloader%20description.md). diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 000000000..013dff4e3 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,8 @@ +# Documentation index + + + +## Structure of the repo + +1. +1. [System contracts/bootloader description](./other/System%20contracts%20bootloader%20description.md). diff --git a/docs/other/L1 smart contracts/L1_L2_tx_processing_on_L2.png b/docs/bridgehub/L1_L2_tx_processing_on_L2.png similarity index 100% rename from docs/other/L1 smart contracts/L1_L2_tx_processing_on_L2.png rename to docs/bridgehub/L1_L2_tx_processing_on_L2.png diff --git a/docs/other/L1 smart contracts/gateway-architecture.png b/docs/bridgehub/gateway-architecture.png similarity index 100% rename from docs/other/L1 smart contracts/gateway-architecture.png rename to docs/bridgehub/gateway-architecture.png diff --git a/docs/other/L1 ecosystem contracts.md b/docs/bridgehub/l1_ecosystem_contracts.md similarity index 100% rename from docs/other/L1 ecosystem contracts.md rename to docs/bridgehub/l1_ecosystem_contracts.md diff --git a/docs/other/L1 smart contracts/newChain.png b/docs/bridgehub/newChain.png similarity index 100% rename from docs/other/L1 smart contracts/newChain.png rename to docs/bridgehub/newChain.png diff --git a/docs/other/L1 smart contracts/requestL2TransactionDirect.png b/docs/bridgehub/requestL2TransactionDirect.png similarity index 100% rename from docs/other/L1 smart contracts/requestL2TransactionDirect.png rename to docs/bridgehub/requestL2TransactionDirect.png diff --git a/docs/other/L1 smart contracts/requestL2TransactionTwoBridges_depositEthToUSDC.png b/docs/bridgehub/requestL2TransactionTwoBridges_depositEthToUSDC.png similarity index 100% rename from docs/other/L1 smart contracts/requestL2TransactionTwoBridges_depositEthToUSDC.png rename to docs/bridgehub/requestL2TransactionTwoBridges_depositEthToUSDC.png diff --git a/docs/other/L1 smart contracts/requestL2TransactionTwoBridges_token.png b/docs/bridgehub/requestL2TransactionTwoBridges_token.png similarity index 100% rename from docs/other/L1 smart contracts/requestL2TransactionTwoBridges_token.png rename to docs/bridgehub/requestL2TransactionTwoBridges_token.png diff --git a/docs/other/L1 smart contracts/Diamond-scheme.png b/docs/ctm_and_diamond/Diamond-scheme.png similarity index 100% rename from docs/other/L1 smart contracts/Diamond-scheme.png rename to docs/ctm_and_diamond/Diamond-scheme.png diff --git a/docs/other/L1 smart contracts.md b/docs/ctm_and_diamond/L1 smart contracts.md similarity index 100% rename from docs/other/L1 smart contracts.md rename to docs/ctm_and_diamond/L1 smart contracts.md diff --git a/docs/gateway/cab/asset-registration.png b/docs/custom_asset_bridging/asset-registration.png similarity index 100% rename from docs/gateway/cab/asset-registration.png rename to docs/custom_asset_bridging/asset-registration.png diff --git a/docs/gateway/cab/automatic-bridging.png b/docs/custom_asset_bridging/automatic-bridging.png similarity index 100% rename from docs/gateway/cab/automatic-bridging.png rename to docs/custom_asset_bridging/automatic-bridging.png diff --git a/docs/gateway/cab/contracts-review-cab.md b/docs/custom_asset_bridging/contracts_review_cab.md similarity index 100% rename from docs/gateway/cab/contracts-review-cab.md rename to docs/custom_asset_bridging/contracts_review_cab.md diff --git a/docs/gateway/Custom-da-external.png b/docs/data_availability/Custom-da-external.png similarity index 100% rename from docs/gateway/Custom-da-external.png rename to docs/data_availability/Custom-da-external.png diff --git a/docs/other/Rollup DA.md b/docs/data_availability/Rollup DA.md similarity index 100% rename from docs/other/Rollup DA.md rename to docs/data_availability/Rollup DA.md diff --git a/docs/other/L1 smart contracts/Rollup_DA.png b/docs/data_availability/Rollup_DA.png similarity index 100% rename from docs/other/L1 smart contracts/Rollup_DA.png rename to docs/data_availability/Rollup_DA.png diff --git a/docs/other/Standard pubdata format.md b/docs/data_availability/Standard pubdata format.md similarity index 100% rename from docs/other/Standard pubdata format.md rename to docs/data_availability/Standard pubdata format.md diff --git a/docs/gateway/custom-da.md b/docs/data_availability/custom-da.md similarity index 100% rename from docs/gateway/custom-da.md rename to docs/data_availability/custom-da.md diff --git a/docs/data_availability/custom_da.png b/docs/data_availability/custom_da.png new file mode 100644 index 000000000..0a17eb662 Binary files /dev/null and b/docs/data_availability/custom_da.png differ diff --git a/docs/data_availability/custom_da_support.md b/docs/data_availability/custom_da_support.md new file mode 100644 index 000000000..9c02e23fa --- /dev/null +++ b/docs/data_availability/custom_da_support.md @@ -0,0 +1,49 @@ +# Custom DA support + +# Custom DA support + +## Intro + +We introduced modularity into our contracts to support multiple DA layers, easier support for Validium and Rollup mode, and to settlement via the Gateway. + +![CustomDA.png](./Custom_DA.png) + +### Background + +**Pubdata** - information published by the ZK Chain that can be used to reconstruct its state, it consists of l2→l1 logs, l2→l1 messages, contract bytecodes, and compressed state diffs. + +```solidity +struct PubdataInput { + pub(crate) user_logs: Vec, + pub(crate) l2_to_l1_messages: Vec>, + pub(crate) published_bytecodes: Vec>, + pub(crate) state_diffs: Vec, +} + +``` + +The current version of ZK Chains supports the following DataAvailability(DA) modes: + +- `Calldata` - uses Ethereum tx calldata as pubdata storage +- `Blobs` - uses Ethereum blobs calldata as pubdata storage +- `No DA Validium` - posting pubdata is not enforced + +The goal is to create a general purpose solution, that would ensure DA consistency and verifiability, on top of which we would build what is requested by many partners and covers many use cases like on-chain games and DEXes: **Validium with Abstract DA.** + +This means that a separate solution like AvailDA, EigenDA, Celestia, etc. would be used to store the pubdata. The idea is that every solution like that (`DA layer`) provides a proof of inclusion of our pubdata to their storage, and this proof can later be verified on Ethereum. This results in an approach that has more security guarantees than `No DA Validium`, but lower fees than `Blobs`(assuming that Ethereum usage grows and blobs become more expensive). + +## Proposed solution + +The proposed solution is to introduce an abstract 3rd party DA layer, that the sequencer would publish the data to. When the batch is sealed, the hashes of the data related to that batch will be made available on L1. Then, after the DA layer has confirmed that its state is synchronized, the sequencer calls a `commitBatches` function with the proofs required to verify the DA inclusion on L1. + +### Challenges + +On the protocol level, the complexity is in introducing two new components: L1 and L2 DA verifiers. They are required to ensure the verifiable delivery of the DA inclusion proofs to L1 and consequent verification of these proofs. + +The L2 verifier would validate the pubdata correctness and compute a final commitment for DA called `outputHash`. It consists of hashes of `L2→L1 logs and messages`, `bytecodes`, and `compressed state diffs`(blob hashes in case of blobs). This contract has to be deployed by the chain operator and it has to be tied to the DA layer logic, e.g. DA layer accepts 256kb blobs → on the final hash computation stage, the pubdata has to be packed into the chunks of <256kb, and a either the hashes of all blobs, or a rolling hash has to be be part of the `outputHash` preimage. + +The `outputHash` will be sent to L1 as a L2→L1 log, so this process is a part of a bootloader execution and can be trusted. + +The hashes of data chunks alongside the inclusion proofs have to be provided in the calldata of the L1 diamond proxy’s `commitBatches` function. + +L1 contracts have to recalculate the `outputHash` and make sure it matches the one from the logs, after which the abstract DA verification contract is called. In general terms, it would accept the set of chunk’s hashes (by chunk here I mean DA blob, not to be confused with 4844 blob) and a set of inclusion proofs, that should be enough to verify that the preimage (chunk data) is included in the DA layer. This verification would be done by specific contract e.g. `Attestation Bridge`, which holds the state tree information and can perform verification against it. \ No newline at end of file diff --git "a/docs/other/Handling pubdata in Boojum/L2\342\206\222L1 communication before Boojum.md" "b/docs/data_availability/handling_pubdata_in_boojum/l2\342\206\222l1_communication_before_boojum.md" similarity index 100% rename from "docs/other/Handling pubdata in Boojum/L2\342\206\222L1 communication before Boojum.md" rename to "docs/data_availability/handling_pubdata_in_boojum/l2\342\206\222l1_communication_before_boojum.md" diff --git a/docs/other/Handling pubdata in Boojum/State diff compression v1 spec.md b/docs/data_availability/handling_pubdata_in_boojum/state_diff_compression_v1_spec.md similarity index 100% rename from docs/other/Handling pubdata in Boojum/State diff compression v1 spec.md rename to docs/data_availability/handling_pubdata_in_boojum/state_diff_compression_v1_spec.md diff --git a/docs/gateway/Custom-da-contracts.png b/docs/gateway/Custom-da-contracts.png deleted file mode 100644 index b97d9755d..000000000 Binary files a/docs/gateway/Custom-da-contracts.png and /dev/null differ diff --git a/docs/gateway/Hyperchain-scheme.png b/docs/gateway/Hyperchain-scheme.png deleted file mode 100644 index b5ec44b01..000000000 Binary files a/docs/gateway/Hyperchain-scheme.png and /dev/null differ diff --git a/docs/gateway/L1-GM-Chain.png b/docs/gateway/L1-GM-Chain.png deleted file mode 100644 index 84b0bd0f3..000000000 Binary files a/docs/gateway/L1-GM-Chain.png and /dev/null differ diff --git a/docs/gateway/L1-L2.png b/docs/gateway/L1-L2.png deleted file mode 100644 index 41ac428f7..000000000 Binary files a/docs/gateway/L1-L2.png and /dev/null differ diff --git a/docs/gateway/chain-asset-id-registration.png b/docs/gateway/chain-asset-id-registration.png deleted file mode 100644 index 98dff79b2..000000000 Binary files a/docs/gateway/chain-asset-id-registration.png and /dev/null differ diff --git a/docs/gateway/chain-migration.png b/docs/gateway/chain-migration.png deleted file mode 100644 index 668d9bfa7..000000000 Binary files a/docs/gateway/chain-migration.png and /dev/null differ diff --git a/docs/gateway/gateway-images/cab_asset_registration.png b/docs/gateway/gateway-images/cab_asset_registration.png new file mode 100644 index 000000000..379cc30e4 Binary files /dev/null and b/docs/gateway/gateway-images/cab_asset_registration.png differ diff --git a/docs/gateway/gateway-images/create_new_chain.png b/docs/gateway/gateway-images/create_new_chain.png new file mode 100644 index 000000000..62c15c2f0 Binary files /dev/null and b/docs/gateway/gateway-images/create_new_chain.png differ diff --git a/docs/gateway/gateway-images/ctm_gw_registration.png b/docs/gateway/gateway-images/ctm_gw_registration.png new file mode 100644 index 000000000..03dc68518 Binary files /dev/null and b/docs/gateway/gateway-images/ctm_gw_registration.png differ diff --git a/docs/gateway/gateway-images/high_level_gw_architecture.png b/docs/gateway/gateway-images/high_level_gw_architecture.png new file mode 100644 index 000000000..a9302ec7e Binary files /dev/null and b/docs/gateway/gateway-images/high_level_gw_architecture.png differ diff --git a/docs/gateway/gateway-images/image.png b/docs/gateway/gateway-images/image.png new file mode 100644 index 000000000..3128691b9 Binary files /dev/null and b/docs/gateway/gateway-images/image.png differ diff --git a/docs/gateway/gateway-images/l1_l2_messaging.png b/docs/gateway/gateway-images/l1_l2_messaging.png new file mode 100644 index 000000000..886c13174 Binary files /dev/null and b/docs/gateway/gateway-images/l1_l2_messaging.png differ diff --git a/docs/gateway/gateway-images/l1_l3_messaging.png b/docs/gateway/gateway-images/l1_l3_messaging.png new file mode 100644 index 000000000..a2b4db935 Binary files /dev/null and b/docs/gateway/gateway-images/l1_l3_messaging.png differ diff --git a/docs/gateway/gateway-images/migrate_to_gw.png b/docs/gateway/gateway-images/migrate_to_gw.png new file mode 100644 index 000000000..6615791e1 Binary files /dev/null and b/docs/gateway/gateway-images/migrate_to_gw.png differ diff --git a/docs/gateway/gateway-images/new_bridging_contracts.png b/docs/gateway/gateway-images/new_bridging_contracts.png new file mode 100644 index 000000000..f3f6802cd Binary files /dev/null and b/docs/gateway/gateway-images/new_bridging_contracts.png differ diff --git a/docs/gateway/gateway-images/withdraw_from_gw.png b/docs/gateway/gateway-images/withdraw_from_gw.png new file mode 100644 index 000000000..b30576043 Binary files /dev/null and b/docs/gateway/gateway-images/withdraw_from_gw.png differ diff --git a/docs/gateway/gateway.md b/docs/gateway/gateway.md new file mode 100644 index 000000000..b96a21f76 --- /dev/null +++ b/docs/gateway/gateway.md @@ -0,0 +1,347 @@ +# Gateway audit documentation + +## Introduction & prerequisites + +This document assumes that the reader has general knowledge of how ZKsync Era works and how our ecosystem used to be like at the moment of shared bridge in general. + +For more info, one can reach out to the following documentation: + +[https://github.com/code-423n4/2024-03-zksync/tree/main/docs/Smart contract Section](https://github.com/code-423n4/2024-03-zksync/tree/main/docs/Smart%20contract%20Section) + +Especially helpful are articles about the l1 ecosystem contracts: [https://github.com/code-423n4/2024-03-zksync/blob/main/docs/Smart contract Section/L1 ecosystem contracts.md](https://github.com/code-423n4/2024-03-zksync/blob/main/docs/Smart%20contract%20Section/L1%20ecosystem%20contracts.md) as well as how we handle priority transactions: [https://github.com/code-423n4/2024-03-zksync/blob/main/docs/Smart contract Section/Handling L1→L2 ops on zkSync.md](https://github.com/code-423n4/2024-03-zksync/blob/main/docs/Smart%20contract%20Section/Handling%20L1%E2%86%92L2%20ops%20on%20zkSync.md). + +However, reading all of the documents is highly encouraged. + + + +While the audit is built on top of the previous ones which had the following documentation: https://github.com/matter-labs/era-contracts/tree/sync-layer-stable/docs (CAB and gateway docs correspondingly), this document will structurize all the information about the gateway/CAB changes as well as provide the structure of contracts in general, so it should be relatively friendly even for the first time reader. We will also provide comparisons to the previous audit’s code to emphasize on what has changed since the previous review. + +## Changes from the shared bridge design + +This section contains some of the important changes that happened since the shared bridge release in June. This section may not be fully complete and additional information will be provided in the sections that cover specific topics. + +### Bridgehub now has chainId → address mapping + +Before, Bridgehub contained a mapping from `chainId => stateTransitionManager`. The further resolution of the mapping should happen at the STM level. +For more intuitive management of the chains, a new mapping `chainId => hyperchainAddress` was added. This is considered more intuitive since “bridgehub is the owner of all the chains” mentality is more applicable with this new design. + +The upside of the previous approach was potentially easier migration within the same STM. However, in the end it was decided that the new approach is better. + +#### Migration + +This new mapping will have to be filled up after upgrading the bridgehub. It is done by repeatedly calling the `setLegacyChainAddress` for each of the deployed chains. It is assumed that their number is relatively low. Also, this function is permissionless and so can be called by anyone after the upgrade is complete. This function will call the old STM and ask for the implementation of the chainId. + +Until the migration is done, all transactions with the old chains will not be working, but it is a short period of time. + +### baseTokenAssetId is used as a base token for the chains + +In order to facilitate future support of any type of asset a base token, including assets minted on L2, now chains will provide the `assetId` for their base token instead. The derivation & definition of the `assetId` is expanded in the CAB section of the doc. + +#### Migration & compatibility + +Today, there are some mappings of sort `chainId => baseTokenAddress`. These will no longer be filled for new chains. Instead, only assetId will be provided in a new `chainId => baseTokenAssetId` mapping. + +To initialize the new `baseTokenAssetId` mapping the following function should be called for each chain: `setLegacyBaseTokenAssetId`. It will encode each token as the assetId of an L1 token of the Native Token Vault. This method is permissionless. + +For the old tooling that may rely on getters of sort `getBaseTokenAddress(chainId)` working, we provide a getter method, but its exact behavior depends on the asset handler of the `setLegacyBaseTokenAssetId`, i.e. it is even possible that the method will revert for an incompatible assetId. + +### Shared bridge is deployed everywhere at the same address + +Before, for each new chain, we would have to initialize the mapping in the L1SharedBridge to remember the address of the l2 shared bridge on the corresponding L2 chain. + +Now, however, the L2AssetRouter is set on the same constant on all chains. + +### StateTransitionManager was renamed to ChainTypeManager + +STM was renamed to CTM (ChainTypeManager). This was done to use more intuitive naming as the chains of the same “type” share the same CTM. + +### Hyperchains were renamed to ZK chains + +For consistency with the naming inside the blogs, the term “hyperchain” has been changed to “ZK chain”. + +## Custom asset bridging + +Custom asset bridging is a new bridging model that allows to: + +1. Minimize the effort needed by custom tokens to be able to become part of the elastic chain ecosystem. Before, each custom token would have to build its own bridge, but now just custom asset deployment trackers / asset handler is needed. +2. Unify the interfaces between L1 and L2 contracts, paving the way for easy cross chain bridging. It will especially become valuable once interop is there. + +#### New concepts + +- AssetDeploymentTracker => contract that manages the deployment of asset handlers across chains. It is the contract that registers these asset handlers in the AssetRouters. +- AssetHandler => contract that manages liquidity (burns/mints, locks/unlocks) for specific token (or a set of them) +- assetId => identifier to track bridged assets across chains linked to specific asset handler. + +### Normal flow + +Assets Handlers are registered in the Routers based on their assetId. The assetId is used to identify the asset when bridging, it is sent with the cross-chain transaction data and Router routes the data to the appropriate Handler. If the asset handler is not registered in the L2 Router, then the L1->L2 bridging transaction will fail on the L2 (expect for NTV assets, see below). + +`assetId = keccak256(chainId, asset deployment tracker = msg.sender, additionalData)` + +Asset registration is handled by the AssetDeploymentTracker. It is expected that this contract is deployed on the L1. Registartion of the assetHandler on a ZKChain can be permissionless depending on the Asset (e.g. the AssetHandler can be deployed on the chain at a predefined address, this can message the L1 ADT, which can then register the asset in the Router). Registering the L1 Handler in the L1 Router can be done via a direct function call from the L1 Deployment Tracker. Registration in the L2 Router is done indirectly via the L1 Router. + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/610c7ce5-a63a-4662-b2f9-ce4a599a2d35/image.png) + +The Native Token Vault is a special case of the Asset Handler, as we want it to support automatic bridging. This means it should be possible to bridge a L1 token to an L2 without deploying the Token contract beforehand and without registering it in the L2 Router. For NTV assets, L1->L2 transactions where the AssetHandler is not registered will not fail, but the message will be automatically be forwarded to the L2NTV. Here the contract checks that the asset is indeed deployed by the L1NTV, by checking that the assetId contains the correct ADT address (note, for NTV assets the ADT is the NTV and the used address is the L2NTV address). If the assetId is correct, the token contract is deployed. + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/a816cae3-1f00-44a8-9641-ff05745705ea/image.png) + +## Changes in the structure of contracts + +While fully reusing contracts on both L1 and L2 is not always possible, it was done to a very high degree as now all bridging-related contracts are located inside the `l1-contracts` folder. + +### AssetRouters (L1/L2) + +The main job of the asset router is to be the central point of coordination for bridging. All crosschain token bridging is done between asset routers only and once the message reaches asset router, it then routes it to the corresponding asset handler. + +In order to make this easier, all L2 chains have the asset router located on the same address on every chain. It is `0x10003` and it is pre-deployed contract. More on how it is deployed can be seen in the “Built-in contracts and their initialization” section. + +The endgame is to have L1 asset router have the same functionality as the L2 one. It is not yet the case, but some progress has been made: L2AssetRouter can now bridge L2-native assets to L1, from which it could be bridged to other chains in the ecosystem. + +The specifics of the L2AssetRouter is the need to interact with the previously deployed L2SharedBridgeLegacy if it was already present. It has less “rights” than the L1AssetRouter: at the moment it is assumed that all asset deployment trackers are from L1, the only way to register an asset handler on L2 is to make an L1→L2 transaction. + +> Note, that today registering new asset deployment trackers will be permissioned, but the plan is to make it permissionless in the future +> + +The specifics of the L1AssetRouter come from the need to be backwards compatible with the old L1SharedBridge. Yes, it will not share the same storage, but it will inherit the need to be backwards compatible with the current SDK. Also, L1AssetRouter needs to facilitate L1-only operations, such as recoverrying from failed deposits. + +Also, L1AssetRouter is the only asset router that can participate in initiation of cross chain transactions via bridgehub. This will change in the future with the support of interop. + +### L1Nullifier + +While the endgoal is to unify L1 and L2 asset routers, in reality, it may not be that easy: while L2 asset routers get called by L1→L2 transactions, L1 ones don't and require manual finalization of transactions, which involves proof verification, etc. To move this logic outside of the L1AssetRouter, it was moved into a separate L1Nullifier contract. + +*This is the contract the current L1SharedBridge will be upgraded to, so it should have the backwards compatible storage.* + +### NativeTokenVault (L1/L2) + +NativeTokenVault is an asset handler that is available on all chains and is also predeployed. It is provides the functionality of the most basic bridging: locking funds on one chain and minting the bridged equivalent on the other one. On L2 chains NTV is predeployed at the `0x10004` address. + +The two are almost identical in functionality, the main differences come from the differences of the deployment functionality in L1 and L2 envs, where the former uses standard CREATE2 and the latter uses low level calls to `CONTRACT_DEPLOYER`system contract. + +Also, the L1NTV has the following specifics: + +- It operates the `chainBalance` mapping, ensuring that the chains do not go beyond their balances. +- It allows recovering from failed L1→L2 transfers. +- It needs to both be able to retrieve funds from the former L1SharedBridge (now this contract has L1Nullifier in its place), but also needs to support the old SDK that gives out allowance to the “l1 shared bridge” value returned from the API, i.e. in our case this is will the L1AssetRouter. + +### L2SharedBridgeLegacy + +L2AssetRouter has to be pre-deployed onto a specific address. The old L2SharedBridge will be upgraded to L2SharedBridgeLegacy contract. The main purpose of this contract is to ensure compatibility with the incoming deposits and re-route them to the shared bridge. + +This contract is never deployed for new chains. + +### Summary + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/8090047f-cb2d-4d8d-8677-91559e00e8e8/image.png) + +# Gateway + +Gateway is a proof aggregation layer, created to solve the following problems: + +- Fast interop (interchain communication) would require quick proof generation and verification. The latter can be very expensive on L1. Gateway provides an L1-like interface for chains, while giving a stable price for compute. +- Generally proof aggregation can reduce costs for users, if there are multiple chains settling on top of the same layer. It can reduce the costs of running a Validium even further. + +In this release, Gateway is basically a fork of Era, that will be deployed within the same CTM as other ZK Chains. This allows us to reuse most of the existing code for Gateway. + +> In some places in code you can meet words such as “settlement layer” or the abbreviation “sl”. “Settlement layer” is a general term that describes a chain that other chains can settle to. Right now, the list of settlement layers is whitelisted and only Gateway will be allowed to be a settlement layer. +> + +## High level gateway architecture + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/e990dbe7-1f05-41c2-b2a8-93781f7b6c25/image.png) + +## Built-in contracts and their initialization + +Each single ZK Chain has a set of the following contracts that, while not belong to kernel space, are built-in and provide important functionality: + +- Bridgehub (the source code is identical to the L1 one). The role of bridgehub is to facilitate cross chain transactions. It contains a mapping from chainId to the address of the diamond proxy of the chain. It is really used only on the L1 and Gateway, i.e. layers that can serve as a settlement layer. +- L2AssetRouter. The new iteration of the SharedBridge. +- L2NativeTokenVault. The Native token vault on L2. +- MessageRoot (the source code is identical to the L1 one). Similar to bridgehub, it facilitates cross-chain communication, but is practically unused on all chains except for L1/GW. + +To reuse as much code as possible from L1 and also to allow easier initialization, most of these contracts are not initialized as just part of the genesis storage root. Instead, the data for their initialization is part of the original diamondcut for the chain. In the same initial upgrade transaction when the chainId is initialized, these contracts are force-deployed and initialized also. An important part in it plays the new `L2Genesis` contract, which is pre-deployed in a user-space contract, but it is delegated to the `ComplexUpgrader` system contract (already exists as part of genesis and existed before this upgrade). + +The following diagram shows how the chain genesis works: + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/2144800e-f834-4169-8ebb-88504841900a/image.png) + +## Deeper dive into MessageRoot contract and how L3→L1 communication works + +Before, when were just settling on L1, a chain’s message root was just the merkle tree of L2→L1 logs that were sent within this batch. However, this new model will have to be amended to be able to perform messages to L1 coming from an L3 that settles on top of Gateway. + +The description of how L3→L1 messages are aggregated in the MessageRoots and proved on L1 can be read here: + +[Nested L3→L1 messages tree design for Gateway](https://www.notion.so/Nested-L3-L1-messages-tree-design-for-Gateway-59cd01c3b73449ab9136eea2d73010d3?pvs=21) + +## L1→L3 messaging + +As a recap, here is how messaging works for chains that settle on L1: + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/37ccab1e-24f5-4974-9ff9-60231e324345/image.png) + +- The user calls the bridgehub, which routes the message to the chain. +- The operator eventually sees the transaction via an event on L1 and it will process it on L2. + +With gateway, the situation will be a bit more complex: + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/d246c388-912e-409e-ad23-95e2a7afa1be/image.png) + +Since now, the contracts responsible for batch processing were moved to Gateway, now all the priority transactions have to be relayed to that chain so that the validation could work. + +- (Steps 1-3) The user calls Bridgehub. The base token needs to be deposited via L1AssetRouter (usually the NTV will be used). +- (Step 4-5). The Bridgehub calls the chain where the transaction is targeted to. The chain sees that its settlement layer is another chain and so it calls it and asks to relay this transaction to gateway +- (Steps 6-7). priority transaction from `SETTLEMENT_LAYER_RELAY_SENDER` to the Bridgehub is added to the Gateway chain’s priority queue. Once the Gateway operator sees the transaction from L1, it processed it. The transaction itself will eventually call the DiamondProxy of the initial called chain. +- (Step 8) At some point, the operator of the chain will see that the priority transaction has been included to the gateway and it will process it on the L3. +- Step 9 from the picture above is optional and in case the callee of the L1→L3 transaction is the L2AssetRouter (i.e. the purpose of the transaction was bridging funds), then the L2AssetRouter will call asset handler of the asset (in case of standard bridged tokens, it will be the NativeTokenVault). It will be responsible for minting the corresponding number of tokens to the user. + +So under the hood there are 2 cross chain transactions happening: + +1. One from L1 to GW +2. The second one from GW to the L3. + +From another point with bridging we have methods that allow users to recover funds in case of a failed L1→L2 transaction. E.g. if the user tried to bridge USDC to a Zk Chain, but did not provide enough L2 gas, it can still recover the funds. + +This functionality works by letting user prove that the bridging transaction failed and then the funds are released back to the original sender on L1. With the approach above where there are multiple cross chain transactions involved, it could become 2x hard to maintain: now both of these could fail. + +To simplify things, for now, we provide the L1→GW with a large amount of gas (72kk, i.e. the maximal amount allowed to be passed on L2). We believe that it is not possible to create a relayed transaction that would fail, assuming that a non malicious recipient CTM is used on L2. + +> Note, that the above means that we currently rely on the following two facts: + +- The recipient CTM is honest and efficient. +- Creating a large transaction on L1 that would cause the L1→GW part to fail is not possible due to high L1 gas costs that would be required to create such a tx. + +Both of the assumptions above will be removed in subsequent releases, but for now this is how things are. +> + +# Chain migration + +## Ecosystem Setup + +Chain migration reuses lots of logic from standard token migration. The easiest way to imagine is that ZKChains are NFTs that are being migrated from one chain to another. Just like in case of the NFT contract, an CTM is assumed to have an `assetId := keccak256(abi.encode(L1_CHAIN_ID, address(ctmDeployer), bytes32(uint256(uint160(_ctmAddress)))))`. I.e. these are all assets with ADT = ctmDeployer contract on L1. + +CTMDeployer is a very lightweight contract used to facilitate chain migration. Its main purpose is to server as formal asset deployment tracker for CTMs. It serves two purposes: + +- Assign bridgehub as the asset handler for the “asset” of the CTM on the supported settlement layer. + +Currently, it can only be done by the owner of the CTMDeployer, but in the future, this method can become either permissionless or callable by the CTM owner. +- Tell bridgehub which address on the L2 should serve as the L2 representation of the STM on L1. Currently, it can only be done by the owner of the CTMDeployer, but in the future, this method can become callable by the CTM owner. + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/ec509988-b87c-4924-bd6c-316fd6d43d34/image.png) + +## The process of migration L1→GW + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/bb6bae26-1f19-4169-86ae-987e882a7091/image.png) + +## Chain migration GW → L1 + +Chain migration from from L1 to GW works similar to how NFT bridging from L1 to another chain would work. Migrating back will use the same mechanism as for withdrawals. + +Note, that for L2→L1 withdrawals via bridges we never provide a recovery mechanism. The same is the case with GW → L1 messaging, i.e. it is assumed that such migrations are always executable on L1. + +You can read more about how the safety is ensured in the “Migration invariants & protocol upgradability” section. + +![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/703ee435-9e35-441a-b595-a8f42972ac1a/494d0386-8f30-4b12-a460-2831cfdcb35b/image.png) + +## Chain migration GW_1 → GW_2 + +In this release we plan to only support a single whitelisted settlement layer, but if in the future more will be supported, as of now the plan is to migrate the chain firstly to L1 and then to GW. + +## Chain migration invariants & protocol upgradability + +Note, that once a chain migrates to a new settlement layer, there are two deployments of contracts for the same ZKChain. What’s more, the L1 part will always be used. + +There is a need to ensure that the chains work smoothly during migration and there are not many issues during the protocol upgrade. + +[Gateway protocol versioning and upgradability](https://www.notion.so/Gateway-protocol-versioning-and-upgradability-3865f7a92f1b49ecb70463633353d49e?pvs=21) + +## Priority tree + +[Migrating Priority Queue to Merkle Tree](https://www.notion.so/Migrating-Priority-Queue-to-Merkle-Tree-e6e563867067470aa66d010f0294ea3e?pvs=21) + +In the currently deployed system, L1→L2 transactions are added as a part of a priority queue, i.e. all of them are stored 1-by-1 on L1 in a queue-like structure. + +Note, that the complexity of chain migrations in either of the directions depends on the size of the priority queue. However, the number of unprocessed priority transactions is potentially out of hands of both the operator of the chain and the chain admin as the users are free to add priority transactions in case there is no `transactionFilterer` contract, which is the case for any permissionless system, such as zkSync Era. + +If someone tries to DDoS the priority queue, the chain can be blocked from migration. Even worse, for GW→L1 migrations, inability to finalize the migration can lead to a complete loss of chain. + +To combat all the issues above, it was decided to move from the priority queue to a priority tree, i.e. only the incremental merkle tree is stored on L1, while at the end of the batch the operator will provide a merkle proof for the inclusion of the priority transactions that were present in the batch. It does not impact the bootloader, but rather only how the L1 checks that the priority transactions did indeed belong to the chain + +# Custom DA layers + +[Custom DA support](https://www.notion.so/Custom-DA-support-716d8fc04b524a338f5badb7e611d384?pvs=21) + +### Security notes for Gateway-based rollups + +An important note is that when reading the state diffs from L1, the observer will read messages that come from the L2DAValidator. To be more precise, the contract used is `RelayedSLDAValidator` which reads the data and publishes it to L1 by calling the L1Messenger contract. + +If anyone could call this contract, the observer from L1 could get wrong data for pubdata for this particular batch. To prevent this, it ensures that only the chain can call it. + +# Governance and chain admin + +## Ecosystem admins + +Most of the ecosystem contracts (like Bridgehub) have two roles: *the owner* and *the admin*. The latter is responsible for more day-to-day tasks. I.e. the system should be generally okay-ish even if it behaves maliciously, i.e. no funds should be lost and the state should be recoverable by actions of the owner. + +The intended deployed admin is the multisig of ML team. It is intended to be able to move quickly while providing sufficient security. + +***Owner**,* on the other hand is a very powerful trusted role that is governed by the ZK token governance on L2. The complete design of the decentralized governance is out of scope of this document. However, owner is a critical role responsible for potentially dangerous unrecoverable operations, e.g. creating new protocol version. + +## Chain admins + +Also, each chain has its own admin. The structure of the chain admin can be decided by each chain and they have access to updating chain-specific parameters. There include: + +- Upgrading the chain. Only the decentralized governance can whitelist *the content* of the upgrade, but the chain admin is the one that usually triggers an upgrade for the chain. +- Choosing the DA layer. +- Updating token price in ETH on the contract +- The full list can be observed by searching for `onlyAdmin` and `onlyAdminOrChainTypeManager` in the Admin.sol facet of the contract. + +### `ChainAdmin.sol` contract + +Some of the powers of the admin are dangerous not for the ecosystem, but for the chain itself. For example, if a rollup that claims to be permissionless wanted to stop the flow of L1→L2 transactions to zkSync Era, they could set up a transactionfilterer there. What’s even more dangerous is that the admin could quickly switch the chain to being a validium and publish unknown state. + +This is beyond our security model as Era’s users’ should never be in danger regardless of actions of the Era’s admin. In order to ensure that it is the case, the `ChainAdmin.sol` was created. It is the intended chain admin of the Era chain. In order to ensure that it is flexible enough for future other chains to use, it uses a modular architecture to ensure that other chains could fit it to their needs. By default, this contract is not even `Ownable`, and anyone can execute transactions out of the name of it. In order to add new features such as restricting calling dangerous methods and access control, *restrictions* should be added there. + +Each restriction is a contract that implements the `IRestriction` interface. The following restrictions have been implemented so far: + +- `AccessControlRestriction` that allows to specify which addresses can call which methods. In the case of Era, only the `DEFAULT_ADMIN_ROLE`will be able to call any methods. This default admin will be the ML multisig. + +Other chains with non-ETH base token may need an account that would periodically call the L1 contract to update the ETH price there. They may create the `SET_TOKEN_MULTIPLIER_ROLE` role that is required to update the token price and give its rights to some hot private key. +- `PermanentRestriction` that ensures that: + +a) This restriction could be lifted, i.e. the chain admin of the chain must forever have it. Even if the address of the `ChainAdmin` changes, it ensures that the new admin has this restriction turned on. +b) It specifies the calldata this which certain methods can be called. For instance, in case a chain wants to keep itself as the permanent rollup (e.g. this is the case for Era), it will ensure that the only DA validation method that can be used is rollup. The decentralized governance will be responsible for whitelisting the allowed calldata for certain functions. + +The approach above does not only help in protecting Era, but also provides correct information for chains that are present in our ecosystem. For instance, if a chain claims to be a rollup, but allows changing the DA mode in any minute can not be considered secure for users. + +# Known issues + +- Migration is not yet fully thought through. While a system bootstrapped from scratch should work, some changes are still needed to ensure smooth migration of the ecosystem to the new design (especially when it comes to L1<>L2 token bridging, handling legacy deposits and withdrawals). +- Inconsistency in using custom errors: right now in some places custom errors are used and in some the old string-based are used. + +## L1<>L2 token bridging considerations + +- We have the L2SharedBridgeLegacy on chains that are live before the upgrade. This contract will keep on working, and where it exists it will also be used to: + - deploy bridged tokens. This is so that the l2TokenAddress keeps working on the L1, and so that we have a predictable address for these tokens. + - send messages to L1. On the L1 finalizeWithdrawal does not specify the l2Sender. Legacy withdrawals will use the legacy bridge as their sender, while new withdrawals would use the L2_ASSET_ROUTER_ADDR. In the future we will add the sender to the L1 finalizeWithdrawal interface. Until the current method is depracated we use the l2SharedBridgeAddress even for new withdrawals on legacy chains. + This also means that on the L1 side we set the L2AR address when calling the function via the legacy interface even if it is a baseToken withdrawal. Later when we learn if it baseToken or not, we override the value. +- We have the finalizeWithdrawal function on L1 AR, which uses the finalizeDeposit in the background. +- L1→L2 deposits need to use the legacy encoding for SDK compatiblity. + - This means the legacy finalizeDeposit with tokenAddress which calls the new finalizeDeposit with assetId. + - On the other hand, new assets will use the new finalizeDeposit directly +- The originChainId will be tracked for each assetId in the NTVs. This will be the chain where the token is originally native to. This is needed to accurately track chainBalance (especially for l2 native tokens bridged to other chains via L1), and to verify the assetId is indeed an NTV asset id (i.e. has the L2_NATIVE_TOKEN_VAULT_ADDR as deployment tracker). +- + +# Invariants/tricky places to look out for + +This section is for auditors of the codebase. It includes some of the important invariants that the system relies on and which if broken could have bad consequences. + +- Assuming that the accepting STM is correct & efficient, the L1→GW part of the L1→GW→L3 transaction never fails. It is assumed that the provided max amount for gas is always enough for any transaction that can realistically come from L1. +- GW → L1 migration never fails. If it is possible to get into a state where the migration is not possible to finish, then the chain is basically lost. There are some exceptions where for now it is the expected behavior. (check out the “Migration invariants & protocol upgradability” section) +- The general consistency of chains when migration between different settlement layers is done. Including the feasibility of emergency upgrades, etc. I.e. whether the whole system is thought-through. +- Preimage attacks in the L3→L1 tree, we apply special prefixes to ensure that the tree structure is fixed, i.e. all logs are 88 bytes long (this is for backwards compatibility reasons). For batch leafs and chain id leafs we use special prefixes. +- Data availability guarantees. Whether rollup users can always restore all their storage slots, etc. An example of a potential tricky issue can be found in “Security notes for Gateway-based rollups” + +## Appendix: Upgrade strategy + +The text about applies to [the following branch](https://github.com/matter-labs/era-contracts/pull/964)https://github.com/matter-labs/era-contracts/pull/964. So if you are auditing a different commit, there is little point in reading it. \ No newline at end of file diff --git a/docs/gateway/gateway_protocol_versioning_and_upgrades/gateway_protocol_versioning_and_upgrades.md b/docs/gateway/gateway_protocol_versioning_and_upgrades/gateway_protocol_versioning_and_upgrades.md new file mode 100644 index 000000000..5d6bd8305 --- /dev/null +++ b/docs/gateway/gateway_protocol_versioning_and_upgrades/gateway_protocol_versioning_and_upgrades.md @@ -0,0 +1,180 @@ +# Gateway protocol versioning and upgradability + +One of the hardest part about gateway (GW) is how do we synchronize interaction between L1 and L2 parts that can potentially have different versions of contracts. This synchronization should be compatible with any future STM that may be present on the gateway. + +Here we describe various scenarios of standard/emergency upgrades and how will those play out in the gateway setup. + +# General idea + +We do not enshrine any particular approach on the protocol level of the GW. The following is the approach used by the standard Era STM, which also manages GW. + +Upgrades will be split into two parts: + +- “Inactive chain upgrades” ⇒ intended to update contract code only and not touch the state or touch it very little. The main motivation is to be able to upgrade the L1 contracts without e.g. adding new upgrade transactions. +- “Active chain upgrades” ⇒ same as the ones that we have today: full-on upgrade that also updates bootloader, insert system upgrade transaction and so on. + +In other words: + +`active upgrade = inactive upgrade + bootloader changes + setting upgrade tx` + +The other difference is that while “active chain upgrades” are usually always needed to be forced in order to ensure that contracts/protocol are up to date, the “inactive chain upgrades” typically involve changes in the facets’ bytecode and will only be needed before migration is complete to ensure that contracts are compatible. + +To reduce the boilerplate / make management of the upgrades easier, the abstraction will be basically implemented at the upgrade implementation level, that will check `if block.chainid == s.settlementLayer { ... perform active upgrade stuff } else { ... perform inactive upgrade stuff, typically nothing m}.` + +# Lifecycle of a chain + +While the chain settles on L1 only, it will just do “active chain upgrades”. Everything is the same as now. + +When a chain starts its migration to a new settlement layer (regardless of whether it is gateway or not): + +1. It will be checked the that the protocolVersion is the latest in the STM in the current settlement layer (just in case to not have to bother with backwards compatibility). +2. The `s.settlementLayer` will be set for the chain. Now the chain becomes inactive and it can only take “inactive” upgrades. +3. When migration finishes, it will be double checked that the `protocolVersion` is the same as the one in the target chains’ STM. + +If the chain has already been deployed there, it will be checked that the `protocolVersion` of the deployed contracts there is the same as the one of the chain that is being moved. +4. All “inactive” instances of a chain can receive “inactive” upgrades of a chain. The single “active” instance of a chain (the one on the settlement layer) can receive only active upgrades. + +In case step (3) fails (or for any other reason the chain fails), the migration recovery process should be available. (`L1AssetRouter.bridgeRecoverFailedTransfer` method). Recovering a chain id basically just changing its `settlementLayerId` to the current block.chainid. It will be double checked that the chain has not conducted any inactive upgrades in the meantime, i.e. the `protocolVersion` of the chain is the same as the one when the chain started its migration. + +In case we ever do need to do more than simply resetting `settlementLayerId` for a chain in case of a failed migration, it is the responsibility of the STM to ensure that the logic is compatible for all the versions. + +# Stuck state for L1→GW migration + +The only unrecoverable state that a chain can achieve is: + +- It tries to migrate and it fails. +- While the migration has happening an “inactive” upgrade has been conducted. +- Now recovery of the chain is not possible as the “protocol version” check will fail. + +This is considered to be a rare event, but it will be strongly recommended that before conducting any inactive upgrades the migration transaction should be finalized. (TODO: we could actively force it, but it is a separate feature, i.e. require confirmation of a successful migration before any upgrades on a migrated chain could be done). + +# Safety guards for GW→L1 migrations + +Migrations from GW to L1 do not have any chain recovery mechanism, i.e. if the step (3) from the above fails for some reason (e.g. a new protocol version id is available on the STM), then the chain is basically lost. + +### Protocol version safety guards + +- Before a new protocol version is released, all the migrations will be paused, i.e. the `pauseMigration` function will be called by the owner of the Bridgehub on both L1 and L2. It should prevent migrations happening in the risky period when the new version is published to the STM. +- Assuming that no new protocol versions are published to STM during the migration, the migration must succeed, since both STM on GW and on L1 will have the same version and so the checks will work fine. +- The finalization of any chain withdrawal is permissionless and so in the short term the team could help finalize the outstanding migrations to prevent funds loss. + + + +> The approach above is somewhat tricky as it requires careful coordination with the governance to ensure that at the time of when the new protocol version is published to STM, there are no outstanding migrations. + +In the future we will either make it more robust or add a recovery mechanism for failed GW → L1 migrations. +> + +### Batch number safety guards + +Another potential place that may lead for a chain to not be migratable to L1 is if the number of outstanding batches is very high, which can lead to migration to cost too much gas and being not executable no L1. + +To prevent that, it is required for chains that migrate from GW that all their batches are executed. This ensures that the number of batches’ hashes to be copied on L1 is constant (i.e. just 1 last batch). + +# Motivation + +The job of this proposal is to reduce the number of potential states in which the system can find itself in to a minimum. The cases that are removed: + +- Need to be able to migrate to a chain that has contracts from a different protocol version +- Need to be able for STM to support migration of chains with different versions. Only `bridgeRecoverFailedTransfer` has to be supported for all the versions, but its logic is very trivial. + +The reason why we can not conduct “active” upgrades everywhere on both L1 and L2 part is that for the settlement layer we need to write the new protocol upgrade tx, while NOT allowing to override it. On other hand, for the “inactive” chain contracts, we need to ignore the upgrade transaction. + +# Forcing “active chain upgrade” + +For L1-based chains, forcing those upgrades will work exactly same as before. Just during `commitBatches` the STM double checks that the protocol version is up to date. + +The admin of the STM (GW) will call the STM (GW) with the new protocol version’s data. This transaction should not fail, but even if it does fail, we should be able to just re-try. For now, the GW operator will be trusted to not be malicious + +### Case of malicious Gateway operator + +In the future, malicious Gateway operator may try to exploit a known vulnerability in an STM. + +The recommended approach here is the following: + +- Admin of the STM (GW) will firstly commit to the upgrade (for example, preemptively freeze all the chains). +- Once the chains are frozen, it can use L1→L2 communication to pass the new protocol upgrade to STM. + +> The approach above basically states that “if operator is censoring, we’ll be able to use standard censorship-resistance mechanism of a chain to bypass it”. The freezing part is just a way to not tell to the world the issue before all chains are safe from exploits. + +It is the responsibility of the STM to ensure that all the supported settlement layers are trusted enough to uphold to the above protocol. Using any sort of Validiums will be especially discouraged, since in theory those could get frozen forever without any true censorship resistance mechanisms. + +Also, note that the freezing period should be long enough to ensure that censorship resistance mechanisms have enough time to kick in +> + +# Forcing “inactive chain upgrade” + +Okay, imagine that there is a bug in an L1 implementation of a chain that has migrated to Gateway. This is a rather rare event as most of the action happens on the settlement layer, together with the ability to steal the most of funds. + +In case such situation does happen however, the current plan is just to: + +- Freeze the ecosystem. +- Ask the admins nicely to upgrade their implementation. Decentralized token governance can also force-upgrade those via STM on L1. + +# Backwards compatibility + +With this proposal the protocol version on the L1 part and on the settlement layer part is completely out of sync. This means that all new mailboxes need to support both accepting and sending all versions of relayed (L1 → GW → L2) transactions. + +For now, this is considered okay. In the future, some stricter versioning could apply. + +## Notes + +### Regular chain migration moving chain X from Y to Z (where Y is Z’s settlement layer) + +So assume that Y is L1, and Z is ‘Gateway’. + +Definition: + +`Hyperchain(X)` - ‘a.k.a ST / DiamondProxy’ for a given chain id X + +`STM(X)` - the State transition manager for a given chain id X + +1. check that `Hyperchain(X).protocol_version == STM(X).protocol_version` on chain Y. +2. Start ‘burn’ process (on chain Y) + 1. collect `‘payload’` from `Hyperchain(X)` and `STM(X)` and `protocol_version` on chain Y. + 2. set `Hyperchain(X).settlement_layer` to `address(Hyperchain(Z))` on chain Y. +3. Start ‘mint’ process (on chain Z) + 1. check that `STM(X).protocol_version == payload.protocol_version` + 2. Create new `Hyperchain(X)` on chain Z and register in the local bridgehub & STM. + 3. pass `payload` to `Hyperchain(X)` and `STM(X)` to initialize the state. +4. If ‘mint’ fails - recover (on chain Y) + 1. check that `Hyperchain(X).protocol_version == payload.protocol_version` + 1. important, here we’re actually looking at the ‘HYPERCHAIN’ protocol version and not necessarily STM protocol version. + 2. set `Hyperchain(X).settlement_layer` to `0` on chain Y. + 3. pass `payload` to `IHyperchain(X)` and `STM(X)` to initialize the state. + +### ‘Reverse’ chain migration - moving chain X ‘back’ from Z to Y. + + (moving back from gateway to L1). + +1. Same as above (check protocol version - but on chain Z) +2. Same as above (start burn process - but on chain Z) + 1. same as above + 2. TODO: should we ‘remove’ the IHyperchain from Z completely? (’parent’ chain Y doesn’t really have an address on Z). +3. Same as above (start ‘mint’ - but on chain Y) + 1. same as above + 2. creation is probably not needed - as the contract was already there in a first place. + 3. same as above - but the state is ‘re-initialized’ +4. Same as above - but on chain ‘Z’ + +### What can go wrong: + +**Check 1 - protocol version** + +- chain is on the older protocol version before the migration start +- resolution: don’t allow the migration, tell protocol to upgrade itself first. + +**Check 3a — protocol version on destination chain** + +- destination chain STM is on the OLDER version than the payload + - resolution: fail the transfer - seems that STMs were not upgraded. +- destination chain STM is on the NEWER version that then payload + - For simplicity - we could fail the transfer here too. + +**Check 4a — protocol version on the source chain in case of transfer failure** + +- source IHyperchain is on the ‘older’ protocol version than the payload + - in theory - impossible, as this means that the IHyperchain protocol version was ‘reverted’. +- source IHyperchain is on the ‘newer’ protocol version than the payload + - This is the **main** worst case scenario - as this means that the IHyperchain was updated (via ‘inactive’ update) while the protocol transfer was ongoing. + - This is the ‘Stuck state’ case described in the paragraph above. \ No newline at end of file diff --git a/docs/gateway/MessageRoot.png b/docs/gateway/nested_l3_l1_messaging/Nested_L3_L1_messaging.png similarity index 100% rename from docs/gateway/MessageRoot.png rename to docs/gateway/nested_l3_l1_messaging/Nested_L3_L1_messaging.png diff --git a/docs/gateway/nested_l3_l1_messaging/nested_l3_l1_messaging.md b/docs/gateway/nested_l3_l1_messaging/nested_l3_l1_messaging.md new file mode 100644 index 000000000..e39c11edc --- /dev/null +++ b/docs/gateway/nested_l3_l1_messaging/nested_l3_l1_messaging.md @@ -0,0 +1,182 @@ +# Nested L3→L1 messages tree design for Gateway + +## Introduction + +This document assumes that the reader is already aware of what SyncLayer (or how it is now called Gateway) is. To reduce the interactions with L1, on SyncLayer we will gather all the batch roots from all the chains into the tree with following structure: + +![NestedL3L1Messaging.png](./Nested_L3_L1_Messaging.png) + +> Note: + +“Multiple arrows” from `AggregatedRoot` to `chainIdRoot` and from each `chainIdRoot` to `batchRoot` are for illustrational purposes only. + +In fact, the tree above will be a binary merkle tree, where the `AggregatedRoot` will be the root of the tree of `chainIdRoot`, while `chainIdRoot` is the merkle root of a binary merkle tree of `batchRoot`. +> + +For each chain that settles on L1, the root will have the following format: + +`settledMessageRoot = keccak256(LocalRoot, AggregatedRoot)` + +where `localRoot` is the root of the tree of messages that come from the chain itself, while the `AggregatedRoot` is the root of aggregated messages from all of the chains that settle on top of the chain. + +In reality, `AggregatedRoot` will have a meaningful value only on SyncLayer and L1. On other chains it will be a root of an empty tree. + +The structure has the following recursive format: + +- `settledMessageRoot = keccak256(LocalRoot, AggregatedRoot)` +- `LocalRoot` — the root of the binary merkle tree over `UserLog[]`. (the same as the one we have now). It only contains messages from the current batch. +- `AggregatedRoot` — the root of the binary merkle tree over `ChainIdLeaf[]`. +- `ChainIdLeaf = keccak256(CHAIN_ID_LEAF_PADDING, chain_id, ChainIdRoot`) +- `CHAIN_ID_LEAF_PADDING` — it is a constant padding, needed to ensure that the preimage of the ChainIdLeaf is larger than 64 bytes and so it can not be an internal node. +- `chain_id` — the chain id of the chain the batches of which are aggregated. +- `ChainIdRoot` = the root of the binary merkle tree `BatchRootLeaf[]`. +- `BatchRootLeaf = keccak256(BATCH_LEAF_HASH_PADDING, batch_number, SettledRootOfBatch).` + +In other words, we get the recursive structure, where for leaves of it, i.e. chains that do not aggregate any other chains, have empty `AggregatedRoot`. + +## Appending new batch root leafs + +At the execution stage of every batch, the ZK Chain would call the `MessageRoot.addChainBatchRoot` function, while providing the `SettledRootOfBatch` for the chain. Then, the `BatchRootLeaf` will be calculated and appended to the incremental merkle tree with which the `ChainIdRoot` & `ChainIdLeaf` is calculated, which will be updated in the merkle tree of `ChainIdLeafs`. + +At the end of the batch, the L1Messenger system contract would query the MessageRoot contract for the total aggregated root, i.e. the root of all `ChainIdLeafs` . Calculate the settled root `settledMessageRoot = keccak256(LocalRoot, AggregatedRoot)` and propagate it to L1. + +Only the final aggregated root will be stored on L1. + +# Proving that a message belongs to a chain on top of SyncLayer + +The process will consist of two steps: + +1. Construct the needed `SettledRootOfBatch` for the current chain’s batch. +2. Prove that it belonged to the gateway. + +If the depth of recursion is larger than 1, then step (1) could be repeated multiple times. + +Right now for proving logs the following interface is exposed on L1 side: + +```solidity + struct L2Log { + uint8 l2ShardId; + bool isService; + uint16 txNumberInBatch; + address sender; + bytes32 key; + bytes32 value; + } + + + function proveL2LogInclusion( + uint256 _chainId, + uint256 _batchNumber, + uint256 _index, + L2Log calldata _log, + bytes32[] calldata _proof + ) external view override returns (bool) { + address hyperchain = getHyperchain(_chainId); + return IZkSyncHyperchain(hyperchain).proveL2LogInclusion(_batchNumber, _index, _log, _proof); + } +``` + +Let’s define a new function: + +```solidity + function proveL2LeafInclusion( + uint256 _chainId, + uint256 _batchNumber, + uint256 _mask, + bytes32 _leaf, + bytes32[] calldata _proof + ) external view override returns (bool) { + } +``` + +This function will prove that a certain 32-byte leaf belongs to the tree. Note, that the fact that the `leaf` is 32-bytes long means that the function could work successfully for internal leaves also. To prevent this it will be the callers responsibility to ensure that the preimage of the leaf is larger than 32-bytes long and/or use other ways to ensuring that the function will be called securely. + +This function will be internally used by the existing `_proveL2LogInclusion` function to prove that a certain log existed + +We want to avoid breaking changes to SDKs, so we will modify the `zks_getL2ToL1LogProof` to return the data in the following format (the results of it are directly passed into the `proveL2LeafInclusion` method, so returned value must be supported by the contract): + +First `bytes32` corresponds to the metadata of the proof. The zero-th byte should tell the version of the metadata and must be equal to the `SUPPORTED_PROOF_METADATA_VERSION` (a constant of `0x01`). + +Then, it should contain the number of 32-byte words that are needed to restore the current `BatchRootLeaf` , i.e. `logLeafProofLen` (it is called this way as it proves that a leaf belongs to the `SettledRootOfBatch`). The second byte contains the `batchLeafProofLen` . It is the length of the merkle path to prove that the `BatchRootLeaf` belonged to the `ChainIdRoot` . + +Then, the following happens: + +- We consume the `logLeafProofLen` items to produce the `SettledRootOfBatch`. The last word is typically the aggregated root for the chain. + +If the settlement layer of the chain is the chain itself, we can just end here by verifying that the provided batch message root is correct. + +If the chain is not a settlement layer of itself, we then need to calculate: + +- `BatchRootLeaf = keccak256(BATCH_LEAF_HASH_PADDING, SettledRootOfBatch, batch_number).` +- Consume one element from the `_proofs` array to get the mask for the merkle path of the batch leaf in the chain id tree. +- Consume `batchLeafProofLen` elements to construct the `ChainIdRoot` +- After that, we calculate the `chainIdLeaf = keccak256(CHAIN_ID_LEAF_PADDING, chainIdRoot, chainId` + +Now, we have the *supposed* `chainIdRoot` for the chain inside its settlement layer. The only thing left to prove is that this root belonged to some batch of the settlement layer. + +Then, the following happens: + +- One element from `_proof` array is consumed and expected to maintain the batchNumber of the settlement layer when this chainid root was present as well as mask for the reconstruction of the merkle tree. +- The other element from the `_proof` contains the address of the settlement layer, where the address will be checked. + +Now, we can call the function to verify that the batch belonged to the settlement layer: + +```solidity + IMailbox(settlementLayerAddress).proveL2LeafInclusion( + settlementLayerBatchNumber, + settlementLayerBatchRootMask, + chainIdLeaf, + // Basically pass the rest of the `_proof` array + extractSliceUntilEnd(_proof, ptr) + ); +``` + +The other slice of the `_proof` array is expected to have the same structure as before: + +- Metadata +- Merkle path to construct the `SettledRootOfBatch` +- In case there are any more aggregation layers, additional info to prove that the batch belonged to it. + +## Trust assumptions + +Note, that the `_proof` field is provided by potentially malicious users. The only part that really checks anything with L1 state is the final step of the aggregated proof verification, i.e. that the settled root of batch of the final top layer was present on L1. + +It puts a lot of trust in the settlement layers as it can steal funds from chains and “verify” incorrect L3→L1 logs if it wants to. It is the job of the chain itself to ensure that it trusts the aggregation layer. It is also the job of the STM to ensure that the settlement layers that are used by its chains are secure. + +Also, note that that `address` of the settlement layer is provided by the user. Assuming that the settlement layer is trusted, this scheme works fine, since the `chainIdLeaf` belongs to it only if the chain really ever settled there. I.e. so the protection from maliciously chosen settlement layers is the fact that the settlement layers are trusted to never include batches that they did not have. + +## Additional notes on security + +### Redundance of data + +Currently, we never clear the `MessageRoot` in other words, the aggregated root contains more and more batches’ settlement roots, leading to the following two facts: + +- The aggregated proofs’ length starts to logarithmically depend on the number of total batches ever finalized on top of this settlement layer (it also depends logarithmically on the number of chains in the settlement layer). I.e. it is `O(log(total_chains) + log(total_batches) + log(total_logs_in_the_batch))` in case of a single aggregation layer. +- The same data may be referenced from multiple final aggregated roots. + +It is the responsibility of the chain to ensure that each message has a unique id and can not be replayed. Currently a tuple of `chain_batch_number, chain_message_id` is used. While there are multiple message roots from which such a tuple could be proven from, it is still okay as it will be nullified only once. + +Another notable example of the redundancy of data, is that we also have total `MessageRoot` on L1, which contains the aggregated root of all chains, while for chains that settle on L1, we still store the `settledBatchRoot` for the efficiency. + +### Data availability guarantees + +We want to maintain the security invariant that users can always withdraw their funds from rollup chains. In other words, all L3→L1 logs that come from rollups should be eventually propagated to L1, and also regardless of how other chains behave an honest chain should always provide the ability for their users to withdraw. + +Firstly, unless the chain settles on L1, this requires a trusted settlement layer. That is, not trusted operator of the gateway, but it works properly, i.e. appends messages correctly, publishes the data that it promises to publish, etc. This is already the case for the Gateway as it is a ZK rollup fork of Era, and while the operator may censor transactions, it can not lie and is always forced to publish all state diffs. + +Secondly, we guarantee that all the stored `ChainIdLeafs` are published on L1, even for Validiums. Publishing a single 32 byte value per relatively big Gateway batch has little price for Validiums, but it ensures that the settlement root of the gateway can always be constructed. And, assuming that the preimage for the chain root could be constructed, this gives an ability to ability to recover the proof for any L3→L1 coming from a rollup. + +But how can one reconstruct the total chain tree for a particular rollup chain? A rollup would relay all of its pubdata to L1, meaning that by observing L1, the observer would know all the L3→L1 logs that happened in a particular batch. It means that for each batch it can restore the `LocalRoot` (in case the `AggregatedRoot` is non-zero, it could be read from e.g. the storage which is available via the standard state diffs). This allows to calculate the `BatchRootLeaf` for the chain. The only thing missing is understanding which batches were finalized on gateway in order to construct the merkle path to the `ChainRootLeaf`. + +To understand which SL was used by a batch for finalization, one could simply brute force over all settlement layers ever used to find out where the settledBatchRoot is stored.. This number is expected to be rather small. + +## Legacy support + +In order to ease the server migration, we support legacy format of L2→L1 logs proving, i.e. just provide a proof that assumes that stored `settledMessageRoot` is identical to local root, i.e. the hash of logs in the batch. + +To differentiate between legacy format and the one, the following approach is used; + +- Except for the first 3 bytes the first word in the new format contains 0s, which is unlikely in the old format, where leafs are hashed. +- I.e. if the last 29 bytes are zeroes, then it is assumed to be the new format and vice versa. + +In the next release the old format will be removed. \ No newline at end of file diff --git a/docs/other/L1 smart contracts/Governance-scheme.jpg b/docs/governance/Governance-scheme.jpg similarity index 100% rename from docs/other/L1 smart contracts/Governance-scheme.jpg rename to docs/governance/Governance-scheme.jpg diff --git a/docs/other/Batches & L2 blocks on zkSync.md b/docs/l2_system_contracts/batches_and_blocks_on_zksync.md similarity index 100% rename from docs/other/Batches & L2 blocks on zkSync.md rename to docs/l2_system_contracts/batches_and_blocks_on_zksync.md diff --git a/docs/other/Elliptic curve precompiles.md b/docs/l2_system_contracts/elliptic_curve_precompiles.md similarity index 100% rename from docs/other/Elliptic curve precompiles.md rename to docs/l2_system_contracts/elliptic_curve_precompiles.md diff --git "a/docs/other/Handling L1\342\206\222L2 ops on zkSync.md" b/docs/l2_system_contracts/handling_l1->l2_ops_on_zksync.md similarity index 100% rename from "docs/other/Handling L1\342\206\222L2 ops on zkSync.md" rename to docs/l2_system_contracts/handling_l1->l2_ops_on_zksync.md diff --git a/docs/other/System contracts bootloader description.md b/docs/l2_system_contracts/system_contracts_bootloader_description.md similarity index 100% rename from docs/other/System contracts bootloader description.md rename to docs/l2_system_contracts/system_contracts_bootloader_description.md diff --git a/docs/other/zkSync fee model.md b/docs/l2_system_contracts/zksync_fee_modal.md similarity index 100% rename from docs/other/zkSync fee model.md rename to docs/l2_system_contracts/zksync_fee_modal.md diff --git a/docs/other/L1 smart contracts/Hyperchain-scheme.png b/docs/other/L1 smart contracts/Hyperchain-scheme.png deleted file mode 100644 index d7b8618dd..000000000 Binary files a/docs/other/L1 smart contracts/Hyperchain-scheme.png and /dev/null differ diff --git a/docs/other/L1 smart contracts/requestL2TransactionDirect-ETH.png b/docs/other/L1 smart contracts/requestL2TransactionDirect-ETH.png deleted file mode 100644 index 84ccb7be5..000000000 Binary files a/docs/other/L1 smart contracts/requestL2TransactionDirect-ETH.png and /dev/null differ diff --git a/docs/gateway/PQ1.png b/docs/priority_queue/PQ1.png similarity index 100% rename from docs/gateway/PQ1.png rename to docs/priority_queue/PQ1.png diff --git a/docs/gateway/PQ2.png b/docs/priority_queue/PQ2.png similarity index 100% rename from docs/gateway/PQ2.png rename to docs/priority_queue/PQ2.png diff --git a/docs/gateway/PQ3.png b/docs/priority_queue/PQ3.png similarity index 100% rename from docs/gateway/PQ3.png rename to docs/priority_queue/PQ3.png diff --git a/docs/gateway/priority-merkle-tree.md b/docs/priority_queue/priority-merkle-tree.md similarity index 99% rename from docs/gateway/priority-merkle-tree.md rename to docs/priority_queue/priority-merkle-tree.md index ffd52237d..20039e45f 100644 --- a/docs/gateway/priority-merkle-tree.md +++ b/docs/priority_queue/priority-merkle-tree.md @@ -1,4 +1,4 @@ -# Migrating Priority Queue to Merkle Tree +# Priority Queue to Merkle Tree ## Overview of the current implementation diff --git a/docs/gateway/cab/SDK_compatibility.md b/docs/upgrades/gateway_upgrade/contract_and_sdk_compatibility.md similarity index 100% rename from docs/gateway/cab/SDK_compatibility.md rename to docs/upgrades/gateway_upgrade/contract_and_sdk_compatibility.md diff --git a/docs/upgrades/gateway_upgrade/upgrade_process.md b/docs/upgrades/gateway_upgrade/upgrade_process.md new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/docs/upgrades/gateway_upgrade/upgrade_process.md @@ -0,0 +1 @@ + diff --git a/l1-contracts/selectors b/l1-contracts/selectors new file mode 100644 index 000000000..1fecf6de9 --- /dev/null +++ b/l1-contracts/selectors @@ -0,0 +1,6096 @@ +Listing selectors for contracts in the project... +IAssetRouterBase ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(uint256,bytes32,bytes) | 0x9c884fd1 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegistered(bytes32,address) | 0x2632cc0d58b0cb1017b99cc0b6cc66ad86440cc0dd923bfdaa294f95ba1b0201 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegisteredInitial(bytes32,address,bytes32,address) | 0xb1e82bee3e85b2755fbceb4b7e051f5c66a7f35f0476657504e77e18ebd3a17d | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositInitiated(uint256,bytes32,address,bytes32,bytes) | 0xe21913bc89c1320d9709a5d236ffe06b54cf88aecfc9509ebd68f1adba45781e | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubWithdrawalInitiated(uint256,address,bytes32,bytes32) | 0x9a3d4025b7294a1754ea5b56309c1e72328d97b73718183db595c850d14a3ae0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositFinalizedAssetRouter(uint256,bytes32,bytes) | 0x44eb9a840094a49b3cd0a5205042598a1c08c4e87bafb5760bc2d8efa170c541 | ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ + +IL1AssetRouter ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_WETH_TOKEN() | 0x41c841c3 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes) | 0x1346ca3b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes,bytes32,uint256,uint256,uint16,bytes32[]) | 0x3601e63e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2Transaction(uint256,bytes32,bytes32) | 0x8eb7db57 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDeposit(uint256,address,uint256,bytes) | 0xca408c23 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDepositBaseToken(uint256,bytes32,address,uint256) | 0xc4879440 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositLegacyErc20Bridge(address,address,address,uint256,uint256,uint256,address) | 0x9e6ea417 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(uint256,bytes32,bytes) | 0x9c884fd1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint256,uint16,bytes,bytes32[]) | 0xc87325f1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getDepositCalldata(address,bytes32,bytes) | 0x2ff0b2ea | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256,uint256) | 0x8f31f052 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2BridgeAddress(uint256) | 0x07ee9355 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nativeTokenVault() | 0x64e130cf | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetDeploymentTracker(bytes32,address) | 0xc0a16dda | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNativeTokenVault(address) | 0x0f3fa211 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferFundsToNTV(bytes32,uint256,address) | 0x57d4ca5c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetDeploymentTrackerSet(bytes32,address,bytes32) | 0x14c1bae9bcc3777747463b66a36584aa75e4ded1aa38089f447beecb125a2175 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegistered(bytes32,address) | 0x2632cc0d58b0cb1017b99cc0b6cc66ad86440cc0dd923bfdaa294f95ba1b0201 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegisteredInitial(bytes32,address,bytes32,address) | 0xb1e82bee3e85b2755fbceb4b7e051f5c66a7f35f0476657504e77e18ebd3a17d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositFinalized(uint256,bytes32,bytes32) | 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositInitiated(uint256,bytes32,address,bytes32,bytes) | 0xe21913bc89c1320d9709a5d236ffe06b54cf88aecfc9509ebd68f1adba45781e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubMintData(bytes) | 0x31a15cb4f69820f57afabeaff74feae31dc25875c07c952ba742a3acf8690f91 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubWithdrawalInitiated(uint256,address,bytes32,bytes32) | 0x9a3d4025b7294a1754ea5b56309c1e72328d97b73718183db595c850d14a3ae0 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ClaimedFailedDepositAssetRouter(uint256,bytes32,bytes) | 0x4250817d22c13fba8067153d85ccd9706326ac2bd14d5c3898c8b1bccc440658 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositFinalizedAssetRouter(uint256,bytes32,bytes) | 0x44eb9a840094a49b3cd0a5205042598a1c08c4e87bafb5760bc2d8efa170c541 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | LegacyDepositInitiated(uint256,bytes32,address,address,address,uint256) | 0xa1846a4248529db592da99da276f761d9f37a84d0f3d4e83819b869759000700 | ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IL2AssetRouter ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(uint256,bytes32,bytes) | 0x9c884fd1 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDepositLegacyBridge(address,address,address,uint256,bytes) | 0x54b2e69c | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1AssetRouter() | 0x6d9860e1 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddress(uint256,bytes32,address) | 0xda556bdc | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(bytes32,bytes) | 0x4a2e35ba | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdrawLegacyBridge(address,address,uint256,address) | 0x7ac3a553 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegistered(bytes32,address) | 0x2632cc0d58b0cb1017b99cc0b6cc66ad86440cc0dd923bfdaa294f95ba1b0201 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegisteredInitial(bytes32,address,bytes32,address) | 0xb1e82bee3e85b2755fbceb4b7e051f5c66a7f35f0476657504e77e18ebd3a17d | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositInitiated(uint256,bytes32,address,bytes32,bytes) | 0xe21913bc89c1320d9709a5d236ffe06b54cf88aecfc9509ebd68f1adba45781e | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubWithdrawalInitiated(uint256,address,bytes32,bytes32) | 0x9a3d4025b7294a1754ea5b56309c1e72328d97b73718183db595c850d14a3ae0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositFinalizedAssetRouter(uint256,bytes32,bytes) | 0x44eb9a840094a49b3cd0a5205042598a1c08c4e87bafb5760bc2d8efa170c541 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalInitiatedAssetRouter(uint256,address,bytes32,bytes) | 0x55362fc62473cb1255e770af5d5e02ba6ee5bc7ed6969c30eb11ca31b92384dc | ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ + +IAssetHandler ++----------+-----------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================+ +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | ++----------+-----------------------------------------------------+--------------------------------------------------------------------+ + +IBridgedStandardToken ++----------+-----------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================================+ +| Function | assetId() | 0x44de240a | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(address,uint256) | 0x74f4f547 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(address,uint256) | 0x8c2a993e | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | l1Address() | 0xc2eeeebd | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | nativeTokenVault() | 0x64e130cf | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | originToken() | 0x13096a41 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(address,uint256) | 0x9b5b9a05e4726d8bb959f1440e05c6b8109443f2083bc4e386237d7654526553 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | ++----------+-----------------------------------------------+--------------------------------------------------------------------+ + +IL1AssetDeploymentTracker ++----------+----------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================================+ +| Function | bridgeCheckCounterpartAddress(uint256,bytes32,address,address) | 0x9cc395d0 | ++----------+----------------------------------------------------------------+------------+ + +IL1AssetHandler ++----------+------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++====================================================================================+ +| Function | bridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xc2e90293 | ++----------+------------------------------------------------------------+------------+ + +IL1BaseTokenAssetHandler ++----------+-----------------------+------------+ +| Type | Signature | Selector | ++===============================================+ +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | ++----------+-----------------------+------------+ + +IL1ERC20Bridge ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==============================================================================================================================================================+ +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NATIVE_TOKEN_VAULT() | 0x293e8520 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(address,address,bytes32,uint256,uint256,uint16,bytes32[]) | 0x19fa7f62 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256) | 0x933999fb | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256,address) | 0xe8b99b1b | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositAmount(address,address,bytes32) | 0x01eae183 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x11a2ccc1 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256) | 0x4bed8212 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenBeacon() | 0x6dde7209 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ClaimedFailedDeposit(address,address,uint256) | 0xbe066dc591f4a444f75176d387c3e6c775e5706d9ea9a91d11eb49030c66cf60 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositInitiated(bytes32,address,address,address,uint256) | 0xdd341179f4edc78148d894d0213a96d212af2cbaf223d19ef6d483bdd47ab81d | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalFinalized(address,address,uint256) | 0xac1b18083978656d557d6e91c88203585cfda1031bdb14538327121ef140d383 | ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IL1Nullifier ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes,bytes32,uint256,uint256,uint16,bytes32[]) | 0x3601e63e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2TransactionForwarded(uint256,bytes32,bytes32) | 0x4bc2c8c0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainBalance(uint256,address) | 0x9cd45184 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(uint256,address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0xc0991525 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDepositLegacyErc20Bridge(address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0x8fbb3711 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositHappened(uint256,bytes32) | 0x9fa8826b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit((uint256,uint256,uint256,address,uint16,bytes,bytes32[])) | 0x74beea82 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256,uint256) | 0x8f31f052 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1NativeTokenVault() | 0x6f513211 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2BridgeAddress(uint256) | 0x07ee9355 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | legacyBridge() | 0x6e9d7899 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nullifyChainBalanceByNTV(uint256,address) | 0x5de097b1 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1AssetRouter(address) | 0x780ce114 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1NativeTokenVault(address) | 0xb7cc6f46 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferTokenToNTV(address) | 0x40a434d5 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositFinalized(uint256,bytes32,bytes32) | 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df | ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IL1SharedBridgeLegacy ++----------+--------------------------+------------+ +| Type | Signature | Selector | ++==================================================+ +| Function | l2BridgeAddress(uint256) | 0x07ee9355 | ++----------+--------------------------+------------+ + +IL2Bridge ++----------+-----------------------------------------+------------+ +| Type | Signature | Selector | ++=================================================================+ +| Function | finalizeDeposit(bytes32,bytes) | 0xca65fe79 | +|----------+-----------------------------------------+------------| +| Function | l1Bridge() | 0x969b53da | +|----------+-----------------------------------------+------------| +| Function | setAssetHandlerAddress(bytes32,address) | 0x3f704d2a | +|----------+-----------------------------------------+------------| +| Function | withdraw(bytes32,bytes) | 0x4a2e35ba | ++----------+-----------------------------------------+------------+ + +IL2SharedBridgeLegacy ++----------+--------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==================================================================================================================================+ +| Function | deployBeaconProxy(bytes32) | 0x07168226 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | l1Bridge() | 0x969b53da | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | l1SharedBridge() | 0xb852ad36 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | l1TokenAddress(address) | 0xf54266a2 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenBeacon() | 0x6dde7209 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | sendMessageToL1(bytes) | 0xff21c125 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(address,address,uint256) | 0xd9caed12 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | FinalizeDeposit(address,address,address,uint256) | 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63 | ++----------+--------------------------------------------------+--------------------------------------------------------------------+ + +IL2SharedBridgeLegacyFunctions ++----------+--------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++========================================================================================================================================+ +| Function | finalizeDeposit(address,address,address,uint256,bytes) | 0xcfe7af7c | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Event | FinalizeDeposit(address,address,address,uint256) | 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalInitiated(address,address,address,uint256) | 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0 | ++----------+--------------------------------------------------------+--------------------------------------------------------------------+ + +IL2WrappedBaseToken ++----------+---------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=================================================================================================================+ +| Function | deposit() | 0xd0e30db0 | +|----------+---------------------------------+--------------------------------------------------------------------| +| Function | depositTo(address) | 0xb760faf9 | +|----------+---------------------------------+--------------------------------------------------------------------| +| Function | withdraw(uint256) | 0x2e1a7d4d | +|----------+---------------------------------+--------------------------------------------------------------------| +| Function | withdrawTo(address,uint256) | 0x205c2878 | +|----------+---------------------------------+--------------------------------------------------------------------| +| Event | Initialize(string,string,uint8) | 0xc21caeb4e8f73861400d4c0870ad3e468ddb4e45225da3832ce1da5561f1f61e | ++----------+---------------------------------+--------------------------------------------------------------------+ + +IWETH9 ++----------+-------------------+------------+ +| Type | Signature | Selector | ++===========================================+ +| Function | deposit() | 0xd0e30db0 | +|----------+-------------------+------------| +| Function | withdraw(uint256) | 0x2e1a7d4d | ++----------+-------------------+------------+ + +IL1NativeTokenVault ++----------+----------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeCheckCounterpartAddress(uint256,bytes32,address,address) | 0x9cc395d0 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainBalance(uint256,bytes32) | 0x3345359b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerEthToken() | 0xcb6da609 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | TokenBeaconUpdated(address) | 0x5ed5e4f58bf9a324a38beaa1177fb96fcb7bf3a5f4c4585ebb78c4a8c0249d0f | ++----------+----------------------------------------------------------------+--------------------------------------------------------------------+ + +IL2NativeTokenVault ++----------+------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++======================================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | FinalizeDeposit(address,address,address,uint256) | 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | L2TokenBeaconUpdated(address,bytes32) | 0x01fd5911e6d04aec6b21f19752502ad7f3e9876279643c8fa7a4d30c88a29fb2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalInitiated(address,address,address,uint256) | 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0 | ++----------+------------------------------------------------------+--------------------------------------------------------------------+ + +INativeTokenVault ++----------+-----------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | ++----------+-----------------------------------------------+--------------------------------------------------------------------+ + +IBridgehub ++----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================+ +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | addChainTypeManager(address) | 0xff5a62a1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | addTokenAssetId(bytes32) | 0x1c50cfea | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | admin() | 0xf851a440 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetIdIsRegistered(bytes32) | 0xe0ab6368 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseToken(uint256) | 0x59ec65a2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenAssetId(uint256) | 0xe52db4ca | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xc2e90293 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManager(uint256) | 0x9d5bd3da | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManagerIsRegistered(address) | 0xb93c9366 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,address,bytes32,uint256,address,bytes,bytes[]) | 0xf113c88b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdFromAddress(address) | 0x70fccb52 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdFromChainId(uint256) | 0x24358c61 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdToAddress(bytes32) | 0x07621f84 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardTransactionOnGateway(uint256,bytes32,uint64) | 0x524c0cfa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAllZKChainChainIDs() | 0x68b8d331 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAllZKChains() | 0x49707f31 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getHyperchain(uint256) | 0xdead6f7f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1CtmDeployer() | 0xcbe83612 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256,uint256) | 0x71623274 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | messageRoot() | 0xd4b9f4fa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | migrationPaused() | 0x2a641114 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(uint256,bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0xb292f5f1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0xe6d9923b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,uint256,(uint16,address,bytes),bytes32[]) | 0x99c16d1a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerAlreadyDeployedZKChain(uint256,address) | 0xb5662c5d | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | removeChainTypeManager(address) | 0x332b96dc | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionDirect((uint256,uint256,address,uint256,bytes,uint256,uint256,bytes[],address)) | 0xd52471c1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionTwoBridges((uint256,uint256,uint256,uint256,uint256,address,address,uint256,bytes)) | 0x24fd57fb | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAddresses(address,address,address) | 0x363bf964 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddress(bytes32,address) | 0x3f704d2a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyBaseTokenAssetId(uint256) | 0xca8f93f1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyChainAddress(uint256) | 0xd92f86a2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | settlementLayer(uint256) | 0x671a7131 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | sharedBridge() | 0x38720778 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | whitelistedSettlementLayers(uint256) | 0xe9420f8c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetRegistered(bytes32,address,bytes32,address) | 0x8f09d7694a9ae17acec5cf132d594d7eee23572f7fe132396ce72b1afbf7ef20 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BaseTokenAssetIdRegistered(bytes32) | 0x3df150949161462acf3be30521d7da9e533b247327a254e55dd01875897a6df3 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChainTypeManagerAdded(address) | 0x2eae91be1021e05cc8076387b0182458ae474ae44ee44cc59aefda6ca53c1f42 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChainTypeManagerRemoved(address) | 0x4e04a497739580efe78a7ee09cdabe6f6fe90965c683292a519102ce5193b68a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationFinalized(uint256,bytes32,address) | 0xb0cc16029b506b2a262b52711e71db4fcd1cb078bd4bb86c7ba82cd3be2eadd3 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationStarted(uint256,bytes32,uint256) | 0xc60eb6d595da5361c68f60aa7c8286b8f73c3a99e9db1818e146c522f512496f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChain(uint256,address,address) | 0x1e9125bc72db22c58abff6821d7333551967e26454b419ffa958e4cb8ef47600 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | SettlementLayerRegistered(uint256,bool) | 0x02629feb109d94b16a367231d248ba81c462f51ce5b984835f150f1c9f49ed25 | ++----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +ICTMDeploymentTracker ++----------+----------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+----------------------------------------------------------------+------------| +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+----------------------------------------------------------------+------------| +| Function | bridgeCheckCounterpartAddress(uint256,bytes32,address,address) | 0x9cc395d0 | +|----------+----------------------------------------------------------------+------------| +| Function | bridgehubDeposit(uint256,address,uint256,bytes) | 0xca408c23 | +|----------+----------------------------------------------------------------+------------| +| Function | calculateAssetId(address) | 0xb68c104a | +|----------+----------------------------------------------------------------+------------| +| Function | registerCTMAssetOnL1(address) | 0x2f9db630 | ++----------+----------------------------------------------------------------+------------+ + +IMessageRoot ++----------+--------------------------------------------+------------+ +| Type | Signature | Selector | ++====================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+--------------------------------------------+------------| +| Function | addChainBatchRoot(uint256,uint256,bytes32) | 0xfb644fc5 | +|----------+--------------------------------------------+------------| +| Function | addNewChain(uint256) | 0xd4ce08c2 | ++----------+--------------------------------------------+------------+ + +IL2Messenger ++----------+-----------------+------------+ +| Type | Signature | Selector | ++=========================================+ +| Function | sendToL1(bytes) | 0x62f84b24 | ++----------+-----------------+------------+ + +IL1Messenger ++----------+-----------------+------------+ +| Type | Signature | Selector | ++=========================================+ +| Function | sendToL1(bytes) | 0x62f84b24 | ++----------+-----------------+------------+ + +IL2ContractDeployer ++----------+----------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================================+ +| Function | create2(bytes32,bytes32,bytes) | 0x3cda3351 | +|----------+----------------------------------------------------------------+------------| +| Function | forceDeployOnAddresses((bytes32,address,bool,uint256,bytes)[]) | 0xe9f18c17 | ++----------+----------------------------------------------------------------+------------+ + +DummyRestriction ++----------+-----------------------------------------------+------------+ +| Type | Signature | Selector | ++=======================================================================+ +| Function | getSupportsRestrictionMagic() | 0x83e866f5 | +|----------+-----------------------------------------------+------------| +| Function | validateCall((address,uint256,bytes),address) | 0x9a9debe9 | ++----------+-----------------------------------------------+------------+ + +EventOnFallback ++-------+-------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++============================================================================================================+ +| Event | Called(address,uint256,bytes) | 0x998729e624ef59107d5781f8c021b04a5d7b5153dd0ef79e7a08a9f8ab40a5a3 | ++-------+-------------------------------+--------------------------------------------------------------------+ + +FeeOnTransferToken ++----------+---------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================+ +| Function | allowance(address,address) | 0xdd62ed3e | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | approve(address,uint256) | 0x095ea7b3 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | balanceOf(address) | 0x70a08231 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decimals() | 0x313ce567 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decreaseAllowance(address,uint256) | 0xa457c2d7 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | increaseAllowance(address,uint256) | 0x39509351 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | mint(address,uint256) | 0x40c10f19 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | name() | 0x06fdde03 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | symbol() | 0x95d89b41 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | totalSupply() | 0x18160ddd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transfer(address,uint256) | 0xa9059cbb | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transferFrom(address,address,uint256) | 0x23b872dd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Approval(address,address,uint256) | 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Transfer(address,address,uint256) | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | ++----------+---------------------------------------+--------------------------------------------------------------------+ + +Forwarder ++----------+------------------------+------------+ +| Type | Signature | Selector | ++================================================+ +| Function | forward(address,bytes) | 0x6fadcf72 | ++----------+------------------------+------------+ + +Multicall ++----------+------------------------------+------------+ +| Type | Signature | Selector | ++======================================================+ +| Function | aggregate((address,bytes)[]) | 0x252dba42 | +|----------+------------------------------+------------| +| Function | getBlockHash(uint256) | 0xee82ac5e | +|----------+------------------------------+------------| +| Function | getCurrentBlockCoinbase() | 0xa8b0574e | +|----------+------------------------------+------------| +| Function | getCurrentBlockDifficulty() | 0x72425d9d | +|----------+------------------------------+------------| +| Function | getCurrentBlockGasLimit() | 0x86d516e8 | +|----------+------------------------------+------------| +| Function | getCurrentBlockTimestamp() | 0x0f28c97d | +|----------+------------------------------+------------| +| Function | getEthBalance(address) | 0x4d2301cc | +|----------+------------------------------+------------| +| Function | getLastBlockHash() | 0x27e86d6e | ++----------+------------------------------+------------+ + +Multicall3 ++----------+-------------------------------------------------+------------+ +| Type | Signature | Selector | ++=========================================================================+ +| Function | aggregate((address,bytes)[]) | 0x252dba42 | +|----------+-------------------------------------------------+------------| +| Function | aggregate3((address,bool,bytes)[]) | 0x82ad56cb | +|----------+-------------------------------------------------+------------| +| Function | aggregate3Value((address,bool,uint256,bytes)[]) | 0x174dea71 | +|----------+-------------------------------------------------+------------| +| Function | blockAndAggregate((address,bytes)[]) | 0xc3077fa9 | +|----------+-------------------------------------------------+------------| +| Function | getBasefee() | 0x3e64a696 | +|----------+-------------------------------------------------+------------| +| Function | getBlockHash(uint256) | 0xee82ac5e | +|----------+-------------------------------------------------+------------| +| Function | getBlockNumber() | 0x42cbb15c | +|----------+-------------------------------------------------+------------| +| Function | getChainId() | 0x3408e470 | +|----------+-------------------------------------------------+------------| +| Function | getCurrentBlockCoinbase() | 0xa8b0574e | +|----------+-------------------------------------------------+------------| +| Function | getCurrentBlockDifficulty() | 0x72425d9d | +|----------+-------------------------------------------------+------------| +| Function | getCurrentBlockGasLimit() | 0x86d516e8 | +|----------+-------------------------------------------------+------------| +| Function | getCurrentBlockTimestamp() | 0x0f28c97d | +|----------+-------------------------------------------------+------------| +| Function | getEthBalance(address) | 0x4d2301cc | +|----------+-------------------------------------------------+------------| +| Function | getLastBlockHash() | 0x27e86d6e | +|----------+-------------------------------------------------+------------| +| Function | tryAggregate(bool,(address,bytes)[]) | 0xbce38bd7 | +|----------+-------------------------------------------------+------------| +| Function | tryBlockAndAggregate(bool,(address,bytes)[]) | 0x399542e9 | ++----------+-------------------------------------------------+------------+ + +RevertReceiveAccount ++----------+------------------------+------------+ +| Type | Signature | Selector | ++================================================+ +| Function | revertReceive() | 0xaa4593dc | +|----------+------------------------+------------| +| Function | setRevertReceive(bool) | 0x607e2cb2 | ++----------+------------------------+------------+ + +RevertTransferERC20 ++----------+---------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================+ +| Function | allowance(address,address) | 0xdd62ed3e | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | approve(address,uint256) | 0x095ea7b3 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | balanceOf(address) | 0x70a08231 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decimals() | 0x313ce567 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decreaseAllowance(address,uint256) | 0xa457c2d7 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | increaseAllowance(address,uint256) | 0x39509351 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | mint(address,uint256) | 0x40c10f19 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | name() | 0x06fdde03 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | revertTransfer() | 0x1f067457 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | setRevertTransfer(bool) | 0xf20265d2 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | symbol() | 0x95d89b41 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | totalSupply() | 0x18160ddd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transfer(address,uint256) | 0xa9059cbb | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transferFrom(address,address,uint256) | 0x23b872dd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Approval(address,address,uint256) | 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Transfer(address,address,uint256) | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | ++----------+---------------------------------------+--------------------------------------------------------------------+ + +SingletonFactory ++----------+-----------------------+------------+ +| Type | Signature | Selector | ++===============================================+ +| Function | deploy(bytes,bytes32) | 0x4af63f02 | ++----------+-----------------------+------------+ + +TestnetERC20Token ++----------+---------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================+ +| Function | allowance(address,address) | 0xdd62ed3e | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | approve(address,uint256) | 0x095ea7b3 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | balanceOf(address) | 0x70a08231 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decimals() | 0x313ce567 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decreaseAllowance(address,uint256) | 0xa457c2d7 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | increaseAllowance(address,uint256) | 0x39509351 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | mint(address,uint256) | 0x40c10f19 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | name() | 0x06fdde03 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | symbol() | 0x95d89b41 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | totalSupply() | 0x18160ddd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transfer(address,uint256) | 0xa9059cbb | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transferFrom(address,address,uint256) | 0x23b872dd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Approval(address,address,uint256) | 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Transfer(address,address,uint256) | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | ++----------+---------------------------------------+--------------------------------------------------------------------+ + +WETH9 ++----------+---------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================+ +| Function | allowance(address,address) | 0xdd62ed3e | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | approve(address,uint256) | 0x095ea7b3 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | balanceOf(address) | 0x70a08231 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | decimals() | 0x313ce567 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | deposit() | 0xd0e30db0 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | name() | 0x06fdde03 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | symbol() | 0x95d89b41 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | totalSupply() | 0x18160ddd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transfer(address,uint256) | 0xa9059cbb | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | transferFrom(address,address,uint256) | 0x23b872dd | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(uint256) | 0x2e1a7d4d | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Approval(address,address,uint256) | 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925 | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Deposit(address,uint256) | 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Transfer(address,address,uint256) | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | +|----------+---------------------------------------+--------------------------------------------------------------------| +| Event | Withdrawal(address,uint256) | 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65 | ++----------+---------------------------------------+--------------------------------------------------------------------+ + +ITestnetERC20Token ++----------+-----------------------+------------+ +| Type | Signature | Selector | ++===============================================+ +| Function | decimals() | 0x313ce567 | +|----------+-----------------------+------------| +| Function | mint(address,uint256) | 0x40c10f19 | ++----------+-----------------------+------------+ + +AddressAliasHelperTest ++----------+---------------------------+------------+ +| Type | Signature | Selector | ++===================================================+ +| Function | applyL1ToL2Alias(address) | 0x7528c2c6 | +|----------+---------------------------+------------| +| Function | undoL1ToL2Alias(address) | 0x689992b3 | ++----------+---------------------------+------------+ + +DummyChainTypeManagerForValidatorTimelock ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | chainAdmin() | 0x6478d8ed | +|----------+-----------------------------+------------| +| Function | getChainAdmin(uint256) | 0x301e7765 | +|----------+-----------------------------+------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+-----------------------------+------------| +| Function | setZKChain(uint256,address) | 0xce214549 | +|----------+-----------------------------+------------| +| Function | zkChainAddress() | 0xbfcdc5bd | ++----------+-----------------------------+------------+ + +DummyERC20BytesTransferReturnValue ++----------+---------------------------+------------+ +| Type | Signature | Selector | ++===================================================+ +| Function | transfer(address,uint256) | 0xa9059cbb | ++----------+---------------------------+------------+ + +DummyERC20NoTransferReturnValue ++----------+---------------------------+------------+ +| Type | Signature | Selector | ++===================================================+ +| Function | transfer(address,uint256) | 0xa9059cbb | ++----------+---------------------------+------------+ + +DummyEraBaseTokenBridge ++----------+------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++====================================================================================+ +| Function | bridgehubDepositBaseToken(uint256,address,address,uint256) | 0x2c4f2a58 | ++----------+------------------------------------------------------------+------------+ + +TransactionFiltererFalse ++----------+---------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=============================================================================================+ +| Function | isTransactionAllowed(address,address,uint256,uint256,bytes,address) | 0xcbcf2e3c | ++----------+---------------------------------------------------------------------+------------+ + +TransactionFiltererTrue ++----------+---------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=============================================================================================+ +| Function | isTransactionAllowed(address,address,uint256,uint256,bytes,address) | 0xcbcf2e3c | ++----------+---------------------------------------------------------------------+------------+ + +ReenterGovernance ++----------+-----------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++===============================================================================================+ +| Function | initialize(address,((address,uint256,bytes)[],bytes32,bytes32),uint8) | 0xb2ded522 | ++----------+-----------------------------------------------------------------------+------------+ + +ReenterL1ERC20Bridge ++----------+--------------------------+------------+ +| Type | Signature | Selector | ++==================================================+ +| Function | setBridge(address) | 0x8dd14802 | +|----------+--------------------------+------------| +| Function | setFunctionToCall(uint8) | 0x77421056 | ++----------+--------------------------+------------+ + +TestCalldataDA ++----------+-------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=====================================================================================+ +| Function | processCalldataDA(uint256,bytes32,uint256,bytes) | 0xfd3c6b55 | +|----------+-------------------------------------------------------------+------------| +| Function | processL2RollupDAValidatorOutputHash(bytes32,uint256,bytes) | 0x53e61bdc | ++----------+-------------------------------------------------------------+------------+ + +UncheckedMathTest ++----------+-------------------------------+------------+ +| Type | Signature | Selector | ++=======================================================+ +| Function | uncheckedAdd(uint256,uint256) | 0xb277f199 | +|----------+-------------------------------+------------| +| Function | uncheckedInc(uint256) | 0x8cf2b2f0 | ++----------+-------------------------------+------------+ + +UnsafeBytesTest ++----------+----------------------------+------------+ +| Type | Signature | Selector | ++====================================================+ +| Function | readAddress(bytes,uint256) | 0xf0e9da23 | +|----------+----------------------------+------------| +| Function | readBytes32(bytes,uint256) | 0xaf500fb7 | +|----------+----------------------------+------------| +| Function | readUint256(bytes,uint256) | 0xe02da327 | +|----------+----------------------------+------------| +| Function | readUint32(bytes,uint256) | 0x69c76df2 | ++----------+----------------------------+------------+ + +VerifierRecursiveTest ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | verificationKeyHash() | 0x9e8945d2 | +|----------+-----------------------------+------------| +| Function | verify(uint256[],uint256[]) | 0xb864f5a9 | ++----------+-----------------------------+------------+ + +VerifierTest ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | verificationKeyHash() | 0x9e8945d2 | +|----------+-----------------------------+------------| +| Function | verify(uint256[],uint256[]) | 0xb864f5a9 | ++----------+-----------------------------+------------+ + +IAccessControlRestriction ++-------+----------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================+ +| Event | FallbackRoleSet(address,bytes32) | 0xacb22a6b6e4593545bea6f5cdd10238b8a592aba079d9cfc76adb71edf02d40b | +|-------+----------------------------------+--------------------------------------------------------------------| +| Event | RoleSet(address,bytes4,bytes32) | 0x25c1ec7629ef447de39798ef5e6e0da89139b2257681441b45f1779c3efda036 | ++-------+----------------------------------+--------------------------------------------------------------------+ + +IChainAdmin ++----------+--------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==================================================================================================================================+ +| Function | addRestriction(address) | 0x33163987 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | getRestrictions() | 0xc4195cb8 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | isRestrictionActive(address) | 0x02f0277d | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | multicall((address,uint256,bytes)[],bool) | 0x69340beb | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | removeRestriction(address) | 0x69a5b950 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | CallExecuted((address,uint256,bytes),bool,bytes) | 0x157c677a40c50f832f816d7b59c8c3e94774acae328c8ccb145b73aea7566d75 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | RestrictionAdded(address) | 0x83cfa0dec28fa91596ce8081b6279e7d1c402d3d4bc40934fc51f8830e7d82c6 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | RestrictionRemoved(address) | 0xdf4f1ec932dcab3c66fb7845ba6fc669816121e5d4a81d6955d3c6d3bff7b7e9 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | UpdateUpgradeTimestamp(uint256,uint256) | 0xd50ef21701c8ef211433b140724b8d6de471e7d822c8a616c3d424fe2d0e98a9 | ++----------+--------------------------------------------------+--------------------------------------------------------------------+ + +IGovernance ++----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++============================================================================================================================================================================+ +| Function | cancel(bytes32) | 0xc4d252f5 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | execute(((address,uint256,bytes)[],bytes32,bytes32)) | 0x74da756b | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeInstant(((address,uint256,bytes)[],bytes32,bytes32)) | 0x95218ecd | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getOperationState(bytes32) | 0x7958004c | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | hashOperation(((address,uint256,bytes)[],bytes32,bytes32)) | 0xc126e860 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperation(bytes32) | 0x31d50750 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperationDone(bytes32) | 0x2ab0f529 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperationPending(bytes32) | 0x584b153e | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperationReady(bytes32) | 0x13bc9f20 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | scheduleShadow(bytes32,uint256) | 0x6d1d8363 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | scheduleTransparent(((address,uint256,bytes)[],bytes32,bytes32),uint256) | 0x2c431917 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | updateDelay(uint256) | 0x64d62353 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | updateSecurityCouncil(address) | 0xdbfe3e96 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChangeMinDelay(uint256,uint256) | 0x0c5ff76c31d24175d9e84ef46e328eafbcaeb2aa67a2333035eb082dd34324f1 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChangeSecurityCouncil(address,address) | 0xe55ac8ae7914efca1278b8ed4ae21728d06ad9f6e7637bb2c905aacf2a6f5951 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OperationCancelled(bytes32) | 0xcf0f63b97f3387253cbc0bde884f975df77e39184dc3280c2c81be495f58eef4 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OperationExecuted(bytes32) | 0x1277662f4b42b8a4069e99fb5e41ce8919d3c621156090ac08fb11adbcec66f9 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ShadowOperationScheduled(bytes32,uint256) | 0xbcb40fd953364ec8aed99fa0bd6dcc03103f979efde4744ad7452e556ff20ba6 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | TransparentOperationScheduled(bytes32,uint256,((address,uint256,bytes)[],bytes32,bytes32)) | 0x23bc9f5dc037eb49c162fd08c2a4d43dfe70063149e140d502273168da0a0625 | ++----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IPermanentRestriction ++-------+------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================+ +| Event | AdminImplementationAllowed(bytes32,bool) | 0xb9b1bc97b8d56d15ac2abdd71d788b0d6e14dc92fa9b8df811d0a2f41c14354a | +|-------+------------------------------------------+--------------------------------------------------------------------| +| Event | AllowL2Admin(address) | 0x43472806f9101fbc243f5a64948e56332b1d18bb082e7d4772a29368eb80991e | +|-------+------------------------------------------+--------------------------------------------------------------------| +| Event | AllowedDataChanged(bytes,bool) | 0xbb577d7ca5995b00ceaae0c75f77ab5df42a1e24673e2e36858ee718f3f1eb8c | +|-------+------------------------------------------+--------------------------------------------------------------------| +| Event | SelectorValidationChanged(bytes4,bool) | 0x85198d5146ae402b94f01f31a2049f75a6ecadc1d321090cd97467979b8d09d7 | ++-------+------------------------------------------+--------------------------------------------------------------------+ + +L2ProxyAdminDeployer ++----------+-----------------------+------------+ +| Type | Signature | Selector | ++===============================================+ +| Function | PROXY_ADMIN_ADDRESS() | 0x7e1dfea3 | ++----------+-----------------------+------------+ + +TransitionaryOwner ++----------+--------------------------------------------+------------+ +| Type | Signature | Selector | ++====================================================================+ +| Function | GOVERNANCE_ADDRESS() | 0x0143dd86 | +|----------+--------------------------------------------+------------| +| Function | claimOwnershipAndGiveToGovernance(address) | 0xfbdb0a0b | ++----------+--------------------------------------------+------------+ + +IRestriction ++----------+-----------------------------------------------+------------+ +| Type | Signature | Selector | ++=======================================================================+ +| Function | getSupportsRestrictionMagic() | 0x83e866f5 | +|----------+-----------------------------------------------+------------| +| Function | validateCall((address,uint256,bytes),address) | 0x9a9debe9 | ++----------+-----------------------------------------------+------------+ + +Restriction ++----------+-----------------------------------------------+------------+ +| Type | Signature | Selector | ++=======================================================================+ +| Function | getSupportsRestrictionMagic() | 0x83e866f5 | +|----------+-----------------------------------------------+------------| +| Function | validateCall((address,uint256,bytes),address) | 0x9a9debe9 | ++----------+-----------------------------------------------+------------+ + +TestnetVerifier ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | verificationKeyHash() | 0x9e8945d2 | +|----------+-----------------------------+------------| +| Function | verify(uint256[],uint256[]) | 0xb864f5a9 | ++----------+-----------------------------+------------+ + +Verifier ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | verificationKeyHash() | 0x9e8945d2 | +|----------+-----------------------------+------------| +| Function | verify(uint256[],uint256[]) | 0xb864f5a9 | ++----------+-----------------------------+------------+ + +IExecutor ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===========================================================================================================================================+ +| Function | commitBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0x98f81962 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xcf02827d | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xe12a6137 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatchesSharedBridge(uint256,uint256) | 0x0f23da43 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockCommit(uint256,bytes32,bytes32) | 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockExecution(uint256,bytes32,bytes32) | 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksRevert(uint256,uint256,uint256) | 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksVerification(uint256,uint256) | 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81 | ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ + +IL1DAValidator ++----------+------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================+ +| Function | checkDA(uint256,uint256,bytes32,bytes,uint256) | 0x381c3f13 | ++----------+------------------------------------------------+------------+ + +ILegacyGetters ++----------+------------------------------------------+------------+ +| Type | Signature | Selector | ++==================================================================+ +| Function | getL2SystemContractsUpgradeBlockNumber() | 0x9d1b5a81 | +|----------+------------------------------------------+------------| +| Function | getName() | 0x17d7de7c | +|----------+------------------------------------------+------------| +| Function | getTotalBlocksCommitted() | 0xfe26699e | +|----------+------------------------------------------+------------| +| Function | getTotalBlocksExecuted() | 0x39607382 | +|----------+------------------------------------------+------------| +| Function | getTotalBlocksVerified() | 0xaf6a2dcd | +|----------+------------------------------------------+------------| +| Function | storedBlockHash(uint256) | 0x74f4d30d | ++----------+------------------------------------------+------------+ + +IMailbox ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===================================================================================================================================================================================================================================================================+ +| Function | bridgehubRequestL2Transaction((address,address,uint256,uint256,bytes,uint256,uint256,bytes[],address)) | 0x12f43dab | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubRequestL2TransactionOnGateway(bytes32,uint64) | 0xddcc9eec | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeEthWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x6c0960f9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256) | 0xb473318e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0x042901c7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LeafInclusion(uint256,uint256,bytes32,bytes32[]) | 0x7efda2ae | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0x263b7f8e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,(uint16,address,bytes),bytes32[]) | 0xe4948f43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2Transaction(address,uint256,bytes,uint256,uint256,bytes[],address) | 0xeb672419 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionToGatewayMailbox(uint256,bytes32,uint64) | 0xd0772551 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityRequest(uint256,bytes32,uint64,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[]) | 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewRelayedPriorityTransaction(uint256,bytes32,uint64) | 0x0137d2eaa6ec5b7e4f233f6d6f441410014535d0f3985367994c94bf15a2a564 | ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +ITransactionFilterer ++----------+---------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=============================================================================================+ +| Function | isTransactionAllowed(address,address,uint256,uint256,bytes,address) | 0xcbcf2e3c | ++----------+---------------------------------------------------------------------+------------+ + +IVerifier ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | verificationKeyHash() | 0x9e8945d2 | +|----------+-----------------------------+------------| +| Function | verify(uint256[],uint256[]) | 0xb864f5a9 | ++----------+-----------------------------+------------+ + +IZKChainBase ++----------+-----------+------------+ +| Type | Signature | Selector | ++===================================+ +| Function | getName() | 0x17d7de7c | ++----------+-----------+------------+ + +RelayedSLDAValidator ++----------+------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================+ +| Function | checkDA(uint256,uint256,bytes32,bytes,uint256) | 0x381c3f13 | ++----------+------------------------------------------------+------------+ + +ValidiumL1DAValidator ++----------+------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================+ +| Function | checkDA(uint256,uint256,bytes32,bytes,uint256) | 0x381c3f13 | ++----------+------------------------------------------------+------------+ + +IComplexUpgrader ++----------+------------------------+------------+ +| Type | Signature | Selector | ++================================================+ +| Function | upgrade(address,bytes) | 0xc987336c | ++----------+------------------------+------------+ + +IL2GatewayUpgrade ++----------+---------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=============================================================================================+ +| Function | upgrade((bytes32,address,bool,uint256,bytes)[],address,bytes,bytes) | 0xff87ffa5 | ++----------+---------------------------------------------------------------------+------------+ + +IL2GenesisUpgrade ++----------+---------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=============================================================================================================================+ +| Function | genesisUpgrade(uint256,address,bytes,bytes) | 0x012aa9a4 | +|----------+---------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256) | 0xd01e21be66147e834d803d6e8b8656aabf0c7c4cb36947b8c3cac47be96afd84 | ++----------+---------------------------------------------+--------------------------------------------------------------------+ + +ISystemContext ++----------+---------------------+------------+ +| Type | Signature | Selector | ++=============================================+ +| Function | setChainId(uint256) | 0xef0e2ff4 | ++----------+---------------------+------------+ + +IL1GenesisUpgrade ++----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++========================================================================================================================================================================================================================================================+ +| Function | genesisUpgrade(address,uint256,uint256,address,bytes,bytes[]) | 0xd83e4e03 | +|----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | GenesisUpgrade(address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),uint256,bytes[]) | 0xc5902263211386c797097c5eef7ce20567f0e13359623233314cfa01a55341da | ++----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +BridgedStandardERC20 ++----------+---------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================================================+ +| Function | DOMAIN_SEPARATOR() | 0x3644e515 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | allowance(address,address) | 0xdd62ed3e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | approve(address,uint256) | 0x095ea7b3 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId() | 0x44de240a | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | balanceOf(address) | 0x70a08231 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(address,uint256) | 0x74f4f547 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeInitialize(bytes32,address,bytes) | 0x9a6ab870 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(address,uint256) | 0x8c2a993e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | decimals() | 0x313ce567 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | decodeString(bytes) | 0x95ce3e93 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | decodeUint8(bytes) | 0x7ba8be34 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | decreaseAllowance(address,uint256) | 0xa457c2d7 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | eip712Domain() | 0x84b0196e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | increaseAllowance(address,uint256) | 0x39509351 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1Address() | 0xc2eeeebd | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | name() | 0x06fdde03 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nativeTokenVault() | 0x64e130cf | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nonces(address) | 0x7ecebe00 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | originToken() | 0x13096a41 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | permit(address,address,uint256,uint256,uint8,bytes32,bytes32) | 0xd505accf | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | reinitializeToken((bool,bool,bool),string,string,uint8) | 0xb71bcf90 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | symbol() | 0x95d89b41 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | totalSupply() | 0x18160ddd | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transfer(address,uint256) | 0xa9059cbb | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferFrom(address,address,uint256) | 0x23b872dd | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AdminChanged(address,address) | 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Approval(address,address,uint256) | 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BeaconUpgraded(address) | 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(address,uint256) | 0x9b5b9a05e4726d8bb959f1440e05c6b8109443f2083bc4e386237d7654526553 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | EIP712DomainChanged() | 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Transfer(address,address,uint256) | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Upgraded(address) | 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonSequentialVersion() | 0x0ac76f01 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+---------------------------------------------------------------+--------------------------------------------------------------------+ + +L1ERC20Bridge ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==============================================================================================================================================================+ +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NATIVE_TOKEN_VAULT() | 0x293e8520 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(address,address,bytes32,uint256,uint256,uint16,bytes32[]) | 0x19fa7f62 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256) | 0x933999fb | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256,address) | 0xe8b99b1b | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositAmount(address,address,bytes32) | 0x01eae183 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x11a2ccc1 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize() | 0x8129fc1c | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256) | 0x4bed8212 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenBeacon() | 0x6dde7209 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenProxyBytecodeHash() | 0x823f1d96 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ClaimedFailedDeposit(address,address,uint256) | 0xbe066dc591f4a444f75176d387c3e6c775e5706d9ea9a91d11eb49030c66cf60 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositInitiated(bytes32,address,address,address,uint256) | 0xdd341179f4edc78148d894d0213a96d212af2cbaf223d19ef6d483bdd47ab81d | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalFinalized(address,address,uint256) | 0xac1b18083978656d557d6e91c88203585cfda1031bdb14538327121ef140d383 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ApprovalFailed() | 0x8164f842 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ETHDepositNotSupported() | 0x627e0872 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawalAlreadyFinalized() | 0xae899454 | ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +L1Nullifier ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_admin() | 0xf7a5cec0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_chainBalance(uint256,address) | 0x6182877b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_l2BridgeAddress(uint256) | 0xfdbb0301 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_pendingAdmin() | 0x6cdecb2b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes,bytes32,uint256,uint256,uint16,bytes32[]) | 0x3601e63e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2TransactionForwarded(uint256,bytes32,bytes32) | 0x4bc2c8c0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainBalance(uint256,address) | 0x9cd45184 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(uint256,address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0xc0991525 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDepositLegacyErc20Bridge(address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0x8fbb3711 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositHappened(uint256,bytes32) | 0x9fa8826b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | encodeTxDataHash(bytes1,address,bytes32,bytes) | 0xf120e6c4 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit((uint256,uint256,uint256,address,uint16,bytes,bytes32[])) | 0x74beea82 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address,uint256,uint256,uint256,uint256) | 0xf92ad219 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256,uint256) | 0x8f31f052 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1AssetRouter() | 0x6d9860e1 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1NativeTokenVault() | 0x6f513211 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2BridgeAddress(uint256) | 0x07ee9355 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | legacyBridge() | 0x6e9d7899 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nullifyChainBalanceByNTV(uint256,address) | 0x5de097b1 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1AssetRouter(address) | 0x780ce114 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1Erc20Bridge(address) | 0x30bda03e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1NativeTokenVault(address) | 0xb7cc6f46 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferTokenToNTV(address) | 0x40a434d5 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositFinalized(uint256,bytes32,bytes32) | 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressAlreadySet(address) | 0x0dfb42bf | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DepositDoesNotExist() | 0xc7c9660f | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DepositExists() | 0xad2fa98e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProof() | 0x09bde339 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidSelector(bytes4) | 0x12ba286f | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2WithdrawalMessageWrongLength(uint256) | 0x97e1359e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SharedBridgeValueNotSet(uint8) | 0x7774d2f9 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawalAlreadyFinalized() | 0xae899454 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +L2SharedBridgeLegacy ++----------+--------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++========================================================================================================================================+ +| Function | deployBeaconProxy(bytes32) | 0x07168226 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(address,address,address,uint256,bytes) | 0xcfe7af7c | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address,bytes32,address) | 0xd26b3e6e | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1Bridge() | 0x969b53da | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1SharedBridge() | 0xb852ad36 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1TokenAddress(address) | 0xf54266a2 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenBeacon() | 0x6dde7209 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | sendMessageToL1(bytes) | 0xff21c125 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(address,address,uint256) | 0xd9caed12 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Event | FinalizeDeposit(address,address,address,uint256) | 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | AmountMustBeGreaterThanZero() | 0x5e85ae73 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | DeployFailed() | 0xb4f54111 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyBytes32() | 0x1c25715b | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidCaller(address) | 0xcbd9d2e0 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | U32CastOverflow() | 0xfe3c3c45 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+--------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+--------------------------------------------------------+--------------------------------------------------------------------+ + +L2WrappedBaseToken ++----------+---------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================================================+ +| Function | DOMAIN_SEPARATOR() | 0x3644e515 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | allowance(address,address) | 0xdd62ed3e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | approve(address,uint256) | 0x095ea7b3 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId() | 0x44de240a | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | balanceOf(address) | 0x70a08231 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenAssetId() | 0x22ce9d15 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(address,uint256) | 0x74f4f547 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(address,uint256) | 0x8c2a993e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | decimals() | 0x313ce567 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | decreaseAllowance(address,uint256) | 0xa457c2d7 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit() | 0xd0e30db0 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositTo(address) | 0xb760faf9 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | eip712Domain() | 0x84b0196e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | increaseAllowance(address,uint256) | 0x39509351 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initializeV2(string,string,address,address,bytes32) | 0x92f9f0a0 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1Address() | 0xc2eeeebd | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | name() | 0x06fdde03 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nativeTokenVault() | 0x64e130cf | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nonces(address) | 0x7ecebe00 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | originToken() | 0x13096a41 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | permit(address,address,uint256,uint256,uint8,bytes32,bytes32) | 0xd505accf | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | symbol() | 0x95d89b41 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | totalSupply() | 0x18160ddd | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transfer(address,uint256) | 0xa9059cbb | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferFrom(address,address,uint256) | 0x23b872dd | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(uint256) | 0x2e1a7d4d | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdrawTo(address,uint256) | 0x205c2878 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Approval(address,address,uint256) | 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(address,uint256) | 0x9b5b9a05e4726d8bb959f1440e05c6b8109443f2083bc4e386237d7654526553 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | EIP712DomainChanged() | 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialize(string,string,uint8) | 0xc21caeb4e8f73861400d4c0870ad3e468ddb4e45225da3832ce1da5561f1f61e | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Transfer(address,address,uint256) | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BridgeMintNotImplemented() | 0xdb538614 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawFailed() | 0x750b219c | +|----------+---------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+---------------------------------------------------------------+--------------------------------------------------------------------+ + +AssetRouterBase ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetDeploymentTracker(bytes32) | 0x85e4e16a | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(uint256,bytes32,bytes) | 0x9c884fd1 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegistered(bytes32,address) | 0x2632cc0d58b0cb1017b99cc0b6cc66ad86440cc0dd923bfdaa294f95ba1b0201 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegisteredInitial(bytes32,address,bytes32,address) | 0xb1e82bee3e85b2755fbceb4b7e051f5c66a7f35f0476657504e77e18ebd3a17d | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositInitiated(uint256,bytes32,address,bytes32,bytes) | 0xe21913bc89c1320d9709a5d236ffe06b54cf88aecfc9509ebd68f1adba45781e | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubWithdrawalInitiated(uint256,address,bytes32,bytes32) | 0x9a3d4025b7294a1754ea5b56309c1e72328d97b73718183db595c850d14a3ae0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositFinalizedAssetRouter(uint256,bytes32,bytes) | 0x44eb9a840094a49b3cd0a5205042598a1c08c4e87bafb5760bc2d8efa170c541 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ + +L1AssetRouter ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_WETH_TOKEN() | 0x41c841c3 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetDeploymentTracker(bytes32) | 0x85e4e16a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes) | 0x1346ca3b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes,bytes32,uint256,uint256,uint16,bytes32[]) | 0x3601e63e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2Transaction(uint256,bytes32,bytes32) | 0x8eb7db57 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDeposit(uint256,address,uint256,bytes) | 0xca408c23 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDepositBaseToken(uint256,bytes32,address,uint256) | 0xc4879440 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(uint256,address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0xc0991525 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositLegacyErc20Bridge(address,address,address,uint256,uint256,uint256,address) | 0x9e6ea417 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(uint256,bytes32,bytes) | 0x9c884fd1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint256,uint16,bytes,bytes32[]) | 0xc87325f1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getDepositCalldata(address,bytes32,bytes) | 0x2ff0b2ea | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address) | 0xc4d66de8 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256,uint256) | 0x8f31f052 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2BridgeAddress(uint256) | 0x07ee9355 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | legacyBridge() | 0x6e9d7899 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nativeTokenVault() | 0x64e130cf | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetDeploymentTracker(bytes32,address) | 0xc0a16dda | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1Erc20Bridge(address) | 0x30bda03e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNativeTokenVault(address) | 0x0f3fa211 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferFundsToNTV(bytes32,uint256,address) | 0x57d4ca5c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetDeploymentTrackerSet(bytes32,address,bytes32) | 0x14c1bae9bcc3777747463b66a36584aa75e4ded1aa38089f447beecb125a2175 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegistered(bytes32,address) | 0x2632cc0d58b0cb1017b99cc0b6cc66ad86440cc0dd923bfdaa294f95ba1b0201 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegisteredInitial(bytes32,address,bytes32,address) | 0xb1e82bee3e85b2755fbceb4b7e051f5c66a7f35f0476657504e77e18ebd3a17d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositFinalized(uint256,bytes32,bytes32) | 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositInitiated(uint256,bytes32,address,bytes32,bytes) | 0xe21913bc89c1320d9709a5d236ffe06b54cf88aecfc9509ebd68f1adba45781e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubMintData(bytes) | 0x31a15cb4f69820f57afabeaff74feae31dc25875c07c952ba742a3acf8690f91 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubWithdrawalInitiated(uint256,address,bytes32,bytes32) | 0x9a3d4025b7294a1754ea5b56309c1e72328d97b73718183db595c850d14a3ae0 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ClaimedFailedDepositAssetRouter(uint256,bytes32,bytes) | 0x4250817d22c13fba8067153d85ccd9706326ac2bd14d5c3898c8b1bccc440658 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositFinalizedAssetRouter(uint256,bytes32,bytes) | 0x44eb9a840094a49b3cd0a5205042598a1c08c4e87bafb5760bc2d8efa170c541 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | LegacyDepositInitiated(uint256,bytes32,address,address,address,uint256) | 0xa1846a4248529db592da99da276f761d9f37a84d0f3d4e83819b869759000700 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressAlreadyUsed(address) | 0x1ff9d522 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetHandlerDoesNotExist(bytes32) | 0xfde974f4 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdNotSupported(bytes32) | 0x04a0b7e9 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokenNotSupported(address) | 0x06439c6b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +L2AssetRouter ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================+ +| Function | BASE_TOKEN_ASSET_ID() | 0xcb944dec | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L2_LEGACY_SHARED_BRIDGE() | 0xc438a9f2 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetDeploymentTracker(bytes32) | 0x85e4e16a | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(uint256,bytes32,bytes) | 0x9c884fd1 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit(address,address,address,uint256,bytes) | 0xcfe7af7c | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDepositLegacyBridge(address,address,address,uint256,bytes) | 0x54b2e69c | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1AssetRouter() | 0x6d9860e1 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1Bridge() | 0x969b53da | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1TokenAddress(address) | 0xf54266a2 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddress(uint256,bytes32,address) | 0xda556bdc | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(bytes32,bytes) | 0x4a2e35ba | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdraw(address,address,uint256) | 0xd9caed12 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdrawLegacyBridge(address,address,uint256,address) | 0x7ac3a553 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | withdrawToken(address,bytes) | 0x958a9f51 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegistered(bytes32,address) | 0x2632cc0d58b0cb1017b99cc0b6cc66ad86440cc0dd923bfdaa294f95ba1b0201 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetHandlerRegisteredInitial(bytes32,address,bytes32,address) | 0xb1e82bee3e85b2755fbceb4b7e051f5c66a7f35f0476657504e77e18ebd3a17d | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositInitiated(uint256,bytes32,address,bytes32,bytes) | 0xe21913bc89c1320d9709a5d236ffe06b54cf88aecfc9509ebd68f1adba45781e | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubWithdrawalInitiated(uint256,address,bytes32,bytes32) | 0x9a3d4025b7294a1754ea5b56309c1e72328d97b73718183db595c850d14a3ae0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositFinalizedAssetRouter(uint256,bytes32,bytes) | 0x44eb9a840094a49b3cd0a5205042598a1c08c4e87bafb5760bc2d8efa170c541 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalInitiatedAssetRouter(uint256,address,bytes32,bytes) | 0x55362fc62473cb1255e770af5d5e02ba6ee5bc7ed6969c30eb11ca31b92384dc | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AmountMustBeGreaterThanZero() | 0x5e85ae73 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdNotSupported(bytes32) | 0x04a0b7e9 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyAddress() | 0x7138356f | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidCaller(address) | 0xcbd9d2e0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ + +L1NativeTokenVault ++----------+----------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | BASE_TOKEN_ASSET_ID() | 0xcb944dec | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeCheckCounterpartAddress(uint256,bytes32,address,address) | 0x9cc395d0 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xc2e90293 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgedTokenBeacon() | 0xf2d44246 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainBalance(uint256,bytes32) | 0x3345359b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address,address) | 0x485cc955 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerEthToken() | 0xcb6da609 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenDataOriginChainId(bytes) | 0x07a6d4bc | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferFundsFromSharedBridge(address) | 0x8310f2c6 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | updateChainBalancesFromSharedBridge(address,uint256) | 0x1c9f0149 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | TokenBeaconUpdated(address) | 0x5ed5e4f58bf9a324a38beaa1177fb96fcb7bf3a5f4c4585ebb78c4a8c0249d0f | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressMismatch(address,address) | 0x1f73225f | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AmountMustBeGreaterThanZero() | 0x5e85ae73 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdMismatch(bytes32,bytes32) | 0x1294e9e1 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DeployingBridgedTokenForNativeToken() | 0x138ee1a3 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InsufficientChainBalance() | 0x826fb11e | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFundsTransferred() | 0xcab098d8 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyMsgValue() | 0x536ec84b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OriginChainIdNotFound() | 0xb926450e | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokenNotSupported(address) | 0x06439c6b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawFailed() | 0x750b219c | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+----------------------------------------------------------------+--------------------------------------------------------------------+ + +L2NativeTokenVault ++----------+------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++======================================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | BASE_TOKEN_ASSET_ID() | 0xcb944dec | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | L2_LEGACY_SHARED_BRIDGE() | 0xc438a9f2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgedTokenBeacon() | 0xf2d44246 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyTokenAssetId(address) | 0x4cd40a02 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenDataOriginChainId(bytes) | 0x07a6d4bc | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | FinalizeDeposit(address,address,address,uint256) | 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | L2TokenBeaconUpdated(address,bytes32) | 0x01fd5911e6d04aec6b21f19752502ad7f3e9876279643c8fa7a4d30c88a29fb2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalInitiated(address,address,address,uint256) | 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressMismatch(address,address) | 0x1f73225f | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AmountMustBeGreaterThanZero() | 0x5e85ae73 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdMismatch(bytes32,bytes32) | 0x1294e9e1 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdNotSupported(bytes32) | 0x04a0b7e9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | DeployFailed() | 0xb4f54111 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | DeployingBridgedTokenForNativeToken() | 0x138ee1a3 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyAddress() | 0x7138356f | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyBytes32() | 0x1c25715b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyMsgValue() | 0x536ec84b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokenNotSupported(address) | 0x06439c6b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | U32CastOverflow() | 0xfe3c3c45 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+------------------------------------------------------+--------------------------------------------------------------------+ + +NativeTokenVault ++----------+-----------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | BASE_TOKEN_ASSET_ID() | 0xcb944dec | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgedTokenBeacon() | 0xf2d44246 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenDataOriginChainId(bytes) | 0x07a6d4bc | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressMismatch(address,address) | 0x1f73225f | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | AmountMustBeGreaterThanZero() | 0x5e85ae73 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdMismatch(bytes32,bytes32) | 0x1294e9e1 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | DeployingBridgedTokenForNativeToken() | 0x138ee1a3 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyMsgValue() | 0x536ec84b | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | TokenNotSupported(address) | 0x06439c6b | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+-----------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-----------------------------------------------------+--------------------------------------------------------------------+ + +Bridgehub ++----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================+ +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | MAX_NUMBER_OF_ZK_CHAINS() | 0x8f8d37a8 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_baseToken(uint256) | 0x5d83b6da | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_tokenIsRegistered(address) | 0xeced0bf0 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | addChainTypeManager(address) | 0xff5a62a1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | addTokenAssetId(bytes32) | 0x1c50cfea | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | admin() | 0xf851a440 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetIdIsRegistered(bytes32) | 0xe0ab6368 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetRouter() | 0xbc0aac10 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseToken(uint256) | 0x59ec65a2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenAssetId(uint256) | 0xe52db4ca | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xc2e90293 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManager(uint256) | 0x9d5bd3da | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManagerIsRegistered(address) | 0xb93c9366 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,address,bytes32,uint256,address,bytes,bytes[]) | 0xf113c88b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdFromAddress(address) | 0x70fccb52 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdFromChainId(uint256) | 0x24358c61 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdToAddress(bytes32) | 0x07621f84 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardTransactionOnGateway(uint256,bytes32,uint64) | 0x524c0cfa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAllZKChainChainIDs() | 0x68b8d331 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAllZKChains() | 0x49707f31 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getHyperchain(uint256) | 0xdead6f7f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address) | 0xc4d66de8 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initializeV2() | 0x5cd8a76b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1CtmDeployer() | 0xcbe83612 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256,uint256) | 0x71623274 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | messageRoot() | 0xd4b9f4fa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | migrationPaused() | 0x2a641114 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pauseMigration() | 0xac700e63 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(uint256,bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0xb292f5f1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0xe6d9923b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,uint256,(uint16,address,bytes),bytes32[]) | 0x99c16d1a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerAlreadyDeployedZKChain(uint256,address) | 0xb5662c5d | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | removeChainTypeManager(address) | 0x332b96dc | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionDirect((uint256,uint256,address,uint256,bytes,uint256,uint256,bytes[],address)) | 0xd52471c1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionTwoBridges((uint256,uint256,uint256,uint256,uint256,address,address,uint256,bytes)) | 0x24fd57fb | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAddresses(address,address,address) | 0x363bf964 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddress(bytes32,address) | 0x3f704d2a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyBaseTokenAssetId(uint256) | 0xca8f93f1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyChainAddress(uint256) | 0xd92f86a2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | settlementLayer(uint256) | 0x671a7131 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | sharedBridge() | 0x38720778 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpauseMigration() | 0xf7c7eb92 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | whitelistedSettlementLayers(uint256) | 0xe9420f8c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetRegistered(bytes32,address,bytes32,address) | 0x8f09d7694a9ae17acec5cf132d594d7eee23572f7fe132396ce72b1afbf7ef20 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BaseTokenAssetIdRegistered(bytes32) | 0x3df150949161462acf3be30521d7da9e533b247327a254e55dd01875897a6df3 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChainTypeManagerAdded(address) | 0x2eae91be1021e05cc8076387b0182458ae474ae44ee44cc59aefda6ca53c1f42 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChainTypeManagerRemoved(address) | 0x4e04a497739580efe78a7ee09cdabe6f6fe90965c683292a519102ce5193b68a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationFinalized(uint256,bytes32,address) | 0xb0cc16029b506b2a262b52711e71db4fcd1cb078bd4bb86c7ba82cd3be2eadd3 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationStarted(uint256,bytes32,uint256) | 0xc60eb6d595da5361c68f60aa7c8286b8f73c3a99e9db1818e146c522f512496f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChain(uint256,address,address) | 0x1e9125bc72db22c58abff6821d7333551967e26454b419ffa958e4cb8ef47600 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | SettlementLayerRegistered(uint256,bool) | 0x02629feb109d94b16a367231d248ba81c462f51ce5b984835f150f1c9f49ed25 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressTooLow(address) | 0x1eee5481 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetHandlerNotRegistered(bytes32) | 0x64107968 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdAlreadyRegistered() | 0xfe919e28 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdNotSupported(bytes32) | 0x04a0b7e9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BridgeHubAlreadyRegistered() | 0x6cf12312 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CTMAlreadyRegistered() | 0xec273439 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CTMNotRegistered() | 0xc630ef3c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainAlreadyLive() | 0x78d2ed02 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdAlreadyExists() | 0x24591d89 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdCantBeCurrentChain() | 0x717a1656 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdMismatch() | 0xa179f8c9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdNotRegistered(uint256) | 0x23f3c357 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdTooBig() | 0x8f620a06 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainNotLegacy() | 0x5de72107 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyAssetId() | 0x2d4d012f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | IncorrectBridgeHubAddress(address) | 0xdd381a4c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MigrationPaused() | 0x3312a450 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MsgValueMismatch(uint256,uint256) | 0x4a094431 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SharedBridgeNotSet() | 0x856d5b77 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WrongMagicValue(uint256,uint256) | 0x15e8e429 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZKChainLimitReached() | 0x601b6882 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroChainId() | 0xc84885d4 | ++----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +CTMDeploymentTracker ++----------+----------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeCheckCounterpartAddress(uint256,bytes32,address,address) | 0x9cc395d0 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2Transaction(uint256,bytes32,bytes32) | 0x8eb7db57 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDeposit(uint256,address,uint256,bytes) | 0xca408c23 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateAssetId(address) | 0xb68c104a | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address) | 0xc4d66de8 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerCTMAssetOnL1(address) | 0x2f9db630 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+----------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | ++----------+----------------------------------------------------------------+--------------------------------------------------------------------+ + +MessageRoot ++----------+-------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | addChainBatchRoot(uint256,uint256,bytes32) | 0xfb644fc5 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | addNewChain(uint256) | 0xd4ce08c2 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | chainCount() | 0xe02e1bfd | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | chainIndex(uint256) | 0x48ceb85e | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | chainIndexToId(uint256) | 0xed1d7d97 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | chainRegistered(uint256) | 0xb8776d4d | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | getAggregatedRoot() | 0x3977d71c | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainRoot(uint256) | 0x1e4fba05 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize() | 0x8129fc1c | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | sharedTree() | 0xb1fde1a8 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | updateFullTree() | 0xbcd1b23d | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | AddedChain(uint256,uint256) | 0x5d96eda109bfd71cf9f4f70c83de31c4150760e8828979a95d9e5f9f15455af7 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | AppendedChainBatchRoot(uint256,uint256,bytes32) | 0x4f7fd9ed016150a623d5a2cf43053fe313a56293a77e060a05db49ed22579520 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | Preimage(bytes32,bytes32) | 0x79a6ee6d75f19524cbfb09fe5df3f30024a7a557e62bea09bfdd3843b7fe5bda | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | ++----------+-------------------------------------------------+--------------------------------------------------------------------+ + +IContractDeployer ++----------+----------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++========================================================================================+ +| Function | create2(bytes32,bytes32,bytes) | 0x3cda3351 | +|----------+----------------------------------------------------------------+------------| +| Function | forceDeployOnAddresses((bytes32,address,bool,uint256,bytes)[]) | 0xe9f18c17 | ++----------+----------------------------------------------------------------+------------+ + +DummyL1ERC20Bridge ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==============================================================================================================================================================+ +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NATIVE_TOKEN_VAULT() | 0x293e8520 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(address,address,bytes32,uint256,uint256,uint16,bytes32[]) | 0x19fa7f62 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256) | 0x933999fb | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256,address) | 0xe8b99b1b | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositAmount(address,address,bytes32) | 0x01eae183 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x11a2ccc1 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize() | 0x8129fc1c | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256) | 0x4bed8212 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenBeacon() | 0x6dde7209 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenProxyBytecodeHash() | 0x823f1d96 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValues(address,address,bytes32) | 0xf5407abe | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ClaimedFailedDeposit(address,address,uint256) | 0xbe066dc591f4a444f75176d387c3e6c775e5706d9ea9a91d11eb49030c66cf60 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositInitiated(bytes32,address,address,address,uint256) | 0xdd341179f4edc78148d894d0213a96d212af2cbaf223d19ef6d483bdd47ab81d | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalFinalized(address,address,uint256) | 0xac1b18083978656d557d6e91c88203585cfda1031bdb14538327121ef140d383 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ApprovalFailed() | 0x8164f842 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ETHDepositNotSupported() | 0x627e0872 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawalAlreadyFinalized() | 0xae899454 | ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +L1NullifierDev ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_admin() | 0xf7a5cec0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_chainBalance(uint256,address) | 0x6182877b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_l2BridgeAddress(uint256) | 0xfdbb0301 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_pendingAdmin() | 0x6cdecb2b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,address,bytes32,bytes,bytes32,uint256,uint256,uint16,bytes32[]) | 0x3601e63e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2TransactionForwarded(uint256,bytes32,bytes32) | 0x4bc2c8c0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainBalance(uint256,address) | 0x9cd45184 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(uint256,address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0xc0991525 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDepositLegacyErc20Bridge(address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0x8fbb3711 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositHappened(uint256,bytes32) | 0x9fa8826b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | encodeTxDataHash(bytes1,address,bytes32,bytes) | 0xf120e6c4 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeDeposit((uint256,uint256,uint256,address,uint16,bytes,bytes32[])) | 0x74beea82 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address,uint256,uint256,uint256,uint256) | 0xf92ad219 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256,uint256) | 0x8f31f052 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1AssetRouter() | 0x6d9860e1 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1NativeTokenVault() | 0x6f513211 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2BridgeAddress(uint256) | 0x07ee9355 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | legacyBridge() | 0x6e9d7899 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nullifyChainBalanceByNTV(uint256,address) | 0x5de097b1 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1AssetRouter(address) | 0x780ce114 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1Erc20Bridge(address) | 0x30bda03e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL1NativeTokenVault(address) | 0xb7cc6f46 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setL2LegacySharedBridge(uint256,address) | 0x4771ebad | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferTokenToNTV(address) | 0x40a434d5 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositFinalized(uint256,bytes32,bytes32) | 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressAlreadySet(address) | 0x0dfb42bf | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DepositDoesNotExist() | 0xc7c9660f | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DepositExists() | 0xad2fa98e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProof() | 0x09bde339 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidSelector(bytes4) | 0x12ba286f | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2WithdrawalMessageWrongLength(uint256) | 0x97e1359e | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SharedBridgeValueNotSet(uint8) | 0x7774d2f9 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawalAlreadyFinalized() | 0xae899454 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +AdminFacetTest ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================================================+ +| Function | acceptAdmin() | 0x0e18b681 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams((uint8,uint32,uint32,uint32,uint32,uint64)) | 0x64bf8d66 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0xa9f6d941 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(address,address,bytes) | 0x64b554ad | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(bytes,bool) | 0x3f42d5dd | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeDiamond() | 0x27ae4c16 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | genesisUpgrade(address,address,bytes,bytes[]) | 0x2878fe74 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAdmin() | 0x6e9960c3 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPendingAdmin() | 0xd0468156 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPorterAvailability() | 0xf90eb963 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityTxMaxGasLimit() | 0x0ec6b0b7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isValidator(address) | 0xfacd743b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | prepareChainCommitment() | 0x41cf49bb | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setDAValidatorPair(address,address) | 0x6223258e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(bool) | 0x1cc5d103 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256) | 0xbe6f11cf | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPubdataPricingMode(uint8) | 0xe76db865 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint128,uint128) | 0x235d9eb5 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTransactionFilterer(address) | 0x21f603d7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(address,bool) | 0x4623c91d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeDiamond() | 0x17338945 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xfc57565f | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Freeze() | 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | IsPorterAvailableStatusUpdate(bool) | 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationComplete() | 0x96e718f44bd77cb63370212c5aa24a0396d8f43e88e7ce175d160e371c8e2a6a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewBaseTokenMultiplier(uint128,uint128,uint128,uint128) | 0xc9cbdb110bd58a133e82c62b1488e57677be1f326df10a4d8096b5f170c370c8 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewFeeParams((uint8,uint32,uint32,uint32,uint32,uint64),(uint8,uint32,uint32,uint32,uint32,uint64)) | 0xc8b245ac8b138b17b6b1dbbbb8860adc66b373afa000d99f3cdc775d8ae0bbed | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL1DAValidator(address,address) | 0x08b0b676d456a0431162145d2821f30c665b69ca626521c937ba7a77a29ed67c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DAValidator(address,address) | 0x866a71b85fb8625f74adc67901361962f0aa3730a1615400911ae610d65dc130 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityTxMaxGasLimit(uint256,uint256) | 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewTransactionFilterer(address,address) | 0xa9b43a66c5d1c607986f49e932a0c08058d843210db03dd6e8a621b96b4770f4 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unfreeze() | 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidatorStatusUpdate(address,bool) | 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidiumModeStatusUpdate(uint8) | 0xaa01146df0a628c6b214e79a281f7524b792de4a52ad6f07c78e6e035d58c896 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressHasNoCode(address) | 0x86bb51b8 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainAlreadyLive() | 0x78d2ed02 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DelegateCallFailed(bytes) | 0xf7a01e4d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DenominatorIsZero() | 0x0a8ed92c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DiamondAlreadyFrozen() | 0x0e7ee319 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DiamondNotFrozen() | 0xa7151b9a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | FacetExists(bytes4,address) | 0xac4a3f98 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidPubdataPricingMode() | 0x6f1cf752 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFunctionsForDiamondCut() | 0xa6fef710 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyCalldata() | 0xc21b1ab7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PriorityTxPubdataExceedsMaxPubDataPerBatch() | 0x1a4d284a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolIdMismatch(uint256,uint256) | 0xa461f651 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolIdNotGreater() | 0x64f94ec2 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressNotZero(address) | 0x667d17de | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressZero() | 0xa2d4b16c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ReplaceFunctionFacetAddressZero() | 0x3580370c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SelectorsMustAllHaveSameFreezability() | 0xd3b6535b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UndefinedDiamondCutAction() | 0xe52478c7 | ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +CustomUpgradeTest ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================================================================================================+ +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2BootloaderBytecodeHash(bytes32,bytes32) | 0x271b33af94e3f065ecd8659833e6b1daf851f063700c36ddefefab35d4ce4746 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DefaultAccountBytecodeHash(bytes32,bytes32) | 0x36df93a47cc02081d9d8208022ab736fdf98fac566e5fc6f5762bf7666e521f3 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifier(address,address) | 0x2ff4895c300d6993c27f2bb507b4b59d29464dc640af727383451365631ba8b2 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifierParams((bytes32,bytes32,bytes32),(bytes32,bytes32,bytes32)) | 0x4c055dbc5f14dcb6e081c9421d9657d950dcd6372f6db0a714b9135171cbc15d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Test() | 0xa163a6249e860c278ef4049759a7f7c7e8c141d30fd634fda9b5a6a95d111a30 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256,bytes32,((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x56405fee20a4cf3c21d1b23cbbedc0f54921b0347dc19a7641c80645f6916798 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidTxType(uint256) | 0x5cb29523 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidUpgradeTxn(uint8) | 0x5f1aa154 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2BytecodeHashMismatch(bytes32,bytes32) | 0xcb5e4247 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2UpgradeNonceNotEqualToNewProtocolVersion(uint256,uint256) | 0xd2c011d6 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NewProtocolMajorVersionNotZero() | 0x72ea85ad | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchCantSetUpgradeTxn() | 0xd7f50a9d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetBootloader() | 0x962fd7d0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetDefaultAccount() | 0x559cc34e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousProtocolMajorVersionNotZero() | 0x5c598b60 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotCleaned() | 0xa0f47245 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotFinalized(bytes32) | 0x101ba748 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionMinorDeltaTooBig(uint256,uint256) | 0xd328c12a | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionTooSmall() | 0x88d7b498 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedNumberOfFactoryDeps() | 0x07218375 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DiamondCutTestContract ++----------+-------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=============================================================================================================================================+ +| Function | baseTokenGasPriceMultiplierDenominator() | 0x1de72e34 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenGasPriceMultiplierNominator() | 0xea6c029c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | diamondCut(((address,uint8,bool,bytes4[])[],address,bytes)) | 0x4cc5b15e | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facetAddress(bytes4) | 0xcdffacc6 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facetAddresses() | 0x52ef6b2c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facetFunctionSelectors(address) | 0xadfca15e | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facets() | 0x7a0ed627 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAdmin() | 0x6e9960c3 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBaseToken() | 0x98acd7a6 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBaseTokenAssetId() | 0x960dcf24 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBridgehub() | 0x3591c1a0 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainId() | 0x3408e470 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainTypeManager() | 0x946ebad1 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getDAValidatorPair() | 0x5a590335 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getFirstUnprocessedPriorityTx() | 0x79823c9a | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2BootloaderBytecodeHash() | 0xd86970d8 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2DefaultAccountBytecodeHash() | 0xfd791f3c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2SystemContractsUpgradeBatchNumber() | 0xe5355c75 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2SystemContractsUpgradeBlockNumber() | 0x9d1b5a81 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2SystemContractsUpgradeTxHash() | 0x7b30c8da | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPendingAdmin() | 0xd0468156 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityQueueSize() | 0x631f4bac | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityTreeRoot() | 0x39d7d4aa | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityTxMaxGasLimit() | 0x0ec6b0b7 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getProtocolVersion() | 0x33ce93fe | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPubdataPricingMode() | 0x06d49e5b | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSettlementLayer() | 0x6a27e8b5 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBatchesCommitted() | 0xdb1f0bf9 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBatchesExecuted() | 0xb8c2f66f | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBatchesVerified() | 0xef3f0bae | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBlocksCommitted() | 0xfe26699e | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBlocksExecuted() | 0x39607382 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBlocksVerified() | 0xaf6a2dcd | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalPriorityTxs() | 0xa1954fc5 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTransactionFilterer() | 0x22c5cf23 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getVerifier() | 0x46657fe9 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getVerifierParams() | 0x18e3a941 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isDiamondStorageFrozen() | 0x29b98c67 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isEthWithdrawalFinalized(uint256,uint256) | 0xbd7c5412 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isFacetFreezable(address) | 0xc3bbd2d7 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isFunctionFreezable(bytes4) | 0xe81e0ba1 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isValidator(address) | 0xfacd743b | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2LogsRootHash(uint256) | 0x9cd939e4 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBatchHash(uint256) | 0xb22dd78e | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBlockHash(uint256) | 0x74f4d30d | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressHasNoCode(address) | 0x86bb51b8 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DelegateCallFailed(bytes) | 0xf7a01e4d | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | FacetExists(bytes4,address) | 0xac4a3f98 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidSelector(bytes4) | 0x12ba286f | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFunctionsForDiamondCut() | 0xa6fef710 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyCalldata() | 0xc21b1ab7 | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressNotZero(address) | 0x667d17de | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressZero() | 0xa2d4b16c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ReplaceFunctionFacetAddressZero() | 0x3580370c | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SelectorsMustAllHaveSameFreezability() | 0xd3b6535b | +|----------+-------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UndefinedDiamondCutAction() | 0xe52478c7 | ++----------+-------------------------------------------------------------+--------------------------------------------------------------------+ + +DiamondProxyTest ++----------+-----------------------+------------+ +| Type | Signature | Selector | ++===============================================+ +| Function | setFreezability(bool) | 0xbf529569 | ++----------+-----------------------+------------+ + +DummyAdminFacet ++----------+----------------------------+------------+ +| Type | Signature | Selector | ++====================================================+ +| Function | dummySetValidator(address) | 0x7321c485 | +|----------+----------------------------+------------| +| Function | getName() | 0x17d7de7c | ++----------+----------------------------+------------+ + +DummyAdminFacetNoOverlap ++----------+--------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==========================================================================================================================================================+ +| Function | executeUpgradeNoOverlap(((address,uint8,bool,bytes4[])[],address,bytes)) | 0x68c09202 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | receiveEther() | 0xa3912ec8 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressHasNoCode(address) | 0x86bb51b8 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DelegateCallFailed(bytes) | 0xf7a01e4d | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | FacetExists(bytes4,address) | 0xac4a3f98 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFunctionsForDiamondCut() | 0xa6fef710 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyCalldata() | 0xc21b1ab7 | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressNotZero(address) | 0x667d17de | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressZero() | 0xa2d4b16c | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ReplaceFunctionFacetAddressZero() | 0x3580370c | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SelectorsMustAllHaveSameFreezability() | 0xd3b6535b | +|----------+--------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UndefinedDiamondCutAction() | 0xe52478c7 | ++----------+--------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DummyBridgehub ++----------+-----------------------------+------------+ +| Type | Signature | Selector | ++=====================================================+ +| Function | baseTokenAssetId(uint256) | 0xe52db4ca | +|----------+-----------------------------+------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+-----------------------------+------------| +| Function | messageRoot() | 0xd4b9f4fa | +|----------+-----------------------------+------------| +| Function | setMessageRoot(address) | 0x70f5c679 | +|----------+-----------------------------+------------| +| Function | setSharedBridge(address) | 0xd0bf6fd4 | +|----------+-----------------------------+------------| +| Function | setZKChain(uint256,address) | 0xce214549 | +|----------+-----------------------------+------------| +| Function | sharedBridge() | 0x38720778 | +|----------+-----------------------------+------------| +| Function | zkChain() | 0x2b3558a6 | ++----------+-----------------------------+------------+ + +DummyBridgehubSetter ++----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================+ +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | MAX_NUMBER_OF_ZK_CHAINS() | 0x8f8d37a8 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_baseToken(uint256) | 0x5d83b6da | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | __DEPRECATED_tokenIsRegistered(address) | 0xeced0bf0 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | addChainTypeManager(address) | 0xff5a62a1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | addTokenAssetId(bytes32) | 0x1c50cfea | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | admin() | 0xf851a440 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetIdIsRegistered(bytes32) | 0xe0ab6368 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetRouter() | 0xbc0aac10 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseToken(uint256) | 0x59ec65a2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenAssetId(uint256) | 0xe52db4ca | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xc2e90293 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManager(uint256) | 0x9d5bd3da | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManagerIsRegistered(address) | 0xb93c9366 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,address,bytes32,uint256,address,bytes,bytes[]) | 0xf113c88b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdFromAddress(address) | 0x70fccb52 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdFromChainId(uint256) | 0x24358c61 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | ctmAssetIdToAddress(bytes32) | 0x07621f84 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardTransactionOnGateway(uint256,bytes32,uint64) | 0x524c0cfa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAllZKChainChainIDs() | 0x68b8d331 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAllZKChains() | 0x49707f31 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getHyperchain(uint256) | 0xdead6f7f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address) | 0xc4d66de8 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initializeV2() | 0x5cd8a76b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1CtmDeployer() | 0xcbe83612 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256,uint256) | 0x71623274 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | messageRoot() | 0xd4b9f4fa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | migrationPaused() | 0x2a641114 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pauseMigration() | 0xac700e63 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(uint256,bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0xb292f5f1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0xe6d9923b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,uint256,(uint16,address,bytes),bytes32[]) | 0x99c16d1a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerAlreadyDeployedZKChain(uint256,address) | 0xb5662c5d | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | removeChainTypeManager(address) | 0x332b96dc | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionDirect((uint256,uint256,address,uint256,bytes,uint256,uint256,bytes[],address)) | 0xd52471c1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionTwoBridges((uint256,uint256,uint256,uint256,uint256,address,address,uint256,bytes)) | 0x24fd57fb | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAddresses(address,address,address) | 0x363bf964 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddress(bytes32,address) | 0x3f704d2a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setCTM(uint256,address) | 0xa52c6753 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyBaseTokenAssetId(uint256) | 0xca8f93f1 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyChainAddress(uint256) | 0xd92f86a2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setZKChain(uint256,address) | 0xce214549 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | settlementLayer(uint256) | 0x671a7131 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | sharedBridge() | 0x38720778 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpauseMigration() | 0xf7c7eb92 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | whitelistedSettlementLayers(uint256) | 0xe9420f8c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | AssetRegistered(bytes32,address,bytes32,address) | 0x8f09d7694a9ae17acec5cf132d594d7eee23572f7fe132396ce72b1afbf7ef20 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BaseTokenAssetIdRegistered(bytes32) | 0x3df150949161462acf3be30521d7da9e533b247327a254e55dd01875897a6df3 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChainTypeManagerAdded(address) | 0x2eae91be1021e05cc8076387b0182458ae474ae44ee44cc59aefda6ca53c1f42 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChainTypeManagerRemoved(address) | 0x4e04a497739580efe78a7ee09cdabe6f6fe90965c683292a519102ce5193b68a | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationFinalized(uint256,bytes32,address) | 0xb0cc16029b506b2a262b52711e71db4fcd1cb078bd4bb86c7ba82cd3be2eadd3 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationStarted(uint256,bytes32,uint256) | 0xc60eb6d595da5361c68f60aa7c8286b8f73c3a99e9db1818e146c522f512496f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChain(uint256,address,address) | 0x1e9125bc72db22c58abff6821d7333551967e26454b419ffa958e4cb8ef47600 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | SettlementLayerRegistered(uint256,bool) | 0x02629feb109d94b16a367231d248ba81c462f51ce5b984835f150f1c9f49ed25 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressTooLow(address) | 0x1eee5481 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetHandlerNotRegistered(bytes32) | 0x64107968 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdAlreadyRegistered() | 0xfe919e28 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdNotSupported(bytes32) | 0x04a0b7e9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BridgeHubAlreadyRegistered() | 0x6cf12312 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CTMAlreadyRegistered() | 0xec273439 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CTMNotRegistered() | 0xc630ef3c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainAlreadyLive() | 0x78d2ed02 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdAlreadyExists() | 0x24591d89 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdCantBeCurrentChain() | 0x717a1656 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdMismatch() | 0xa179f8c9 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdNotRegistered(uint256) | 0x23f3c357 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainIdTooBig() | 0x8f620a06 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainNotLegacy() | 0x5de72107 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyAssetId() | 0x2d4d012f | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | IncorrectBridgeHubAddress(address) | 0xdd381a4c | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MigrationPaused() | 0x3312a450 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MsgValueMismatch(uint256,uint256) | 0x4a094431 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SharedBridgeNotSet() | 0x856d5b77 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WrongMagicValue(uint256,uint256) | 0x15e8e429 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZKChainLimitReached() | 0x601b6882 | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | +|----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroChainId() | 0xc84885d4 | ++----------+---------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DummyChainTypeManager ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | admin() | 0xf851a440 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams(uint256,(uint8,uint32,uint32,uint32,uint32,uint64)) | 0x027f12e1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,bytes32,address,bytes,bytes[]) | 0x88c7c5d2 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xe34a329a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(uint256,bytes) | 0xf85894c5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(uint256,bytes) | 0xe8a71ca9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeChain(uint256) | 0xaccdd16c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainAdmin(uint256) | 0x301e7765 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getHyperchain(uint256) | 0xdead6f7f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getProtocolVersion(uint256) | 0xba238947 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChainLegacy(uint256) | 0x4caa740f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialCutHash() | 0x57e6246b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialForceDeploymentHash() | 0x61f91b2e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize((address,address,(address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes),uint256)) | 0xce7df3d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1GenesisUpgrade() | 0x3437949a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersion() | 0x2ae9c600 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionDeadline(uint256) | 0xf4943a20 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionIsActive(uint256) | 0xdef9d6af | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatches(uint256,uint256) | 0x53ce2061 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setChainCreationParams((address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes)) | 0x9b016b8b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNewVersionUpgrade(((address,uint8,bool,bytes4[])[],address,bytes),uint256,uint256,uint256) | 0x2e522851 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(uint256,bool) | 0x18717dc1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256,uint256) | 0xec3d5f88 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setProtocolVersionDeadline(uint256,uint256) | 0xaad74262 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint256,uint128,uint128) | 0x7ebba672 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setUpgradeDiamondCut(((address,uint8,bool,bytes4[])[],address,bytes),uint256) | 0x98461504 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(uint256,address,bool) | 0xcf347e17 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidatorTimelock(address) | 0x7fb67816 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setZKChain(uint256,address) | 0xce214549 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBatchZero() | 0xd2ef1b0e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeChain(uint256) | 0x51d218f7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0x0dbad27e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeCutHash(uint256) | 0x52c9eacb | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | validatorTimelock() | 0xe66c8c44 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | GenesisUpgrade(address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),uint256) | 0x778b7f95aad9610955002f243aabbbf9546bb6e792f7b3b89dab86b4f210e30f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChainCreationParams(address,bytes32,uint64,bytes32,bytes32,bytes32) | 0x04b363b4a0200ada216b1cb4aaf2736ff6f332d5f1d90f98e60b1159f3dac3aa | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutData(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xf99295383247eabb6bee8798669fa768502f8843d3be0e82a0aa81d7b6c4f60c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutHash(uint256,bytes32) | 0x71b0aeaf8eaa06ed78ccb9a4981da026eea05ca1d818c22dd120446db4c936d4 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewValidatorTimelock(address,address) | 0x5a1b0d8808a8dca64c1f7c230dce7a09f7f9a1c26507e190e03dcd382e69018e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewZKChain(uint256,address) | 0xf83c256407747903308213919067f883f683c5cde6a64ebbf25096b8bb555ddc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisBatchCommitmentZero() | 0x6d4a7df8 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisBatchHashZero() | 0x7940c83f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisIndexStorageZero() | 0xb4fc6835 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisUpgradeZero() | 0x3a1a8589 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DummyChainTypeManagerWBH ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | admin() | 0xf851a440 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams(uint256,(uint8,uint32,uint32,uint32,uint32,uint64)) | 0x027f12e1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,bytes32,address,bytes,bytes[]) | 0x88c7c5d2 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xe34a329a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(uint256,bytes) | 0xf85894c5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(uint256,bytes) | 0xe8a71ca9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeChain(uint256) | 0xaccdd16c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainAdmin(uint256) | 0x301e7765 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getHyperchain(uint256) | 0xdead6f7f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getProtocolVersion(uint256) | 0xba238947 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChainLegacy(uint256) | 0x4caa740f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialCutHash() | 0x57e6246b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialForceDeploymentHash() | 0x61f91b2e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize((address,address,(address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes),uint256)) | 0xce7df3d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1GenesisUpgrade() | 0x3437949a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersion() | 0x2ae9c600 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionDeadline(uint256) | 0xf4943a20 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionIsActive(uint256) | 0xdef9d6af | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatches(uint256,uint256) | 0x53ce2061 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setChainCreationParams((address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes)) | 0x9b016b8b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNewVersionUpgrade(((address,uint8,bool,bytes4[])[],address,bytes),uint256,uint256,uint256) | 0x2e522851 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(uint256,bool) | 0x18717dc1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256,uint256) | 0xec3d5f88 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setProtocolVersionDeadline(uint256,uint256) | 0xaad74262 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint256,uint128,uint128) | 0x7ebba672 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setUpgradeDiamondCut(((address,uint8,bool,bytes4[])[],address,bytes),uint256) | 0x98461504 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(uint256,address,bool) | 0xcf347e17 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidatorTimelock(address) | 0x7fb67816 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setZKChain(uint256,address) | 0xce214549 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBatchZero() | 0xd2ef1b0e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeChain(uint256) | 0x51d218f7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0x0dbad27e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeCutHash(uint256) | 0x52c9eacb | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | validatorTimelock() | 0xe66c8c44 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | GenesisUpgrade(address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),uint256) | 0x778b7f95aad9610955002f243aabbbf9546bb6e792f7b3b89dab86b4f210e30f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChainCreationParams(address,bytes32,uint64,bytes32,bytes32,bytes32) | 0x04b363b4a0200ada216b1cb4aaf2736ff6f332d5f1d90f98e60b1159f3dac3aa | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutData(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xf99295383247eabb6bee8798669fa768502f8843d3be0e82a0aa81d7b6c4f60c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutHash(uint256,bytes32) | 0x71b0aeaf8eaa06ed78ccb9a4981da026eea05ca1d818c22dd120446db4c936d4 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewValidatorTimelock(address,address) | 0x5a1b0d8808a8dca64c1f7c230dce7a09f7f9a1c26507e190e03dcd382e69018e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewZKChain(uint256,address) | 0xf83c256407747903308213919067f883f683c5cde6a64ebbf25096b8bb555ddc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisBatchCommitmentZero() | 0x6d4a7df8 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisBatchHashZero() | 0x7940c83f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisIndexStorageZero() | 0xb4fc6835 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisUpgradeZero() | 0x3a1a8589 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DummySharedBridge ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=======================================================================================================================================================================================+ +| Function | assetHandlerAddress(bytes32) | 0x53b9e632 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubConfirmL2Transaction(uint256,bytes32,bytes32) | 0x8eb7db57 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDeposit(uint256,address,uint256,bytes) | 0xca408c23 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubDepositBaseToken(uint256,bytes32,address,uint256) | 0xc4879440 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainBalance(uint256,address) | 0x9cd45184 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(uint256,address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0xc0991525 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDepositLegacyErc20Bridge(address,address,uint256,bytes32,uint256,uint256,uint16,bytes32[]) | 0x8fbb3711 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositLegacyErc20Bridge(address,address,address,uint256,uint256,uint256,address) | 0x9e6ea417 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint256,uint16,bytes,bytes32[]) | 0xc87325f1 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawalLegacyErc20Bridge(uint256,uint256,uint16,bytes,bytes32[]) | 0x7ab08472 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | nativeTokenVault() | 0x64e130cf | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | receiveEth(uint256) | 0xc2aaf9c4 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setAssetHandlerAddressThisChain(bytes32,address) | 0x548a5a33 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setDataToBeReturnedInFinalizeWithdrawal(address,address,uint256) | 0xa6f2c076 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNativeTokenVault(address) | 0x0f3fa211 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgehubDepositBaseTokenInitiated(uint256,address,bytes32,uint256) | 0x0f87e1ea5eb1f034a6071ef630c174063e3d48756f853efaaf4292b929298240 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Debugger(uint256) | 0x8d9c8ca1e649d98242c05e8424ce820b45ac79086a871220eec3a570ac0a9828 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | ++----------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DummyZKChain ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===================================================================================================================================================================================================================================================================+ +| Function | bridgehubRequestL2Transaction((address,address,uint256,uint256,bytes,uint256,uint256,bytes[],address)) | 0x12f43dab | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubRequestL2TransactionOnGateway(bytes32,uint64) | 0xddcc9eec | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeEthWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x6c0960f9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | genesisUpgrade(address,bytes,bytes[]) | 0xa3bd0112 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBridgeHubAddress() | 0x8466d8d1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getEraChainId() | 0xe23d2563 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256) | 0xb473318e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0x042901c7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatusViaGateway(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0xe717bab7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LeafInclusion(uint256,uint256,bytes32,bytes32[]) | 0x7efda2ae | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0x263b7f8e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,(uint16,address,bytes),bytes32[]) | 0xe4948f43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2Transaction(address,uint256,bytes,uint256,uint256,bytes[],address) | 0xeb672419 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionToGatewayMailbox(uint256,bytes32,uint64) | 0xd0772551 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setBaseTokenGasMultiplierPrice(uint128,uint128) | 0x328ef4fe | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setBridgeHubAddress(address) | 0x8ffe1b81 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setFeeParams() | 0x47fcedb8 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityRequest(uint256,bytes32,uint64,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[]) | 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewRelayedPriorityTransaction(uint256,bytes32,uint64) | 0x0137d2eaa6ec5b7e4f233f6d6f441410014535d0f3985367994c94bf15a2a564 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BaseTokenGasPriceDenominatorNotSet() | 0x6ef9a972 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchNotExecuted(uint256) | 0x2078a6a0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GasPerPubdataMismatch() | 0xc91cf3b1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashedLogIsDefault() | 0xd356e6ba | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerkleIndexOutOfBounds() | 0x9bb54c35 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MsgValueTooLow(uint256,uint256) | 0xb385a3da | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OnlyEraSupported() | 0xf3ed9dfa | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TransactionNotAllowed() | 0x00c5a6a9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +ExecutorProvingTest ++----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================================================================================================================+ +| Function | commitBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0x98f81962 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createBatchCommitment((uint64,uint64,uint64,bytes32,uint256,bytes32,bytes32,bytes32,bytes,bytes),bytes32,bytes32[],bytes32[]) | 0xc1899c1d | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xcf02827d | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBatchProofPublicInput(bytes32,bytes32) | 0x868085b1 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | processL2Logs((uint64,uint64,uint64,bytes32,uint256,bytes32,bytes32,bytes32,bytes,bytes),bytes32,uint8) | 0xc75ac8fa | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xe12a6137 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatchesSharedBridge(uint256,uint256) | 0x0f23da43 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setHashes(bytes32,bytes32) | 0xced531eb | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockCommit(uint256,bytes32,bytes32) | 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockExecution(uint256,bytes32,bytes32) | 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksRevert(uint256,uint256,uint256) | 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksVerification(uint256,uint256) | 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchHashMismatch(bytes32,bytes32) | 0x55ad3fd3 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchNumberMismatch(uint256,uint256) | 0xbd4455ff | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CanOnlyProcessOneBatch() | 0xe85392f9 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CantExecuteUnprovenBatches() | 0x00c6ead2 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | CantRevertExecutedBatch() | 0xe18cb383 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyData() | 0x99d8fec9 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | IncorrectBatchBounds(uint256,uint256,uint256,uint256) | 0xd7d93e1f | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidLogSender(address,uint256) | 0xc1780bd6 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidNumberOfBlobs(uint256,uint256,uint256) | 0xd8e9405c | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProof() | 0x09bde339 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProtocolVersion() | 0x5428eae7 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2TimestampTooBig() | 0xfb5c22e6 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LogAlreadyProcessed(uint8) | 0x1b6825bb | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MissingSystemLogs(uint256,uint256) | 0xfa44b527 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonIncreasingTimestamp() | 0xd018e08e | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonSequentialBatch() | 0x0105f9c0 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PriorityOperationsRollingHashMismatch() | 0xd5a99014 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | QueueIsEmpty() | 0x63c36549 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RevertedBatchNotAfterNewLastBatch() | 0x9a67c1cb | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SystemLogsSizeTooBig() | 0xae43b424 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimestampError() | 0x2d50c33b | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxHashMismatch() | 0x4c991078 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedSystemLog(uint256) | 0x6aa39880 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedCommitBatchEncoding(uint8) | 0xf3dd1b9c | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedExecuteBatchEncoding(uint8) | 0x14d2ed8a | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedProofBatchEncoding(uint8) | 0xf338f830 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UpgradeBatchNumberIsNotZero() | 0xf093c2e5 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | VerifiedBatchesExceedsCommittedBatches() | 0xe1022469 | ++----------+-------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +FullMerkleTest ++----------+-------------------------------------------+------------+ +| Type | Signature | Selector | ++===================================================================+ +| Function | height() | 0x0ef26743 | +|----------+-------------------------------------------+------------| +| Function | index() | 0x2986c0e5 | +|----------+-------------------------------------------+------------| +| Function | node(uint256,uint256) | 0xae65def1 | +|----------+-------------------------------------------+------------| +| Function | nodeCount(uint256) | 0xcdc4878b | +|----------+-------------------------------------------+------------| +| Function | pushNewLeaf(bytes32) | 0xb6ea1757 | +|----------+-------------------------------------------+------------| +| Function | root() | 0xebf0c717 | +|----------+-------------------------------------------+------------| +| Function | updateAllLeaves(bytes32[]) | 0x505e6d47 | +|----------+-------------------------------------------+------------| +| Function | updateAllNodesAtHeight(uint256,bytes32[]) | 0x580d6bff | +|----------+-------------------------------------------+------------| +| Function | updateLeaf(uint256,bytes32) | 0xfcc73360 | +|----------+-------------------------------------------+------------| +| Function | zeros(uint256) | 0xe8295588 | ++----------+-------------------------------------------+------------+ + +IncrementalMerkleTest ++----------+----------------+------------+ +| Type | Signature | Selector | ++========================================+ +| Function | height() | 0x0ef26743 | +|----------+----------------+------------| +| Function | index() | 0x2986c0e5 | +|----------+----------------+------------| +| Function | push(bytes32) | 0xb298e36b | +|----------+----------------+------------| +| Function | root() | 0xebf0c717 | +|----------+----------------+------------| +| Function | side(uint256) | 0x7890e5da | +|----------+----------------+------------| +| Function | zeros(uint256) | 0xe8295588 | ++----------+----------------+------------+ + +L1ERC20BridgeTest ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==============================================================================================================================================================+ +| Function | ERA_CHAIN_ID() | 0xef011dff | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NATIVE_TOKEN_VAULT() | 0x293e8520 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_NULLIFIER() | 0xe60ccaba | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | claimFailedDeposit(address,address,bytes32,uint256,uint256,uint16,bytes32[]) | 0x19fa7f62 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256) | 0x933999fb | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | deposit(address,address,uint256,uint256,uint256,address) | 0xe8b99b1b | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | depositAmount(address,address,bytes32) | 0x01eae183 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x11a2ccc1 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize() | 0x8129fc1c | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isWithdrawalFinalized(uint256,uint256) | 0x4bed8212 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2Bridge() | 0xae1f6aaf | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenBeacon() | 0x6dde7209 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenProxyBytecodeHash() | 0x823f1d96 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ClaimedFailedDeposit(address,address,uint256) | 0xbe066dc591f4a444f75176d387c3e6c775e5706d9ea9a91d11eb49030c66cf60 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DepositInitiated(bytes32,address,address,address,uint256) | 0xdd341179f4edc78148d894d0213a96d212af2cbaf223d19ef6d483bdd47ab81d | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalFinalized(address,address,uint256) | 0xac1b18083978656d557d6e91c88203585cfda1031bdb14538327121ef140d383 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ApprovalFailed() | 0x8164f842 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ETHDepositNotSupported() | 0x627e0872 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | WithdrawalAlreadyFinalized() | 0xae899454 | ++----------+------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +L2NativeTokenVaultDev ++----------+------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++======================================================================================================================================+ +| Function | ASSET_ROUTER() | 0xc6a70bbb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | BASE_TOKEN_ASSET_ID() | 0xcb944dec | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_CHAIN_ID() | 0x2f90b184 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | L2_LEGACY_SHARED_BRIDGE() | 0xc438a9f2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | WETH_TOKEN() | 0x37d277d4 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | assetId(address) | 0xfd3f60df | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeBurn(uint256,uint256,bytes32,address,bytes) | 0x699b0fb9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgeMint(uint256,bytes32,bytes) | 0x36ba0355 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgedTokenBeacon() | 0xf2d44246 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | calculateCreate2TokenAddress(uint256,address) | 0xc487412c | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | deployBridgedStandardERC20(address) | 0xbfff27c2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | ensureTokenIsRegistered(address) | 0x19a2a285 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | getERC20Getters(address,uint256) | 0xa7236d16 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TokenAddress(address) | 0xf5f15168 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | originChainId(bytes32) | 0x5f3455b5 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | pause() | 0x8456cb59 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | paused() | 0x5c975abb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerToken(address) | 0x09824a80 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | setLegacyTokenAssetId(address) | 0x4cd40a02 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | test() | 0xf8a8fd6d | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenAddress(bytes32) | 0x97bb3ce9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | tokenDataOriginChainId(bytes) | 0x07a6d4bc | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Function | unpause() | 0x3f4ba83a | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeBurn(uint256,bytes32,address,address,uint256) | 0x1cd02155ad1064c60598a8bd0e4e795d7e7d0a0f3c38aad04d261f1297fb2545 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(uint256,bytes32,address,uint256) | 0xbc0f4055a7869d8ecad34b33382a0bc181c5811565fec42f335505be5fd661d2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgedTokenBeaconUpdated(address,bytes32) | 0xc3f14dba68f86c42f518e5c0e8a5cbc9514da6f388e2f52c5b1a6263d8588bfb | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | FinalizeDeposit(address,address,address,uint256) | 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | L2TokenBeaconUpdated(address,bytes32) | 0x01fd5911e6d04aec6b21f19752502ad7f3e9876279643c8fa7a4d30c88a29fb2 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | Paused(address) | 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unpaused(address) | 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Event | WithdrawalInitiated(address,address,address,uint256) | 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressMismatch(address,address) | 0x1f73225f | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AmountMustBeGreaterThanZero() | 0x5e85ae73 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdMismatch(bytes32,bytes32) | 0x1294e9e1 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | AssetIdNotSupported(bytes32) | 0x04a0b7e9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | DeployingBridgedTokenForNativeToken() | 0x138ee1a3 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyAddress() | 0x7138356f | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyBytes32() | 0x1c25715b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyDeposit() | 0x95b66fe9 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyMsgValue() | 0x536ec84b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokenNotSupported(address) | 0x06439c6b | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | TokensWithFeesNotSupported() | 0x23830e28 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedEncodingVersion() | 0x084a1449 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+------------------------------------------------------+--------------------------------------------------------------------+ + +MailboxFacetTest ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===================================================================================================================================================================================================================================================================+ +| Function | bridgehubRequestL2Transaction((address,address,uint256,uint256,bytes,uint256,uint256,bytes[],address)) | 0x12f43dab | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubRequestL2TransactionOnGateway(bytes32,uint64) | 0xddcc9eec | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeEthWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x6c0960f9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2GasPrice(uint256) | 0xab07b2e9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256) | 0xb473318e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0x042901c7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatusViaGateway(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0xe717bab7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LeafInclusion(uint256,uint256,bytes32,bytes32[]) | 0x7efda2ae | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0x263b7f8e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,(uint16,address,bytes),bytes32[]) | 0xe4948f43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2Transaction(address,uint256,bytes,uint256,uint256,bytes[],address) | 0xeb672419 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionToGatewayMailbox(uint256,bytes32,uint64) | 0xd0772551 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setFeeParams((uint8,uint32,uint32,uint32,uint32,uint64)) | 0xb4866c43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityRequest(uint256,bytes32,uint64,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[]) | 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewRelayedPriorityTransaction(uint256,bytes32,uint64) | 0x0137d2eaa6ec5b7e4f233f6d6f441410014535d0f3985367994c94bf15a2a564 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BaseTokenGasPriceDenominatorNotSet() | 0x6ef9a972 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchNotExecuted(uint256) | 0x2078a6a0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GasPerPubdataMismatch() | 0xc91cf3b1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashedLogIsDefault() | 0xd356e6ba | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerkleIndexOutOfBounds() | 0x9bb54c35 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MsgValueTooLow(uint256,uint256) | 0xb385a3da | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OnlyEraSupported() | 0xf3ed9dfa | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TransactionNotAllowed() | 0x00c5a6a9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +MerkleTest ++----------+------------------------------------------------------+------------+ +| Type | Signature | Selector | ++==============================================================================+ +| Function | calculateRoot(bytes32[],uint256,bytes32) | 0x7a592065 | +|----------+------------------------------------------------------+------------| +| Function | calculateRoot(bytes32[],bytes32[],uint256,bytes32[]) | 0xee7fb38b | +|----------+------------------------------------------------------+------------| +| Error | MerkleIndexOutOfBounds() | 0x9bb54c35 | +|----------+------------------------------------------------------+------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+------------------------------------------------------+------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | ++----------+------------------------------------------------------+------------+ + +MockExecutorFacet ++----------+-------------------------------------+------------+ +| Type | Signature | Selector | ++=============================================================+ +| Function | saveL2LogsRootHash(uint256,bytes32) | 0x8a75bb09 | +|----------+-------------------------------------+------------| +| Function | setExecutedBatches(uint256) | 0x59890bcb | ++----------+-------------------------------------+------------+ + +PriorityQueueTest ++----------+------------------------------------+------------+ +| Type | Signature | Selector | ++============================================================+ +| Function | front() | 0xba75bbd8 | +|----------+------------------------------------+------------| +| Function | getFirstUnprocessedPriorityTx() | 0x79823c9a | +|----------+------------------------------------+------------| +| Function | getSize() | 0xde8fa431 | +|----------+------------------------------------+------------| +| Function | getTotalPriorityTxs() | 0xa1954fc5 | +|----------+------------------------------------+------------| +| Function | isEmpty() | 0x681fe70c | +|----------+------------------------------------+------------| +| Function | popFront() | 0x84d9fedd | +|----------+------------------------------------+------------| +| Function | pushBack((bytes32,uint64,uint192)) | 0x75fe6a99 | +|----------+------------------------------------+------------| +| Error | QueueIsEmpty() | 0x63c36549 | ++----------+------------------------------------+------------+ + +PriorityTreeTest ++----------+---------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=================================================================================+ +| Function | getCommitment() | 0x2a79c611 | +|----------+---------------------------------------------------------+------------| +| Function | getFirstUnprocessedPriorityTx() | 0x79823c9a | +|----------+---------------------------------------------------------+------------| +| Function | getRoot() | 0x5ca1e165 | +|----------+---------------------------------------------------------+------------| +| Function | getSize() | 0xde8fa431 | +|----------+---------------------------------------------------------+------------| +| Function | getTotalPriorityTxs() | 0xa1954fc5 | +|----------+---------------------------------------------------------+------------| +| Function | getZero() | 0x9f3f89dc | +|----------+---------------------------------------------------------+------------| +| Function | initFromCommitment((uint256,uint256,uint256,bytes32[])) | 0x4636d6f9 | +|----------+---------------------------------------------------------+------------| +| Function | processBatch((bytes32[],bytes32[],bytes32[])) | 0xc9daf4b1 | +|----------+---------------------------------------------------------+------------| +| Function | push(bytes32) | 0xb298e36b | +|----------+---------------------------------------------------------+------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+---------------------------------------------------------+------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | ++----------+---------------------------------------------------------+------------+ + +TestExecutor ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===========================================================================================================================================+ +| Function | commitBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0x98f81962 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xcf02827d | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xe12a6137 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatchesSharedBridge(uint256,uint256) | 0x0f23da43 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTreeStartIndex(uint256) | 0xa9b0d128 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockCommit(uint256,bytes32,bytes32) | 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockExecution(uint256,bytes32,bytes32) | 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksRevert(uint256,uint256,uint256) | 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksVerification(uint256,uint256) | 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchHashMismatch(bytes32,bytes32) | 0x55ad3fd3 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchNumberMismatch(uint256,uint256) | 0xbd4455ff | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | CanOnlyProcessOneBatch() | 0xe85392f9 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | CantExecuteUnprovenBatches() | 0x00c6ead2 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | CantRevertExecutedBatch() | 0xe18cb383 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyData() | 0x99d8fec9 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | IncorrectBatchBounds(uint256,uint256,uint256,uint256) | 0xd7d93e1f | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidLogSender(address,uint256) | 0xc1780bd6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidNumberOfBlobs(uint256,uint256,uint256) | 0xd8e9405c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProof() | 0x09bde339 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProtocolVersion() | 0x5428eae7 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2TimestampTooBig() | 0xfb5c22e6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | LogAlreadyProcessed(uint8) | 0x1b6825bb | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | MissingSystemLogs(uint256,uint256) | 0xfa44b527 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonIncreasingTimestamp() | 0xd018e08e | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonSequentialBatch() | 0x0105f9c0 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | PriorityOperationsRollingHashMismatch() | 0xd5a99014 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | QueueIsEmpty() | 0x63c36549 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | RevertedBatchNotAfterNewLastBatch() | 0x9a67c1cb | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | SystemLogsSizeTooBig() | 0xae43b424 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimestampError() | 0x2d50c33b | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxHashMismatch() | 0x4c991078 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedSystemLog(uint256) | 0x6aa39880 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedCommitBatchEncoding(uint8) | 0xf3dd1b9c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedExecuteBatchEncoding(uint8) | 0x14d2ed8a | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedProofBatchEncoding(uint8) | 0xf338f830 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UpgradeBatchNumberIsNotZero() | 0xf093c2e5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | VerifiedBatchesExceedsCommittedBatches() | 0xe1022469 | ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ + +AccessControlRestriction ++----------+-------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=================================================================================================================================+ +| Function | DEFAULT_ADMIN_ROLE() | 0xa217fddf | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptDefaultAdminTransfer() | 0xcefc1429 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | beginDefaultAdminTransfer(address) | 0x634e93da | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | cancelDefaultAdminTransfer() | 0xd602b9fd | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | changeDefaultAdminDelay(uint48) | 0x649a5ec7 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | defaultAdmin() | 0x84ef8ffc | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | defaultAdminDelay() | 0xcc8463c8 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | defaultAdminDelayIncreaseWait() | 0x022d63fb | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | getRoleAdmin(bytes32) | 0x248a9ca3 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | getSupportsRestrictionMagic() | 0x83e866f5 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | grantRole(bytes32,address) | 0x2f2ff15d | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | hasRole(bytes32,address) | 0x91d14854 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingDefaultAdmin() | 0xcf6eefb7 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingDefaultAdminDelay() | 0xa1eda53c | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceRole(bytes32,address) | 0x36568abe | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | requiredRoles(address,bytes4) | 0x3f620077 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | requiredRolesForFallback(address) | 0x92c25350 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | revokeRole(bytes32,address) | 0xd547741f | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | rollbackDefaultAdminDelay() | 0x0aa6220b | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | setRequiredRoleForCall(address,bytes4,bytes32) | 0xb915e405 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | setRequiredRoleForFallback(address,bytes32) | 0x2de34186 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | supportsInterface(bytes4) | 0x01ffc9a7 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Function | validateCall((address,uint256,bytes),address) | 0x9a9debe9 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | DefaultAdminDelayChangeCanceled() | 0x2b1fa2edafe6f7b9e97c1a9e0c3660e645beb2dcaa2d45bdbf9beaf5472e1ec5 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | DefaultAdminDelayChangeScheduled(uint48,uint48) | 0xf1038c18cf84a56e432fdbfaf746924b7ea511dfe03a6506a0ceba4888788d9b | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | DefaultAdminTransferCanceled() | 0x8886ebfc4259abdbc16601dd8fb5678e54878f47b3c34836cfc51154a9605109 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | DefaultAdminTransferScheduled(address,uint48) | 0x3377dc44241e779dd06afab5b788a35ca5f3b778836e2990bdb26a2a4b2e5ed6 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | FallbackRoleSet(address,bytes32) | 0xacb22a6b6e4593545bea6f5cdd10238b8a592aba079d9cfc76adb71edf02d40b | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | RoleAdminChanged(bytes32,bytes32,bytes32) | 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | RoleGranted(bytes32,address,address) | 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | RoleRevoked(bytes32,address,address) | 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Event | RoleSet(address,bytes4,bytes32) | 0x25c1ec7629ef447de39798ef5e6e0da89139b2257681441b45f1779c3efda036 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Error | AccessToFallbackDenied(address,address) | 0x5ecf2d7a | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Error | AccessToFunctionDenied(address,bytes4,address) | 0x3995f750 | +|----------+-------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-------------------------------------------------+--------------------------------------------------------------------+ + +ChainAdmin ++----------+--------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++==================================================================================================================================+ +| Function | addRestriction(address) | 0x33163987 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | getRestrictions() | 0xc4195cb8 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | isRestrictionActive(address) | 0x02f0277d | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | multicall((address,uint256,bytes)[],bool) | 0x69340beb | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionToUpgradeTimestamp(uint256) | 0xede25608 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | removeRestriction(address) | 0x69a5b950 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Function | setUpgradeTimestamp(uint256,uint256) | 0xe2a9d554 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | CallExecuted((address,uint256,bytes),bool,bytes) | 0x157c677a40c50f832f816d7b59c8c3e94774acae328c8ccb145b73aea7566d75 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | RestrictionAdded(address) | 0x83cfa0dec28fa91596ce8081b6279e7d1c402d3d4bc40934fc51f8830e7d82c6 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | RestrictionRemoved(address) | 0xdf4f1ec932dcab3c66fb7845ba6fc669816121e5d4a81d6955d3c6d3bff7b7e9 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Event | UpdateUpgradeTimestamp(uint256,uint256) | 0xd50ef21701c8ef211433b140724b8d6de471e7d822c8a616c3d424fe2d0e98a9 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | NoCallsProvided() | 0x79cc2d22 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | NotARestriction(address) | 0x64846fe4 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | OnlySelfAllowed() | 0x6c167909 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | RestrictionWasAlreadyPresent(address) | 0xf126e113 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | RestrictionWasNotPresent(address) | 0x52e22c98 | +|----------+--------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | ++----------+--------------------------------------------------+--------------------------------------------------------------------+ + +Governance ++----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++============================================================================================================================================================================+ +| Function | acceptOwnership() | 0x79ba5097 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | cancel(bytes32) | 0xc4d252f5 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | execute(((address,uint256,bytes)[],bytes32,bytes32)) | 0x74da756b | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeInstant(((address,uint256,bytes)[],bytes32,bytes32)) | 0x95218ecd | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getOperationState(bytes32) | 0x7958004c | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | hashOperation(((address,uint256,bytes)[],bytes32,bytes32)) | 0xc126e860 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperation(bytes32) | 0x31d50750 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperationDone(bytes32) | 0x2ab0f529 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperationPending(bytes32) | 0x584b153e | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isOperationReady(bytes32) | 0x13bc9f20 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | minDelay() | 0xc63c4e9b | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | scheduleShadow(bytes32,uint256) | 0x6d1d8363 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | scheduleTransparent(((address,uint256,bytes)[],bytes32,bytes32),uint256) | 0x2c431917 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | securityCouncil() | 0x27eb6c0f | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | timestamps(bytes32) | 0xb5872958 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | updateDelay(uint256) | 0x64d62353 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | updateSecurityCouncil(address) | 0xdbfe3e96 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChangeMinDelay(uint256,uint256) | 0x0c5ff76c31d24175d9e84ef46e328eafbcaeb2aa67a2333035eb082dd34324f1 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ChangeSecurityCouncil(address,address) | 0xe55ac8ae7914efca1278b8ed4ae21728d06ad9f6e7637bb2c905aacf2a6f5951 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OperationCancelled(bytes32) | 0xcf0f63b97f3387253cbc0bde884f975df77e39184dc3280c2c81be495f58eef4 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OperationExecuted(bytes32) | 0x1277662f4b42b8a4069e99fb5e41ce8919d3c621156090ac08fb11adbcec66f9 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ShadowOperationScheduled(bytes32,uint256) | 0xbcb40fd953364ec8aed99fa0bd6dcc03103f979efde4744ad7452e556ff20ba6 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | TransparentOperationScheduled(bytes32,uint256,((address,uint256,bytes)[],bytes32,bytes32)) | 0x23bc9f5dc037eb49c162fd08c2a4d43dfe70063149e140d502273168da0a0625 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidDelay() | 0x4fbe5dba | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OperationExists() | 0x1a21feed | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OperationMustBePending() | 0xeda2fbb1 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OperationMustBeReady() | 0xe1c1ff37 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousOperationNotExecuted() | 0x9b48e060 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +L2AdminFactory ++----------+--------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================+ +| Function | deployAdmin(address[],bytes32) | 0x8f466729 | +|----------+--------------------------------+--------------------------------------------------------------------| +| Function | requiredRestrictions(uint256) | 0x63cf72b8 | +|----------+--------------------------------+--------------------------------------------------------------------| +| Event | AdminDeployed(address) | 0xc2be628060b55b6da5404f7ce7a00e0996aa76a0a6447b084fdc5af1b056cb40 | +|----------+--------------------------------+--------------------------------------------------------------------| +| Error | NotARestriction(address) | 0x64846fe4 | ++----------+--------------------------------+--------------------------------------------------------------------+ + +PermanentRestriction ++----------+-----------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===============================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | L2_ADMIN_FACTORY() | 0x8761cf4b | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | allowAdminImplementation(bytes32,bool) | 0xce21e9cd | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | allowL2Admin(bytes32,bytes32,bytes32) | 0xa1603458 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | allowedAdminImplementations(bytes32) | 0x1b808213 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | allowedCalls(bytes) | 0x5c2bdd21 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | allowedL2Admins(address) | 0xac1cb217 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | getSupportsRestrictionMagic() | 0x83e866f5 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address) | 0xc4d66de8 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | setAllowedData(bytes,bool) | 0xdbaabcfd | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | setSelectorIsValidated(bytes4,bool) | 0x636ccb60 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | validateCall((address,uint256,bytes),address) | 0x9a9debe9 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Function | validatedSelectors(bytes4) | 0x430d2d36 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | AdminImplementationAllowed(bytes32,bool) | 0xb9b1bc97b8d56d15ac2abdd71d788b0d6e14dc92fa9b8df811d0a2f41c14354a | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | AllowL2Admin(address) | 0x43472806f9101fbc243f5a64948e56332b1d18bb082e7d4772a29368eb80991e | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | AllowedDataChanged(bytes,bool) | 0xbb577d7ca5995b00ceaae0c75f77ab5df42a1e24673e2e36858ee718f3f1eb8c | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Event | SelectorValidationChanged(bytes4,bool) | 0x85198d5146ae402b94f01f31a2049f75a6ecadc1d321090cd97467979b8d09d7 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Error | AlreadyWhitelisted(address) | 0x0bfcef28 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Error | CallNotAllowed(bytes) | 0x3331e9c0 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Error | NotAllowed(address) | 0xfa5cd00f | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Error | RemovingPermanentRestriction() | 0xf6fd7071 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Error | UnallowedImplementation(bytes32) | 0xfcb9b2e1 | +|----------+-----------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-----------------------------------------------+--------------------------------------------------------------------+ + +ChainTypeManager ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | admin() | 0xf851a440 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams(uint256,(uint8,uint32,uint32,uint32,uint32,uint64)) | 0x027f12e1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,bytes32,address,bytes,bytes[]) | 0x88c7c5d2 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xe34a329a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(uint256,bytes) | 0xf85894c5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(uint256,bytes) | 0xe8a71ca9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeChain(uint256) | 0xaccdd16c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainAdmin(uint256) | 0x301e7765 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getHyperchain(uint256) | 0xdead6f7f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getProtocolVersion(uint256) | 0xba238947 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChainLegacy(uint256) | 0x4caa740f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialCutHash() | 0x57e6246b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialForceDeploymentHash() | 0x61f91b2e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize((address,address,(address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes),uint256)) | 0xce7df3d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1GenesisUpgrade() | 0x3437949a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersion() | 0x2ae9c600 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionDeadline(uint256) | 0xf4943a20 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionIsActive(uint256) | 0xdef9d6af | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatches(uint256,uint256) | 0x53ce2061 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setChainCreationParams((address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes)) | 0x9b016b8b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNewVersionUpgrade(((address,uint8,bool,bytes4[])[],address,bytes),uint256,uint256,uint256) | 0x2e522851 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(uint256,bool) | 0x18717dc1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256,uint256) | 0xec3d5f88 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setProtocolVersionDeadline(uint256,uint256) | 0xaad74262 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint256,uint128,uint128) | 0x7ebba672 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setUpgradeDiamondCut(((address,uint8,bool,bytes4[])[],address,bytes),uint256) | 0x98461504 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(uint256,address,bool) | 0xcf347e17 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidatorTimelock(address) | 0x7fb67816 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBatchZero() | 0xd2ef1b0e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeChain(uint256) | 0x51d218f7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0x0dbad27e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeCutHash(uint256) | 0x52c9eacb | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | validatorTimelock() | 0xe66c8c44 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | GenesisUpgrade(address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),uint256) | 0x778b7f95aad9610955002f243aabbbf9546bb6e792f7b3b89dab86b4f210e30f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChainCreationParams(address,bytes32,uint64,bytes32,bytes32,bytes32) | 0x04b363b4a0200ada216b1cb4aaf2736ff6f332d5f1d90f98e60b1159f3dac3aa | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutData(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xf99295383247eabb6bee8798669fa768502f8843d3be0e82a0aa81d7b6c4f60c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutHash(uint256,bytes32) | 0x71b0aeaf8eaa06ed78ccb9a4981da026eea05ca1d818c22dd120446db4c936d4 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewValidatorTimelock(address,address) | 0x5a1b0d8808a8dca64c1f7c230dce7a09f7f9a1c26507e190e03dcd382e69018e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewZKChain(uint256,address) | 0xf83c256407747903308213919067f883f683c5cde6a64ebbf25096b8bb555ddc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisBatchCommitmentZero() | 0x6d4a7df8 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisBatchHashZero() | 0x7940c83f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisIndexStorageZero() | 0xb4fc6835 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GenesisUpgradeZero() | 0x3a1a8589 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IChainTypeManager ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++================================================================================================================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptAdmin() | 0x0e18b681 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams(uint256,(uint8,uint32,uint32,uint32,uint32,uint64)) | 0x027f12e1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | createNewChain(uint256,bytes32,address,bytes,bytes[]) | 0x88c7c5d2 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xe34a329a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(uint256,bytes) | 0xf85894c5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(uint256,bytes) | 0xe8a71ca9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeChain(uint256) | 0xaccdd16c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainAdmin(uint256) | 0x301e7765 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getProtocolVersion(uint256) | 0xba238947 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChain(uint256) | 0xe680c4c1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getZKChainLegacy(uint256) | 0x4caa740f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialCutHash() | 0x57e6246b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize((address,address,(address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes),uint256)) | 0xce7df3d6 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l1GenesisUpgrade() | 0x3437949a | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersion() | 0x2ae9c600 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionDeadline(uint256) | 0xf4943a20 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | protocolVersionIsActive(uint256) | 0xdef9d6af | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | registerSettlementLayer(uint256,bool) | 0xdc8e4b26 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setChainCreationParams((address,bytes32,uint64,bytes32,((address,uint8,bool,bytes4[])[],address,bytes),bytes)) | 0x9b016b8b | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setNewVersionUpgrade(((address,uint8,bool,bytes4[])[],address,bytes),uint256,uint256,uint256) | 0x2e522851 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(uint256,bool) | 0x18717dc1 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256,uint256) | 0xec3d5f88 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint256,uint128,uint128) | 0x7ebba672 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setUpgradeDiamondCut(((address,uint8,bool,bytes4[])[],address,bytes),uint256) | 0x98461504 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(uint256,address,bool) | 0xcf347e17 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidatorTimelock(address) | 0x7fb67816 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBatchZero() | 0xd2ef1b0e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeChain(uint256) | 0x51d218f7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0x0dbad27e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeCutHash(uint256) | 0x52c9eacb | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | GenesisUpgrade(address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),uint256) | 0x778b7f95aad9610955002f243aabbbf9546bb6e792f7b3b89dab86b4f210e30f | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewChainCreationParams(address,bytes32,uint64,bytes32,bytes32,bytes32) | 0x04b363b4a0200ada216b1cb4aaf2736ff6f332d5f1d90f98e60b1159f3dac3aa | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutData(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xf99295383247eabb6bee8798669fa768502f8843d3be0e82a0aa81d7b6c4f60c | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewUpgradeCutHash(uint256,bytes32) | 0x71b0aeaf8eaa06ed78ccb9a4981da026eea05ca1d818c22dd120446db4c936d4 | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewValidatorTimelock(address,address) | 0x5a1b0d8808a8dca64c1f7c230dce7a09f7f9a1c26507e190e03dcd382e69018e | +|----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewZKChain(uint256,address) | 0xf83c256407747903308213919067f883f683c5cde6a64ebbf25096b8bb555ddc | ++----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +ValidatorTimelock ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===========================================================================================================================================+ +| Function | acceptOwnership() | 0x79ba5097 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | addValidator(uint256,address) | 0x4b561753 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | chainTypeManager() | 0xc0e42a5c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | commitBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0x98f81962 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xcf02827d | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | executionDelay() | 0x8b257989 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | getCommittedBatchTimestamp(uint256,uint256) | 0xb993549e | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xe12a6137 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | removeValidator(uint256,address) | 0x6a0cd1f5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatchesSharedBridge(uint256,uint256) | 0x0f23da43 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | setChainTypeManager(address) | 0xbd5bcf93 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | setExecutionDelay(uint32) | 0xf34d1868 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | validators(uint256,address) | 0x91b19874 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockCommit(uint256,bytes32,bytes32) | 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockExecution(uint256,bytes32,bytes32) | 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksRevert(uint256,uint256,uint256) | 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksVerification(uint256,uint256) | 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewExecutionDelay(uint256) | 0xd32d6d626bb9c7077c559fc3b4e5ce71ef14609d7d216d030ee63dcf2422c2c4 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidatorAdded(uint256,address) | 0x7429a06e9412e469f0d64f9d222640b0af359f556b709e2913588c227851b88d | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidatorRemoved(uint256,address) | 0x7126bef88d1149ccdff9681ed5aecd3ba5ae70c96517551de250af09cebd1a0b | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressAlreadyValidator(uint256) | 0x004aef8a | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidatorDoesNotExist(uint256) | 0x5fd1e44b | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ + +DiamondInit ++----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++====================================================================================================================================================================================================================+ +| Function | initialize((uint256,address,address,uint256,address,address,bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes32,bytes32,uint256,(uint8,uint32,uint32,uint32,uint32,uint64),address)) | 0xadad4b1b | +|----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ + +DiamondProxy ++-------+-----------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++========================================================================================================================================+ +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressHasNoCode(address) | 0x86bb51b8 | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | DelegateCallFailed(bytes) | 0xf7a01e4d | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | FacetExists(bytes4,address) | 0xac4a3f98 | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFunctionsForDiamondCut() | 0xa6fef710 | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyCalldata() | 0xc21b1ab7 | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressNotZero(address) | 0x667d17de | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressZero() | 0xa2d4b16c | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | ReplaceFunctionFacetAddressZero() | 0x3580370c | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | SelectorsMustAllHaveSameFreezability() | 0xd3b6535b | +|-------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UndefinedDiamondCutAction() | 0xe52478c7 | ++-------+-----------------------------------------------------------+--------------------------------------------------------------------+ + +AdminFacet ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================================================+ +| Function | acceptAdmin() | 0x0e18b681 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams((uint8,uint32,uint32,uint32,uint32,uint64)) | 0x64bf8d66 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0xa9f6d941 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(address,address,bytes) | 0x64b554ad | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(bytes,bool) | 0x3f42d5dd | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeDiamond() | 0x27ae4c16 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | genesisUpgrade(address,address,bytes,bytes[]) | 0x2878fe74 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | prepareChainCommitment() | 0x41cf49bb | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setDAValidatorPair(address,address) | 0x6223258e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(bool) | 0x1cc5d103 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256) | 0xbe6f11cf | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPubdataPricingMode(uint8) | 0xe76db865 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint128,uint128) | 0x235d9eb5 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTransactionFilterer(address) | 0x21f603d7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(address,bool) | 0x4623c91d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeDiamond() | 0x17338945 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xfc57565f | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Freeze() | 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | IsPorterAvailableStatusUpdate(bool) | 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationComplete() | 0x96e718f44bd77cb63370212c5aa24a0396d8f43e88e7ce175d160e371c8e2a6a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewBaseTokenMultiplier(uint128,uint128,uint128,uint128) | 0xc9cbdb110bd58a133e82c62b1488e57677be1f326df10a4d8096b5f170c370c8 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewFeeParams((uint8,uint32,uint32,uint32,uint32,uint64),(uint8,uint32,uint32,uint32,uint32,uint64)) | 0xc8b245ac8b138b17b6b1dbbbb8860adc66b373afa000d99f3cdc775d8ae0bbed | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL1DAValidator(address,address) | 0x08b0b676d456a0431162145d2821f30c665b69ca626521c937ba7a77a29ed67c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DAValidator(address,address) | 0x866a71b85fb8625f74adc67901361962f0aa3730a1615400911ae610d65dc130 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityTxMaxGasLimit(uint256,uint256) | 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewTransactionFilterer(address,address) | 0xa9b43a66c5d1c607986f49e932a0c08058d843210db03dd6e8a621b96b4770f4 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unfreeze() | 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidatorStatusUpdate(address,bool) | 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidiumModeStatusUpdate(uint8) | 0xaa01146df0a628c6b214e79a281f7524b792de4a52ad6f07c78e6e035d58c896 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressHasNoCode(address) | 0x86bb51b8 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ChainAlreadyLive() | 0x78d2ed02 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DelegateCallFailed(bytes) | 0xf7a01e4d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DenominatorIsZero() | 0x0a8ed92c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DiamondAlreadyFrozen() | 0x0e7ee319 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DiamondNotFrozen() | 0xa7151b9a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | FacetExists(bytes4,address) | 0xac4a3f98 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidPubdataPricingMode() | 0x6f1cf752 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFunctionsForDiamondCut() | 0xa6fef710 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyCalldata() | 0xc21b1ab7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PriorityTxPubdataExceedsMaxPubDataPerBatch() | 0x1a4d284a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolIdMismatch(uint256,uint256) | 0xa461f651 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolIdNotGreater() | 0x64f94ec2 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressNotZero(address) | 0x667d17de | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressZero() | 0xa2d4b16c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ReplaceFunctionFacetAddressZero() | 0x3580370c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SelectorsMustAllHaveSameFreezability() | 0xd3b6535b | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UndefinedDiamondCutAction() | 0xe52478c7 | ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +ExecutorFacet ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===========================================================================================================================================+ +| Function | commitBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0x98f81962 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xcf02827d | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xe12a6137 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatchesSharedBridge(uint256,uint256) | 0x0f23da43 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockCommit(uint256,bytes32,bytes32) | 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockExecution(uint256,bytes32,bytes32) | 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksRevert(uint256,uint256,uint256) | 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksVerification(uint256,uint256) | 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchHashMismatch(bytes32,bytes32) | 0x55ad3fd3 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchNumberMismatch(uint256,uint256) | 0xbd4455ff | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | CanOnlyProcessOneBatch() | 0xe85392f9 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | CantExecuteUnprovenBatches() | 0x00c6ead2 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | CantRevertExecutedBatch() | 0xe18cb383 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | EmptyData() | 0x99d8fec9 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashMismatch(bytes32,bytes32) | 0x0b08d5be | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | IncorrectBatchBounds(uint256,uint256,uint256,uint256) | 0xd7d93e1f | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidLogSender(address,uint256) | 0xc1780bd6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidNumberOfBlobs(uint256,uint256,uint256) | 0xd8e9405c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProof() | 0x09bde339 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidProtocolVersion() | 0x5428eae7 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2TimestampTooBig() | 0xfb5c22e6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | LogAlreadyProcessed(uint8) | 0x1b6825bb | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | MissingSystemLogs(uint256,uint256) | 0xfa44b527 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonIncreasingTimestamp() | 0xd018e08e | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonSequentialBatch() | 0x0105f9c0 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | PriorityOperationsRollingHashMismatch() | 0xd5a99014 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | QueueIsEmpty() | 0x63c36549 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | RevertedBatchNotAfterNewLastBatch() | 0x9a67c1cb | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | SystemLogsSizeTooBig() | 0xae43b424 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimestampError() | 0x2d50c33b | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxHashMismatch() | 0x4c991078 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedSystemLog(uint256) | 0x6aa39880 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedCommitBatchEncoding(uint8) | 0xf3dd1b9c | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedExecuteBatchEncoding(uint8) | 0x14d2ed8a | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnsupportedProofBatchEncoding(uint8) | 0xf338f830 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | UpgradeBatchNumberIsNotZero() | 0xf093c2e5 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValueMismatch(uint256,uint256) | 0x626ade30 | +|----------+-----------------------------------------------------------+--------------------------------------------------------------------| +| Error | VerifiedBatchesExceedsCommittedBatches() | 0xe1022469 | ++----------+-----------------------------------------------------------+--------------------------------------------------------------------+ + +GettersFacet ++----------+-------------------------------------------+------------+ +| Type | Signature | Selector | ++===================================================================+ +| Function | baseTokenGasPriceMultiplierDenominator() | 0x1de72e34 | +|----------+-------------------------------------------+------------| +| Function | baseTokenGasPriceMultiplierNominator() | 0xea6c029c | +|----------+-------------------------------------------+------------| +| Function | facetAddress(bytes4) | 0xcdffacc6 | +|----------+-------------------------------------------+------------| +| Function | facetAddresses() | 0x52ef6b2c | +|----------+-------------------------------------------+------------| +| Function | facetFunctionSelectors(address) | 0xadfca15e | +|----------+-------------------------------------------+------------| +| Function | facets() | 0x7a0ed627 | +|----------+-------------------------------------------+------------| +| Function | getAdmin() | 0x6e9960c3 | +|----------+-------------------------------------------+------------| +| Function | getBaseToken() | 0x98acd7a6 | +|----------+-------------------------------------------+------------| +| Function | getBaseTokenAssetId() | 0x960dcf24 | +|----------+-------------------------------------------+------------| +| Function | getBridgehub() | 0x3591c1a0 | +|----------+-------------------------------------------+------------| +| Function | getChainId() | 0x3408e470 | +|----------+-------------------------------------------+------------| +| Function | getChainTypeManager() | 0x946ebad1 | +|----------+-------------------------------------------+------------| +| Function | getDAValidatorPair() | 0x5a590335 | +|----------+-------------------------------------------+------------| +| Function | getFirstUnprocessedPriorityTx() | 0x79823c9a | +|----------+-------------------------------------------+------------| +| Function | getL2BootloaderBytecodeHash() | 0xd86970d8 | +|----------+-------------------------------------------+------------| +| Function | getL2DefaultAccountBytecodeHash() | 0xfd791f3c | +|----------+-------------------------------------------+------------| +| Function | getL2SystemContractsUpgradeBatchNumber() | 0xe5355c75 | +|----------+-------------------------------------------+------------| +| Function | getL2SystemContractsUpgradeBlockNumber() | 0x9d1b5a81 | +|----------+-------------------------------------------+------------| +| Function | getL2SystemContractsUpgradeTxHash() | 0x7b30c8da | +|----------+-------------------------------------------+------------| +| Function | getName() | 0x17d7de7c | +|----------+-------------------------------------------+------------| +| Function | getPendingAdmin() | 0xd0468156 | +|----------+-------------------------------------------+------------| +| Function | getPriorityQueueSize() | 0x631f4bac | +|----------+-------------------------------------------+------------| +| Function | getPriorityTreeRoot() | 0x39d7d4aa | +|----------+-------------------------------------------+------------| +| Function | getPriorityTxMaxGasLimit() | 0x0ec6b0b7 | +|----------+-------------------------------------------+------------| +| Function | getProtocolVersion() | 0x33ce93fe | +|----------+-------------------------------------------+------------| +| Function | getPubdataPricingMode() | 0x06d49e5b | +|----------+-------------------------------------------+------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+-------------------------------------------+------------| +| Function | getSettlementLayer() | 0x6a27e8b5 | +|----------+-------------------------------------------+------------| +| Function | getTotalBatchesCommitted() | 0xdb1f0bf9 | +|----------+-------------------------------------------+------------| +| Function | getTotalBatchesExecuted() | 0xb8c2f66f | +|----------+-------------------------------------------+------------| +| Function | getTotalBatchesVerified() | 0xef3f0bae | +|----------+-------------------------------------------+------------| +| Function | getTotalBlocksCommitted() | 0xfe26699e | +|----------+-------------------------------------------+------------| +| Function | getTotalBlocksExecuted() | 0x39607382 | +|----------+-------------------------------------------+------------| +| Function | getTotalBlocksVerified() | 0xaf6a2dcd | +|----------+-------------------------------------------+------------| +| Function | getTotalPriorityTxs() | 0xa1954fc5 | +|----------+-------------------------------------------+------------| +| Function | getTransactionFilterer() | 0x22c5cf23 | +|----------+-------------------------------------------+------------| +| Function | getVerifier() | 0x46657fe9 | +|----------+-------------------------------------------+------------| +| Function | getVerifierParams() | 0x18e3a941 | +|----------+-------------------------------------------+------------| +| Function | isDiamondStorageFrozen() | 0x29b98c67 | +|----------+-------------------------------------------+------------| +| Function | isEthWithdrawalFinalized(uint256,uint256) | 0xbd7c5412 | +|----------+-------------------------------------------+------------| +| Function | isFacetFreezable(address) | 0xc3bbd2d7 | +|----------+-------------------------------------------+------------| +| Function | isFunctionFreezable(bytes4) | 0xe81e0ba1 | +|----------+-------------------------------------------+------------| +| Function | isValidator(address) | 0xfacd743b | +|----------+-------------------------------------------+------------| +| Function | l2LogsRootHash(uint256) | 0x9cd939e4 | +|----------+-------------------------------------------+------------| +| Function | storedBatchHash(uint256) | 0xb22dd78e | +|----------+-------------------------------------------+------------| +| Function | storedBlockHash(uint256) | 0x74f4d30d | +|----------+-------------------------------------------+------------| +| Error | InvalidSelector(bytes4) | 0x12ba286f | ++----------+-------------------------------------------+------------+ + +MailboxFacet ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===================================================================================================================================================================================================================================================================+ +| Function | bridgehubRequestL2Transaction((address,address,uint256,uint256,bytes,uint256,uint256,bytes[],address)) | 0x12f43dab | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubRequestL2TransactionOnGateway(bytes32,uint64) | 0xddcc9eec | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeEthWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x6c0960f9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256) | 0xb473318e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0x042901c7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatusViaGateway(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0xe717bab7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LeafInclusion(uint256,uint256,bytes32,bytes32[]) | 0x7efda2ae | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0x263b7f8e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,(uint16,address,bytes),bytes32[]) | 0xe4948f43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2Transaction(address,uint256,bytes,uint256,uint256,bytes[],address) | 0xeb672419 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionToGatewayMailbox(uint256,bytes32,uint64) | 0xd0772551 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityRequest(uint256,bytes32,uint64,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[]) | 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewRelayedPriorityTransaction(uint256,bytes32,uint64) | 0x0137d2eaa6ec5b7e4f233f6d6f441410014535d0f3985367994c94bf15a2a564 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BaseTokenGasPriceDenominatorNotSet() | 0x6ef9a972 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | BatchNotExecuted(uint256) | 0x2078a6a0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | GasPerPubdataMismatch() | 0xc91cf3b1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | HashedLogIsDefault() | 0xd356e6ba | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerkleIndexOutOfBounds() | 0x9bb54c35 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathEmpty() | 0x8e23ac1a | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MerklePathOutOfBounds() | 0x1c500385 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MsgValueTooLow(uint256,uint256) | 0xb385a3da | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotInitializedReentrancyGuard() | 0xdd7e3621 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | OnlyEraSupported() | 0xf3ed9dfa | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Reentrancy() | 0xab143c06 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TransactionNotAllowed() | 0x00c5a6a9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | Unauthorized(address) | 0x8e4a23d6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IAdmin ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================================================+ +| Function | acceptAdmin() | 0x0e18b681 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams((uint8,uint32,uint32,uint32,uint32,uint64)) | 0x64bf8d66 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0xa9f6d941 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(address,address,bytes) | 0x64b554ad | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(bytes,bool) | 0x3f42d5dd | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeDiamond() | 0x27ae4c16 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | genesisUpgrade(address,address,bytes,bytes[]) | 0x2878fe74 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | prepareChainCommitment() | 0x41cf49bb | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setDAValidatorPair(address,address) | 0x6223258e | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(bool) | 0x1cc5d103 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256) | 0xbe6f11cf | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPubdataPricingMode(uint8) | 0xe76db865 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint128,uint128) | 0x235d9eb5 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTransactionFilterer(address) | 0x21f603d7 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(address,bool) | 0x4623c91d | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeDiamond() | 0x17338945 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xfc57565f | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Freeze() | 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | IsPorterAvailableStatusUpdate(bool) | 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationComplete() | 0x96e718f44bd77cb63370212c5aa24a0396d8f43e88e7ce175d160e371c8e2a6a | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewBaseTokenMultiplier(uint128,uint128,uint128,uint128) | 0xc9cbdb110bd58a133e82c62b1488e57677be1f326df10a4d8096b5f170c370c8 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewFeeParams((uint8,uint32,uint32,uint32,uint32,uint64),(uint8,uint32,uint32,uint32,uint32,uint64)) | 0xc8b245ac8b138b17b6b1dbbbb8860adc66b373afa000d99f3cdc775d8ae0bbed | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL1DAValidator(address,address) | 0x08b0b676d456a0431162145d2821f30c665b69ca626521c937ba7a77a29ed67c | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DAValidator(address,address) | 0x866a71b85fb8625f74adc67901361962f0aa3730a1615400911ae610d65dc130 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityTxMaxGasLimit(uint256,uint256) | 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewTransactionFilterer(address,address) | 0xa9b43a66c5d1c607986f49e932a0c08058d843210db03dd6e8a621b96b4770f4 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unfreeze() | 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidatorStatusUpdate(address,bool) | 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136 | +|----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidiumModeStatusUpdate(uint8) | 0xaa01146df0a628c6b214e79a281f7524b792de4a52ad6f07c78e6e035d58c896 | ++----------+-----------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IDiamondInit ++----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++====================================================================================================================================================================================================================+ +| Function | initialize((uint256,address,address,uint256,address,address,bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes32,bytes32,uint256,(uint8,uint32,uint32,uint32,uint32,uint64),address)) | 0xadad4b1b | ++----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ + +IGetters ++----------+-------------------------------------------+------------+ +| Type | Signature | Selector | ++===================================================================+ +| Function | baseTokenGasPriceMultiplierDenominator() | 0x1de72e34 | +|----------+-------------------------------------------+------------| +| Function | baseTokenGasPriceMultiplierNominator() | 0xea6c029c | +|----------+-------------------------------------------+------------| +| Function | facetAddress(bytes4) | 0xcdffacc6 | +|----------+-------------------------------------------+------------| +| Function | facetAddresses() | 0x52ef6b2c | +|----------+-------------------------------------------+------------| +| Function | facetFunctionSelectors(address) | 0xadfca15e | +|----------+-------------------------------------------+------------| +| Function | facets() | 0x7a0ed627 | +|----------+-------------------------------------------+------------| +| Function | getAdmin() | 0x6e9960c3 | +|----------+-------------------------------------------+------------| +| Function | getBaseToken() | 0x98acd7a6 | +|----------+-------------------------------------------+------------| +| Function | getBaseTokenAssetId() | 0x960dcf24 | +|----------+-------------------------------------------+------------| +| Function | getBridgehub() | 0x3591c1a0 | +|----------+-------------------------------------------+------------| +| Function | getChainId() | 0x3408e470 | +|----------+-------------------------------------------+------------| +| Function | getChainTypeManager() | 0x946ebad1 | +|----------+-------------------------------------------+------------| +| Function | getFirstUnprocessedPriorityTx() | 0x79823c9a | +|----------+-------------------------------------------+------------| +| Function | getL2BootloaderBytecodeHash() | 0xd86970d8 | +|----------+-------------------------------------------+------------| +| Function | getL2DefaultAccountBytecodeHash() | 0xfd791f3c | +|----------+-------------------------------------------+------------| +| Function | getL2SystemContractsUpgradeBatchNumber() | 0xe5355c75 | +|----------+-------------------------------------------+------------| +| Function | getL2SystemContractsUpgradeTxHash() | 0x7b30c8da | +|----------+-------------------------------------------+------------| +| Function | getName() | 0x17d7de7c | +|----------+-------------------------------------------+------------| +| Function | getPendingAdmin() | 0xd0468156 | +|----------+-------------------------------------------+------------| +| Function | getPriorityQueueSize() | 0x631f4bac | +|----------+-------------------------------------------+------------| +| Function | getPriorityTreeRoot() | 0x39d7d4aa | +|----------+-------------------------------------------+------------| +| Function | getPriorityTxMaxGasLimit() | 0x0ec6b0b7 | +|----------+-------------------------------------------+------------| +| Function | getProtocolVersion() | 0x33ce93fe | +|----------+-------------------------------------------+------------| +| Function | getPubdataPricingMode() | 0x06d49e5b | +|----------+-------------------------------------------+------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+-------------------------------------------+------------| +| Function | getSettlementLayer() | 0x6a27e8b5 | +|----------+-------------------------------------------+------------| +| Function | getTotalBatchesCommitted() | 0xdb1f0bf9 | +|----------+-------------------------------------------+------------| +| Function | getTotalBatchesExecuted() | 0xb8c2f66f | +|----------+-------------------------------------------+------------| +| Function | getTotalBatchesVerified() | 0xef3f0bae | +|----------+-------------------------------------------+------------| +| Function | getTotalPriorityTxs() | 0xa1954fc5 | +|----------+-------------------------------------------+------------| +| Function | getTransactionFilterer() | 0x22c5cf23 | +|----------+-------------------------------------------+------------| +| Function | getVerifier() | 0x46657fe9 | +|----------+-------------------------------------------+------------| +| Function | getVerifierParams() | 0x18e3a941 | +|----------+-------------------------------------------+------------| +| Function | isDiamondStorageFrozen() | 0x29b98c67 | +|----------+-------------------------------------------+------------| +| Function | isEthWithdrawalFinalized(uint256,uint256) | 0xbd7c5412 | +|----------+-------------------------------------------+------------| +| Function | isFacetFreezable(address) | 0xc3bbd2d7 | +|----------+-------------------------------------------+------------| +| Function | isFunctionFreezable(bytes4) | 0xe81e0ba1 | +|----------+-------------------------------------------+------------| +| Function | isValidator(address) | 0xfacd743b | +|----------+-------------------------------------------+------------| +| Function | l2LogsRootHash(uint256) | 0x9cd939e4 | +|----------+-------------------------------------------+------------| +| Function | storedBatchHash(uint256) | 0xb22dd78e | ++----------+-------------------------------------------+------------+ + +IZKChain ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++===================================================================================================================================================================================================================================================================+ +| Function | acceptAdmin() | 0x0e18b681 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenGasPriceMultiplierDenominator() | 0x1de72e34 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | baseTokenGasPriceMultiplierNominator() | 0xea6c029c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubRequestL2Transaction((address,address,uint256,uint256,bytes,uint256,uint256,bytes[],address)) | 0x12f43dab | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | bridgehubRequestL2TransactionOnGateway(bytes32,uint64) | 0xddcc9eec | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | changeFeeParams((uint8,uint32,uint32,uint32,uint32,uint64)) | 0x64bf8d66 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | commitBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0x98f81962 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xcf02827d | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0xa9f6d941 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facetAddress(bytes4) | 0xcdffacc6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facetAddresses() | 0x52ef6b2c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facetFunctionSelectors(address) | 0xadfca15e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | facets() | 0x7a0ed627 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | finalizeEthWithdrawal(uint256,uint256,uint16,bytes,bytes32[]) | 0x6c0960f9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeBurn(address,address,bytes) | 0x64b554ad | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeMint(bytes,bool) | 0x3f42d5dd | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | forwardedBridgeRecoverFailedTransfer(uint256,bytes32,address,bytes) | 0xb7846107 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | freezeDiamond() | 0x27ae4c16 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | genesisUpgrade(address,address,bytes,bytes[]) | 0x2878fe74 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getAdmin() | 0x6e9960c3 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBaseToken() | 0x98acd7a6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBaseTokenAssetId() | 0x960dcf24 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getBridgehub() | 0x3591c1a0 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainId() | 0x3408e470 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getChainTypeManager() | 0x946ebad1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getFirstUnprocessedPriorityTx() | 0x79823c9a | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2BootloaderBytecodeHash() | 0xd86970d8 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2DefaultAccountBytecodeHash() | 0xfd791f3c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2SystemContractsUpgradeBatchNumber() | 0xe5355c75 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getL2SystemContractsUpgradeTxHash() | 0x7b30c8da | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getName() | 0x17d7de7c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPendingAdmin() | 0xd0468156 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityQueueSize() | 0x631f4bac | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityTreeRoot() | 0x39d7d4aa | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPriorityTxMaxGasLimit() | 0x0ec6b0b7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getProtocolVersion() | 0x33ce93fe | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getPubdataPricingMode() | 0x06d49e5b | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSemverProtocolVersion() | 0xf5c1182c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getSettlementLayer() | 0x6a27e8b5 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBatchesCommitted() | 0xdb1f0bf9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBatchesExecuted() | 0xb8c2f66f | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalBatchesVerified() | 0xef3f0bae | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTotalPriorityTxs() | 0xa1954fc5 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getTransactionFilterer() | 0x22c5cf23 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getVerifier() | 0x46657fe9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | getVerifierParams() | 0x18e3a941 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isDiamondStorageFrozen() | 0x29b98c67 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isEthWithdrawalFinalized(uint256,uint256) | 0xbd7c5412 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isFacetFreezable(address) | 0xc3bbd2d7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isFunctionFreezable(bytes4) | 0xe81e0ba1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isValidator(address) | 0xfacd743b | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2LogsRootHash(uint256) | 0x9cd939e4 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | l2TransactionBaseCost(uint256,uint256,uint256) | 0xb473318e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | prepareChainCommitment() | 0x41cf49bb | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveBatchesSharedBridge(uint256,uint256,uint256,bytes) | 0xe12a6137 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL1ToL2TransactionStatus(bytes32,uint256,uint256,uint16,bytes32[],uint8) | 0x042901c7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LeafInclusion(uint256,uint256,bytes32,bytes32[]) | 0x7efda2ae | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2LogInclusion(uint256,uint256,(uint8,bool,uint16,address,bytes32,bytes32),bytes32[]) | 0x263b7f8e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | proveL2MessageInclusion(uint256,uint256,(uint16,address,bytes),bytes32[]) | 0xe4948f43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2Transaction(address,uint256,bytes,uint256,uint256,bytes[],address) | 0xeb672419 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | requestL2TransactionToGatewayMailbox(uint256,bytes32,uint64) | 0xd0772551 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | revertBatchesSharedBridge(uint256,uint256) | 0x0f23da43 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setDAValidatorPair(address,address) | 0x6223258e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPendingAdmin(address) | 0x4dd18bf5 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPorterAvailability(bool) | 0x1cc5d103 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPriorityTxMaxGasLimit(uint256) | 0xbe6f11cf | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setPubdataPricingMode(uint8) | 0xe76db865 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTokenMultiplier(uint128,uint128) | 0x235d9eb5 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setTransactionFilterer(address) | 0x21f603d7 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | setValidator(address,bool) | 0x4623c91d | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | storedBatchHash(uint256) | 0xb22dd78e | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | unfreezeDiamond() | 0x17338945 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeChainFromVersion(uint256,((address,uint8,bool,bytes4[])[],address,bytes)) | 0xfc57565f | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockCommit(uint256,bytes32,bytes32) | 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlockExecution(uint256,bytes32,bytes32) | 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksRevert(uint256,uint256,uint256) | 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BlocksVerification(uint256,uint256) | 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeInitialize(address,string,string,uint8) | 0x81e8e92e5873539605a102eddae7ed06d19bea042099a437cbc3644415eb7404 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | BridgeMint(address,uint256) | 0x397b33b307fc137878ebfc75b295289ec0ee25a31bb5bf034f33256fe8ea2aa6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes)) | 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Freeze() | 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | IsPorterAvailableStatusUpdate(bool) | 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | MigrationComplete() | 0x96e718f44bd77cb63370212c5aa24a0396d8f43e88e7ce175d160e371c8e2a6a | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewAdmin(address,address) | 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewBaseTokenMultiplier(uint128,uint128,uint128,uint128) | 0xc9cbdb110bd58a133e82c62b1488e57677be1f326df10a4d8096b5f170c370c8 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewFeeParams((uint8,uint32,uint32,uint32,uint32,uint64),(uint8,uint32,uint32,uint32,uint32,uint64)) | 0xc8b245ac8b138b17b6b1dbbbb8860adc66b373afa000d99f3cdc775d8ae0bbed | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL1DAValidator(address,address) | 0x08b0b676d456a0431162145d2821f30c665b69ca626521c937ba7a77a29ed67c | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DAValidator(address,address) | 0x866a71b85fb8625f74adc67901361962f0aa3730a1615400911ae610d65dc130 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPendingAdmin(address,address) | 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityRequest(uint256,bytes32,uint64,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[]) | 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewPriorityTxMaxGasLimit(uint256,uint256) | 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewRelayedPriorityTransaction(uint256,bytes32,uint64) | 0x0137d2eaa6ec5b7e4f233f6d6f441410014535d0f3985367994c94bf15a2a564 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewTransactionFilterer(address,address) | 0xa9b43a66c5d1c607986f49e932a0c08058d843210db03dd6e8a621b96b4770f4 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ProposeTransparentUpgrade(((address,uint8,bool,bytes4[])[],address,bytes),uint256,bytes32) | 0x69115b49afe7a6101a2e7af17d421eda1dc153bd26d699f013c4fff0404646a6 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Unfreeze() | 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidatorStatusUpdate(address,bool) | 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136 | +|----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | ValidiumModeStatusUpdate(uint8) | 0xaa01146df0a628c6b214e79a281f7524b792de4a52ad6f07c78e6e035d58c896 | ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +Diamond ++-------+-----------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++========================================================================================================================================+ +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | ++-------+-----------------------------------------------------------+--------------------------------------------------------------------+ + +GatewayTransactionFilterer ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=====================================================================================================================================================+ +| Function | BRIDGE_HUB() | 0x5d4edca7 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | L1_ASSET_ROUTER() | 0xcdf25430 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | acceptOwnership() | 0x79ba5097 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | grantWhitelist(address) | 0x5b063622 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | initialize(address) | 0xc4d66de8 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | isTransactionAllowed(address,address,uint256,uint256,bytes,address) | 0xcbcf2e3c | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | owner() | 0x8da5cb5b | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | pendingOwner() | 0xe30c3978 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | renounceOwnership() | 0x715018a6 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | revokeWhitelist(address) | 0x9c7f3315 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | transferOwnership(address) | 0xf2fde38b | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | whitelistedSenders(address) | 0x272efc69 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | Initialized(uint8) | 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferStarted(address,address) | 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WhitelistGranted(address) | 0xd5a6b3454d1aa211b5b7e99c94012bed9883c7695b5c58fd97e20f425ec0b5bf | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | WhitelistRevoked(address) | 0x79bc96e8fb893a32b4429ae9fd9084cdb98be910b9c7cdbb4307cc96732c7ec7 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AlreadyWhitelisted(address) | 0x0bfcef28 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidSelector(bytes4) | 0x12ba286f | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NotWhitelisted(address) | 0xdf17e316 | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SlotOccupied() | 0xdf3a8fdd | +|----------+---------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ZeroAddress() | 0xd92e233d | ++----------+---------------------------------------------------------------------+--------------------------------------------------------------------+ + +BaseZkSyncUpgrade ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================================================================================================+ +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2BootloaderBytecodeHash(bytes32,bytes32) | 0x271b33af94e3f065ecd8659833e6b1daf851f063700c36ddefefab35d4ce4746 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DefaultAccountBytecodeHash(bytes32,bytes32) | 0x36df93a47cc02081d9d8208022ab736fdf98fac566e5fc6f5762bf7666e521f3 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifier(address,address) | 0x2ff4895c300d6993c27f2bb507b4b59d29464dc640af727383451365631ba8b2 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifierParams((bytes32,bytes32,bytes32),(bytes32,bytes32,bytes32)) | 0x4c055dbc5f14dcb6e081c9421d9657d950dcd6372f6db0a714b9135171cbc15d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256,bytes32,((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x56405fee20a4cf3c21d1b23cbbedc0f54921b0347dc19a7641c80645f6916798 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidTxType(uint256) | 0x5cb29523 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidUpgradeTxn(uint8) | 0x5f1aa154 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2BytecodeHashMismatch(bytes32,bytes32) | 0xcb5e4247 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2UpgradeNonceNotEqualToNewProtocolVersion(uint256,uint256) | 0xd2c011d6 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NewProtocolMajorVersionNotZero() | 0x72ea85ad | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchCantSetUpgradeTxn() | 0xd7f50a9d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetBootloader() | 0x962fd7d0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetDefaultAccount() | 0x559cc34e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousProtocolMajorVersionNotZero() | 0x5c598b60 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotCleaned() | 0xa0f47245 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotFinalized(bytes32) | 0x101ba748 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionMinorDeltaTooBig(uint256,uint256) | 0xd328c12a | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionTooSmall() | 0x88d7b498 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedNumberOfFactoryDeps() | 0x07218375 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +BaseZkSyncUpgradeGenesis ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================================================================================================+ +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2BootloaderBytecodeHash(bytes32,bytes32) | 0x271b33af94e3f065ecd8659833e6b1daf851f063700c36ddefefab35d4ce4746 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DefaultAccountBytecodeHash(bytes32,bytes32) | 0x36df93a47cc02081d9d8208022ab736fdf98fac566e5fc6f5762bf7666e521f3 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifier(address,address) | 0x2ff4895c300d6993c27f2bb507b4b59d29464dc640af727383451365631ba8b2 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifierParams((bytes32,bytes32,bytes32),(bytes32,bytes32,bytes32)) | 0x4c055dbc5f14dcb6e081c9421d9657d950dcd6372f6db0a714b9135171cbc15d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256,bytes32,((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x56405fee20a4cf3c21d1b23cbbedc0f54921b0347dc19a7641c80645f6916798 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidTxType(uint256) | 0x5cb29523 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidUpgradeTxn(uint8) | 0x5f1aa154 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2BytecodeHashMismatch(bytes32,bytes32) | 0xcb5e4247 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2UpgradeNonceNotEqualToNewProtocolVersion(uint256,uint256) | 0xd2c011d6 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchCantSetUpgradeTxn() | 0xd7f50a9d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetBootloader() | 0x962fd7d0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetDefaultAccount() | 0x559cc34e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeBatchNotCleared() | 0xd7f8c13e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotFinalized(bytes32) | 0x101ba748 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolMajorVersionNotZero() | 0x3c43ccce | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionDeltaTooLarge(uint256,uint256) | 0xe1a9736b | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionTooSmall() | 0x88d7b498 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedNumberOfFactoryDeps() | 0x07218375 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +DefaultUpgrade ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================================================================================================+ +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2BootloaderBytecodeHash(bytes32,bytes32) | 0x271b33af94e3f065ecd8659833e6b1daf851f063700c36ddefefab35d4ce4746 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DefaultAccountBytecodeHash(bytes32,bytes32) | 0x36df93a47cc02081d9d8208022ab736fdf98fac566e5fc6f5762bf7666e521f3 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifier(address,address) | 0x2ff4895c300d6993c27f2bb507b4b59d29464dc640af727383451365631ba8b2 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifierParams((bytes32,bytes32,bytes32),(bytes32,bytes32,bytes32)) | 0x4c055dbc5f14dcb6e081c9421d9657d950dcd6372f6db0a714b9135171cbc15d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256,bytes32,((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x56405fee20a4cf3c21d1b23cbbedc0f54921b0347dc19a7641c80645f6916798 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidTxType(uint256) | 0x5cb29523 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidUpgradeTxn(uint8) | 0x5f1aa154 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2BytecodeHashMismatch(bytes32,bytes32) | 0xcb5e4247 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2UpgradeNonceNotEqualToNewProtocolVersion(uint256,uint256) | 0xd2c011d6 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NewProtocolMajorVersionNotZero() | 0x72ea85ad | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchCantSetUpgradeTxn() | 0xd7f50a9d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetBootloader() | 0x962fd7d0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetDefaultAccount() | 0x559cc34e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousProtocolMajorVersionNotZero() | 0x5c598b60 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotCleaned() | 0xa0f47245 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotFinalized(bytes32) | 0x101ba748 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionMinorDeltaTooBig(uint256,uint256) | 0xd328c12a | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionTooSmall() | 0x88d7b498 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedNumberOfFactoryDeps() | 0x07218375 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +GatewayUpgrade ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================================================================================================+ +| Function | THIS_ADDRESS() | 0x315fff4e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgradeExternal(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0xde7c5443 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2BootloaderBytecodeHash(bytes32,bytes32) | 0x271b33af94e3f065ecd8659833e6b1daf851f063700c36ddefefab35d4ce4746 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DefaultAccountBytecodeHash(bytes32,bytes32) | 0x36df93a47cc02081d9d8208022ab736fdf98fac566e5fc6f5762bf7666e521f3 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifier(address,address) | 0x2ff4895c300d6993c27f2bb507b4b59d29464dc640af727383451365631ba8b2 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifierParams((bytes32,bytes32,bytes32),(bytes32,bytes32,bytes32)) | 0x4c055dbc5f14dcb6e081c9421d9657d950dcd6372f6db0a714b9135171cbc15d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256,bytes32,((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x56405fee20a4cf3c21d1b23cbbedc0f54921b0347dc19a7641c80645f6916798 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidTxType(uint256) | 0x5cb29523 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidUpgradeTxn(uint8) | 0x5f1aa154 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2BytecodeHashMismatch(bytes32,bytes32) | 0xcb5e4247 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2UpgradeNonceNotEqualToNewProtocolVersion(uint256,uint256) | 0xd2c011d6 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NewProtocolMajorVersionNotZero() | 0x72ea85ad | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchCantSetUpgradeTxn() | 0xd7f50a9d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetBootloader() | 0x962fd7d0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetDefaultAccount() | 0x559cc34e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousProtocolMajorVersionNotZero() | 0x5c598b60 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotCleaned() | 0xa0f47245 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotFinalized(bytes32) | 0x101ba748 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionMinorDeltaTooBig(uint256,uint256) | 0xd328c12a | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionTooSmall() | 0x88d7b498 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedNumberOfFactoryDeps() | 0x07218375 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ + +IDefaultUpgrade ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================+ +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ + +IGatewayUpgrade ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ +| Type | Signature | Selector | ++=================================================================================================================================================================================================================================================================+ +| Function | upgradeExternal(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0xde7c5443 | ++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+ + +L1GenesisUpgrade ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+ +| Type | Signature | Selector | ++=========================================================================================================================================================================================================================================================================================================================================+ +| Function | genesisUpgrade(address,uint256,uint256,address,bytes,bytes[]) | 0xd83e4e03 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Function | upgrade(((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x08284e57 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | DiamondCut((address,uint8,bool,bytes4[])[],address,bytes) | 0x87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | GenesisUpgrade(address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),uint256,bytes[]) | 0xc5902263211386c797097c5eef7ce20567f0e13359623233314cfa01a55341da | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2BootloaderBytecodeHash(bytes32,bytes32) | 0x271b33af94e3f065ecd8659833e6b1daf851f063700c36ddefefab35d4ce4746 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewL2DefaultAccountBytecodeHash(bytes32,bytes32) | 0x36df93a47cc02081d9d8208022ab736fdf98fac566e5fc6f5762bf7666e521f3 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewProtocolVersion(uint256,uint256) | 0x4235104f56661fe2e9d2f2a460b42766581bc45ce366c6a30a9f86c8a2b371a7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifier(address,address) | 0x2ff4895c300d6993c27f2bb507b4b59d29464dc640af727383451365631ba8b2 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | NewVerifierParams((bytes32,bytes32,bytes32),(bytes32,bytes32,bytes32)) | 0x4c055dbc5f14dcb6e081c9421d9657d950dcd6372f6db0a714b9135171cbc15d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Event | UpgradeComplete(uint256,bytes32,((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes),bytes[],bytes32,bytes32,address,(bytes32,bytes32,bytes32),bytes,bytes,uint256,uint256)) | 0x56405fee20a4cf3c21d1b23cbbedc0f54921b0347dc19a7641c80645f6916798 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | AddressHasNoCode(address) | 0x86bb51b8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | DelegateCallFailed(bytes) | 0xf7a01e4d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | FacetExists(bytes4,address) | 0xac4a3f98 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidTxType(uint256) | 0x5cb29523 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | InvalidUpgradeTxn(uint8) | 0x5f1aa154 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2BytecodeHashMismatch(bytes32,bytes32) | 0xcb5e4247 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | L2UpgradeNonceNotEqualToNewProtocolVersion(uint256,uint256) | 0xd2c011d6 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | LengthIsNotDivisibleBy32(uint256) | 0xe37d2c02 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | MalformedBytecode(uint8) | 0x43e266b0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NoFunctionsForDiamondCut() | 0xa6fef710 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | NonEmptyCalldata() | 0xc21b1ab7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchCantSetUpgradeTxn() | 0xd7f50a9d | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetBootloader() | 0x962fd7d0 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PatchUpgradeCantSetDefaultAccount() | 0x559cc34e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeBatchNotCleared() | 0xd7f8c13e | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PreviousUpgradeNotFinalized(bytes32) | 0x101ba748 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolMajorVersionNotZero() | 0x3c43ccce | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionDeltaTooLarge(uint256,uint256) | 0xe1a9736b | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ProtocolVersionTooSmall() | 0x88d7b498 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | PubdataGreaterThanLimit(uint256,uint256) | 0x959f26fb | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressNotZero(address) | 0x667d17de | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | RemoveFunctionFacetAddressZero() | 0xa2d4b16c | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ReplaceFunctionFacetAddressZero() | 0x3580370c | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | SelectorsMustAllHaveSameFreezability() | 0xd3b6535b | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TimeNotReached(uint256,uint256) | 0x08753982 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooManyFactoryDeps() | 0x76da24b9 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TooMuchGas() | 0xf0b4e88f | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | TxnBodyGasLimitNotEnoughGas() | 0x2e311df8 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UndefinedDiamondCutAction() | 0xe52478c7 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | UnexpectedNumberOfFactoryDeps() | 0x07218375 | +|----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------| +| Error | ValidateTxnNotEnoughGas() | 0x47b3b145 | ++----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+