Contract 0x423d0fe33031aa4456a17b150804aa57fc157d97 1

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0b1321bf30a47c5f14cb484feef59a472d745be5c262ca86c19ff6aad99fa9a9Deposit187100272022-08-16 7:53:436 mins ago0xd7e51188784f4a0733ad4bee98665ea0fe864e8d IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0063373955 26.‍5
0x6ab62d6aa8098b01c5d5b7719ed5bbdfb6b7143debbc7f82ac009ef91e8ad0e7Multiclaim187097762022-08-16 7:45:1515 mins ago0xf7626459234e9249808a06aa08dc6b67c8e0a2fc IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0064694185 26.‍5
0x9a54db96a324743e2da7ab9d5b620c129c8f8fb1dce05e2187f3f9af42d347c6Lock187089092022-08-16 7:16:0544 mins ago0x650a2787efc0e722b1c0698d269bde82ed41ab84 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0097391475 26.‍5
0x5d887b41f1832061609bce1576a1da8eb72ec4401ec6d6c8e9529e5ace8fe4b7Deposit187086302022-08-16 7:06:4553 mins ago0xb5b72f5b34433751c295c1b2454fe705b68678e0 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍003772752 26.‍5
0xb7fc6f2fd5e711b474f2339a56cb74ee55e594f7bb1d4b764a4848e311abf5dcMulticlaim187081862022-08-16 6:51:471 hr 8 mins ago0xef59ea6b60dc92e0e626a04b8d4734ac3bdb4035 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0187398195 26.‍5
0x3dc8dc2310d1c99400ef7125c3f6e5cc40736ebe98d3c54df05c560b4bafa0a4Multiclaim187073652022-08-16 6:24:131 hr 36 mins ago0x25c494571d4763bf6723505f42598f57833f686c IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0055631185 26.‍5
0x17e06d5688d0478824fa024c1b14629f24883ac106aefcdfa815922b27c100e0Lock187070882022-08-16 6:14:501 hr 45 mins ago0xdd05e8df6c51e4186d765e387316e37b29a76a0b IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍009425891 26.‍5
0x22d79c78c29da21fcbff46a7d6b85e205057705a51143550faa904bbaa441ea1Multiclaim187070812022-08-16 6:14:361 hr 45 mins ago0xea934443be354dc628bb8891d8d1aee069f8d1a4 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0108465825 26.‍5
0xae955f5aa2c7648a926d91b70e73964c32391fc6b343ed240c393b1ea198e6c8Deposit187070602022-08-16 6:13:541 hr 46 mins ago0xdd05e8df6c51e4186d765e387316e37b29a76a0b IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍006870443 26.‍5
0x052feaaca03f47730a654d572c85e0dcf2046b4216ec58fcce773db2804df35eMulticlaim187062122022-08-16 5:45:292 hrs 15 mins ago0xdd05e8df6c51e4186d765e387316e37b29a76a0b IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍004398894 26.‍5
0xef857cf0e0e6047cba8991797679053c0ed33d05bca4a3ed1ca236d70deab882Lock187058622022-08-16 5:33:452 hrs 26 mins ago0x2ae9c12d8356f11d1be6c4e91fe64c10783d42e5 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍009426209 26.‍5
0x55b699d41aa085180da472748ae0c36d6d228d4d9a530b326fcc3cc64952f37eDeposit187058412022-08-16 5:33:022 hrs 27 mins ago0x2ae9c12d8356f11d1be6c4e91fe64c10783d42e5 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍006870761 26.‍5
0x64779b336ec143c6eb4c2bed7b1bd9977aae77e9c56581caf921d33fa5cd9b1cDeposit187058232022-08-16 5:32:262 hrs 28 mins ago0x674efd2c32616802496f7e3147fbbb4b71a478d0 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍003833437 26.‍5
0x6c7083d5f884d5c26f7a5680ab114b99b9bafc7cc4921ebba4b5d2e752099f6eMulti Unlock187057552022-08-16 5:30:102 hrs 30 mins ago0xbe64665a7aa4573c5d9a5ad7466cafffb47a6e77 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍007568082 26.‍5
0x0a1ad75f0cfc66f89c1dcdb6f044d1e857759ad93e637ecfdc33d6baa1413edfMulticlaim187057002022-08-16 5:28:202 hrs 32 mins ago0x674efd2c32616802496f7e3147fbbb4b71a478d0 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0097353315 26.‍5
0x3ae89b836eaf562e901b52ae931828823f855aaf6a7358976775dff42e9d5e6dMulticlaim187052962022-08-16 5:14:482 hrs 45 mins ago0x14fcda5057cefa759b3a9d4d739b2c71fb039e46 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍004577125 25
0x74407a7f6cd12ebf93a2687c1dd2688b3070ca2e567f167f83ad659226d48dd3Lock187043972022-08-16 4:44:393 hrs 15 mins ago0xcb55f1858d55778b4f33e9b740089c196ead1477 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0056404455 26.‍5
0xb090c8c7a4d5b68656c768a173e68a55c96d81050e7ab82d86f7aa5528677e54Multiclaim187038132022-08-16 4:25:013 hrs 35 mins ago0xdd17862657f2640549b38d59a1b13a2ed44a712a IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0064978265 26.‍5
0x6475ea014e5b6ade4b136de74df4583b47ab2f3a224f83419dab8c884002d5fdDeposit187034762022-08-16 4:13:343 hrs 46 mins ago0x711b24dea42c73123a09e1b7ed4a29e8617fd8fb IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍003773388 26.‍5
0x4b64211236486e6fe8081d736a9c3695b830874408be0823390482d4b78e9c18Multiclaim187032662022-08-16 4:06:313 hrs 53 mins ago0xc693d87ea43656cd5494065a531381338e6d56a3 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍0033194727.‍5
0xc201628239e7afb56a16f4be0479cac4b66b1c856f2b732a9cc52636e7ef9e47Lock187032232022-08-16 4:05:053 hrs 55 mins ago0x288ada675be83e001651447981dceb975d3ed238 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍009426209 26.‍5
0xdd89fb20980d91c51d5c31d9fa2519081570d0228c56c7500c5c523dc853957cDeposit187029942022-08-16 3:57:254 hrs 3 mins ago0x288ada675be83e001651447981dceb975d3ed238 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍006870761 26.‍5
0x44117d2c3e49c136cc48ef7a58bae448ef0a725810607b46c54fcb4ce44b9be6Lock187029152022-08-16 3:54:474 hrs 5 mins ago0x25f1250268d299cbf3a2cbeb38436c0a8658841b IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍009426209 26.‍5
0x9248bdbf8d369d6c067f81bd710705627af297b0bffc9596f195502be3da796aDeposit187028492022-08-16 3:52:334 hrs 7 mins ago0x25f1250268d299cbf3a2cbeb38436c0a8658841b IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍006870761 26.‍5
0x88764fb266a1f7afea9e9e116435a1deac5fe0800e74be7eb945e10e589ea35cDeposit187025632022-08-16 3:42:564 hrs 17 mins ago0x7e187526428e2d6c0e253d305a0e519a6824a692 IN  0x423d0fe33031aa4456a17b150804aa57fc157d970 AVAX0.‍00377307 26.‍5
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xffabaa1c76dd2b1518cb6763bb77ec667c8b053e1a517eb7caeaa2d0035b8f1f164595372022-06-24 14:51:3952 days 17 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xfa2d186f2941083af56d0e880913dee3a6212a059486bd99f346676715fd6f84164250842022-06-23 19:46:2853 days 12 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x972e0ea6e11ab8fa1c2d717f8fc9d0df4273378401a20e7a21570d7da40091ca164250542022-06-23 19:45:2953 days 12 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xb09371a7b1d8db6cf1bcca3a559300fea821360b22a20ba4885a3deda57186ce145102002022-05-10 11:50:1197 days 20 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x356758c3da4712be72c58b3e0a4e301b59b777bcaa3c61fd654fe96e8248f1f1145101962022-05-10 11:50:0397 days 20 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xf0efcc3991f162fe76e9e2c3c624b8d1571610e1ebcf3b8418f0f97644e6d22d139730072022-04-27 16:06:03110 days 15 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xccafa78ae373d20c52b8071026084978af2243b6f2e0be550066bb67e252f020139729722022-04-27 16:04:53110 days 15 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x8950f911bc5d825375a44f4a50085ef039d9a0d0d4ee1315d852945f0d04e011135935562022-04-18 19:46:40119 days 12 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x538bd6100ce5a70c9e3b04eddd0d4c1422d475c5688c20cbd4d06d2e4db16da9135935542022-04-18 19:46:37119 days 12 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xaa6f2e00ea657b5c612ee02a24207d849e867547d521060fb3f97ee20d8e873d135935522022-04-18 19:46:32119 days 12 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x2d84b18b27ab42c70ac75dd9afc61aed0b07d6d83ce17bd6575def5e9ee0a3f1133757762022-04-13 18:27:21124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x6860ec9ea65099ee0d78fce1cf22e46e621a2600bc959d5caeabf745c558df32133757742022-04-13 18:27:17124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x321cc2fd42ef11b0ab21cb27bb92760835211bc410881f2cbe64a5305c138f32133757722022-04-13 18:27:12124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x86342e2191016b0628bf8d5e233b8405fb6be4a65102592b6b794963cbc49507133757712022-04-13 18:27:10124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xadb5d8ba77179f2ca8cb65256db4ec62641d237516ac9c00932dec557043e9d5133757692022-04-13 18:27:06124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x518b6041a16e849ba9f60f7686571502cac550221aaf1c4c015615cba93def40133755762022-04-13 18:20:35124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x96d5493a6a43a53953c61a1c18ffc7fc1b9a2969e673a029f56fd021059dc456133755742022-04-13 18:20:32124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x687daafe503625139d6040afbc8b08c444087892e68cd3c0618b2e7e34238b77133755722022-04-13 18:20:27124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x385681057cfb5e6ca8497ed382b0be0cca5fc45e220ffa109ac9be7222b9ee2a133755712022-04-13 18:20:25124 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x78c90546eedfc2f7963547e72dfc5facb5846db59e165f1cff62b967f2cea8f2132872532022-04-11 16:47:00126 days 15 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xfb5422c881ebd86dcc3e1edad121b841c1b1db0955079b6746f30e76176d84b6131627522022-04-08 18:46:50129 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xd76407f8d1c364ac76e8977356a8fab5fc6743580ca125c670fed2dae4436df3131627492022-04-08 18:46:45129 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xb7df44b4bc4144ac8ca69cad71d265e16e5b1c1621e56740a67dd98830719ec2131627482022-04-08 18:46:42129 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0xb248b42467c1dcee3181347f78c3c838afe01213cef0afbdc4bd94e80ead4e64131627462022-04-08 18:46:38129 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
0x8c173fc890884b3939922ab3eff7d72936ef48a117c44009f8652aa8c437d2cc131627442022-04-08 18:46:34129 days 13 hrs ago 0x423d0fe33031aa4456a17b150804aa57fc157d97  Contract Creation0 AVAX
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x8b3d9f0017fa369cd8c164d0cc078bf4ca588ae5

