Contract 0xe22da09d0b847291076bf5691a9d3908eb8cbafe

Contract Overview

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x99c4516c1e73aadb82985daeaa1dfe7d12da9039af16e665aa4a833b19283073Exit(pending)2021-12-09 6:53:561 min ago0x367cd03a90f16a2f7799095e6c5d3a2cfd9721ab IN 0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT(Pending)
0xdc6a33afd05c051400d610ef014af29743e9eb233a5a0cc77ac8fb24c53ccc90Exit(pending)2021-12-09 6:53:561 min ago0x367cd03a90f16a2f7799095e6c5d3a2cfd9721ab IN 0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT(Pending)
0x839d67ba39803dbf13b25929a29b2821a740fadf89042be251f6beb253450d81Exit(pending)2021-12-09 4:39:022 hrs 16 mins ago0x367cd03a90f16a2f7799095e6c5d3a2cfd9721ab IN 0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT(Pending)
0xc786ffcaf66c0824a715d632804224f483d9eea96f68811c857d112c03966da4Exit(pending)2021-12-09 4:39:022 hrs 16 mins ago0x367cd03a90f16a2f7799095e6c5d3a2cfd9721ab IN 0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT(Pending)
0x3565c0b74213e6d4dc3b9196109607b43a7616d7261b6184d9ef0000d234c0c5Exit102614892021-11-23 14:41:3915 days 16 hrs ago0x7d1481f63f063f1ef7b2c09f888fc081b568ff90 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.000832893752.8125
0x900f0de4d02e1c9f97372166dfa520429b04fdf361c4c0876ec09cfca6703522Exit89628252021-10-09 12:26:4360 days 18 hrs ago0x3379b6f381c261544168b2f849f54f5712568e30 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.000563645252.25
0x6d631d2494996186feb33926a3cbdb0af0fe926e84d43e2396c0f9f83226abf7Exit83257442021-09-17 9:30:5482 days 21 hrs ago0xfb97f8ba00a35250783c9b8480fc81b2693e9800 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001071497252.25
0xf25633badf74731888785724de993dfa2b2099b9ba698e5461a1c56a91d268a9Exit81118632021-09-09 23:16:3490 days 7 hrs ago0x401d9db49f555b75c55236628b8e68b3a6a29e79 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001138997252.25
0xdebca3283a3ae57b379c1e36e718d4f9b5e6349f53b36497e60120d8c24ec3aaExit77569462021-08-28 15:30:26102 days 15 hrs ago0x443c5e6ba086f6aa00da7ee9ddc111f135b61198 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001105247252.25
0x16ebdf18277c4aa28629ad162838d828b715b00b8a2aece87de9c5995166408bExit77517312021-08-28 11:09:41102 days 19 hrs ago0xff84e22480eeb6f4f81b3d3e3ef2b53b2b2ea027 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.00101207252.25
0x4badd2c1aaa5587bbca853ab4eeaf6949fc5ed68e289269386bb61256b018072Exit76973562021-08-26 13:50:52104 days 17 hrs ago0xf321ed95bbd3776a7c7d6592d989fae98eae4560 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001138997252.25
0x40232f8b2468235fdd54b49fb918cbdef91c823a274a710dfe293cc72fea6945Exit76075212021-08-23 10:59:04107 days 19 hrs ago0xa9b856365a8136529c26cc0eece07526593264d4 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001105247252.25
0x7c514992d86836f67080926fc830e445ead2c5a3e24286bccf70ba8bec228a9bExit75438842021-08-21 5:57:13110 days 58 mins ago0xf0455cf4516bef5a2c0f3789e136f3bf4c24cb34 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001105247252.25
0xcdb478a9f2180595d6a8d93b798658b5bd1edc6248aabacff56a532f08a896b1Exit75211992021-08-20 11:02:58110 days 19 hrs ago0x0adced5b0b5e19079902ffc87b7f0ce314b7342c IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.00101207252.25
0xd6f4003b9912186704d68fe6cedd622bfd3fa252076183fc16c4834dd3c2d0fcExit75145942021-08-20 5:32:43111 days 1 hr ago0x161619839ebbada5d3c279e1a79c50f7fc4274d6 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001105247252.25
0xe670e41d16431e7df9907842176c0f5513544668fff74fb965bd73bf4c0d46eaExit72973252021-08-12 16:29:03118 days 14 hrs ago0xb410d2a8b78fda835a3f7ad79c6cf6422dbb8406 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001071497252.25
0x3ec650d79cfc03c4a04d81707a9600d30c0df70b4324355d79aa1eb57b0eafd1Exit72413952021-08-10 17:52:32120 days 13 hrs ago0x81210106806bcd45df0fead7c5226cdca1b5edab IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.0014538633
0xdda2c5864d8df574d18f64b6e05e406630448eef18b5f613110075b72c89ed1cExit72394142021-08-10 16:13:29120 days 14 hrs ago0xb2eff946614f9a56833db7eb926d61120e431a54 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001071497252.25
0x4a9b3806075116d36011b52e7f498977337e795719126f2da4390ee0f9c2fa0eExit72079252021-08-09 13:59:02121 days 16 hrs ago0xb4c505c37e429f9a2287840745e48c46d05b7c5a IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001138997252.25
0x91164c026861771f76937acdf7e5071bc4fa1adbc2513db8ab13f2a52c4bfd1bExit72078312021-08-09 13:54:20121 days 17 hrs ago0x69ccba053ef42e77de0058e1bdfbab089c78a471 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001071497252.25
0x3432026bcd61bf7a626e73182c924028ccfa6ecd40ad37b11cbbdae06bd669a0Exit72051562021-08-09 11:40:35121 days 19 hrs ago0xef8926ffc5ec331612a2f490fb44a72e49d7a06e IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.00104582252.25
0x0203feeb661d108f632fb0b9e17a8396e22eb8c8d55144c1a8fbc4a77ded87fdExit71766772021-08-08 11:56:37122 days 18 hrs ago0x0c7117ecefc947df6507d0fc47e8c80eba62e7dc IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001105247252.25
0xae395921b7d39cac9effe1ff21ad84481e7323282cd9e301182373d4907fd51fExit70245522021-08-03 5:10:22128 days 1 hr ago0x2dc73dbb8b9c56ba9362bbf7b81a4c98f8757887 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.00101207252.25
0x5ea91784e802bc795f4aa10c791debc9d6d1e8fba8a4eec5919300736de08159Exit70090622021-08-02 16:15:52128 days 14 hrs ago0x0775b2008b3e9fb3e058b979fb6e0be32ad84e42 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.001071497252.25
0x8eb580bb5855b55c7ef4a9a531dd6fcff1eec9fad139b4606df658ecdc0ad434Get Double Rewar...69912112021-08-02 1:23:19129 days 5 hrs ago0x7d1481f63f063f1ef7b2c09f888fc081b568ff90 IN  0xe22da09d0b847291076bf5691a9d3908eb8cbafe0 HT0.00073435952.25
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AdminUpgradeabilityProxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-05-08
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;


