Contract 0x684d8c187be836171a1Af8D533e4724893031828 1

DeFi  
 

Contract Overview

Tetu: TetuSwap Factory
Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x96e3b82643e7a905ffb4bd2401754b1309f126732b6999d090208179adfe4328Create Pair282320282022-05-12 14:22:08317 days 22 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC1.222730722413 323.737179359
0x4fbf3278ce0709b8ad77f27e7ec93e3240e99164a6ce400b98a47ca93ddda2c4Create Pair276810962022-04-28 15:00:23331 days 22 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.157606658927 41.989767006
0x597c56ecd746aa4131183f7e1fb1899730c805f675769a02eed1098966d8bb4bCreate Pair276768012022-04-28 12:24:09332 days 56 mins agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.11286636122 30.069999851
0x020a9aebd4784f761614265b7ecfe053b69b21d36cf0ed5f3e1d9a099d4319b8Create Pair268851572022-04-08 9:17:42352 days 4 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.13165894 35
0xacf04044af486a2b120ef000e19ffdfdb464fbb9beac65a8be0ab0cca72c1cf0Create Pair268850802022-04-08 9:13:44352 days 4 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.112856310786 30.000000209
0x3048f337b681d429340da289eeb38109bf15d4ea750cf5f3ea4ad3b517c42767Create Pair268107892022-04-06 10:57:59354 days 2 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.112782526616 30.069999999
0xf76f022003e5e6512ba85823865b2955911700534134fe83d773dd491761e0edCreate Pair262998652022-03-24 8:48:17367 days 4 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.113202247386 30.005608018
0x02bc5e5566197e46fda546aa96dd0b22342ffc0db67f8a6b99019dc07483d03bCreate Pair255295232022-03-03 10:58:47388 days 2 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.12423221648 33.040263424
0x16e0a477e30681a967cfe8f3a953ae8d0adb3da86b7780f63afa5cb039a3958dCreate Pair246657822022-02-07 18:30:06411 days 18 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.113492938236 30.186218864
0x71f1816bbaee210cd085580a2c04971edac2b6d51dd80faeec782addb47539f2Create Pair233113922022-01-03 19:38:57446 days 17 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.583394735155
0x6ee075f87d499c6e105f2ef88221b982f618209740e42e4e32f4c37c4e3d99deCreate Pair233112762022-01-03 19:34:19446 days 17 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.937509250
0x340f62d34b88afd8b3d38fcad296af2a0e2de91e3e116af942ff87966e9d81e0Create Pair226289632021-12-17 11:05:09464 days 2 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.188188650
0x54d91b455c08063bd2ffbd73843539ab83e58da2dea7a2c5da2b20c5af0361aaCreate Pair226289422021-12-17 11:03:03464 days 2 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1884852550
0x3cb92b3cbec6a744749cb516683a5aa0461afe12611cbf32101e11c0a78d599cCreate Pair222337382021-12-07 9:00:38474 days 4 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1129327530
0xbbd80b4eed2be35501492e4d09b4ea3554b684ad1e1e721ecbc374c45f7cafe6Create Pair222334382021-12-07 8:50:18474 days 4 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1131674130
0xc6dca60eef30089da1734c6bd0692309e58fdaed3d10e881010bb54bf9e1d1adCreate Pair214391852021-11-16 13:24:27494 days 23 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1004172151426.62
0xe2d1c67563c3820db4377021950c1168056ea17df1603f683a64a979d551cc1eCreate Pair204834022021-10-22 9:57:23520 days 3 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1119510930
0x3428f9adb5aabf2d53ea0f6eb11687db046c6fbc074ebf86e2ed2675ebb64f72Create Pair204834022021-10-22 9:57:23520 days 3 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.002702950
0xc4a0ab127a377df5b9bf95349cf33c271b084ec99df665f4bb0c62730d88efbfCreate Pair204830512021-10-22 9:43:09520 days 3 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1121910630
0x72a0fc0fb4f51cb455726b2129598f7e888d71e319a777bc6fa81b72454a6681Create Pair204830482021-10-22 9:43:03520 days 3 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1121910630
0xcbb49cf053b914a0f2fcbce619fe1e464ca16122955f75222e04fae1c0d2d87fCreate Pair204830442021-10-22 9:42:55520 days 3 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1123567230
0x451a6f8a29b8c4b54349dfbe9cc2ca8db04aef4d8fdec046e32f7b7ab69472caCreate Pair204830402021-10-22 9:42:47520 days 3 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.1119530430
0xdbb46569905b17d41a97389ebc4a9da9cb4e37980bf75aad1ca1bf5f19d3269bCreate Pair203957542021-10-19 23:27:17522 days 13 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.0041426543581.110000013
0xf6354cd76f8595414ea5dfca85f6e76a5867bbf59c8fd6f9a583ef03c1687e3aCreate Pair203957222021-10-19 23:26:13522 days 13 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.0045666072071.221000014
0x4c4030c470f7e78c1be514cdb4271ff166f99f726c1ce7be2752be29108ff7c6Create Pair203956772021-10-19 23:23:31522 days 13 hrs agoTETU Reward: Deployer IN  Tetu: TetuSwap Factory0 MATIC0.00199810401830.956759137
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x96e3b82643e7a905ffb4bd2401754b1309f126732b6999d090208179adfe4328282320282022-05-12 14:22:08317 days 22 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x4fbf3278ce0709b8ad77f27e7ec93e3240e99164a6ce400b98a47ca93ddda2c4276810962022-04-28 15:00:23331 days 22 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x597c56ecd746aa4131183f7e1fb1899730c805f675769a02eed1098966d8bb4b276768012022-04-28 12:24:09332 days 56 mins ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x020a9aebd4784f761614265b7ecfe053b69b21d36cf0ed5f3e1d9a099d4319b8268851572022-04-08 9:17:42352 days 4 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xacf04044af486a2b120ef000e19ffdfdb464fbb9beac65a8be0ab0cca72c1cf0268850802022-04-08 9:13:44352 days 4 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x3048f337b681d429340da289eeb38109bf15d4ea750cf5f3ea4ad3b517c42767268107892022-04-06 10:57:59354 days 2 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xf76f022003e5e6512ba85823865b2955911700534134fe83d773dd491761e0ed262998652022-03-24 8:48:17367 days 4 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x02bc5e5566197e46fda546aa96dd0b22342ffc0db67f8a6b99019dc07483d03b255295232022-03-03 10:58:47388 days 2 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x16e0a477e30681a967cfe8f3a953ae8d0adb3da86b7780f63afa5cb039a3958d246657822022-02-07 18:30:06411 days 18 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x71f1816bbaee210cd085580a2c04971edac2b6d51dd80faeec782addb47539f2233113922022-01-03 19:38:57446 days 17 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x6ee075f87d499c6e105f2ef88221b982f618209740e42e4e32f4c37c4e3d99de233112762022-01-03 19:34:19446 days 17 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x340f62d34b88afd8b3d38fcad296af2a0e2de91e3e116af942ff87966e9d81e0226289632021-12-17 11:05:09464 days 2 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x54d91b455c08063bd2ffbd73843539ab83e58da2dea7a2c5da2b20c5af0361aa226289422021-12-17 11:03:03464 days 2 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x3cb92b3cbec6a744749cb516683a5aa0461afe12611cbf32101e11c0a78d599c222337382021-12-07 9:00:38474 days 4 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xbbd80b4eed2be35501492e4d09b4ea3554b684ad1e1e721ecbc374c45f7cafe6222334382021-12-07 8:50:18474 days 4 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xc6dca60eef30089da1734c6bd0692309e58fdaed3d10e881010bb54bf9e1d1ad214391852021-11-16 13:24:27494 days 23 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xe2d1c67563c3820db4377021950c1168056ea17df1603f683a64a979d551cc1e204834022021-10-22 9:57:23520 days 3 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xc4a0ab127a377df5b9bf95349cf33c271b084ec99df665f4bb0c62730d88efbf204830512021-10-22 9:43:09520 days 3 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x72a0fc0fb4f51cb455726b2129598f7e888d71e319a777bc6fa81b72454a6681204830482021-10-22 9:43:03520 days 3 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xcbb49cf053b914a0f2fcbce619fe1e464ca16122955f75222e04fae1c0d2d87f204830442021-10-22 9:42:55520 days 3 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x451a6f8a29b8c4b54349dfbe9cc2ca8db04aef4d8fdec046e32f7b7ab69472ca204830402021-10-22 9:42:47520 days 3 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xdbb46569905b17d41a97389ebc4a9da9cb4e37980bf75aad1ca1bf5f19d3269b203957542021-10-19 23:27:17522 days 13 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xf6354cd76f8595414ea5dfca85f6e76a5867bbf59c8fd6f9a583ef03c1687e3a203957222021-10-19 23:26:13522 days 13 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0xc0d8b1af5703be3b649a7b48eab9f84d42eb01fa36bdae652f89a5a769d18ec3203949232021-10-19 22:48:23522 days 14 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
0x28992c7a357a8698f622950db422c4c62414091e572e48ee681dd67b9c4a853b203523792021-10-18 16:58:03523 days 20 hrs ago Tetu: TetuSwap Factory  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TetuProxyControlled

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : TetuProxyControlled.sol
// SPDX-License-Identifier: ISC
/**
* By using this software, you understand, acknowledge and accept that Tetu
* and/or the underlying software are provided “as is” and “as available”
* basis and without warranties or representations of any kind either expressed
* or implied. Any use of this open source software released under the ISC
* Internet Systems Consortium license is done at your own risk to the fullest
* extent permissible pursuant to applicable law any and all liability as well
* as all warranties, including any fitness for a particular purpose with respect
* to Tetu and/or the underlying software and the use thereof are disclaimed.
*/

