Contract 0x805ba50001779ced4f59cff63aea527d12b94829

 

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3ee3903f3b272437e3664c59070eb55efe7a6a039d663511fcf2e2a3e52acefaTransfer433578842022-12-03 20:42:092 days 4 hrs ago0x4d4025858175850aa10fc228d06c4c3ac765d25f IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00003282
0x74a0ff6419715838463e0bd7d3f49ad12df725d5c19b3cfc9315d6da09bd88c2Transfer427203352022-12-01 13:58:534 days 11 hrs ago0x6de6b4f6f498afd7dc6e609e8d3093143d413d62 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00003988
0x22a901b47937db3b46e0e86ee5195adc4a414d17b8618a2a1819ba58a7305d39Approve424472722022-11-30 13:30:005 days 11 hrs ago0x749a034dc0df751c6a59e7e78fe83825170d16ec IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00020278
0xe9f40f87f078944dca1c70d7e69245a81857c4c2c859b81a03b95e54412d185dApprove419389142022-11-28 17:38:507 days 7 hrs ago0x81c3b9e2498ee0bb596e24b8eed6afbefa2a933b IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00003752
0x75e1f3d2edd0e943be72f133b0093c9890ed93d67a047f379cb729b3ffdf347eTransfer406401862022-11-23 20:01:4212 days 5 hrs ago0x04ad3f3ec23ba3ccdbad8a211dd10b13e5b58f05 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00005205
0x46add16b8fbeb6f6881c5091c774509f94a9b794433ae78a06ac67d4da1cbe5cTransfer405033292022-11-23 9:28:3512 days 15 hrs ago0x43a66d39c830174ad5d06a68e2fe21e748dea8b3 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004376
0xbe387f9010378f0173a4250b879131317145a1b1a17d311cafa7cff7aabc523eApprove403055842022-11-22 16:58:4413 days 8 hrs ago0x7b86b43cc1e2d568398ceed8fc74338dc9f9d193 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00002761
0xdfbd340f128f0fc38f62567a544268ec3ac91c5592f3a4ae74e022eafd42cdaeTransfer401210732022-11-22 3:01:1013 days 22 hrs ago0xc0fa8bf817d4950897de103d15371170e73d2467 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004442
0x9d19e01b662a4091f6ad395c6a04330b2ba6888dc0e35f540c13a1b2a1dcd9d0Transfer386777812022-11-17 0:02:1319 days 1 hr ago0x4f95ad114fbddf8df0756017e9bc856e730b2796 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00007349
0x281b4e8b14e5fefa8a5cb2b70e677c1b3e7f3ebb6d049c8ba84fe6a50ec10a93Transfer374107672022-11-12 5:24:2523 days 19 hrs ago0x0722af5eba7b8feb47b32877314e2381609f34ec IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00006154
0x254cb14ed49c3a27f86a36bf8e7b804fc2420ff2ccbab4fe9aafd15c5f596108Transfer374087582022-11-12 5:14:0723 days 20 hrs ago0x573afdba97e9d31d8cf7255a7334220e5c0c040c IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.0000713
0x886a725947161c20831001e8255cfe6081707dc2b732ec040ede4e7d33471701Transfer373995502022-11-12 4:24:5223 days 20 hrs ago0xb8a85e1226aea60673dfec78708fe246f7be82a4 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004882
0x1eafc967a20fcaa4cd794c792f68f5b00a35516838207ede273e09029a6df64dTransfer366099162022-11-09 12:20:0726 days 12 hrs ago0x9569e90d2c10215219eaa141a4850a03d6171159 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00007105
0x71c3f4348919e2986d9eb583607d819579167eff3a12498698f029e489d9e9baTransfer364138592022-11-08 20:22:1427 days 4 hrs ago0x743d30589bd79917344a7e7abb56377cac22f143 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004818
0x984ef7379e904f76beb0cfc82c0ed9b74cec27e55441464f266f6b7cdd3387a5Transfer362712312022-11-08 9:54:3127 days 15 hrs ago0x4f95ad114fbddf8df0756017e9bc856e730b2796 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004276
0x6bb910117cfbde7eac6ae3d797f706dc25eaabed98f8f31c340b2c05400281ccTransfer359699232022-11-07 9:33:1728 days 15 hrs ago0xd4a5d86fcd17c271cb87edcb36d08f6c92c4e92f IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004643
0x05da7987c51db7ae6c696192cd008fa2f2b6ac283d4eda49cbfc269a9c003271Transfer359688252022-11-07 9:28:0128 days 15 hrs ago0xd4a5d86fcd17c271cb87edcb36d08f6c92c4e92f IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004496
0xaaff7e39c466960852e3ef7f2f519d9666f09871a01528683fc3fd67686f6c64Transfer359685352022-11-07 9:26:4028 days 15 hrs ago0xd4a5d86fcd17c271cb87edcb36d08f6c92c4e92f IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004495
0x6aba8d6d13c7edc7a36a0ea89407b34a40272c040f22b0da6a8dc0deb7c53fdcTransfer359683032022-11-07 9:25:3128 days 15 hrs ago0xd4a5d86fcd17c271cb87edcb36d08f6c92c4e92f IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004495
0x913e71d02dcc13d354ed58627801980aad90895fa99e9d8336234b280c036f13Transfer358481382022-11-06 22:48:4929 days 2 hrs ago0x54949ca5094fd4216dea5a342996f23a5bceea53 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00003997
0x2b761109b8a809cc1e303b6f061f629f0f087e5d8d96731d0312577a2af77031Transfer351950612022-11-04 12:19:3531 days 12 hrs ago0x4f95ad114fbddf8df0756017e9bc856e730b2796 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00021437
0xe5f8cd31a9da94c1598e17f0ba013c822285c251c58efd489732ee12be008ac3Transfer348420712022-11-03 1:52:5432 days 23 hrs ago0x58cfc8ee8abd18fa1cf8f003f71376f32fb7d391 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00004503
0x65fe55d714f5e009af720a332619aee53a1077c803cf6fa1e44449fa9a74db80Transfer347837862022-11-02 19:49:4633 days 5 hrs ago0x6cc47e23db1047c1e9f2a2c7f5083ea3b469ceb9 IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00008034
0x04011bf26a629ece84a2b54f1e233cf8c17204718bec6355f4c2ab4e5005f501Transfer346669352022-11-02 9:32:0333 days 15 hrs ago0x1be18de3aa85ef2d69edb57d2b1804c3a0a3db2a IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.0000401
0x266230532c3a52484433dbcf90b57f1e3243cdfaf00621e6a708d2219a4c554fTransfer345904822022-11-02 1:21:5533 days 23 hrs ago0xf882cd6b977feef60dd01462657c827a952c38ee IN  0x805ba50001779ced4f59cff63aea527d12b948290 ETH0.00003889
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Chef Incentives Controller0 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Chef Incentives Controller0 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Lending Pool Logic0 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0xf79fdcbaed592fda552eebad2a1b9e48cc8f94764259148b5c7c8cb272a1edd2439486852022-12-06 1:17:491 min ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0x9793450e8bf64d46c28036cd2cf9e8eb2ca5543a1cb5771a36b3b43229a3b47f439477882022-12-06 1:12:346 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0x9793450e8bf64d46c28036cd2cf9e8eb2ca5543a1cb5771a36b3b43229a3b47f439477882022-12-06 1:12:346 mins ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0x9793450e8bf64d46c28036cd2cf9e8eb2ca5543a1cb5771a36b3b43229a3b47f439477882022-12-06 1:12:346 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Chef Incentives Controller0 ETH
0x9793450e8bf64d46c28036cd2cf9e8eb2ca5543a1cb5771a36b3b43229a3b47f439477882022-12-06 1:12:346 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0x9793450e8bf64d46c28036cd2cf9e8eb2ca5543a1cb5771a36b3b43229a3b47f439477882022-12-06 1:12:346 mins ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0x548c113f486c3c742b7340552750b2e65af052ce04aea1c86b5c4f3bd52ebeb6439475912022-12-06 1:11:247 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Lending Pool Logic0 ETH
0x548c113f486c3c742b7340552750b2e65af052ce04aea1c86b5c4f3bd52ebeb6439475912022-12-06 1:11:247 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0x548c113f486c3c742b7340552750b2e65af052ce04aea1c86b5c4f3bd52ebeb6439475912022-12-06 1:11:247 mins ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0x37a1862e6016434f577bb7a8233dbe76a7cb14530e5138db77d33fdbfec2075c439475132022-12-06 1:10:568 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Chef Incentives Controller0 ETH
0x37a1862e6016434f577bb7a8233dbe76a7cb14530e5138db77d33fdbfec2075c439475132022-12-06 1:10:568 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0x37a1862e6016434f577bb7a8233dbe76a7cb14530e5138db77d33fdbfec2075c439475132022-12-06 1:10:568 mins ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0x37a1862e6016434f577bb7a8233dbe76a7cb14530e5138db77d33fdbfec2075c439475132022-12-06 1:10:568 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Chef Incentives Controller0 ETH
0x37a1862e6016434f577bb7a8233dbe76a7cb14530e5138db77d33fdbfec2075c439475132022-12-06 1:10:568 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 0xe06cd7763d46c406b92ccdf817451fe4b65cbe550 ETH
0x37a1862e6016434f577bb7a8233dbe76a7cb14530e5138db77d33fdbfec2075c439475132022-12-06 1:10:568 mins ago Radiant: Lending Pool Logic 0x805ba50001779ced4f59cff63aea527d12b948290 ETH
0x65108ffaeaa242eef72d2bfb1df4bc465e8632d7f9b473118c167636a9299a1a439472772022-12-06 1:09:179 mins ago 0x805ba50001779ced4f59cff63aea527d12b94829 Radiant: Lending Pool Logic0 ETH
[ Download CSV Export 
Loading

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

Contract Name:
InitializableImmutableAdminUpgradeabilityProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : InitializableImmutableAdminUpgradeabilityProxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

import './BaseImmutableAdminUpgradeabilityProxy.sol';
import '../../../dependencies/openzeppelin/upgradeability/InitializableUpgradeabilityProxy.sol';

/**
 * @title InitializableAdminUpgradeabilityProxy
 * @dev Extends BaseAdminUpgradeabilityProxy with an initializer function
 */
contract InitializableImmutableAdminUpgradeabilityProxy is
  BaseImmutableAdminUpgradeabilityProxy,
  InitializableUpgradeabilityProxy
{
  constructor(address admin) BaseImmutableAdminUpgradeabilityProxy(admin) {}

  /**
   * @dev Only fall back when the sender is not the admin.
   */
  function _willFallback() internal override(BaseImmutableAdminUpgradeabilityProxy, Proxy) {
    BaseImmutableAdminUpgradeabilityProxy._willFallback();
  }
}

File 2 of 6 : BaseImmutableAdminUpgradeabilityProxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

import '../../../dependencies/openzeppelin/upgradeability/BaseUpgradeabilityProxy.sol';

/**
 * @title BaseImmutableAdminUpgradeabilityProxy
 * @author Aave, inspired by the OpenZeppelin upgradeability proxy pattern
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks. The admin role is stored in an immutable, which
 * helps saving transactions costs
 * 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 BaseImmutableAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {
  address immutable ADMIN;

  constructor(address admin) {
    ADMIN = admin;
  }

  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 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)
    external
    payable
    ifAdmin
  {
    _upgradeTo(newImplementation);
    (bool success, ) = newImplementation.delegatecall(data);
    require(success);
  }

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

File 3 of 6 : InitializableUpgradeabilityProxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

import './BaseUpgradeabilityProxy.sol';

/**
 * @title InitializableUpgradeabilityProxy
 * @dev Extends BaseUpgradeabilityProxy with an initializer for initializing
 * implementation and init data.
 */
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);
    }
  }
}

File 4 of 6 : BaseUpgradeabilityProxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

import './Proxy.sol';
import '../contracts/Address.sol';

/**
 * @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.
 */
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() internal view override returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    //solium-disable-next-line
    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(
      Address.isContract(newImplementation),
      'Cannot set a proxy implementation to a non-contract address'
    );

    bytes32 slot = IMPLEMENTATION_SLOT;

    //solium-disable-next-line
    assembly {
      sstore(slot, newImplementation)
    }
  }
}

File 5 of 6 : Proxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

/**
 * @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() external payable {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal view virtual 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 {
    //solium-disable-next-line
    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() internal virtual {}

  /**
   * @dev fallback implementation.
   * Extracted to enable manual triggering.
   */
  function _fallback() internal {
    _willFallback();
    _delegate(_implementation());
  }
}

File 6 of 6 : Address.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

/**
 * @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) {
    // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
    // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
    // for accounts without code, i.e. `keccak256('')`
    bytes32 codehash;
    bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      codehash := extcodehash(account)
    }
    return (codehash != accountHash && codehash != 0x0);
  }

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

    // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
    (bool success, ) = recipient.call{value: amount}('');
    require(success, 'Address: unable to send value, recipient may have reverted');
  }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin","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":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"payable","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"}]

60a060405234801561001057600080fd5b506040516107733803806107738339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b03166106f36100806000398061022852806102725280610331528061045e528061048752806105af52506106f36000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100875780635c60da1b14610107578063d1f5789414610138578063f851a440146101ee575b610052610203565b005b34801561006057600080fd5b506100526004803603602081101561007757600080fd5b50356001600160a01b031661021d565b6100526004803603604081101561009d57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100c857600080fd5b8201836020820111156100da57600080fd5b803590602001918460018302840111640100000000831117156100fc57600080fd5b509092509050610267565b34801561011357600080fd5b5061011c610324565b604080516001600160a01b039092168252519081900360200190f35b6100526004803603604081101561014e57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561017957600080fd5b82018360208201111561018b57600080fd5b803590602001918460018302840111640100000000831117156101ad57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610371945050505050565b3480156101fa57600080fd5b5061011c610451565b61020b6104ab565b61021b6102166104b3565b6104d8565b565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561025c57610257816104fc565b610264565b610264610203565b50565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610317576102a1836104fc565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146102fe576040519150601f19603f3d011682016040523d82523d6000602084013e610303565b606091505b505090508061031157600080fd5b5061031f565b61031f610203565b505050565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156103665761035f6104b3565b905061036e565b61036e610203565b90565b600061037b6104b3565b6001600160a01b03161461038e57600080fd5b6103978261053c565b80511561044d576000826001600160a01b0316826040518082805190602001908083835b602083106103da5780518252601f1990920191602091820191016103bb565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461043a576040519150601f19603f3d011682016040523d82523d6000602084013e61043f565b606091505b505090508061031f57600080fd5b5050565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561036657507f000000000000000000000000000000000000000000000000000000000000000061036e565b61021b6105a4565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156104f7573d6000f35b3d6000fd5b6105058161053c565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61054581610614565b6105805760405162461bcd60e51b815260040180806020018281038252603b815260200180610683603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561060c5760405162461bcd60e51b81526004018080602001828103825260328152602001806106516032913960400191505060405180910390fd5b61021b61021b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061064857508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220354176803b54436ecdaea6509259ddd412b0447c3107a85e8ae96b5f8424f8e564736f6c634300070600330000000000000000000000007130b521c0e361626eceb353455bcddcbebdb121

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.