/**
 * @title Proxy
 * @dev Implements delegation of calls to other contracts, with proper
 * forwarding of return values and bubbling of failures.
 * It defines a fallback function that delegates all calls to the address
 * returned by the abstract _implementation() internal function.
 */
abstract contract Proxy {
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  fallback () payable external {
    _fallback();
  }
  
  receive () payable external {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() virtual internal view returns (address);

  /**
   * @dev Delegates execution to an implementation contract.
   * This is a low level function that doesn't return to its internal call site.
   * It will return to the external caller whatever the implementation returns.
   * @param implementation Address to delegate.
   */
  function _delegate(address implementation) internal {
    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 Function that is run as the first thing in the fallback function.
   * Can be redefined in derived contracts to add functionality.
   * Redefinitions must call super._willFallback().
   */
  function _willFallback() virtual internal {
      
  }

  /**
   * @dev fallback implementation.
   * Extracted to enable manual triggering.
   */
  function _fallback() internal {
    if(OpenZeppelinUpgradesAddress.isContract(msg.sender) && msg.data.length == 0 && gasleft() <= 2300)         // for receive ETH only from other contract
        return;
    _willFallback();
    _delegate(_implementation());
  }
}


/**
 * @title BaseUpgradeabilityProxy
 * @dev This contract implements a proxy that allows to change the
 * implementation address to which it will delegate.
 * Such a change is called an implementation upgrade.
 */
abstract contract BaseUpgradeabilityProxy is Proxy {
  /**
   * @dev Emitted when the implementation is upgraded.
   * @param implementation Address of the new implementation.
   */
  event Upgraded(address indexed implementation);

  /**
   * @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 Returns the current implementation.
   * @return impl Address of the current implementation
   */
  function _implementation() override internal view returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    assembly {
      impl := sload(slot)
    }
  }

  /**
   * @dev Upgrades the proxy to a new implementation.
   * @param newImplementation Address of the new implementation.
   */
  function _upgradeTo(address newImplementation) internal {
    _setImplementation(newImplementation);
    emit Upgraded(newImplementation);
  }

  /**
   * @dev Sets the implementation address of the proxy.
   * @param newImplementation Address of the new implementation.
   */
  function _setImplementation(address newImplementation) internal {
    require(OpenZeppelinUpgradesAddress.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}


/**
 * @title BaseAdminUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * All external functions in this contract must be guarded by the
 * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity
 * feature proposal that would enable this to be done automatically.
 */
contract BaseAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Emitted when the administration has been transferred.
   * @param previousAdmin Address of the previous admin.
   * @param newAdmin Address of the new admin.
   */
  event AdminChanged(address previousAdmin, address newAdmin);

  /**
   * @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 Modifier to check whether the `msg.sender` is the admin.
   * If it is, it will run the function. Otherwise, it will delegate the call
   * to the implementation.
   */
  modifier ifAdmin() {
    if (msg.sender == _admin()) {
      _;
    } else {
      _fallback();
    }
  }

  /**
   * @return The address of the proxy admin.
   */
  function admin() external ifAdmin returns (address) {
    return _admin();
  }

  /**
   * @return The address of the implementation.
   */
  function implementation() external ifAdmin returns (address) {
    return _implementation();
  }

  /**
   * @dev Changes the admin of the proxy.
   * Only the current admin can call this function.
   * @param newAdmin Address to transfer proxy administration to.
   */
  function changeAdmin(address newAdmin) external ifAdmin {
    require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
    emit AdminChanged(_admin(), newAdmin);
    _setAdmin(newAdmin);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy.
   * Only the admin can call this function.
   * @param newImplementation Address of the new implementation.
   */
  function upgradeTo(address newImplementation) external ifAdmin {
    _upgradeTo(newImplementation);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy and call a function
   * on the new implementation.
   * This is useful to initialize the proxied contract.
   * @param newImplementation Address of the new implementation.
   * @param data Data to send as msg.data in the low level call.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   */
  function upgradeToAndCall(address newImplementation, bytes calldata data) payable external ifAdmin {
    _upgradeTo(newImplementation);
    (bool success,) = newImplementation.delegatecall(data);
    require(success);
  }

  /**
   * @return adm The admin slot.
   */
  function _admin() internal view returns (address adm) {
    bytes32 slot = ADMIN_SLOT;
    assembly {
      adm := sload(slot)
    }
  }

  /**
   * @dev Sets the address of the proxy admin.
   * @param newAdmin Address of the new proxy admin.
   */
  function _setAdmin(address newAdmin) internal {
    bytes32 slot = ADMIN_SLOT;

    assembly {
      sstore(slot, newAdmin)
    }
  }

  /**
   * @dev Only fall back when the sender is not the admin.
   */
  function _willFallback() virtual override internal {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    //super._willFallback();
  }
}

interface IAdminUpgradeabilityProxyView {
  function admin() external view returns (address);
  function implementation() external view returns (address);
}


/**
 * @title UpgradeabilityProxy
 * @dev Extends BaseUpgradeabilityProxy with a constructor for initializing
 * implementation and init data.
 */
abstract contract UpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Contract constructor.
   * @param _logic Address of the initial implementation.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, bytes memory _data) public payable {
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }  
  
  //function _willFallback() virtual override internal {
    //super._willFallback();
  //}
}


/**
 * @title AdminUpgradeabilityProxy
 * @dev Extends from BaseAdminUpgradeabilityProxy with a constructor for 
 * initializing the implementation, admin, and init data.
 */
contract AdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, UpgradeabilityProxy {
  /**
   * Contract constructor.
   * @param _logic address of the initial implementation.
   * @param _admin Address of the proxy administrator.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, address _admin, bytes memory _data) UpgradeabilityProxy(_logic, _data) public payable {
    assert(ADMIN_SLOT == bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1));
    _setAdmin(_admin);
  }
  
  function _willFallback() override(Proxy, BaseAdminUpgradeabilityProxy) internal {
    super._willFallback();
  }
}


/**
 * @title InitializableUpgradeabilityProxy
 * @dev Extends BaseUpgradeabilityProxy with an initializer for initializing
 * implementation and init data.
 */
abstract contract InitializableUpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Contract initializer.
   * @param _logic Address of the initial implementation.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  function initialize(address _logic, bytes memory _data) public payable {
    require(_implementation() == address(0));
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }  
}


/**
 * @title InitializableAdminUpgradeabilityProxy
 * @dev Extends from BaseAdminUpgradeabilityProxy with an initializer for 
 * initializing the implementation, admin, and init data.
 */
contract InitializableAdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, InitializableUpgradeabilityProxy {
  /**
   * Contract initializer.
   * @param _logic address of the initial implementation.
   * @param _admin Address of the proxy administrator.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  function initialize(address _logic, address _admin, bytes memory _data) public payable {
    require(_implementation() == address(0));
    InitializableUpgradeabilityProxy.initialize(_logic, _data);
    assert(ADMIN_SLOT == bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1));
    _setAdmin(_admin);
  }
  
  function _willFallback() override(Proxy, BaseAdminUpgradeabilityProxy) internal {
    super._willFallback();
  }

}


interface IProxyFactory {
    function productImplementation() external view returns (address);
    function productImplementations(bytes32 name) external view returns (address);
}


/**
 * @title ProductProxy
 * @dev This contract implements a proxy that 
 * it is deploied by ProxyFactory, 
 * and it's implementation is stored in factory.
 */
contract ProductProxy is Proxy {
    
  /**
   * @dev Storage slot with the address of the ProxyFactory.
   * This is the keccak-256 hash of "eip1967.proxy.factory" subtracted by 1, and is
   * validated in the constructor.
   */
  bytes32 internal constant FACTORY_SLOT = 0x7a45a402e4cb6e08ebc196f20f66d5d30e67285a2a8aa80503fa409e727a4af1;

  function productName() virtual public pure returns (bytes32) {
    return 0x0;
  }

  /**
   * @dev Sets the factory address of the ProductProxy.
   * @param newFactory Address of the new factory.
   */
  function _setFactory(address newFactory) internal {
    require(OpenZeppelinUpgradesAddress.isContract(newFactory), "Cannot set a factory to a non-contract address");

    bytes32 slot = FACTORY_SLOT;

    assembly {
      sstore(slot, newFactory)
    }
  }

  /**
   * @dev Returns the factory.
   * @return factory Address of the factory.
   */
  function _factory() internal view returns (address factory) {
    bytes32 slot = FACTORY_SLOT;
    assembly {
      factory := sload(slot)
    }
  }
  
  /**
   * @dev Returns the current implementation.
   * @return Address of the current implementation
   */
  function _implementation() virtual override internal view returns (address) {
    address factory = _factory();
    if(OpenZeppelinUpgradesAddress.isContract(factory))
        return IProxyFactory(factory).productImplementations(productName());
    else
        return address(0);
  }

}


/**
 * @title InitializableProductProxy
 * @dev Extends ProductProxy with an initializer for initializing
 * factory and init data.
 */
contract InitializableProductProxy is ProductProxy {
  /**
   * @dev Contract initializer.
   * @param factory Address of the initial factory.
   * @param data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  function initialize(address factory, bytes memory data) public payable {
    require(_factory() == address(0));
    assert(FACTORY_SLOT == bytes32(uint256(keccak256('eip1967.proxy.factory')) - 1));
    _setFactory(factory);
    if(data.length > 0) {
      (bool success,) = _implementation().delegatecall(data);
      require(success);
    }
  }  
}


/**
 * Utility library of inline functions on addresses
 *
 * Source https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.1.3/contracts/utils/Address.sol
 * This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts
 * when the user imports a zos-lib contract (that transitively causes this contract to be compiled and added to the
 * build/artifacts folder) as well as the vanilla Address implementation from an openzeppelin version.
 */
library OpenZeppelinUpgradesAddress {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param account address of the account to check
     * @return whether the target address is a contract
     */
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

Contract Security Audit

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":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040516108fd3803806108fd8339818101604052606081101561002657600080fd5b8151602083015160408085018051915193959294830192918464010000000082111561005157600080fd5b90830190602082018581111561006657600080fd5b825164010000000081118282018810171561008057600080fd5b82525081516020918201929091019080838360005b838110156100ad578181015183820152602001610095565b50505050905090810190601f1680156100da5780820380516001836020036101000a031916815260200191505b50604052508491508290506100ee826101bf565b8051156101a6576000826001600160a01b0316826040518082805190602001908083835b602083106101315780518252601f199092019160209182019101610112565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610191576040519150601f19603f3d011682016040523d82523d6000602084013e610196565b606091505b50509050806101a457600080fd5b505b506101ae9050565b6101b782610231565b50505061025b565b6101d28161025560201b6103df1760201c565b61020d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806108c2603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b3b151590565b6106588061026a6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100985780635c60da1b146101185780638f28397014610149578063f851a4401461017c5761005d565b3661005d5761005b610191565b005b61005b610191565b34801561007157600080fd5b5061005b6004803603602081101561008857600080fd5b50356001600160a01b03166101d6565b61005b600480360360408110156100ae57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100d957600080fd5b8201836020820111156100eb57600080fd5b8035906020019184600183028401116401000000008311171561010d57600080fd5b509092509050610210565b34801561012457600080fd5b5061012d6102bd565b604080516001600160a01b039092168252519081900360200190f35b34801561015557600080fd5b5061005b6004803603602081101561016c57600080fd5b50356001600160a01b03166102fa565b34801561018857600080fd5b5061012d6103b4565b61019a336103df565b80156101a4575036155b80156101b257506108fc5a11155b156101bc576101d4565b6101c46103e5565b6101d46101cf6103ed565b610412565b565b6101de610436565b6001600160a01b0316336001600160a01b03161415610205576102008161045b565b61020d565b61020d610191565b50565b610218610436565b6001600160a01b0316336001600160a01b031614156102b05761023a8361045b565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d8060008114610297576040519150601f19603f3d011682016040523d82523d6000602084013e61029c565b606091505b50509050806102aa57600080fd5b506102b8565b6102b8610191565b505050565b60006102c7610436565b6001600160a01b0316336001600160a01b031614156102ef576102e86103ed565b90506102f7565b6102f7610191565b90565b610302610436565b6001600160a01b0316336001600160a01b03161415610205576001600160a01b0381166103605760405162461bcd60e51b81526004018080602001828103825260368152602001806105b26036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f610389610436565b604080516001600160a01b03928316815291841660208301528051918290030190a16102008161049b565b60006103be610436565b6001600160a01b0316336001600160a01b031614156102ef576102e8610436565b3b151590565b6101d46104bf565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610431573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61046481610517565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6104c7610436565b6001600160a01b0316336001600160a01b031614156101d45760405162461bcd60e51b81526004018080602001828103825260328152602001806105806032913960400191505060405180910390fd5b610520816103df565b61055b5760405162461bcd60e51b815260040180806020018281038252603b8152602001806105e8603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a26469706673582212205fbf8de93f535c1bd72b02e10405ac31ce7f18f5bb41a36a7c5920cbec11807d64736f6c634300060c003343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000000000000000000e6a8cb0a06903519eea1c0f3fe5b51278a793da3000000000000000000000000d14def897ff57c65fb5d1011b29f966d9821d69000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000e6a8cb0a06903519eea1c0f3fe5b51278a793da3000000000000000000000000d14def897ff57c65fb5d1011b29f966d9821d69000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0xe6a8cb0a06903519eea1c0f3fe5b51278a793da3
Arg [1] : _admin (address): 0xd14def897ff57c65fb5d1011b29f966d9821d690
Arg [2] : _data (bytes): 0x

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e6a8cb0a06903519eea1c0f3fe5b51278a793da3
Arg [1] : 000000000000000000000000d14def897ff57c65fb5d1011b29f966d9821d690
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

9584:1025:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;574:11;:9;:11::i;:::-;9584:1025;;514:11;:9;:11::i;6481:105::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6481:105:0;-1:-1:-1;;;;;6481:105:0;;:::i;7114:225::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7114:225:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7114:225:0;;-1:-1:-1;7114:225:0;-1:-1:-1;7114:225:0;:::i;5781:98::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;5781:98:0;;;;;;;;;;;;;;6062:228;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6062:228:0;-1:-1:-1;;;;;6062:228:0;;:::i;5632:80::-;;;;;;;;;;;;;:::i;2156:267::-;2196:50;2235:10;2196:38;:50::i;:::-;:74;;;;-1:-1:-1;2250:8:0;:20;2196:74;:95;;;;;2287:4;2274:9;:17;;2196:95;2193:168;;;2354:7;;2193:168;2367:15;:13;:15::i;:::-;2389:28;2399:17;:15;:17::i;:::-;2389:9;:28::i;:::-;2156:267::o;6481:105::-;5499:8;:6;:8::i;:::-;-1:-1:-1;;;;;5485:22:0;:10;-1:-1:-1;;;;;5485:22:0;;5481:80;;;6551:29:::1;6562:17;6551:10;:29::i;:::-;5481:80:::0;;;5542:11;:9;:11::i;:::-;6481:105;:::o;7114:225::-;5499:8;:6;:8::i;:::-;-1:-1:-1;;;;;5485:22:0;:10;-1:-1:-1;;;;;5485:22:0;;5481:80;;;7220:29:::1;7231:17;7220:10;:29::i;:::-;7257:12;7274:17;-1:-1:-1::0;;;;;7274:30:0::1;7305:4;;7274:36;;;;;;;;;;::::0;;::::1;::::0;-1:-1:-1;7274:36:0::1;::::0;-1:-1:-1;7274:36:0;;-1:-1:-1;;7274:36:0;;::::1;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7256:54;;;7325:7;7317:16;;;::::0;::::1;;5518:1;5481:80:::0;;;5542:11;:9;:11::i;:::-;7114:225;;;:::o;5781:98::-;5833:7;5499:8;:6;:8::i;:::-;-1:-1:-1;;;;;5485:22:0;:10;-1:-1:-1;;;;;5485:22:0;;5481:80;;;5856:17:::1;:15;:17::i;:::-;5849:24;;5481:80:::0;;;5542:11;:9;:11::i;:::-;5781:98;:::o;6062:228::-;5499:8;:6;:8::i;:::-;-1:-1:-1;;;;;5485:22:0;:10;-1:-1:-1;;;;;5485:22:0;;5481:80;;;-1:-1:-1;;;;;6133:22:0;::::1;6125:89;;;;-1:-1:-1::0;;;6125:89:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6226:32;6239:8;:6;:8::i;:::-;6226:32;::::0;;-1:-1:-1;;;;;6226:32:0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;6265:19;6275:8;6265:9;:19::i;5632:80::-:0;5675:7;5499:8;:6;:8::i;:::-;-1:-1:-1;;;;;5485:22:0;:10;-1:-1:-1;;;;;5485:22:0;;5481:80;;;5698:8:::1;:6;:8::i;16975:627::-:0;17547:20;17586:8;;;16975:627::o;10492:114::-;10579:21;:19;:21::i;3349:170::-;3158:66;3496:11;;3479:35::o;1021:762::-;1328:14;1325:1;1322;1309:34;1528:1;1525;1509:14;1506:1;1490:14;1483:5;1470:60;1595:16;1592:1;1589;1574:38;1629:6;1686:38;;;;1752:16;1749:1;1742:27;1686:38;1705:16;1702:1;1695:27;7393:141;5192:66;7511:11;;7495:34::o;3660:145::-;3723:37;3742:17;3723:18;:37::i;:::-;3772:27;;-1:-1:-1;;;;;3772:27:0;;;;;;;;3660:145;:::o;7656:139::-;5192:66;7761:22;7752:38::o;7875:179::-;7955:8;:6;:8::i;:::-;-1:-1:-1;;;;;7941:22:0;:10;-1:-1:-1;;;;;7941:22:0;;;7933:85;;;;-1:-1:-1;;;7933:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3948:313;4027:57;4066:17;4027:38;:57::i;:::-;4019:129;;;;-1:-1:-1;;;4019:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3158:66;4218:31;4209:47::o

Swarm Source

ipfs://5fbf8de93f535c1bd72b02e10405ac31ce7f18f5bb41a36a7c5920cbec11807d
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading