ETH Price: $3,256.58 (+0.08%)
Gas: 1 Gwei

Contract

0x866E82a600A1414e583f7F13623F1aC5d58b0Afa
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Send Message201063272024-06-16 19:05:1140 days ago1718564711IN
0x866E82a6...5d58b0Afa
0 ETH0.000583.636668
Send Message200830512024-06-13 12:58:3543 days ago1718283515IN
0x866E82a6...5d58b0Afa
0 ETH0.0022266514.8054054
Send Message199400492024-05-24 13:30:1163 days ago1716557411IN
0x866E82a6...5d58b0Afa
0 ETH0.000902716.93635803
Send Message199125582024-05-20 17:15:1167 days ago1716225311IN
0x866E82a6...5d58b0Afa
0 ETH0.0013289314.82851581
Send Message195515152024-03-31 4:30:11118 days ago1711859411IN
0x866E82a6...5d58b0Afa
0 ETH0.0014296216.76490309
Send Message194762322024-03-20 13:32:59128 days ago1710941579IN
0x866E82a6...5d58b0Afa
0 ETH0.0033655439.98409361
Send Message193609042024-03-04 9:28:23144 days ago1709544503IN
0x866E82a6...5d58b0Afa
0 ETH0.0058221865
Send Message193606302024-03-04 8:33:23144 days ago1709541203IN
0x866E82a6...5d58b0Afa
0 ETH0.0049888954
Initialize191788392024-02-07 20:57:23170 days ago1707339443IN
0x866E82a6...5d58b0Afa
0 ETH0.001775447.35424216
Send Message187827822023-12-14 7:05:23225 days ago1702537523IN
0x866E82a6...5d58b0Afa
1.53 ETH0.0049466852.99183435
Send Message187275402023-12-06 13:18:59233 days ago1701868739IN
0x866E82a6...5d58b0Afa
0.1 ETH0.0050203853.7814138
Send Message187164252023-12-04 23:57:23235 days ago1701734243IN
0x866E82a6...5d58b0Afa
0.01 ETH0.004450747.67862035
Send Message183932002023-10-20 18:03:59280 days ago1697825039IN
0x866E82a6...5d58b0Afa
0.01 ETH0.0020496721.94888777
Send Message178307362023-08-02 23:56:11359 days ago1691020571IN
0x866E82a6...5d58b0Afa
0 ETH0.0014011816.43926076
Send Message178307202023-08-02 23:52:59359 days ago1691020379IN
0x866E82a6...5d58b0Afa
0 ETH0.001849621.57498168
Send Message178244922023-08-02 3:00:59360 days ago1690945259IN
0x866E82a6...5d58b0Afa
0 ETH0.0087579827.01789983
Send Message178244892023-08-02 3:00:23360 days ago1690945223IN
0x866E82a6...5d58b0Afa
0 ETH0.0077604322.36950938
Send Message178244862023-08-02 2:59:47360 days ago1690945187IN
0x866E82a6...5d58b0Afa
0 ETH0.0087804323.7880493
Send Message178244722023-08-02 2:56:59360 days ago1690945019IN
0x866E82a6...5d58b0Afa
0 ETH0.0079621620.52585769
Send Message178240772023-08-02 1:37:23360 days ago1690940243IN
0x866E82a6...5d58b0Afa
0 ETH0.0088545332.62371719
Send Message178240742023-08-02 1:36:47360 days ago1690940207IN
0x866E82a6...5d58b0Afa
0 ETH0.0089240431.59288526
Send Message178240712023-08-02 1:36:11360 days ago1690940171IN
0x866E82a6...5d58b0Afa
0 ETH0.0084383531.76040536
Send Message178028532023-07-30 2:24:59363 days ago1690683899IN
0x866E82a6...5d58b0Afa
0 ETH0.0013727115.97702699
Send Message178028522023-07-30 2:24:47363 days ago1690683887IN
0x866E82a6...5d58b0Afa
0 ETH0.0013375915.32217085
Send Message177883852023-07-28 1:50:11365 days ago1690509011IN
0x866E82a6...5d58b0Afa
0 ETH0.0084110921.00349038
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
203956062024-07-27 4:50:471 min ago1722055847
0x866E82a6...5d58b0Afa
0.005 ETH
203956062024-07-27 4:50:471 min ago1722055847
0x866E82a6...5d58b0Afa
0.005 ETH
203956062024-07-27 4:50:471 min ago1722055847
0x866E82a6...5d58b0Afa
0 ETH
203956062024-07-27 4:50:471 min ago1722055847
0x866E82a6...5d58b0Afa
0.005 ETH
203955902024-07-27 4:47:354 mins ago1722055655
0x866E82a6...5d58b0Afa
0.0156 ETH
203955902024-07-27 4:47:354 mins ago1722055655
0x866E82a6...5d58b0Afa
0.0156 ETH
203955902024-07-27 4:47:354 mins ago1722055655
0x866E82a6...5d58b0Afa
0 ETH
203955902024-07-27 4:47:354 mins ago1722055655
0x866E82a6...5d58b0Afa
0.0156 ETH
203955752024-07-27 4:44:237 mins ago1722055463
0x866E82a6...5d58b0Afa
0 ETH
203955752024-07-27 4:44:237 mins ago1722055463
0x866E82a6...5d58b0Afa
0 ETH
203955752024-07-27 4:44:237 mins ago1722055463
0x866E82a6...5d58b0Afa
0 ETH
203955752024-07-27 4:44:237 mins ago1722055463
0x866E82a6...5d58b0Afa
0 ETH
203955742024-07-27 4:44:118 mins ago1722055451
0x866E82a6...5d58b0Afa
3.487 ETH
203955742024-07-27 4:44:118 mins ago1722055451
0x866E82a6...5d58b0Afa
3.487 ETH
203955742024-07-27 4:44:118 mins ago1722055451
0x866E82a6...5d58b0Afa
0 ETH
203955742024-07-27 4:44:118 mins ago1722055451
0x866E82a6...5d58b0Afa
3.487 ETH
203955472024-07-27 4:38:4713 mins ago1722055127
0x866E82a6...5d58b0Afa
1.17502099 ETH
203955472024-07-27 4:38:4713 mins ago1722055127
0x866E82a6...5d58b0Afa
1.17502099 ETH
203955472024-07-27 4:38:4713 mins ago1722055127
0x866E82a6...5d58b0Afa
0 ETH
203955472024-07-27 4:38:4713 mins ago1722055127
0x866E82a6...5d58b0Afa
1.17502099 ETH
203955462024-07-27 4:38:3513 mins ago1722055115
0x866E82a6...5d58b0Afa
0 ETH
203955462024-07-27 4:38:3513 mins ago1722055115
0x866E82a6...5d58b0Afa
0 ETH
203955462024-07-27 4:38:3513 mins ago1722055115
0x866E82a6...5d58b0Afa
0 ETH
203955462024-07-27 4:38:3513 mins ago1722055115
0x866E82a6...5d58b0Afa
0 ETH
203955432024-07-27 4:37:5914 mins ago1722055079
0x866E82a6...5d58b0Afa
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ResolvedDelegateProxy

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 4 : ResolvedDelegateProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

