POL Price: $0.216999 (+0.41%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo2 POL

POL Value

$0.43 (@ $0.22/POL)

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Fish With Ticket...664246792025-01-07 21:40:5267 days ago1736286052IN
0xDecdC6Ec...D6c730117
0 POL0.0025043436.08729429
Un Stake635624062024-10-27 18:06:54139 days ago1730052414IN
0xDecdC6Ec...D6c730117
0 POL0.0018751230.00000002
Un Stake635623992024-10-27 18:06:38139 days ago1730052398IN
0xDecdC6Ec...D6c730117
0 POL0.0020191230.00000002
Un Stake635623852024-10-27 18:06:10139 days ago1730052370IN
0xDecdC6Ec...D6c730117
0 POL0.0025321230.00000002
Un Stake573719642024-05-25 11:24:08294 days ago1716636248IN
0xDecdC6Ec...D6c730117
0 POL0.0011560530.03599181
Un Stake573719622024-05-25 11:24:04294 days ago1716636244IN
0xDecdC6Ec...D6c730117
0 POL0.0023907730.03337874
Un Stake566522472024-05-06 17:28:52313 days ago1715016532IN
0xDecdC6Ec...D6c730117
0 POL0.0018751230.00000024
Un Stake549545932024-03-22 14:43:50358 days ago1711118630IN
0xDecdC6Ec...D6c730117
0 POL0.01515143242.4073709
Un Stake549545822024-03-22 14:43:26358 days ago1711118606IN
0xDecdC6Ec...D6c730117
0 POL0.01738149258.25351614
Un Stake549335202024-03-22 1:01:23359 days ago1711069283IN
0xDecdC6Ec...D6c730117
0 POL0.00821427103.18923132
Un Stake549277892024-03-21 21:09:33359 days ago1711055373IN
0xDecdC6Ec...D6c730117
0 POL0.0028751846
Un Stake549276932024-03-21 21:05:07359 days ago1711055107IN
0xDecdC6Ec...D6c730117
0 POL0.0030959846
Un Stake549276762024-03-21 21:04:30359 days ago1711055070IN
0xDecdC6Ec...D6c730117
0 POL0.0030959846
Un Stake549276682024-03-21 21:04:14359 days ago1711055054IN
0xDecdC6Ec...D6c730117
0 POL0.0030959846
Un Stake549248992024-03-21 19:14:38359 days ago1711048478IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549248652024-03-21 19:13:18359 days ago1711048398IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549248542024-03-21 19:12:54359 days ago1711048374IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549248432024-03-21 19:12:30359 days ago1711048350IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549248342024-03-21 19:12:12359 days ago1711048332IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549247012024-03-21 19:07:28359 days ago1711048048IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549246812024-03-21 19:06:34359 days ago1711047994IN
0xDecdC6Ec...D6c730117
0 POL0.0040382460
Un Stake549237392024-03-21 18:28:51359 days ago1711045731IN
0xDecdC6Ec...D6c730117
0 POL0.0065796877.95469972
Un Stake547463082024-03-17 0:09:34364 days ago1710634174IN
0xDecdC6Ec...D6c730117
0 POL0.0036877359
Un Stake547462942024-03-17 0:09:04364 days ago1710634144IN
0xDecdC6Ec...D6c730117
0 POL0.0049798359
Stake547159652024-03-16 5:44:47365 days ago1710567887IN
0xDecdC6Ec...D6c730117
0 POL0.0091830188.91808033
View all transactions

Latest 11 internal transactions

Parent Transaction Hash Block From To
542568322024-03-04 13:16:40376 days ago1709558200
0xDecdC6Ec...D6c730117
650 POL
534794642024-02-13 16:51:38396 days ago1707843098
0xDecdC6Ec...D6c730117
1,562.5 POL
506112732023-12-01 11:38:27470 days ago1701430707
0xDecdC6Ec...D6c730117
1,538.5 POL
482112712023-10-01 20:08:33531 days ago1696190913
0xDecdC6Ec...D6c730117
516 POL
479684142023-09-25 13:19:53537 days ago1695647993
0xDecdC6Ec...D6c730117
3,122 POL
470101132023-09-01 9:22:16562 days ago1693560136
0xDecdC6Ec...D6c730117
1,210 POL
468912642023-08-29 9:32:24565 days ago1693301544
0xDecdC6Ec...D6c730117
9,491 POL
465120982023-08-19 21:33:57574 days ago1692480837
0xDecdC6Ec...D6c730117
4,722.5 POL
463721682023-08-16 10:13:06577 days ago1692180786
0xDecdC6Ec...D6c730117
9,730 POL
460129792023-08-07 9:21:16587 days ago1691400076
0xDecdC6Ec...D6c730117
1,632 POL
454967052023-07-25 9:43:48600 days ago1690278228
0xDecdC6Ec...D6c730117
2,640 POL
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Junkyard

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion
File 1 of 3 : Junkyard.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

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

import { LibDiamond } from "./libraries/LibDiamond.sol";
import { IDiamondCut } from "./interfaces/IDiamondCut.sol";

contract Junkyard {    
    constructor(address _contractOwner, address _diamondCutFacet) payable {        
        LibDiamond.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
        });
        LibDiamond.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 {
        LibDiamond.DiamondStorage storage ds;
        bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;
        // get diamond storage
        assembly {
            ds.slot := position
        }
        // get facet from function selector
        address facet = address(bytes20(ds.facets[msg.sig]));
        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 {}
}

File 2 of 3 : IDiamondCut.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

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

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

File 3 of 3 : LibDiamond.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/
import { IDiamondCut } from "../interfaces/IDiamondCut.sol";

// Remember to add the loupe functions from DiamondLoupeFacet to the diamond.
// The loupe functions are required by the EIP2535 Diamonds standard

error InitializationFunctionReverted(address _initializationContractAddress, bytes _calldata);

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

    struct DiamondStorage {
        // maps function selectors to the facets that execute the functions.
        // and maps the selectors to their position in the selectorSlots array.
        // func selector => address facet, selector position
        mapping(bytes4 => bytes32) facets;
        // array of slots of function selectors.
        // each slot holds 8 function selectors.
        mapping(uint256 => bytes32) selectorSlots;
        // The number of function selectors in selectorSlots
        uint16 selectorCount;
        // 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 (DiamondStorage storage ds) {
        bytes32 position = DIAMOND_STORAGE_POSITION;
        assembly {
            ds.slot := position
        }
    }

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

    function setContractOwner(address _newOwner) internal {
        DiamondStorage 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, "LibDiamond: Must be contract owner");
    }

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

    bytes32 constant CLEAR_ADDRESS_MASK = bytes32(uint256(0xffffffffffffffffffffffff));
    bytes32 constant CLEAR_SELECTOR_MASK = bytes32(uint256(0xffffffff << 224));

    // Internal function version of diamondCut
    // This code is almost the same as the external diamondCut,
    // except it is using 'Facet[] memory _diamondCut' instead of
    // 'Facet[] calldata _diamondCut'.
    // The code is duplicated to prevent copying calldata to memory which
    // causes an error for a two dimensional array.
    function diamondCut(
        IDiamondCut.FacetCut[] memory _diamondCut,
        address _init,
        bytes memory _calldata
    ) internal {
        DiamondStorage storage ds = diamondStorage();
        uint256 originalSelectorCount = ds.selectorCount;
        uint256 selectorCount = originalSelectorCount;
        bytes32 selectorSlot;
        // Check if last selector slot is not full
        // "selectorCount & 7" is a gas efficient modulo by eight "selectorCount % 8" 
        if (selectorCount & 7 > 0) {
            // get last selectorSlot
            // "selectorSlot >> 3" is a gas efficient division by 8 "selectorSlot / 8"
            selectorSlot = ds.selectorSlots[selectorCount >> 3];
        }
        // loop through diamond cut
        for (uint256 facetIndex; facetIndex < _diamondCut.length; ) {
            (selectorCount, selectorSlot) = addReplaceRemoveFacetSelectors(
                selectorCount,
                selectorSlot,
                _diamondCut[facetIndex].facetAddress,
                _diamondCut[facetIndex].action,
                _diamondCut[facetIndex].functionSelectors
            );

            unchecked {
                facetIndex++;
            }
        }
        if (selectorCount != originalSelectorCount) {
            ds.selectorCount = uint16(selectorCount);
        }
        // If last selector slot is not full
        // "selectorCount & 7" is a gas efficient modulo by eight "selectorCount % 8" 
        if (selectorCount & 7 > 0) {
            // "selectorSlot >> 3" is a gas efficient division by 8 "selectorSlot / 8"
            ds.selectorSlots[selectorCount >> 3] = selectorSlot;
        }
        emit DiamondCut(_diamondCut, _init, _calldata);
        initializeDiamondCut(_init, _calldata);
    }

    function addReplaceRemoveFacetSelectors(
        uint256 _selectorCount,
        bytes32 _selectorSlot,
        address _newFacetAddress,
        IDiamondCut.FacetCutAction _action,
        bytes4[] memory _selectors
    ) internal returns (uint256, bytes32) {
        DiamondStorage storage ds = diamondStorage();
        require(_selectors.length > 0, "LibDiamondCut: No selectors in facet to cut");
        if (_action == IDiamondCut.FacetCutAction.Add) {
            enforceHasContractCode(_newFacetAddress, "LibDiamondCut: Add facet has no code");
            for (uint256 selectorIndex; selectorIndex < _selectors.length; ) {
                bytes4 selector = _selectors[selectorIndex];
                bytes32 oldFacet = ds.facets[selector];
                require(address(bytes20(oldFacet)) == address(0), "LibDiamondCut: Can't add function that already exists");
                // add facet for selector
                ds.facets[selector] = bytes20(_newFacetAddress) | bytes32(_selectorCount);
                // "_selectorCount & 7" is a gas efficient modulo by eight "_selectorCount % 8" 
                // " << 5 is the same as multiplying by 32 ( * 32)
                uint256 selectorInSlotPosition = (_selectorCount & 7) << 5;
                // clear selector position in slot and add selector
                _selectorSlot = (_selectorSlot & ~(CLEAR_SELECTOR_MASK >> selectorInSlotPosition)) | (bytes32(selector) >> selectorInSlotPosition);
                // if slot is full then write it to storage
                if (selectorInSlotPosition == 224) {
                    // "_selectorSlot >> 3" is a gas efficient division by 8 "_selectorSlot / 8"
                    ds.selectorSlots[_selectorCount >> 3] = _selectorSlot;
                    _selectorSlot = 0;
                }
                _selectorCount++;

                unchecked {
                    selectorIndex++;
                }
            }
        } else if (_action == IDiamondCut.FacetCutAction.Replace) {
            enforceHasContractCode(_newFacetAddress, "LibDiamondCut: Replace facet has no code");
            for (uint256 selectorIndex; selectorIndex < _selectors.length; ) {
                bytes4 selector = _selectors[selectorIndex];
                bytes32 oldFacet = ds.facets[selector];
                address oldFacetAddress = address(bytes20(oldFacet));
                // only useful if immutable functions exist
                require(oldFacetAddress != address(this), "LibDiamondCut: Can't replace immutable function");
                require(oldFacetAddress != _newFacetAddress, "LibDiamondCut: Can't replace function with same function");
                require(oldFacetAddress != address(0), "LibDiamondCut: Can't replace function that doesn't exist");
                // replace old facet address
                ds.facets[selector] = (oldFacet & CLEAR_ADDRESS_MASK) | bytes20(_newFacetAddress);

                unchecked {
                    selectorIndex++;
                }
            }
        } else if (_action == IDiamondCut.FacetCutAction.Remove) {
            require(_newFacetAddress == address(0), "LibDiamondCut: Remove facet address must be address(0)");
            // "_selectorCount >> 3" is a gas efficient division by 8 "_selectorCount / 8"
            uint256 selectorSlotCount = _selectorCount >> 3;
            // "_selectorCount & 7" is a gas efficient modulo by eight "_selectorCount % 8" 
            uint256 selectorInSlotIndex = _selectorCount & 7;
            for (uint256 selectorIndex; selectorIndex < _selectors.length; ) {
                if (_selectorSlot == 0) {
                    // get last selectorSlot
                    selectorSlotCount--;
                    _selectorSlot = ds.selectorSlots[selectorSlotCount];
                    selectorInSlotIndex = 7;
                } else {
                    selectorInSlotIndex--;
                }
                bytes4 lastSelector;
                uint256 oldSelectorsSlotCount;
                uint256 oldSelectorInSlotPosition;
                // adding a block here prevents stack too deep error
                {
                    bytes4 selector = _selectors[selectorIndex];
                    bytes32 oldFacet = ds.facets[selector];
                    require(address(bytes20(oldFacet)) != address(0), "LibDiamondCut: Can't remove function that doesn't exist");
                    // only useful if immutable functions exist
                    require(address(bytes20(oldFacet)) != address(this), "LibDiamondCut: Can't remove immutable function");
                    // replace selector with last selector in ds.facets
                    // gets the last selector
                    // " << 5 is the same as multiplying by 32 ( * 32)
                    lastSelector = bytes4(_selectorSlot << (selectorInSlotIndex << 5));
                    if (lastSelector != selector) {
                        // update last selector slot position info
                        ds.facets[lastSelector] = (oldFacet & CLEAR_ADDRESS_MASK) | bytes20(ds.facets[lastSelector]);
                    }
                    delete ds.facets[selector];
                    uint256 oldSelectorCount = uint16(uint256(oldFacet));
                    // "oldSelectorCount >> 3" is a gas efficient division by 8 "oldSelectorCount / 8"
                    oldSelectorsSlotCount = oldSelectorCount >> 3;
                    // "oldSelectorCount & 7" is a gas efficient modulo by eight "oldSelectorCount % 8" 
                    // " << 5 is the same as multiplying by 32 ( * 32)
                    oldSelectorInSlotPosition = (oldSelectorCount & 7) << 5;
                }
                if (oldSelectorsSlotCount != selectorSlotCount) {
                    bytes32 oldSelectorSlot = ds.selectorSlots[oldSelectorsSlotCount];
                    // clears the selector we are deleting and puts the last selector in its place.
                    oldSelectorSlot =
                        (oldSelectorSlot & ~(CLEAR_SELECTOR_MASK >> oldSelectorInSlotPosition)) |
                        (bytes32(lastSelector) >> oldSelectorInSlotPosition);
                    // update storage with the modified slot
                    ds.selectorSlots[oldSelectorsSlotCount] = oldSelectorSlot;
                } else {
                    // clears the selector we are deleting and puts the last selector in its place.
                    _selectorSlot =
                        (_selectorSlot & ~(CLEAR_SELECTOR_MASK >> oldSelectorInSlotPosition)) |
                        (bytes32(lastSelector) >> oldSelectorInSlotPosition);
                }
                if (selectorInSlotIndex == 0) {
                    delete ds.selectorSlots[selectorSlotCount];
                    _selectorSlot = 0;
                }

                unchecked {
                    selectorIndex++;
                }
            }
            _selectorCount = selectorSlotCount * 8 + selectorInSlotIndex;
        } else {
            revert("LibDiamondCut: Incorrect FacetCutAction");
        }
        return (_selectorCount, _selectorSlot);
    }

    function initializeDiamondCut(address _init, bytes memory _calldata) internal {
        if (_init == address(0)) {
            return;
        }
        enforceHasContractCode(_init, "LibDiamondCut: _init address has no code");        
        (bool success, bytes memory error) = _init.delegatecall(_calldata);
        if (!success) {
            if (error.length > 0) {
                // bubble up error
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(error)
                    revert(add(32, error), returndata_size)
                }
            } else {
                revert InitializationFunctionReverted(_init, _calldata);
            }
        }
    }

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

