S Price: $0.067538 (-3.97%)
Gas: 55 Gwei

Contract

0x6db61FC3d0ffcca3cc0E2D163F66AFCfCdf243B7

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Approve Deployme...519339752025-10-26 13:21:0491 days ago1761484864IN
0x6db61FC3...fCdf243B7
0 S0.0548271550
Queue Deployment...519339752025-10-26 13:21:0491 days ago1761484864IN
0x6db61FC3...fCdf243B7
0 S0.02661450
Deploy519339742025-10-26 13:21:0391 days ago1761484863IN
0x6db61FC3...fCdf243B7
0 S0.055804550
Register Asset519339742025-10-26 13:21:0391 days ago1761484863IN
0x6db61FC3...fCdf243B7
0 S0.01888550
Register Token519339742025-10-26 13:21:0391 days ago1761484863IN
0x6db61FC3...fCdf243B7
0 S0.010470150
Register Token519339742025-10-26 13:21:0391 days ago1761484863IN
0x6db61FC3...fCdf243B7
0 S0.011358350
Register Strateg...519339742025-10-26 13:21:0391 days ago1761484863IN
0x6db61FC3...fCdf243B7
0 S0.013785350
Register Protoco...519339742025-10-26 13:21:0391 days ago1761484863IN
0x6db61FC3...fCdf243B7
0 S0.0092234550
Register Router ...519333252025-10-26 13:14:3091 days ago1761484470IN
0x6db61FC3...fCdf243B7
0 S0.0029571550
Register Router ...519333252025-10-26 13:14:3091 days ago1761484470IN
0x6db61FC3...fCdf243B7
0 S0.002933550
Set Configs519333252025-10-26 13:14:3091 days ago1761484470IN
0x6db61FC3...fCdf243B7
0 S0.0037665550
Diamond Cut519333252025-10-26 13:14:3091 days ago1761484470IN
0x6db61FC3...fCdf243B7
0 S0.031039150
Diamond Cut519333252025-10-26 13:14:3091 days ago1761484470IN
0x6db61FC3...fCdf243B7
0 S0.234712550

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
519339742025-10-26 13:21:0391 days ago1761484863
0x6db61FC3...fCdf243B7
 Contract Creation0 S
519339742025-10-26 13:21:0391 days ago1761484863
0x6db61FC3...fCdf243B7
 Contract Creation0 S
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x13e0e980...Bf5B95962
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Diamond

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
*
* Implementation of a diamond.
/******************************************************************************/

import "./DiamondStorage.sol";
import "./IDiamond.sol";

contract Diamond {    

    constructor(address _contractOwner, address _diamondCutFacet) payable {        
        DiamondStorage.setContractOwner(_contractOwner);

        // Add the diamondCut external function from the diamondCutFacet
        IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);
        bytes4[] memory functionSelectors = new bytes4[](1);
        functionSelectors[0] = IDiamondCut.diamondCut.selector;
        cut[0] = IDiamondCut.FacetCut({
            facetAddress: _diamondCutFacet, 
            action: IDiamondCut.FacetCutAction.Add, 
            functionSelectors: functionSelectors
        });
        DiamondStorage.diamondCut(cut, address(0), "");        
    }

    // Find facet for function that is called and execute the
    // function if a facet is found and return any value.
    fallback() external payable {
        DiamondStorage.DiamondStorageStruct storage ds;
        bytes32 position = DiamondStorage.DIAMOND_STORAGE_POSITION;
        // get diamond storage
        assembly {
            ds.slot := position
        }
        // get facet from function selector
        address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;
        require(facet != address(0), "Diamond: Function does not exist");
        // Execute external function from facet using delegatecall and return any value.
        assembly {
            // copy function selector and any arguments
            calldatacopy(0, 0, calldatasize())
            // execute function call using the facet
            let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)
            // get any return value
            returndatacopy(0, 0, returndatasize())
            // return any return value or error back to the caller
            switch result
                case 0 {
                    revert(0, returndatasize())
                }
                default {
                    return(0, returndatasize())
                }
        }
    }

    receive() external payable {}
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
*
* Implementation of a diamond storage layout.
/******************************************************************************/