pragma solidity 0.8.4;

import "../base/interface/IControllable.sol";
import "./UpgradeableProxy.sol";
import "./interface/ITetuProxy.sol";

/// @title EIP1967 Upgradable proxy implementation.
/// @dev Only Controller has access and should implement time-lock for upgrade action.
/// @author belbix
contract TetuProxyControlled is UpgradeableProxy, ITetuProxy {

  constructor(address _logic) UpgradeableProxy(_logic) {
  }

  /// @notice Upgrade contract logic
  /// @dev Upgrade allowed only for Controller and should be done only after time-lock period
  /// @param _newImplementation Implementation address
  function upgrade(address _newImplementation) external override {
    require(IControllable(address(this)).isController(msg.sender), "forbidden");
    _upgradeTo(_newImplementation);

    // the new contract must have the same ABI and you must have the power to change it again
    require(IControllable(address(this)).isController(msg.sender), "wrong impl");
  }

  /// @notice Return current logic implementation
  function implementation() external override view returns (address) {
    return _implementation();
  }
}

File 2 of 6 : IControllable.sol
// SPDX-License-Identifier: ISC
/**
* By using this software, you understand, acknowledge and accept that Tetu
* and/or the underlying software are provided “as is” and “as available”
* basis and without warranties or representations of any kind either expressed
* or implied. Any use of this open source software released under the ISC
* Internet Systems Consortium license is done at your own risk to the fullest
* extent permissible pursuant to applicable law any and all liability as well
* as all warranties, including any fitness for a particular purpose with respect
* to Tetu and/or the underlying software and the use thereof are disclaimed.
*/

