Verified contractPartialMIT
OPContractsManagerStandardValidator
Address0xae6153ec750dfb0871b3e2287caacc0c19f9e809
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.8.15
- Same code
Only this contract
Details
- Compiler
- solc 0.8.15+commit.e14f2714
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- london
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,480,487
- Creation transaction
- 0xddd9a4984f…b14dee3220
50 files
The source code is large: one file is shown at a time. Choose a file in the list.
- src/L1/OPContractsManagerStandardValidator.solmain51.4 KB
- interfaces/L1/IBridgeHook.sol571 B
- interfaces/L1/IETHLockbox.sol1.99 KB
- interfaces/L1/IL1CrossDomainMessenger.sol1.41 KB
- interfaces/L1/IL1ERC721Bridge.sol1.73 KB
- interfaces/L1/IL1StandardBridge.sol2.91 KB
- interfaces/L1/IOPContractsManagerStandardValidator.sol4.97 KB
- interfaces/L1/IOptimismPortal2.sol7.22 KB
- interfaces/L1/IResourceMetering.sol680 B
- interfaces/L1/ISuperchainConfig.sol1.57 KB
- interfaces/L1/ISystemConfig.sol5.89 KB
- interfaces/L1/opcm/IOPContractsManagerMigrationValidator.sol3.76 KB
- interfaces/L1/opcm/IStandardValidatorUtils.sol3.98 KB
- interfaces/cannon/IMIPS64.sol1.22 KB
- interfaces/cannon/IPreimageOracle.sol4.43 KB
- interfaces/dispute/IAnchorStateRegistry.sol3.72 KB
- interfaces/dispute/IBigStepper.sol3.46 KB
- interfaces/dispute/IDelayedWETH.sol2.66 KB
- interfaces/dispute/IDisputeGame.sol1.26 KB
- interfaces/dispute/IDisputeGameFactory.sol2.98 KB
- interfaces/dispute/IFaultDisputeGame.sol6.25 KB
- interfaces/dispute/IInitializable.sol130 B
- interfaces/dispute/IPermissionedDisputeGame.sol6.42 KB
- interfaces/legacy/IAddressManager.sol521 B
- interfaces/universal/ICrossDomainMessenger.sol2.14 KB
- interfaces/universal/IERC721Bridge.sol1.43 KB
- interfaces/universal/IOptimismMintableERC20Factory.sol1.36 KB
- interfaces/universal/IOwnable.sol686 B
- interfaces/universal/IProxyAdmin.sol1.62 KB
- interfaces/universal/IProxyAdminOwnedBase.sol620 B
- interfaces/universal/IReinitializableBase.sol323 B
- interfaces/universal/ISemver.sol519 B
- interfaces/universal/IStandardBridge.sol2.27 KB
- lib/forge-std/src/Vm.sol162.62 KB
- lib/lib-keccak/contracts/lib/LibKeccak.sol18.07 KB
- lib/solady/src/utils/LibString.sol51.93 KB
- scripts/libraries/Config.sol14.51 KB
- src/L1/opcm/StandardValidatorUtils.sol23.67 KB
- src/cannon/libraries/CannonTypes.sol3.87 KB
- src/dispute/lib/Errors.sol6.87 KB
- src/dispute/lib/LibGameArgs.sol7.22 KB
- src/dispute/lib/LibPosition.sol9.48 KB
- src/dispute/lib/LibUDT.sol9.01 KB
- src/dispute/lib/Types.sol5.95 KB
- src/libraries/BridgeHookTypes.sol2.08 KB
- src/libraries/Constants.sol5.65 KB
- src/libraries/DevFeatures.sol4.46 KB
- src/libraries/Features.sol2.59 KB
- src/libraries/Predeploys.sol30.22 KB
- src/libraries/Types.sol4.23 KB
src/libraries/Types.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title Types
/// @notice Contains various types used throughout the Optimism contract system.
library Types {
/// @notice OutputProposal represents a commitment to the L2 state. The timestamp is the L1
/// timestamp that the output root is posted. This timestamp is used to verify that the
/// finalization period has passed since the output root was submitted.
/// @custom:field outputRoot Hash of the L2 output.
/// @custom:field timestamp Timestamp of the L1 block that the output root was submitted in.
/// @custom:field l2BlockNumber L2 block number that the output corresponds to.
struct OutputProposal {
bytes32 outputRoot;
uint128 timestamp;
uint128 l2BlockNumber;
}
/// @notice Struct representing the elements that are hashed together to generate an output root
/// which itself represents a snapshot of the L2 state.
/// @custom:field version Version of the output root.
/// @custom:field stateRoot Root of the state trie at the block of this output.
/// @custom:field messagePasserStorageRoot Root of the message passer storage trie.
/// @custom:field latestBlockhash Hash of the block this output was generated from.
struct OutputRootProof {
bytes32 version;
bytes32 stateRoot;
bytes32 messagePasserStorageRoot;
bytes32 latestBlockhash;
}
/// @notice Struct representing an output root with a chain id.
/// @custom:field chainId The chain ID of the L2 chain that the output root commits to.
/// @custom:field root The output root.
struct OutputRootWithChainId {
uint256 chainId;
bytes32 root;
}
/// @notice Struct representing a super root proof.
/// @custom:field version The version of the super root proof.
/// @custom:field timestamp The timestamp of the super root proof.
/// @custom:field outputRoots The output roots that are included in the super root proof.
struct SuperRootProof {
bytes1 version;
uint64 timestamp;
OutputRootWithChainId[] outputRoots;
}
/// @notice Struct representing a deposit transaction (L1 => L2 transaction) created by an end
/// user (as opposed to a system deposit transaction generated by the system).
/// @custom:field from Address of the sender of the transaction.
/// @custom:field to Address of the recipient of the transaction.
/// @custom:field isCreation True if the transaction is a contract creation.
/// @custom:field value Value to send to the recipient.
/// @custom:field mint Amount of ETH to mint.
/// @custom:field gasLimit Gas limit of the transaction.
/// @custom:field data Data of the transaction.
/// @custom:field l1BlockHash Hash of the block the transaction was submitted in.
/// @custom:field logIndex Index of the log in the block the transaction was submitted in.
struct UserDepositTransaction {
address from;
address to;
bool isCreation;
uint256 value;
uint256 mint;
uint64 gasLimit;
bytes data;
bytes32 l1BlockHash;
uint256 logIndex;
}
/// @notice Struct representing a withdrawal transaction.
/// @custom:field nonce Nonce of the withdrawal transaction
/// @custom:field sender Address of the sender of the transaction.
/// @custom:field target Address of the recipient of the transaction.
/// @custom:field value Value to send to the recipient.
/// @custom:field gasLimit Gas limit of the transaction.
/// @custom:field data Data of the transaction.
struct WithdrawalTransaction {
uint256 nonce;
address sender;
address target;
uint256 value;
uint256 gasLimit;
bytes data;
}
/// @notice Enum representing where the FeeVault withdraws funds to.
/// @custom:value L1 FeeVault withdraws funds to L1.
/// @custom:value L2 FeeVault withdraws funds to L2.
enum WithdrawalNetwork {
L1,
L2
}
}
Compiler settingsShow
{
"viaIR": false,
"metadata": {
"bytecodeHash": "none",
"useLiteralContent": false
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "london",
"remappings": [
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-v5/=lib/openzeppelin-contracts-v5/contracts/",
"@rari-capital/solmate/=lib/solmate/",
"@lib-keccak/=lib/lib-keccak/contracts/lib/",
"@solady/=lib/solady/src/",
"forge-std/=lib/forge-std/src/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"safe-contracts/=lib/safe-contracts/contracts/",
"kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",
"interfaces/=interfaces/",
"lib/lib-keccak/:solady/=lib/lib-keccak/lib/solady/",
"lib/lib-keccak/:solady/=lib/lib-keccak/lib/solady/",
"@solady-test/=lib/lib-keccak/lib/solady/test/",
"erc4626-tests/=lib/openzeppelin-contracts-v5/lib/erc4626-tests/",
"lib-keccak/=lib/lib-keccak/contracts/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts-v5/=lib/openzeppelin-contracts-v5/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"solady/=lib/solady/",
"solmate/=lib/solmate/src/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.