library DiamondStorage {
    bytes32 constant DIAMOND_STORAGE_POSITION = keccak256("diamond.standard.diamond.storage");

    struct FacetAddressAndPosition {
        address facetAddress;
        uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array
    }

    struct FacetFunctionSelectors {
        bytes4[] functionSelectors;
        uint256 facetAddressPosition; // position of facetAddress in facetAddresses array
    }

    struct DiamondStorageStruct {
        // maps function selector to the facet address and
        // the position of the selector in the facetFunctionSelectors.selectors array
        mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;
        // maps facet addresses to function selectors
        mapping(address => FacetFunctionSelectors) facetFunctionSelectors;
        // facet addresses
        address[] facetAddresses;
        // Used to query if a contract implements an interface.
        // Used to implement ERC-165.
        mapping(bytes4 => bool) supportedInterfaces;
        // owner of the contract
        address contractOwner;
    }

    function diamondStorage() internal pure returns (DiamondStorageStruct storage ds) {
        bytes32 position = DIAMOND_STORAGE_POSITION;
        assembly {
            ds.slot := position
        }
    }

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    function setContractOwner(address _newOwner) internal {
        DiamondStorageStruct storage ds = diamondStorage();
        address previousOwner = ds.contractOwner;
        ds.contractOwner = _newOwner;
        emit OwnershipTransferred(previousOwner, _newOwner);
    }

    function contractOwner() internal view returns (address contractOwner_) {
        contractOwner_ = diamondStorage().contractOwner;
    }

    function enforceIsContractOwner() internal view {
        require(msg.sender == diamondStorage().contractOwner, "DiamondStorage: Must be contract owner");
    }

    event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);

    // Internal function version of diamondCut
    function diamondCut(
        IDiamondCut.FacetCut[] memory _diamondCut,
        address _init,
        bytes memory _calldata
    ) internal {
        for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {
            IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;
            if (action == IDiamondCut.FacetCutAction.Add) {
                addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);
            } else if (action == IDiamondCut.FacetCutAction.Replace) {
                replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);
            } else if (action == IDiamondCut.FacetCutAction.Remove) {
                removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);
            } else {
                revert("DiamondCutFacet: Incorrect FacetCutAction");
            }
        }
        emit DiamondCut(_diamondCut, _init, _calldata);
        initializeDiamondCut(_init, _calldata);
    }

    function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {
        require(_functionSelectors.length > 0, "DiamondCutFacet: No selectors in facet to cut");
        DiamondStorageStruct storage ds = diamondStorage();        
        require(_facetAddress != address(0), "DiamondCutFacet: Add facet can't be address(0)");
        uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);
        // add new facet address if it does not exist
        if (selectorPosition == 0) {
            addFacet(ds, _facetAddress);            
        }
        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {
            bytes4 selector = _functionSelectors[selectorIndex];
            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;
            require(oldFacetAddress == address(0), "DiamondCutFacet: Can't add function that already exists");
            addFunction(ds, selector, selectorPosition, _facetAddress);
            selectorPosition++;
        }
    }

    function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {
        require(_functionSelectors.length > 0, "DiamondCutFacet: No selectors in facet to cut");
        DiamondStorageStruct storage ds = diamondStorage();
        require(_facetAddress != address(0), "DiamondCutFacet: Add facet can't be address(0)");
        uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);
        // add new facet address if it does not exist
        if (selectorPosition == 0) {
            addFacet(ds, _facetAddress);
        }
        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {
            bytes4 selector = _functionSelectors[selectorIndex];
            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;
            require(oldFacetAddress != _facetAddress, "DiamondCutFacet: Can't replace function with same function");
            removeFunction(ds, oldFacetAddress, selector);
            addFunction(ds, selector, selectorPosition, _facetAddress);
            selectorPosition++;
        }
    }

    function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {
        require(_functionSelectors.length > 0, "DiamondCutFacet: No selectors in facet to cut");
        DiamondStorageStruct storage ds = diamondStorage();
        // if function does not exist then do nothing and return
        require(_facetAddress == address(0), "DiamondCutFacet: Remove facet address must be address(0)");
        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {
            bytes4 selector = _functionSelectors[selectorIndex];
            address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;
            removeFunction(ds, oldFacetAddress, selector);
        }
    }

    function addFacet(DiamondStorageStruct storage ds, address _facetAddress) internal {
        enforceHasContractCode(_facetAddress, "DiamondCutFacet: New facet has no code");
        ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;
        ds.facetAddresses.push(_facetAddress);
    }    


    function addFunction(DiamondStorageStruct storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {
        ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;
        ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);
        ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;
    }

    function removeFunction(DiamondStorageStruct storage ds, address _facetAddress, bytes4 _selector) internal {        
        require(_facetAddress != address(0), "DiamondCutFacet: Can't remove function that doesn't exist");
        // an immutable function is a function defined directly in a diamond
        require(_facetAddress != address(this), "DiamondCutFacet: Can't remove immutable function");
        // replace selector with last selector, then delete last selector
        uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;
        uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;
        // if not the same then replace _selector with lastSelector
        if (selectorPosition != lastSelectorPosition) {
            bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];
            ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;
            ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);
        }
        // delete the last selector
        ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();
        delete ds.selectorToFacetAndPosition[_selector];

        // if no more selectors for facet address then delete the facet address
        if (lastSelectorPosition == 0) {
            // replace facet address with last facet address and delete last facet address
            uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;
            uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;
            if (facetAddressPosition != lastFacetAddressPosition) {
                address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];
                ds.facetAddresses[facetAddressPosition] = lastFacetAddress;
                ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;
            }
            ds.facetAddresses.pop();
            delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;
        }
    }

    function initializeDiamondCut(address _init, bytes memory _calldata) internal {
        if (_init == address(0)) {
            require(_calldata.length == 0, "DiamondCutFacet: _init is address(0) but_calldata is not empty");
        } else {
            require(_calldata.length > 0, "DiamondCutFacet: _calldata is empty but _init is not address(0)");
            if (_init != address(this)) {
                enforceHasContractCode(_init, "DiamondCutFacet: _init address has no code");
            }
            (bool success, bytes memory error) = _init.delegatecall(_calldata);
            if (!success) {
                if (error.length > 0) {
                    // bubble up the error
                    revert(string(error));
                } else {
                    revert("DiamondCutFacet: _init function reverted");
                }
            }
        }
    }

    function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {
        uint256 contractSize;
        assembly {
            contractSize := extcodesize(_contract)
        }
        require(contractSize > 0, _errorMessage);
    }
}