Settings
{
  "evmVersion": "london",
  "optimizer": {
    "enabled": true,
    "runs": 100
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_contractOwner","type":"address"},{"internalType":"address","name":"_diamondCutFacet","type":"address"}],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_initializationContractAddress","type":"address"},{"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"InitializationFunctionReverted","type":"error"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

608060405260405162001de538038062001de5833981016040819052620000269162000c61565b6200003c826200015660201b620000c21760201c565b604080516001808252818301909252600091816020015b60408051606080820183526000808352602083015291810191909152815260200190600190039081620000535750506040805160018082528183019092529192506000919060208083019080368337019050509050631f931c1c60e01b81600081518110620000c657620000c662000c99565b6001600160e01b031990921660209283029190910182015260408051606081019091526001600160a01b038516815290810160008152602001828152508260008151811062000119576200011962000c99565b60200260200101819052506200014c82600060405180602001604052806000815250620001da60201b620001221760201c565b5050505062000f0a565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b031981166001600160a01b0384811691821790935560405160008051602062001d51833981519152939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e5460008051602062001d518339815191529061ffff811690819060009060071615620002395750600381901c60009081526001840160205260409020545b60005b8751811015620002c957620002bb83838a848151811062000261576200026162000c99565b6020026020010151600001518b858151811062000282576200028262000c99565b6020026020010151602001518c8681518110620002a357620002a362000c99565b6020026020010151604001516200035b60201b60201c565b90935091506001016200023c565b50828214620002e65760028401805461ffff191661ffff84161790555b60078216156200030957600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738787876040516200033e9392919062000d19565b60405180910390a162000352868662000b48565b50505050505050565b6000808060008051602062001d5183398151915290506000845111620003dc5760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b60648201526084015b60405180910390fd5b6000856002811115620003f357620003f362000caf565b0362000570576200041e8660405180606001604052806024815260200162001d716024913962000c20565b60005b84518110156200056957600085828151811062000442576200044262000c99565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c15620004e55760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401620003d3565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a8190036200054a5760038c901c600090815260018601602052604081209b909b555b8b620005568162000e36565b9c50506001909301925062000421915050565b5062000b3c565b600185600281111562000587576200058762000caf565b036200079457620005b28660405180606001604052806028815260200162001dbd6028913962000c20565b60005b845181101562000569576000858281518110620005d657620005d662000c99565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c3081036200066d5760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b6064820152608401620003d3565b896001600160a01b0316816001600160a01b031603620006e55760405162461bcd60e51b8152602060048201526038602482015260008051602062001d3183398151915260448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401620003d3565b6001600160a01b038116620007525760405162461bcd60e51b8152602060048201526038602482015260008051602062001d3183398151915260448201527f6374696f6e207468617420646f65736e277420657869737400000000000000006064820152608401620003d3565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b16179055600101620005b5565b6002856002811115620007ab57620007ab62000caf565b0362000ae3576001600160a01b03861615620008305760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401620003d3565b600388901c6007891660005b865181101562000abe5760008a90036200087d57826200085c8162000e52565b60008181526001870160205260409020549b509350600792506200088d9050565b81620008898162000e52565b9250505b6000806000808a8581518110620008a857620008a862000c99565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c6200094a5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401620003d3565b30606082901c03620009b65760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401620003d3565b600587901b8f901b94506001600160e01b03198086169083161462000a08576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e016905085821462000a6f576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c17905562000a93565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b8460000362000ab257600086815260018801602052604081208190559c505b5050506001016200083c565b508062000acd83600862000e6c565b62000ad9919062000e8c565b9950505062000b3c565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608401620003d3565b50959694955050505050565b6001600160a01b03821662000b5b575050565b62000b808260405180606001604052806028815260200162001d956028913962000c20565b600080836001600160a01b03168360405162000b9d919062000ea2565b600060405180830381855af49150503d806000811462000bda576040519150601f19603f3d011682016040523d82523d6000602084013e62000bdf565b606091505b50915091508162000c1a5780511562000bfb5780518082602001fd5b838360405163192105d760e01b8152600401620003d392919062000ec0565b50505050565b813b818162000c1a5760405162461bcd60e51b8152600401620003d3919062000eee565b80516001600160a01b038116811462000c5c57600080fd5b919050565b6000806040838503121562000c7557600080fd5b62000c808362000c44565b915062000c906020840162000c44565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60005b8381101562000ce257818101518382015260200162000cc8565b50506000910152565b6000815180845262000d0581602086016020860162000cc5565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b8481101562000dee57898403607f19018652815180516001600160a01b0316855283810151898601906003811062000d8a57634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b8083101562000dd85783516001600160e01b031916825292860192600192909201919086019062000dac565b5097850197955050509082019060010162000d42565b50506001600160a01b038a1690880152868103604088015262000e12818962000ceb565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b60006001820162000e4b5762000e4b62000e20565b5060010190565b60008162000e645762000e6462000e20565b506000190190565b808202811582820484141762000e865762000e8662000e20565b92915050565b8082018082111562000e865762000e8662000e20565b6000825162000eb681846020870162000cc5565b9190910192915050565b6001600160a01b038316815260406020820181905260009062000ee69083018462000ceb565b949350505050565b60208152600062000f03602083018462000ceb565b9392505050565b610e178062000f1a6000396000f3fe60806040523661000b57005b600080356001600160e01b03191681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819060601c8061009e5760405162461bcd60e51b815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100bd573d6000f35b3d6000fd5b60006100cc610268565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b600061012c610268565b600281015490915061ffff81169081906000906007161561015f5750600381901c60009081526001840160205260409020545b60005b87518110156101dc576101cf83838a848151811061018257610182610b19565b6020026020010151600001518b85815181106101a0576101a0610b19565b6020026020010151602001518c86815181106101be576101be610b19565b60200260200101516040015161028c565b9093509150600101610162565b508282146101f85760028401805461ffff191661ffff84161790555b600782161561021a57600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67387878760405161024d93929190610b95565b60405180910390a161025f8686610a2c565b50505050505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000806000610299610268565b905060008451116103005760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401610095565b600085600281111561031457610314610b2f565b0361047a5761033b86604051806060016040528060248152602001610d6e60249139610af8565b60005b845181101561047457600085828151811061035b5761035b610b19565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c156103f45760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f6044820152746e207468617420616c72656164792065786973747360581b6064820152608401610095565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a8190036104585760038c901c600090815260018601602052604081209b909b555b8b61046281610cab565b9c50506001909301925061033e915050565b50610a20565b600185600281111561048e5761048e610b2f565b036106a4576104b586604051806060016040528060288152602001610dba60289139610af8565b60005b84518110156104745760008582815181106104d5576104d5610b19565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c30810361056a5760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b6064820152608401610095565b896001600160a01b0316816001600160a01b0316036105ec5760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527731ba34b7b7103bb4ba341039b0b6b290333ab731ba34b7b760411b6064820152608401610095565b6001600160a01b0381166106635760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527718dd1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd60421b6064820152608401610095565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b161790556001016104b8565b60028560028111156106b8576106b8610b2f565b036109c8576001600160a01b038616156107335760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472604482015275657373206d757374206265206164647265737328302960501b6064820152608401610095565b600388901c6007891660005b86518110156109a85760008a900361077b578261075b81610cc4565b60008181526001870160205260409020549b509350600792506107899050565b8161078581610cc4565b9250505b6000806000808a85815181106107a1576107a1610b19565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c61083b5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e636044820152761d1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd604a1b6064820152608401610095565b30606082901c036108a55760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401610095565b600587901b8f901b94506001600160e01b0319808616908316146108f6576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e016905085821461095b576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c17905561097f565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b8460000361099d57600086815260018801602052604081208190559c505b50505060010161073f565b50806109b5836008610cdb565b6109bf9190610cf8565b99505050610a20565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608401610095565b50959694955050505050565b6001600160a01b038216610a3e575050565b610a6082604051806060016040528060288152602001610d9260289139610af8565b600080836001600160a01b031683604051610a7b9190610d0b565b600060405180830381855af49150503d8060008114610ab6576040519150601f19603f3d011682016040523d82523d6000602084013e610abb565b606091505b509150915081610af257805115610ad55780518082602001fd5b838360405163192105d760e01b8152600401610095929190610d27565b50505050565b813b8181610af25760405162461bcd60e51b81526004016100959190610d53565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60005b83811015610b60578181015183820152602001610b48565b50506000910152565b60008151808452610b81816020860160208601610b45565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015610c6557898403607f19018652815180516001600160a01b03168552838101518986019060038110610c0457634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015610c505783516001600160e01b0319168252928601926001929092019190860190610c26565b50978501979550505090820190600101610bbe565b50506001600160a01b038a16908801528681036040880152610c878189610b69565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201610cbd57610cbd610c95565b5060010190565b600081610cd357610cd3610c95565b506000190190565b8082028115828204841417610cf257610cf2610c95565b92915050565b80820180821115610cf257610cf2610c95565b60008251610d1d818460208701610b45565b9190910192915050565b6001600160a01b0383168152604060208201819052600090610d4b90830184610b69565b949350505050565b602081526000610d666020830184610b69565b939250505056fe4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465a264697066735822122018fc8866133c24ec1edecc1c9ef65a78a2cf2040d27bef1692c56414344281e164736f6c634300081200334c69624469616d6f6e644375743a2043616e2774207265706c6163652066756ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465000000000000000000000000bcd11837b5114e99e58670fa401abed8686253e60000000000000000000000004e3f9dc2e6b37c80f2aada5d005fb55bb83dee16

Deployed Bytecode

0x60806040523661000b57005b600080356001600160e01b03191681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819060601c8061009e5760405162461bcd60e51b815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100bd573d6000f35b3d6000fd5b60006100cc610268565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b600061012c610268565b600281015490915061ffff81169081906000906007161561015f5750600381901c60009081526001840160205260409020545b60005b87518110156101dc576101cf83838a848151811061018257610182610b19565b6020026020010151600001518b85815181106101a0576101a0610b19565b6020026020010151602001518c86815181106101be576101be610b19565b60200260200101516040015161028c565b9093509150600101610162565b508282146101f85760028401805461ffff191661ffff84161790555b600782161561021a57600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67387878760405161024d93929190610b95565b60405180910390a161025f8686610a2c565b50505050505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000806000610299610268565b905060008451116103005760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401610095565b600085600281111561031457610314610b2f565b0361047a5761033b86604051806060016040528060248152602001610d6e60249139610af8565b60005b845181101561047457600085828151811061035b5761035b610b19565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c156103f45760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f6044820152746e207468617420616c72656164792065786973747360581b6064820152608401610095565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a8190036104585760038c901c600090815260018601602052604081209b909b555b8b61046281610cab565b9c50506001909301925061033e915050565b50610a20565b600185600281111561048e5761048e610b2f565b036106a4576104b586604051806060016040528060288152602001610dba60289139610af8565b60005b84518110156104745760008582815181106104d5576104d5610b19565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c30810361056a5760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b6064820152608401610095565b896001600160a01b0316816001600160a01b0316036105ec5760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527731ba34b7b7103bb4ba341039b0b6b290333ab731ba34b7b760411b6064820152608401610095565b6001600160a01b0381166106635760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527718dd1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd60421b6064820152608401610095565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b161790556001016104b8565b60028560028111156106b8576106b8610b2f565b036109c8576001600160a01b038616156107335760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472604482015275657373206d757374206265206164647265737328302960501b6064820152608401610095565b600388901c6007891660005b86518110156109a85760008a900361077b578261075b81610cc4565b60008181526001870160205260409020549b509350600792506107899050565b8161078581610cc4565b9250505b6000806000808a85815181106107a1576107a1610b19565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c61083b5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e636044820152761d1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd604a1b6064820152608401610095565b30606082901c036108a55760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401610095565b600587901b8f901b94506001600160e01b0319808616908316146108f6576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e016905085821461095b576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c17905561097f565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b8460000361099d57600086815260018801602052604081208190559c505b50505060010161073f565b50806109b5836008610cdb565b6109bf9190610cf8565b99505050610a20565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608401610095565b50959694955050505050565b6001600160a01b038216610a3e575050565b610a6082604051806060016040528060288152602001610d9260289139610af8565b600080836001600160a01b031683604051610a7b9190610d0b565b600060405180830381855af49150503d8060008114610ab6576040519150601f19603f3d011682016040523d82523d6000602084013e610abb565b606091505b509150915081610af257805115610ad55780518082602001fd5b838360405163192105d760e01b8152600401610095929190610d27565b50505050565b813b8181610af25760405162461bcd60e51b81526004016100959190610d53565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60005b83811015610b60578181015183820152602001610b48565b50506000910152565b60008151808452610b81816020860160208601610b45565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015610c6557898403607f19018652815180516001600160a01b03168552838101518986019060038110610c0457634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015610c505783516001600160e01b0319168252928601926001929092019190860190610c26565b50978501979550505090820190600101610bbe565b50506001600160a01b038a16908801528681036040880152610c878189610b69565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201610cbd57610cbd610c95565b5060010190565b600081610cd357610cd3610c95565b506000190190565b8082028115828204841417610cf257610cf2610c95565b92915050565b80820180821115610cf257610cf2610c95565b60008251610d1d818460208701610b45565b9190910192915050565b6001600160a01b0383168152604060208201819052600090610d4b90830184610b69565b949350505050565b602081526000610d666020830184610b69565b939250505056fe4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465a264697066735822122018fc8866133c24ec1edecc1c9ef65a78a2cf2040d27bef1692c56414344281e164736f6c63430008120033

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

000000000000000000000000bcd11837b5114e99e58670fa401abed8686253e60000000000000000000000004e3f9dc2e6b37c80f2aada5d005fb55bb83dee16

-----Decoded View---------------
Arg [0] : _contractOwner (address): 0xBCD11837b5114E99e58670Fa401abeD8686253E6
Arg [1] : _diamondCutFacet (address): 0x4E3f9dc2e6b37c80F2aaDA5D005fb55Bb83DEE16

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000bcd11837b5114e99e58670fa401abed8686253e6
Arg [1] : 0000000000000000000000004e3f9dc2e6b37c80f2aada5d005fb55bb83dee16


Block Transaction 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.