pragma solidity 0.8.4;

interface IControllable {

  function isController(address _contract) external view returns (bool);

  function isGovernance(address _contract) external view returns (bool);
}

File 3 of 6 : UpgradeableProxy.sol
// SPDX-License-Identifier: ISC
/**
* By using this software, you understand, acknowledge and accept that Tetu
* and/or the underlying software are provided “as is” and “as available”
* basis and without warranties or representations of any kind either expressed
* or implied. Any use of this open source software released under the ISC
* Internet Systems Consortium license is done at your own risk to the fullest
* extent permissible pursuant to applicable law any and all liability as well
* as all warranties, including any fitness for a particular purpose with respect
* to Tetu and/or the underlying software and the use thereof are disclaimed.
*/

pragma solidity 0.8.4;

import "@openzeppelin/contracts/proxy/Proxy.sol";
import "@openzeppelin/contracts/utils/Address.sol";


/// @title OpenZeppelin https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/proxy/UpgradeableProxy.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.
///      Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
///      {TransparentUpgradeableProxy}.
abstract contract UpgradeableProxy is Proxy {

  /// @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) payable {
    assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
    _setImplementation(_logic);
  }

  /// @dev Emitted when the implementation is upgraded.
  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 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

  /// @dev Returns the current implementation address.
  function _implementation() internal view virtual override returns (address impl) {
    bytes32 slot = _IMPLEMENTATION_SLOT;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      impl := sload(slot)
    }
  }

  /// @dev Upgrades the proxy to a new implementation.
  ///      Emits an {Upgraded} event.
  function _upgradeTo(address newImplementation) internal virtual {
    _setImplementation(newImplementation);
    emit Upgraded(newImplementation);
  }

  /// @dev Stores a new address in the EIP1967 implementation slot.
  function _setImplementation(address newImplementation) private {
    require(Address.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract");

    bytes32 slot = _IMPLEMENTATION_SLOT;

    // solhint-disable-next-line no-inline-assembly
    assembly {
      sstore(slot, newImplementation)
    }
  }
}

File 4 of 6 : ITetuProxy.sol
// SPDX-License-Identifier: ISC
/**
* By using this software, you understand, acknowledge and accept that Tetu
* and/or the underlying software are provided “as is” and “as available”
* basis and without warranties or representations of any kind either expressed
* or implied. Any use of this open source software released under the ISC
* Internet Systems Consortium license is done at your own risk to the fullest
* extent permissible pursuant to applicable law any and all liability as well
* as all warranties, including any fitness for a particular purpose with respect
* to Tetu and/or the underlying software and the use thereof are disclaimed.
*/

pragma solidity 0.8.4;

interface ITetuProxy {

  function upgrade(address _newImplementation) external;

  function implementation() external returns (address);

}

File 5 of 6 : Proxy.sol
// SPDX-License-Identifier: MIT

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 6 of 6 : Address.sol
// SPDX-License-Identifier: MIT

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161058938038061058983398101604081905261002f91610136565b8061005b60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610164565b6000805160206105698339815191521461008557634e487b7160e01b600052600160045260246000fd5b61008e81610095565b5050610187565b6100a88161013060201b6102541760201c565b61011e5760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e746160448201527f74696f6e206973206e6f74206120636f6e747261637400000000000000000000606482015260840160405180910390fd5b60008051602061056983398151915255565b3b151590565b600060208284031215610147578081fd5b81516001600160a01b038116811461015d578182fd5b9392505050565b60008282101561018257634e487b7160e01b81526011600452602481fd5b500390565b6103d3806101966000396000f3fe60806040526004361061002d5760003560e01c80630900f010146100445780635c60da1b146100645761003c565b3661003c5761003a610095565b005b61003a610095565b34801561005057600080fd5b5061003a61005f36600461034f565b6100c7565b34801561007057600080fd5b50610079610225565b6040516001600160a01b03909116815260200160405180910390f35b6100c56100c07f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b61025a565b565b60405163b429afeb60e01b8152336004820152309063b429afeb9060240160206040518083038186803b1580156100fd57600080fd5b505afa158015610111573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610135919061037d565b6101725760405162461bcd60e51b81526020600482015260096024820152683337b93134b23232b760b91b60448201526064015b60405180910390fd5b61017b8161027e565b60405163b429afeb60e01b8152336004820152309063b429afeb9060240160206040518083038186803b1580156101b157600080fd5b505afa1580156101c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e9919061037d565b6102225760405162461bcd60e51b815260206004820152600a6024820152691ddc9bdb99c81a5b5c1b60b21b6044820152606401610169565b50565b600061024f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b3b151590565b3660008037600080366000845af43d6000803e808015610279573d6000f35b3d6000fd5b610287816102be565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b803b61032b5760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e74616044820152751d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd60521b6064820152608401610169565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b600060208284031215610360578081fd5b81356001600160a01b0381168114610376578182fd5b9392505050565b60006020828403121561038e578081fd5b81518015158114610376578182fdfea26469706673582212201e41c59bb597d5becab8691368e51b7d8e33524830f34e200a1aee26850347ab64736f6c63430008040033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc000000000000000000000000a5e288d50612459accada62d48210a6d0a7c87cc

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

000000000000000000000000a5e288d50612459accada62d48210a6d0a7c87cc

-----Decoded View---------------
Arg [0] : _logic (address): 0xa5e288d50612459accada62d48210a6d0a7c87cc

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5e288d50612459accada62d48210a6d0a7c87cc


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