// Import necessary interface
import "./IDiamond.sol";

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
*
* Implementation of a diamond.
/******************************************************************************/

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface IDiamondCut {
    enum FacetCutAction {Add, Replace, Remove}
    // Add=0, Replace=1, Remove=2

    struct FacetCut {
        address facetAddress;
        FacetCutAction action;
        bytes4[] functionSelectors;
    }

    /// @notice Add/replace/remove any number of functions and optionally execute
    ///         a function with delegatecall
    /// @param _diamondCut Contains the facet addresses and function selectors
    /// @param _init The address of the contract or facet to execute _calldata
    /// @param _calldata A function call, including function selector and arguments
    ///                  _calldata is executed with delegatecall on _init
    function diamondCut(
        FacetCut[] calldata _diamondCut,
        address _init,
        bytes calldata _calldata
    ) external;

    event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);
}

interface IDiamondLoupe {
    /// These functions are expected to be called frequently
    /// by tools.

    struct Facet {
        address facetAddress;
        bytes4[] functionSelectors;
    }

    /// @notice Gets all facet addresses and their four byte function selectors.
    /// @return facets_ Facet
    function facets() external view returns (Facet[] memory facets_);

    /// @notice Gets all the function selectors supported by a specific facet.
    /// @param _facet The facet address.
    /// @return facetFunctionSelectors_
    function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);

    /// @notice Get all the facet addresses used by a diamond.
    /// @return facetAddresses_
    function facetAddresses() external view returns (address[] memory facetAddresses_);

    /// @notice Gets the facet that supports the given selector.
    /// @dev If facet is not found return address(0).
    /// @param _functionSelector The function selector.
    /// @return facetAddress_ The facet address.
    function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);
}

interface IERC173 {
    /// @dev This emits when ownership of a contract changes.
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /// @notice Get the address of the owner
    /// @return owner_ The address of the owner.
    function owner() external view returns (address owner_);

