ETH Price: $3,110.39 (+0.92%)
Gas: 9 Gwei

Contract

0x081D1101855bD523bA69A9794e0217F0DB6323ff
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Relay Message Vi...196973582024-04-20 14:56:352 hrs ago1713624995IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0094216511.66242264
Relay Message Vi...196967692024-04-20 12:57:354 hrs ago1713617855IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0097225411.88055101
Relay Message Vi...196958692024-04-20 9:55:477 hrs ago1713606947IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.006804778.04096255
Relay Message Vi...196952732024-04-20 7:55:239 hrs ago1713599723IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0088647310.09978731
Relay Message Vi...196950942024-04-20 7:19:239 hrs ago1713597563IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0085370110.07888984
Relay Message Vi...196941012024-04-20 3:59:2313 hrs ago1713585563IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.006978988.50914682
Relay Message Vi...196941002024-04-20 3:59:1113 hrs ago1713585551IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.007294848.68573762
Relay Message Vi...196940992024-04-20 3:58:5913 hrs ago1713585539IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.006914918.45994711
Relay Message Vi...196940982024-04-20 3:58:4713 hrs ago1713585527IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.007079628.83224496
Relay Message Vi...196922932024-04-19 21:55:1119 hrs ago1713563711IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0086007510.55253272
Relay Message Vi...196902622024-04-19 15:05:3526 hrs ago1713539135IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0136982216.5733165
Relay Message Vi...196863612024-04-19 1:57:4739 hrs ago1713491867IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0161843619.72481661
Relay Message Vi...196825652024-04-18 13:13:112 days ago1713445991IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.012613615.71847335
Relay Message Vi...196825642024-04-18 13:12:592 days ago1713445979IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0113250214.25282497
Relay Message Vi...196816102024-04-18 10:00:352 days ago1713434435IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0130439715.7486339
Relay Message Vi...196790272024-04-18 1:20:592 days ago1713403259IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0105813612.63920262
Relay Message Vi...196788622024-04-18 0:47:472 days ago1713401267IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0131048715.39330802
Relay Message Vi...196583222024-04-15 3:45:355 days ago1713152735IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.007847669.11866679
Relay Message Vi...196561032024-04-14 20:17:115 days ago1713125831IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0095829712.47871144
Relay Message Vi...196560332024-04-14 20:03:115 days ago1713124991IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0112352913.46280961
Relay Message Vi...196544212024-04-14 14:38:356 days ago1713105515IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0136634815.92668651
Relay Message Vi...196544202024-04-14 14:38:236 days ago1713105503IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0124243115.67564545
Relay Message Vi...196381112024-04-12 7:43:478 days ago1712907827IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0212883326.52884056
Relay Message Vi...196381052024-04-12 7:42:358 days ago1712907755IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0187959122.23245676
Relay Message Vi...196381042024-04-12 7:42:238 days ago1712907743IN
Metis Andromeda: L1 Cross Domain Messenger
0 ETH0.0195594324.34010175
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
192433662024-02-16 22:16:1163 days ago1708121771
Metis Andromeda: L1 Cross Domain Messenger
0.0002964 ETH
192433662024-02-16 22:16:1163 days ago1708121771
Metis Andromeda: L1 Cross Domain Messenger
0.0002964 ETH
189714552024-01-09 19:21:35101 days ago1704828095
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
189714552024-01-09 19:21:35101 days ago1704828095
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
171432112023-04-28 7:42:35358 days ago1682667755
Metis Andromeda: L1 Cross Domain Messenger
0.0002964 ETH
171432112023-04-28 7:42:35358 days ago1682667755
Metis Andromeda: L1 Cross Domain Messenger
0.0002964 ETH
165086882023-01-28 23:45:59447 days ago1674949559
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
165086882023-01-28 23:45:59447 days ago1674949559
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
152309872022-07-28 12:22:23632 days ago1659010943
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
152309872022-07-28 12:22:23632 days ago1659010943
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
152309852022-07-28 12:21:23632 days ago1659010883
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
152309852022-07-28 12:21:23632 days ago1659010883
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
150293892022-06-26 14:16:19664 days ago1656252979
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
150293892022-06-26 14:16:19664 days ago1656252979
Metis Andromeda: L1 Cross Domain Messenger
0.0005 ETH
145775562022-04-13 14:08:36738 days ago1649858916
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145775562022-04-13 14:08:36738 days ago1649858916
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145775412022-04-13 14:05:38738 days ago1649858738
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145775412022-04-13 14:05:38738 days ago1649858738
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145774432022-04-13 13:44:10738 days ago1649857450
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145774432022-04-13 13:44:10738 days ago1649857450
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145774132022-04-13 13:36:42738 days ago1649857002
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145774132022-04-13 13:36:42738 days ago1649857002
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145773892022-04-13 13:31:25738 days ago1649856685
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145773892022-04-13 13:31:25738 days ago1649856685
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
145773722022-04-13 13:28:05738 days ago1649856485
Metis Andromeda: L1 Cross Domain Messenger
0.0001 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Lib_ResolvedDelegateProxy

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 10000 runs

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

