Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x0af05744d4abaea349f0da3775fb0ce014ea4512c7001eff2631908a6dc068a8 | Send Message | (pending) | 1 hr ago | IN | 0 ETH | (Pending) | |||
Send Message | 21244069 | 8 hrs ago | IN | 0 ETH | 0.00214632 | ||||
Send Message | 21244038 | 8 hrs ago | IN | 0 ETH | 0.00196509 | ||||
Send Message | 21213762 | 4 days ago | IN | 0 ETH | 0.00148519 | ||||
Send Message | 21213502 | 4 days ago | IN | 0 ETH | 0.00148543 | ||||
Send Message | 21170341 | 10 days ago | IN | 0 ETH | 0.0028394 | ||||
Send Message | 21155728 | 12 days ago | IN | 0 ETH | 0.001513 | ||||
Send Message | 21105723 | 19 days ago | IN | 0 ETH | 0.00072485 | ||||
Send Message | 21105591 | 19 days ago | IN | 0 ETH | 0.00073675 | ||||
Send Message | 21105535 | 19 days ago | IN | 0 ETH | 0.00071883 | ||||
Send Message | 20950462 | 41 days ago | IN | 1 wei | 0.00614553 | ||||
Send Message | 20950445 | 41 days ago | IN | 0 ETH | 0.00474097 | ||||
Send Message | 20950428 | 41 days ago | IN | 0 ETH | 0.00445347 | ||||
Send Message | 20950403 | 41 days ago | IN | 0 ETH | 0.00504099 | ||||
Send Message | 20950328 | 41 days ago | IN | 0 ETH | 0.00514036 | ||||
Send Message | 20950327 | 41 days ago | IN | 0 ETH | 0.00260865 | ||||
Send Message | 20950244 | 41 days ago | IN | 0 ETH | 0.00265335 | ||||
Send Message | 20907132 | 47 days ago | IN | 0 ETH | 0.0027656 | ||||
Send Message | 20891823 | 49 days ago | IN | 0 ETH | 0.00079514 | ||||
Send Message | 20891309 | 49 days ago | IN | 0 ETH | 0.0009683 | ||||
Send Message | 20756394 | 68 days ago | IN | 0 ETH | 0.00084656 | ||||
Send Message | 20749682 | 69 days ago | IN | 0 ETH | 0.00096996 | ||||
Send Message | 20742243 | 70 days ago | IN | 0 ETH | 0.00095245 | ||||
Send Message | 20738709 | 70 days ago | IN | 0 ETH | 0.00065049 | ||||
Send Message | 20727602 | 72 days ago | IN | 0 ETH | 0.00099965 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21246018 | 1 hr ago | 0.1 ETH | ||||
21246018 | 1 hr ago | 0.1 ETH | ||||
21245044 | 5 hrs ago | 3.3158 ETH | ||||
21245044 | 5 hrs ago | 3.3158 ETH | ||||
21245022 | 5 hrs ago | 5.16 ETH | ||||
21245022 | 5 hrs ago | 5.16 ETH | ||||
21245012 | 5 hrs ago | 0.2 ETH | ||||
21245012 | 5 hrs ago | 0.2 ETH | ||||
21244912 | 5 hrs ago | 22.7168 ETH | ||||
21244912 | 5 hrs ago | 22.7168 ETH | ||||
21244812 | 5 hrs ago | 0.051166 ETH | ||||
21244812 | 5 hrs ago | 0.051166 ETH | ||||
21244743 | 6 hrs ago | 0.482 ETH | ||||
21244743 | 6 hrs ago | 0.482 ETH | ||||
21244643 | 6 hrs ago | 100 ETH | ||||
21244643 | 6 hrs ago | 100 ETH | ||||
21244462 | 7 hrs ago | 69.9 ETH | ||||
21244462 | 7 hrs ago | 69.9 ETH | ||||
21244460 | 7 hrs ago | 118.69 ETH | ||||
21244460 | 7 hrs ago | 118.69 ETH | ||||
21243957 | 8 hrs ago | 0.5777 ETH | ||||
21243957 | 8 hrs ago | 0.5777 ETH | ||||
21243807 | 9 hrs ago | 10.125 ETH | ||||
21243807 | 9 hrs ago | 10.125 ETH | ||||
21243789 | 9 hrs ago | 1.027 ETH |
Loading...
Loading
Contract Name:
ResolvedDelegateProxy
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BSL 1.1 - Copyright 2024 MetaLayer Labs Ltd. pragma solidity 0.8.15; import { AddressManager } from "src/legacy/AddressManager.sol"; /// @custom:legacy /// @title ResolvedDelegateProxy /// @notice ResolvedDelegateProxy is a legacy proxy contract that makes use of the AddressManager to /// resolve the implementation address. We're maintaining this contract for backwards /// compatibility so we can manage all legacy proxies where necessary. contract ResolvedDelegateProxy { /// @notice Mapping used to store the implementation name that corresponds to this contract. A /// mapping was originally used as a way to bypass the same issue normally solved by /// storing the implementation address in a specific storage slot that does not conflict /// with any other storage slot. Generally NOT a safe solution but works as long as the /// implementation does not also keep a mapping in the first storage slot. mapping(address => string) private implementationName; /// @notice Mapping used to store the address of the AddressManager contract where the /// implementation address will be resolved from. Same concept here as with the above /// mapping. Also generally unsafe but fine if the implementation doesn't keep a mapping /// in the second storage slot. mapping(address => AddressManager) private addressManager; /// @param _addressManager Address of the AddressManager. /// @param _implementationName implementationName of the contract to proxy to. constructor(AddressManager _addressManager, string memory _implementationName) { addressManager[address(this)] = _addressManager; implementationName[address(this)] = _implementationName; } /// @notice Fallback, performs a delegatecall to the resolved implementation address. // solhint-disable-next-line no-complex-fallback fallback() external payable { address target = addressManager[address(this)].getAddress((implementationName[address(this)])); require(target != address(0), "ResolvedDelegateProxy: target address must be initialized"); // slither-disable-next-line controlled-delegatecall (bool success, bytes memory returndata) = target.delegatecall(msg.data); if (success == true) { assembly { return(add(returndata, 0x20), mload(returndata)) } } else { assembly { revert(add(returndata, 0x20), mload(returndata)) } } } }
// SPDX-License-Identifier: BSL 1.1 - Copyright 2024 MetaLayer Labs Ltd. pragma solidity 0.8.15; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; /// @custom:legacy /// @title AddressManager /// @notice AddressManager is a legacy contract that was used in the old version of the Optimism /// system to manage a registry of string names to addresses. We now use a more standard /// proxy system instead, but this contract is still necessary for backwards compatibility /// with several older contracts. contract AddressManager is Ownable { /// @notice Mapping of the hashes of string names to addresses. mapping(bytes32 => address) private addresses; /// @notice Emitted when an address is modified in the registry. /// @param name String name being set in the registry. /// @param newAddress Address set for the given name. /// @param oldAddress Address that was previously set for the given name. event AddressSet(string indexed name, address newAddress, address oldAddress); /// @notice Changes the address associated with a particular name. /// @param _name String name to associate an address with. /// @param _address Address to associate with the name. function setAddress(string memory _name, address _address) external onlyOwner { bytes32 nameHash = _getNameHash(_name); address oldAddress = addresses[nameHash]; addresses[nameHash] = _address; emit AddressSet(_name, _address, oldAddress); } /// @notice Retrieves the address associated with a given name. /// @param _name Name to retrieve an address for. /// @return Address associated with the given name. function getAddress(string memory _name) external view returns (address) { return addresses[_getNameHash(_name)]; } /// @notice Computes the hash of a name. /// @param _name Name to compute a hash for. /// @return Hash of the given name. function _getNameHash(string memory _name) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_name)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "remappings": [ "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@rari-capital/solmate/=lib/solmate/", "@cwia/=lib/clones-with-immutable-args/src/", "forge-std/=lib/forge-std/src/", "ds-test/=lib/forge-std/lib/ds-test/src/", "safe-contracts/=lib/safe-contracts/contracts/", "clones-with-immutable-args/=lib/clones-with-immutable-args/src/", "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts-upgradeable/contracts/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "none" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract AddressManager","name":"_addressManager","type":"address"},{"internalType":"string","name":"_implementationName","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161055238038061055283398101604081905261002f91610088565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b03871617905590829052902061006a8282610203565b5050506102c2565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561009b57600080fd5b82516001600160a01b03811681146100b257600080fd5b602084810151919350906001600160401b03808211156100d157600080fd5b818601915086601f8301126100e557600080fd5b8151818111156100f7576100f7610072565b604051601f8201601f19908116603f0116810190838211818310171561011f5761011f610072565b81604052828152898684870101111561013757600080fd5b600093505b82841015610159578484018601518185018701529285019261013c565b8284111561016a5760008684830101525b8096505050505050509250929050565b600181811c9082168061018e57607f821691505b6020821081036101ae57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101fe57600081815260208120601f850160051c810160208610156101db5750805b601f850160051c820191505b818110156101fa578281556001016101e7565b5050505b505050565b81516001600160401b0381111561021c5761021c610072565b6102308161022a845461017a565b846101b4565b602080601f831160018114610265576000841561024d5750858301515b600019600386901b1c1916600185901b1785556101fa565b600085815260208120601f198616915b8281101561029457888601518255948401946001909101908401610275565b50858210156102b25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610281806102d16000396000f3fe6080604081815230600090815260016020908152828220549082905291812063bf40fac160e01b909352916001600160a01b039091169063bf40fac190610047906084610188565b602060405180830381865afa158015610064573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100889190610234565b90506001600160a01b03811661010a5760405162461bcd60e51b815260206004820152603960248201527f5265736f6c76656444656c656761746550726f78793a2074617267657420616460448201527f6472657373206d75737420626520696e697469616c697a656400000000000000606482015260840160405180910390fd5b600080826001600160a01b0316600036604051610128929190610264565b600060405180830381855af49150503d8060008114610163576040519150601f19603f3d011682016040523d82523d6000602084013e610168565b606091505b50909250905081151560010361018057805160208201f35b805160208201fd5b600060208083526000845481600182811c9150808316806101aa57607f831692505b85831081036101c757634e487b7160e01b85526022600452602485fd5b8786018381526020018180156101e457600181146101fa57610225565b60ff198616825284151560051b82019650610225565b60008b81526020902060005b8681101561021f57815484820152908501908901610206565b83019750505b50949998505050505050505050565b60006020828403121561024657600080fd5b81516001600160a01b038116811461025d57600080fd5b9392505050565b818382376000910190815291905056fea164736f6c634300080f000a000000000000000000000000e064b565cf2a312a3e66fe4118890583727380c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001a4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000
Deployed Bytecode
0x6080604081815230600090815260016020908152828220549082905291812063bf40fac160e01b909352916001600160a01b039091169063bf40fac190610047906084610188565b602060405180830381865afa158015610064573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100889190610234565b90506001600160a01b03811661010a5760405162461bcd60e51b815260206004820152603960248201527f5265736f6c76656444656c656761746550726f78793a2074617267657420616460448201527f6472657373206d75737420626520696e697469616c697a656400000000000000606482015260840160405180910390fd5b600080826001600160a01b0316600036604051610128929190610264565b600060405180830381855af49150503d8060008114610163576040519150601f19603f3d011682016040523d82523d6000602084013e610168565b606091505b50909250905081151560010361018057805160208201f35b805160208201fd5b600060208083526000845481600182811c9150808316806101aa57607f831692505b85831081036101c757634e487b7160e01b85526022600452602485fd5b8786018381526020018180156101e457600181146101fa57610225565b60ff198616825284151560051b82019650610225565b60008b81526020902060005b8681101561021f57815484820152908501908901610206565b83019750505b50949998505050505050505050565b60006020828403121561024657600080fd5b81516001600160a01b038116811461025d57600080fd5b9392505050565b818382376000910190815291905056fea164736f6c634300080f000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e064b565cf2a312a3e66fe4118890583727380c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001a4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000
-----Decoded View---------------
Arg [0] : _addressManager (address): 0xE064B565Cf2A312a3e66Fe4118890583727380C0
Arg [1] : _implementationName (string): OVM_L1CrossDomainMessenger
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e064b565cf2a312a3e66fe4118890583727380c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [3] : 4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
BLAST | 100.00% | $0.009134 | 838.1475 | $7.66 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.