    /// @notice Set the address of the new owner of the contract
    /// @dev Set _newOwner to address(0) to renounce any ownership.
    /// @param _newOwner The address of the new owner of the contract
    function transferOwnership(address _newOwner) external;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": true,
  "libraries": {
    "src/strategies/00_libraries/CompoundLibrary.sol": {
      "CompoundLibrary": "0x16fe3BeB16788F4aac3da7A1F0C58634fAd18D93"
    },
    "src/strategies/00_libraries/RewardProcessingLibrary.sol": {
      "RewardProcessingLibrary": "0x880d4Aa8bC45Dc3136Ad3A7808131915f54D48D0"
    },
    "src/strategies/00_libraries/dex_logic/UniversalRouterLogic.sol": {
      "UniversalRouterLogic": "0xee8E96540c42b99B872B920c14AD9422a9De37e7"
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_contractOwner","type":"address"},{"internalType":"address","name":"_diamondCutFacet","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamondCut.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"indexed":false,"internalType":"struct IDiamondCut.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"indexed":false,"internalType":"address","name":"_init","type":"address"},{"indexed":false,"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"DiamondCut","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

0x6080604052610fbe604081380391826100178161076f565b93849283398101031261073857610039602061003283610794565b9201610794565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b039384166001600160a01b03198216811790925591929091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a360406100ab8161076f565b6001815291601f1982015f5b81811061071357506100c88361076f565b90600182523660208301376307e4c70760e21b6100e4826107a8565b526100ed61073c565b6001600160a01b0390921682525f60208301528282015261010d836107a8565b52610117826107a8565b5060206101238161076f565b905f82525f925b8451841015610595578161013e85876107c9565b510151600381101561058157806102b45750906001600160a01b0361016385876107c9565b515116928261017286886107c9565b5101519061018282511515610801565b61018d851515610863565b6001600160a01b0385165f9081525f80516020610f9e83398151915260205260409020546001600160601b03169081156102a6575b5f915b8351831015610290576001600160e01b03196101e184866107c9565b51165f8181525f80516020610f5e8339815191528752879020546001600160a01b031661022657816102198960019461021e94610db3565b6108c6565b9201916101c5565b865162461bcd60e51b815260048101879052603760248201527f4469616d6f6e6443757446616365743a2043616e2774206164642066756e637460448201527f696f6e207468617420616c7265616479206578697374730000000000000000006064820152608490fd5b50959150506001919593505b019291939061012a565b6102af86610cc7565b6101c2565b6001810361042357506001600160a01b036102cf85876107c9565b51511692816102de86886107c9565b510151906102ee82511515610801565b6102f9851515610863565b6001600160a01b0385165f9081525f80516020610f9e83398151915260205260409020546001600160601b0316908115610415575b5f915b8351831015610404576001600160e01b031961034d84866107c9565b51165f8181525f80516020610f5e8339815191528852869020546001600160a01b031688811461039a579161021989828461038d61039296600198610928565b610db3565b920191610331565b865162461bcd60e51b815260048101899052603a60248201527f4469616d6f6e6443757446616365743a2043616e2774207265706c616365206660448201527f756e6374696f6e20776974682073616d652066756e6374696f6e0000000000006064820152608490fd5b50959150506001919295935061029c565b61041e86610cc7565b61032e565b9194929392909160020361052b576001600160a01b0361044384836107c9565b515116938261045285846107c9565b5101519461046286511515610801565b6104c1575f5b85518110156104b5576001906104af6001600160e01b031961048a838a6107c9565b5116805f525f80516020610f5e8339815191528a52838060a01b03875f205416610928565b01610468565b5093509160019061029c565b825162461bcd60e51b815260048101879052603860248201527f4469616d6f6e6443757446616365743a2052656d6f766520666163657420616460448201527f6472657373206d757374206265206164647265737328302900000000000000006064820152608490fd5b815162461bcd60e51b815260048101869052602960248201527f4469616d6f6e6443757446616365743a20496e636f727265637420466163657460448201526821baba20b1ba34b7b760b91b6064820152608490fd5b634e487b7160e01b5f52602160045260245ffd5b91848351906060820160608352815180915260808301908560808260051b8601019301915f905b82821061067d575050505090806106007f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673935f8784015282810388840152856107dd565b0390a15161061557505160e19081610e7d8239f35b608491519062461bcd60e51b82526004820152603e60248201527f4469616d6f6e6443757446616365743a205f696e69742069732061646472657360448201527f73283029206275745f63616c6c64617461206973206e6f7420656d70747900006064820152fd5b858503607f19018152835180516001600160a01b03168652888101519495939492939192606083019160038210156105815760808460608e8e979481979689809701520151958201528451809452019201905f905b8082106106ef5750505090806001929601920192019092916105bc565b82516001600160e01b03191684528b949384019390920191600191909101906106d2565b60209061071e61073c565b5f81525f83820152606086820152828288010152016100b7565b5f80fd5b60405190606082016001600160401b0381118382101761075b57604052565b634e487b7160e01b5f52604160045260245ffd5b6040519190601f01601f191682016001600160401b0381118382101761075b57604052565b51906001600160a01b038216820361073857565b8051156107b55760200190565b634e487b7160e01b5f52603260045260245ffd5b80518210156107b55760209160051b010190565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b1561080857565b60405162461bcd60e51b815260206004820152602d60248201527f4469616d6f6e6443757446616365743a204e6f2073656c6563746f727320696e60448201526c08199858d95d081d1bc818dd5d609a1b6064820152608490fd5b1561086a57565b60405162461bcd60e51b815260206004820152602e60248201527f4469616d6f6e6443757446616365743a204164642066616365742063616e277460448201526d206265206164647265737328302960901b6064820152608490fd5b6001600160601b039081169081146108de5760010190565b634e487b7160e01b5f52601160045260245ffd5b91909180548310156107b5575f52601c60205f208360031c019260021b1690565b80548210156107b5575f5260205f2001905f90565b6001600160a01b0316908115610c5c57308214610bfe5763ffffffff60e01b16805f525f80516020610f5e83398151915260205260405f205460a01c90825f525f80516020610f9e83398151915260205260405f2054915f1983019283116108de57828103610b41575b50825f525f80516020610f9e83398151915260205260405f2080548015610aa3575f1901906109c182826108f2565b63ffffffff82549160031b1b19169055555f525f80516020610f5e8339815191526020525f6040812055156109f35750565b5f80516020610f7e833981519152545f1981019081116108de57815f525f80516020610f9e833981519152602052600160405f20015490808203610ab7575b50505f80516020610f7e833981519152548015610aa3575f1901610a63815f80516020610f7e833981519152610913565b81549060018060a01b039060031b1b191690555f80516020610f7e833981519152555f525f80516020610f9e8339815191526020525f6001604082200155565b634e487b7160e01b5f52603160045260245ffd5b610ace905f80516020610f7e833981519152610913565b905460039190911b1c6001600160a01b0316610b1f81610afb845f80516020610f7e833981519152610913565b81546001600160a01b0393841660039290921b91821b9390911b1916919091179055565b5f525f80516020610f9e833981519152602052600160405f2001555f80610a32565b610bf890845f525f80516020610f9e833981519152602052610b668460405f206108f2565b90549060031b1c60e01b855f525f80516020610f9e833981519152602052610bb281610b958460405f206108f2565b90919063ffffffff83549160031b9260e01c831b921b1916179055565b6001600160e01b0319165f9081525f80516020610f5e8339815191526020526040902080546001600160a01b031660a09290921b6001600160a01b031916919091179055565b5f610992565b60405162461bcd60e51b815260206004820152603060248201527f4469616d6f6e6443757446616365743a2043616e27742072656d6f766520696d60448201526f36baba30b1363290333ab731ba34b7b760811b6064820152608490fd5b60405162461bcd60e51b815260206004820152603960248201527f4469616d6f6e6443757446616365743a2043616e27742072656d6f766520667560448201527f6e6374696f6e207468617420646f65736e2774206578697374000000000000006064820152608490fd5b610cd1606061076f565b602681527f4469616d6f6e6443757446616365743a204e657720666163657420686173206e6020820152656f20636f646560d01b6040820152813b15610d8b57505f80516020610f7e833981519152546001600160a01b0382165f9081525f80516020610f9e83398151915260205260409020600101819055906801000000000000000082101561075b57610afb826001610d8994015f80516020610f7e833981519152555f80516020610f7e833981519152610913565b565b60405162461bcd60e51b815260206004820152908190610daf9060248301906107dd565b0390fd5b6001600160e01b031981165f8181525f80516020610f5e8339815191526020526040902080546001600160a01b031660a09490941b6001600160a01b031916939093179092556001600160a01b0383165f9081525f80516020610f9e83398151915260205260409020805491906801000000000000000083101561075b5782610b95916001610e44950181556108f2565b5f9081525f80516020610f5e8339815191526020526040902080546001600160a01b0319166001600160a01b0390921691909117905556fe6080604052361560a9575f80356001600160e01b03191681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205260409020546001600160a01b03168015606b575f8091368280378136915af43d5f803e156067573d5ff35b3d5ffd5b62461bcd60e51b6080526020608452602060a4527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460c45260646080fd5b00fea26469706673582212206d61088e4c824c4135a382299b5ccbc989bcfbd658f00b163001927e6720b15b64736f6c634300081a0033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131cc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d0000000000000000000000004204fdd868ffe0e62f57e6a626f8c9530f7d5ad1000000000000000000000000cedc1583a1380fb1bd71ff14a11af9e3c77d9994

Deployed Bytecode

0x6080604052361560a9575f80356001600160e01b03191681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c60205260409020546001600160a01b03168015606b575f8091368280378136915af43d5f803e156067573d5ff35b3d5ffd5b62461bcd60e51b6080526020608452602060a4527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460c45260646080fd5b00fea26469706673582212206d61088e4c824c4135a382299b5ccbc989bcfbd658f00b163001927e6720b15b64736f6c634300081a0033

Block Transaction Gas Used Reward
view all blocks ##produced##

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]
[ 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.