import { AddressManager } from "./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))
            }
        }
    }
}

File 2 of 4 : AddressManager.sol
// SPDX-License-Identifier: MIT
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));
    }
}

File 3 of 4 : Ownable.sol
// 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);
    }
}

File 4 of 4 : Context.sol
// 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;
    }
}

Settings
{
  "remappings": [
    "@base-contracts/=lib/base-contracts/",
    "@eth-optimism-bedrock/=lib/optimism/packages/contracts-bedrock/",
    "@gnosissafe/contracts/=lib/safe-contracts/contracts/",
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@rari-capital/solmate/=lib/solmate/",
    "base-contracts/=lib/base-contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "optimism/=lib/optimism/",
    "safe-contracts/=lib/safe-contracts/contracts/",
    "solmate/=lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract AddressManager","name":"_addressManager","type":"address"},{"internalType":"string","name":"_implementationName","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b5060405161061938038061061983398101604081905261002f91610088565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b03871617905590829052902061006a8282610203565b5050506102c2565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561009b57600080fd5b82516001600160a01b03811681146100b257600080fd5b602084810151919350906001600160401b03808211156100d157600080fd5b818601915086601f8301126100e557600080fd5b8151818111156100f7576100f7610072565b604051601f8201601f19908116603f0116810190838211818310171561011f5761011f610072565b81604052828152898684870101111561013757600080fd5b600093505b82841015610159578484018601518185018701529285019261013c565b8284111561016a5760008684830101525b8096505050505050509250929050565b600181811c9082168061018e57607f821691505b6020821081036101ae57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101fe57600081815260208120601f850160051c810160208610156101db5750805b601f850160051c820191505b818110156101fa578281556001016101e7565b5050505b505050565b81516001600160401b0381111561021c5761021c610072565b6102308161022a845461017a565b846101b4565b602080601f831160018114610265576000841561024d5750858301515b600019600386901b1c1916600185901b1785556101fa565b600085815260208120601f198616915b8281101561029457888601518255948401946001909101908401610275565b50858210156102b25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610348806102d16000396000f3fe608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101e2565b602060405180830381865afa15801561008a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ae91906102c5565b905073ffffffffffffffffffffffffffffffffffffffff8116610157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f5265736f6c76656444656c656761746550726f78793a2074617267657420616460448201527f6472657373206d75737420626520696e697469616c697a656400000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff16600036604051610182929190610302565b600060405180830381855af49150503d80600081146101bd576040519150601f19603f3d011682016040523d82523d6000602084013e6101c2565b606091505b5090925090508115156001036101da57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061020457607f831692505b858310810361023a577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b878601838152602001818015610257576001811461028b576102b6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825284151560051b820196506102b6565b60008b81526020902060005b868110156102b057815484820152908501908901610297565b83019750505b50949998505050505050505050565b6000602082840312156102d757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff811681146102fb57600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220f60589c0da150e6f7d4c94a7468d8e765905258671ffa9135ceb40683505a19c64736f6c634300080f00330000000000000000000000008efb6b5c4767b09dc9aa6af4eaa89f749522bae20000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001a4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000

Deployed Bytecode

0x608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101e2565b602060405180830381865afa15801561008a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ae91906102c5565b905073ffffffffffffffffffffffffffffffffffffffff8116610157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f5265736f6c76656444656c656761746550726f78793a2074617267657420616460448201527f6472657373206d75737420626520696e697469616c697a656400000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff16600036604051610182929190610302565b600060405180830381855af49150503d80600081146101bd576040519150601f19603f3d011682016040523d82523d6000602084013e6101c2565b606091505b5090925090508115156001036101da57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061020457607f831692505b858310810361023a577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b878601838152602001818015610257576001811461028b576102b6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825284151560051b820196506102b6565b60008b81526020902060005b868110156102b057815484820152908501908901610297565b83019750505b50949998505050505050505050565b6000602082840312156102d757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff811681146102fb57600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220f60589c0da150e6f7d4c94a7468d8e765905258671ffa9135ceb40683505a19c64736f6c634300080f0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000008efb6b5c4767b09dc9aa6af4eaa89f749522bae20000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001a4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000

-----Decoded View---------------
Arg [0] : _addressManager (address): 0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2
Arg [1] : _implementationName (string): OVM_L1CrossDomainMessenger

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000008efb6b5c4767b09dc9aa6af4eaa89f749522bae2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [3] : 4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.