Contract Name:
TransparentUpgradeableProxy

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 999 runs

Other Settings:
istanbul EvmVersion, MIT license
File 1 of 7 : TransparentUpgradeableProxy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "ERC1967Proxy.sol";

/**
 * @dev This contract implements a proxy that is upgradeable by an admin.
 *
 * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
 * clashing], which can potentially be used in an attack, this contract uses the
 * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
 * things that go hand in hand:
 *
 * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
 * that call matches one of the admin functions exposed by the proxy itself.
 * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
 * implementation. If the admin tries to call a function on the implementation it will fail with an error that says
 * "admin cannot fallback to proxy target".
 *
 * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
 * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
 * to sudden errors when trying to call a function from the proxy implementation.
 *
 * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
 * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.
 */
contract TransparentUpgradeableProxy is ERC1967Proxy {
    /**
     * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
     * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.
     */
    uint256 public timelockLength = 2 days;
    uint256 public timelockEndForUpgrade;
    uint256 public timelockEndForTimelock;
    uint256 public nextTimelock = 0;

    address public nextImplementation;
    

    constructor(
        address _logic,
        address admin_,
        bytes memory _data
    ) payable ERC1967Proxy(_logic, _data) {
        assert(
            _ADMIN_SLOT ==
                bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)
        );
        _changeAdmin(admin_);
    }

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _getAdmin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Returns the current admin.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdmin returns (address admin_) {
        admin_ = _getAdmin();
    }


    function submitNewTimelock(uint256 _value) external ifAdmin {
        nextTimelock = _value;
        timelockEndForTimelock = block.timestamp + timelockLength;
    }

    function changeTimelock() external ifAdmin {
        require(nextTimelock != 0, "Cannot set timelock to 0");
        require(block.timestamp >= timelockEndForTimelock, "Timelock not ended");
        timelockLength = nextTimelock;
        nextTimelock = 0;
    }

    /**
     * @dev Returns the current implementation.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation()
        external
        ifAdmin
        returns (address implementation_)
    {
        implementation_ = _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
     */
    function changeAdmin(address newAdmin) external virtual ifAdmin {
        _changeAdmin(newAdmin);
    }

    function submitUpgrade(address newImplementation) external ifAdmin {
        nextImplementation = newImplementation;
        timelockEndForUpgrade = block.timestamp + timelockLength;
    }

    /**
     * @dev Upgrade the implementation of the proxy.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
     */
    function upgradeTo() external ifAdmin {
        require(nextImplementation != address(0), "Can't upgrade to address 0");
        require(block.timestamp > timelockEndForUpgrade, "Timelock not finished");
        _upgradeToAndCall(nextImplementation, bytes(""), false);
        nextImplementation = address(0);

    }

    /**
     * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
     * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
     * proxied contract.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
     */
    function upgradeToAndCall(bytes calldata data)
        external
        payable
        ifAdmin
    {
        require(nextImplementation != address(0), "Can't upgrade to address 0");
        require(block.timestamp > timelockEndForUpgrade, "Timelock not finished");
        _upgradeToAndCall(nextImplementation, data, true);
        nextImplementation = address(0);

    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view virtual returns (address) {
        return _getAdmin();
    }

    /**
     * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
     */
    function _beforeFallback() internal virtual override {
        require(
            msg.sender != _getAdmin(),
            "TransparentUpgradeableProxy: admin cannot fallback to proxy target"
        );
        super._beforeFallback();
    }
}