/* Library Imports */
import { Lib_AddressManager } from "./Lib_AddressManager.sol";

/**
 * @title Lib_ResolvedDelegateProxy
 */
contract Lib_ResolvedDelegateProxy {
    /*************
     * Variables *
     *************/

    // Using mappings to store fields to avoid overwriting storage slots in the
    // implementation contract. For example, instead of storing these fields at
    // storage slot `0` & `1`, they are stored at `keccak256(key + slot)`.
    // See: https://solidity.readthedocs.io/en/v0.7.0/internals/layout_in_storage.html
    // NOTE: Do not use this code in your own contract system.
    //      There is a known flaw in this contract, and we will remove it from the repository
    //      in the near future. Due to the very limited way that we are using it, this flaw is
    //      not an issue in our system.
    mapping(address => string) private implementationName;
    mapping(address => Lib_AddressManager) private addressManager;

    /***************
     * Constructor *
     ***************/

    /**
     * @param _libAddressManager Address of the Lib_AddressManager.
     * @param _implementationName implementationName of the contract to proxy to.
     */
    constructor(address _libAddressManager, string memory _implementationName) {
        addressManager[address(this)] = Lib_AddressManager(_libAddressManager);
        implementationName[address(this)] = _implementationName;
    }

    /*********************
     * Fallback Function *
     *********************/

    fallback() external payable {
        address target = addressManager[address(this)].getAddress(
            (implementationName[address(this)])
        );

        require(target != address(0), "Target address must be initialized.");

        (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 3 of 4 : Lib_AddressManager.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/* External Imports */
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title Lib_AddressManager
 */
contract Lib_AddressManager is Ownable {
    /**********
     * Events *
     **********/

    event AddressSet(string indexed _name, address _newAddress, address _oldAddress);

    /*************
     * Variables *
     *************/

    mapping(bytes32 => address) private addresses;

    /********************
     * Public Functions *
     ********************/

    /**
     * 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);
    }

    /**
     * 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)];
    }

    /**********************
     * Internal Functions *
     **********************/

    /**
     * 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 4 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 4 : Context.sol
// SPDX-License-Identifier: MIT

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
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

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

608060405234801561001057600080fd5b506040516105b53803806105b583398101604081905261002f91610125565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b038716179055828252909120825161006e92840190610076565b505050610252565b82805461008290610217565b90600052602060002090601f0160209004810192826100a457600085556100ea565b82601f106100bd57805160ff19168380011785556100ea565b828001600101855582156100ea579182015b828111156100ea5782518255916020019190600101906100cf565b506100f69291506100fa565b5090565b5b808211156100f657600081556001016100fb565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561013857600080fd5b82516001600160a01b038116811461014f57600080fd5b602084810151919350906001600160401b038082111561016e57600080fd5b818601915086601f83011261018257600080fd5b8151818111156101945761019461010f565b604051601f8201601f19908116603f011681019083821181831017156101bc576101bc61010f565b8160405282815289868487010111156101d457600080fd5b600093505b828410156101f657848401860151818501870152928501926101d9565b828411156102075760008684830101525b8096505050505050509250929050565b600181811c9082168061022b57607f821691505b6020821081141561024c57634e487b7160e01b600052602260045260246000fd5b50919050565b610354806102616000396000f3fe608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220fb26b8fadd2d24462ddc549450ff49f2fdea41c31df3c8d0bf298787b6d4edf064736f6c63430008090033000000000000000000000000918778e825747a892b17c66fe7d24c618262867d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001a4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000

Deployed Bytecode

0x608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220fb26b8fadd2d24462ddc549450ff49f2fdea41c31df3c8d0bf298787b6d4edf064736f6c63430008090033

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

000000000000000000000000918778e825747a892b17c66fe7d24c618262867d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001a4f564d5f4c3143726f7373446f6d61696e4d657373656e676572000000000000

-----Decoded View---------------
Arg [0] : _libAddressManager (address): 0x918778e825747a892b17C66fe7D24C618262867d
Arg [1] : _implementationName (string): OVM_L1CrossDomainMessenger

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000918778e825747a892b17c66fe7d24c618262867d
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
[ 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.