File 2 of 7 : ERC1967Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Proxy.sol)

pragma solidity ^0.8.0;

import "Proxy.sol";
import "ERC1967Upgrade.sol";

/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 */
contract ERC1967Proxy is Proxy, ERC1967Upgrade {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
     *
     * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
     * function call, and allows initializating the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _upgradeToAndCall(_logic, _data, false);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        return ERC1967Upgrade._getImplementation();
    }
}

File 3 of 7 : Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive() external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

File 4 of 7 : ERC1967Upgrade.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;

import "IBeacon.sol";
import "Address.sol";
import "StorageSlot.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967Upgrade {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlot.BooleanSlot storage rollbackTesting = StorageSlot.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            Address.functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}

File 5 of 7 : IBeacon.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 7 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 999
  },
  "libraries": {
    "TransparentUpgradeableProxy.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTimelock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"submitNewTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"submitUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timelockEndForTimelock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelockEndForUpgrade","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelockLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526202a300600055600060035560405162001455380380620014558339810160408190526200003291620004ce565b82816200006160017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000601565b6000805160206200140e8339815191521462000081576200008162000656565b6200008f82826000620000f3565b50620000bf905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000601565b600080516020620013ee83398151915214620000df57620000df62000656565b620000ea8262000130565b50505062000682565b620000fe836200018b565b6000825111806200010c5750805b156200012b57620001298383620001cd60201b620006d11760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015b620001fc565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001888162000235565b50565b6200019681620002ea565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001f583836040518060600160405280602781526020016200142e602791396200038d565b9392505050565b600062000226600080516020620013ee83398151915260001b6200046a60201b620004fc1760201c565b546001600160a01b0316919050565b6001600160a01b038116620002a05760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002c9600080516020620013ee83398151915260001b6200046a60201b620004fc1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b62000300816200046d60201b620006fd1760201c565b620003645760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840162000297565b80620002c96000805160206200140e83398151915260001b6200046a60201b620004fc1760201c565b6060833b620003ee5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840162000297565b600080856001600160a01b0316856040516200040b9190620005ae565b600060405180830381855af49150503d806000811462000448576040519150601f19603f3d011682016040523d82523d6000602084013e6200044d565b606091505b5090925090506200046082828662000473565b9695505050505050565b90565b3b151590565b6060831562000484575081620001f5565b825115620004955782518084602001fd5b8160405162461bcd60e51b8152600401620002979190620005cc565b80516001600160a01b0381168114620004c957600080fd5b919050565b600080600060608486031215620004e457600080fd5b620004ef84620004b1565b9250620004ff60208501620004b1565b60408501519092506001600160401b03808211156200051d57600080fd5b818601915086601f8301126200053257600080fd5b8151818111156200054757620005476200066c565b604051601f8201601f19908116603f011681019083821181831017156200057257620005726200066c565b816040528281528960208487010111156200058c57600080fd5b6200059f83602083016020880162000627565b80955050505050509250925092565b60008251620005c281846020870162000627565b9190910192915050565b6020815260008251806020840152620005ed81604085016020870162000627565b601f01601f19169190910160400192915050565b6000828210156200062257634e487b7160e01b600052601160045260246000fd5b500390565b60005b83811015620006445781810151838201526020016200062a565b83811115620001295750506000910152565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610d5c80620006926000396000f3fe6080604052600436106100d65760003560e01c80633da239c71161007f5780639461e673116100595780639461e673146101f95780639df4d08e1461020f578063a469af1a14610222578063f851a44014610242576100e5565b80633da239c7146101af5780635c60da1b146101c45780638f283970146101d9576100e5565b80631e3f4cc2116100b05780631e3f4cc214610163578063219a1f8114610179578063343851fa1461018f576100e5565b806309ff18f0146100ed57806316a27ecd1461012a578063176ee7e51461013f576100e5565b366100e5576100e3610257565b005b6100e3610257565b3480156100f957600080fd5b5060045461010d906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b506100e3610271565b34801561014b57600080fd5b5061015560025481565b604051908152602001610121565b34801561016f57600080fd5b5061015560035481565b34801561018557600080fd5b5061015560005481565b34801561019b57600080fd5b506100e36101aa366004610b91565b61038e565b3480156101bb57600080fd5b506100e36103f5565b3480156101d057600080fd5b5061010d6104c4565b3480156101e557600080fd5b506100e36101f4366004610b91565b6104ff565b34801561020557600080fd5b5061015560015481565b6100e361021d366004610bba565b610529565b34801561022e57600080fd5b506100e361023d366004610c2c565b61066d565b34801561024e57600080fd5b5061010d6106a6565b61025f610703565b61026f61026a6107b8565b6107c2565b565b6102796107eb565b6001600160a01b0316336001600160a01b03161415610386576004546001600160a01b03166102ef5760405162461bcd60e51b815260206004820152601a60248201527f43616e2774207570677261646520746f2061646472657373203000000000000060448201526064015b60405180910390fd5b60015442116103405760405162461bcd60e51b815260206004820152601560248201527f54696d656c6f636b206e6f742066696e6973686564000000000000000000000060448201526064016102e6565b60045460408051602081019091526000808252610367926001600160a01b0316919061081e565b6004805473ffffffffffffffffffffffffffffffffffffffff19169055565b61026f610257565b6103966107eb565b6001600160a01b0316336001600160a01b031614156103ea576004805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383161790556000546103e49042610c94565b60015550565b6103f2610257565b50565b6103fd6107eb565b6001600160a01b0316336001600160a01b03161415610386576003546104655760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74207365742074696d656c6f636b20746f2030000000000000000060448201526064016102e6565b6002544210156104b75760405162461bcd60e51b815260206004820152601260248201527f54696d656c6f636b206e6f7420656e646564000000000000000000000000000060448201526064016102e6565b6003805460009081559055565b60006104ce6107eb565b6001600160a01b0316336001600160a01b031614156104f4576104ef6107b8565b905090565b6104fc610257565b90565b6105076107eb565b6001600160a01b0316336001600160a01b031614156103ea576103f281610849565b6105316107eb565b6001600160a01b0316336001600160a01b03161415610661576004546001600160a01b03166105a25760405162461bcd60e51b815260206004820152601a60248201527f43616e2774207570677261646520746f2061646472657373203000000000000060448201526064016102e6565b60015442116105f35760405162461bcd60e51b815260206004820152601560248201527f54696d656c6f636b206e6f742066696e6973686564000000000000000000000060448201526064016102e6565b600454604080516020601f8501819004810282018101909252838152610640926001600160a01b03169185908590819084018382808284376000920191909152506001925061081e915050565b6004805473ffffffffffffffffffffffffffffffffffffffff191690555050565b610669610257565b5050565b6106756107eb565b6001600160a01b0316336001600160a01b031614156103ea5760038190556000546106a09042610c94565b60025550565b60006106b06107eb565b6001600160a01b0316336001600160a01b031614156104f4576104ef6107eb565b60606106f68383604051806060016040528060278152602001610d006027913961089d565b9392505050565b3b151590565b61070b6107eb565b6001600160a01b0316336001600160a01b0316141561026f5760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4016102e6565b60006104ef610988565b3660008037600080366000845af43d6000803e8080156107e1573d6000f35b3d6000fd5b505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b610827836109b0565b6000825111806108345750805b156107e65761084383836106d1565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6108726107eb565b604080516001600160a01b03928316815291841660208301520160405180910390a16103f2816109f0565b6060833b6109135760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016102e6565b600080856001600160a01b03168560405161092e9190610c45565b600060405180830381855af49150503d8060008114610969576040519150601f19603f3d011682016040523d82523d6000602084013e61096e565b606091505b509150915061097e828286610abd565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61080f565b6109b981610af6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b038116610a6c5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102e6565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039290921691909117905550565b60608315610acc5750816106f6565b825115610adc5782518084602001fd5b8160405162461bcd60e51b81526004016102e69190610c61565b803b610b6a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016102e6565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610a8f565b600060208284031215610ba357600080fd5b81356001600160a01b03811681146106f657600080fd5b60008060208385031215610bcd57600080fd5b823567ffffffffffffffff80821115610be557600080fd5b818501915085601f830112610bf957600080fd5b813581811115610c0857600080fd5b866020828501011115610c1a57600080fd5b60209290920196919550909350505050565b600060208284031215610c3e57600080fd5b5035919050565b60008251610c57818460208701610cd3565b9190910192915050565b6020815260008251806020840152610c80816040850160208701610cd3565b601f01601f19169190910160400192915050565b60008219821115610cce577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60005b83811015610cee578181015183820152602001610cd6565b83811115610843575050600091015256fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220aec58eee9d1d945d78611222409e3f62c1c71c922f94b37305f6db9e9cf3079a64736f6c63430008070033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656400000000000000000000000022760a2d81e64381af0fe9b667e94069dca90b0e0000000000000000000000002336d0331138747028a918e76b769b0e07389c7c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c411c34f9100000000000000000000000022d4002028f537599be9f666d1c4fa138522f9c80000000000000000000000005857019c749147eee22b1fe63500f237f3c1b69200000000000000000000000066357dcace80431aee0a7507e2e361b7e2402370000000000000000000000000b0523f9f473812fb195ee49bc7d2ab9873a980440000000000000000000000004164774b77811d30327226c91d9f04b0dc38cd8b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

1538:4891:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2884:11:4;:9;:11::i;:::-;1538:4891:6;;2661:11:4;:9;:11::i;1979:33:6:-;;;;;;;;;;-1:-1:-1;1979:33:6;;;;-1:-1:-1;;;;;1979:33:6;;;;;;-1:-1:-1;;;;;1552:55:7;;;1534:74;;1522:2;1507:18;1979:33:6;;;;;;;;4847:316;;;;;;;;;;;;;:::i;1898:37::-;;;;;;;;;;;;;;;;;;;5593:25:7;;;5581:2;5566:18;1898:37:6;5447:177:7;1941:31:6;;;;;;;;;;;;;;;;1812:38;;;;;;;;;;;;;;;;4499:188;;;;;;;;;;-1:-1:-1;4499:188:6;;;;;:::i;:::-;;:::i;3307:261::-;;;;;;;;;;;;;:::i;4028:157::-;;;;;;;;;;;;;:::i;4390:103::-;;;;;;;;;;-1:-1:-1;4390:103:6;;;;;:::i;:::-;;:::i;1856:36::-;;;;;;;;;;;;;;;;5539:372;;;;;;:::i;:::-;;:::i;3136:165::-;;;;;;;;;;-1:-1:-1;3136:165:6;;;;;:::i;:::-;;:::i;3033:96::-;;;;;;;;;;;;;:::i;2308:110:4:-;2356:17;:15;:17::i;:::-;2383:28;2393:17;:15;:17::i;:::-;2383:9;:28::i;:::-;2308:110::o;4847:316:6:-;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;4903:18:::1;::::0;-1:-1:-1;;;;;4903:18:6::1;4895:71;;;::::0;-1:-1:-1;;;4895:71:6;;2541:2:7;4895:71:6::1;::::0;::::1;2523:21:7::0;2580:2;2560:18;;;2553:30;2619:28;2599:18;;;2592:56;2665:18;;4895:71:6::1;;;;;;;;;5002:21;;4984:15;:39;4976:73;;;::::0;-1:-1:-1;;;4976:73:6;;3303:2:7;4976:73:6::1;::::0;::::1;3285:21:7::0;3342:2;3322:18;;;3315:30;3381:23;3361:18;;;3354:51;3422:18;;4976:73:6::1;3101:345:7::0;4976:73:6::1;5077:18;::::0;5097:9:::1;::::0;;::::1;::::0;::::1;::::0;;;5077:18:::1;5097:9:::0;;;5059:55:::1;::::0;-1:-1:-1;;;;;5077:18:6::1;::::0;5097:9;5059:17:::1;:55::i;:::-;5124:18;:31:::0;;-1:-1:-1;;5124:31:6::1;::::0;;2308:110:4:o;2486:99:6:-;2563:11;:9;:11::i;4499:188::-;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;4576:18:::1;:38:::0;;-1:-1:-1;;4576:38:6::1;-1:-1:-1::0;;;;;4576:38:6;::::1;;::::0;;-1:-1:-1;4666:14:6;4648:32:::1;::::0;:15:::1;:32;:::i;:::-;4624:21;:56:::0;4499:188;:::o;2486:99::-;2563:11;:9;:11::i;:::-;4499:188;:::o;3307:261::-;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;3368:12:::1;::::0;3360:54:::1;;;::::0;-1:-1:-1;;;3360:54:6;;4821:2:7;3360:54:6::1;::::0;::::1;4803:21:7::0;4860:2;4840:18;;;4833:30;4899:26;4879:18;;;4872:54;4943:18;;3360:54:6::1;4619:348:7::0;3360:54:6::1;3451:22;;3432:15;:41;;3424:72;;;::::0;-1:-1:-1;;;3424:72:6;;4067:2:7;3424:72:6::1;::::0;::::1;4049:21:7::0;4106:2;4086:18;;;4079:30;4145:20;4125:18;;;4118:48;4183:18;;3424:72:6::1;3865:342:7::0;3424:72:6::1;3523:12;::::0;;3506:14:::1;:29:::0;;;3545:16;;2308:110:4:o;4028:157:6:-;4104:23;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;4161:17:::1;:15;:17::i;:::-;4143:35;;4028:157:::0;:::o;2486:99::-;2563:11;:9;:11::i;:::-;4028:157;:::o;4390:103::-;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;4464:22:::1;4477:8;4464:12;:22::i;5539:372::-:0;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;5657:18:::1;::::0;-1:-1:-1;;;;;5657:18:6::1;5649:71;;;::::0;-1:-1:-1;;;5649:71:6;;2541:2:7;5649:71:6::1;::::0;::::1;2523:21:7::0;2580:2;2560:18;;;2553:30;2619:28;2599:18;;;2592:56;2665:18;;5649:71:6::1;2339:350:7::0;5649:71:6::1;5756:21;;5738:15;:39;5730:73;;;::::0;-1:-1:-1;;;5730:73:6;;3303:2:7;5730:73:6::1;::::0;::::1;3285:21:7::0;3342:2;3322:18;;;3315:30;3381:23;3361:18;;;3354:51;3422:18;;5730:73:6::1;3101:345:7::0;5730:73:6::1;5831:18;::::0;5813:49:::1;::::0;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;::::1;::::0;-1:-1:-1;;;;;5831:18:6::1;::::0;5851:4;;;;;;5813:49;::::1;5851:4:::0;;;;5813:49;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;5857:4:6::1;::::0;-1:-1:-1;5813:17:6::1;::::0;-1:-1:-1;;5813:49:6:i:1;:::-;5872:18;:31:::0;;-1:-1:-1;;5872:31:6::1;::::0;;5539:372;;:::o;2486:99::-;2563:11;:9;:11::i;:::-;5539:372;;:::o;3136:165::-;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;3206:12:::1;:21:::0;;;3280:14:::1;::::0;3262:32:::1;::::0;:15:::1;:32;:::i;:::-;3237:22;:57:::0;4499:188;:::o;3033:96::-;3076:14;2504:11;:9;:11::i;:::-;-1:-1:-1;;;;;2490:25:6;:10;-1:-1:-1;;;;;2490:25:6;;2486:99;;;3111:11:::1;:9;:11::i;6223:198:0:-:0;6306:12;6337:77;6358:6;6366:4;6337:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6330:84;6223:198;-1:-1:-1;;;6223:198:0:o;771:377::-;1087:20;1133:8;;;771:377::o;6186:241:6:-;6284:11;:9;:11::i;:::-;-1:-1:-1;;;;;6270:25:6;:10;-1:-1:-1;;;;;6270:25:6;;;6249:138;;;;-1:-1:-1;;;6249:138:6;;5174:2:7;6249:138:6;;;5156:21:7;5213:2;5193:18;;;5186:30;5252:34;5232:18;;;5225:62;5323:34;5303:18;;;5296:62;5395:4;5374:19;;;5367:33;5417:19;;6249:138:6;4972:470:7;1235:140:1;1302:12;1333:35;:33;:35::i;934:895:4:-;1272:14;1269:1;1266;1253:34;1486:1;1483;1467:14;1464:1;1448:14;1441:5;1428:60;1562:16;1559:1;1556;1541:38;1600:6;1667:66;;;;1782:16;1779:1;1772:27;1667:66;1702:16;1699:1;1692:27;1593:220;;;934:895;:::o;4293:122:2:-;4337:7;4027:66;4363:39;:45;-1:-1:-1;;;;;4363:45:2;;4293:122;-1:-1:-1;4293:122:2:o;2088:295::-;2226:29;2237:17;2226:10;:29::i;:::-;2283:1;2269:4;:11;:15;:28;;;;2288:9;2269:28;2265:112;;;2313:53;2342:17;2361:4;2313:28;:53::i;:::-;;2088:295;;;:::o;4809:135::-;4873:35;4886:11;:9;:11::i;:::-;4873:35;;;-1:-1:-1;;;;;1872:15:7;;;1854:34;;1924:15;;;1919:2;1904:18;;1897:43;1766:18;4873:35:2;;;;;;;4918:19;4928:8;4918:9;:19::i;6607:387:0:-;6748:12;1087:20;;6772:69;;;;-1:-1:-1;;;6772:69:0;;4414:2:7;6772:69:0;;;4396:21:7;4453:2;4433:18;;;4426:30;4492:34;4472:18;;;4465:62;4563:8;4543:18;;;4536:36;4589:19;;6772:69:0;4212:402:7;6772:69:0;6853:12;6867:23;6894:6;-1:-1:-1;;;;;6894:19:0;6914:4;6894:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6852:67;;;;6936:51;6953:7;6962:10;6974:12;6936:16;:51::i;:::-;6929:58;6607:387;-1:-1:-1;;;;;;6607:387:0:o;1206:140:2:-;1259:7;935:66;1285:48;1599:147:5;1802:152:2;1868:37;1887:17;1868:18;:37::i;:::-;1920:27;;-1:-1:-1;;;;;1920:27:2;;;;;;;;1802:152;:::o;4497:201::-;-1:-1:-1;;;;;4560:22:2;;4552:73;;;;-1:-1:-1;;;4552:73:2;;2896:2:7;4552:73:2;;;2878:21:7;2935:2;2915:18;;;2908:30;2974:34;2954:18;;;2947:62;3045:8;3025:18;;;3018:36;3071:19;;4552:73:2;2694:402:7;4552:73:2;4683:8;4027:66;4635:39;:56;;-1:-1:-1;;4635:56:2;-1:-1:-1;;;;;4635:56:2;;;;;;;;;;-1:-1:-1;4497:201:2:o;7214:692:0:-;7360:12;7388:7;7384:516;;;-1:-1:-1;7418:10:0;7411:17;;7384:516;7529:17;;:21;7525:365;;7723:10;7717:17;7783:15;7770:10;7766:2;7762:19;7755:44;7525:365;7862:12;7855:20;;-1:-1:-1;;;7855:20:0;;;;;;;;:::i;1437:259:2:-;1087:20:0;;1510:95:2;;;;-1:-1:-1;;;1510:95:2;;3653:2:7;1510:95:2;;;3635:21:7;3692:2;3672:18;;;3665:30;3731:34;3711:18;;;3704:62;3802:15;3782:18;;;3775:43;3835:19;;1510:95:2;3451:409:7;1510:95:2;1672:17;935:66;1615:48;1599:147:5;14:309:7;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;-1:-1:-1;;;;;224:5:7;220:54;213:5;210:65;200:93;;289:1;286;279:12;328:591;398:6;406;459:2;447:9;438:7;434:23;430:32;427:52;;;475:1;472;465:12;427:52;515:9;502:23;544:18;585:2;577:6;574:14;571:34;;;601:1;598;591:12;571:34;639:6;628:9;624:22;614:32;;684:7;677:4;673:2;669:13;665:27;655:55;;706:1;703;696:12;655:55;746:2;733:16;772:2;764:6;761:14;758:34;;;788:1;785;778:12;758:34;833:7;828:2;819:6;815:2;811:15;807:24;804:37;801:57;;;854:1;851;844:12;801:57;885:2;877:11;;;;;907:6;;-1:-1:-1;328:591:7;;-1:-1:-1;;;;328:591:7:o;924:180::-;983:6;1036:2;1024:9;1015:7;1011:23;1007:32;1004:52;;;1052:1;1049;1042:12;1004:52;-1:-1:-1;1075:23:7;;924:180;-1:-1:-1;924:180:7:o;1109:274::-;1238:3;1276:6;1270:13;1292:53;1338:6;1333:3;1326:4;1318:6;1314:17;1292:53;:::i;:::-;1361:16;;;;;1109:274;-1:-1:-1;;1109:274:7:o;1951:383::-;2100:2;2089:9;2082:21;2063:4;2132:6;2126:13;2175:6;2170:2;2159:9;2155:18;2148:34;2191:66;2250:6;2245:2;2234:9;2230:18;2225:2;2217:6;2213:15;2191:66;:::i;:::-;2318:2;2297:15;-1:-1:-1;;2293:29:7;2278:45;;;;2325:2;2274:54;;1951:383;-1:-1:-1;;1951:383:7:o;5629:282::-;5669:3;5700:1;5696:6;5693:1;5690:13;5687:193;;;5736:77;5733:1;5726:88;5837:4;5834:1;5827:15;5865:4;5862:1;5855:15;5687:193;-1:-1:-1;5896:9:7;;5629:282::o;5916:258::-;5988:1;5998:113;6012:6;6009:1;6006:13;5998:113;;;6088:11;;;6082:18;6069:11;;;6062:39;6034:2;6027:10;5998:113;;;6129:6;6126:1;6123:13;6120:48;;;-1:-1:-1;;6164:1:7;6146:16;;6139:27;5916:258::o

Swarm Source

ipfs://aec58eee9d1d945d78611222409e3f62c1c71c922f94b37305f6db9e9cf3079a
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.