Contract 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfc27c78668d3d92aaca1636cce125f616b9f7fba72a5e54d1c3c6ada61d2da25Approve Delegati...561063892023-01-28 10:39:2830 mins ago0xe7c899489813969b8ea3901680c0dc3e041730e6 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003022
0x87be1a0a3069bad0d4618115812a42abf86cf3c71f5d5aee3ffe7cd53e833411Approve Delegati...561008992023-01-28 10:10:5958 mins ago0xccce0d8edb01a5ffd4a42ddfaa02bf89719912ae IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003127
0x76d32a2b78f35dee7e2203c8991e45e59fc4d76db1df10e9b57c3cac85e42c37Approve Delegati...560930802023-01-28 9:29:201 hr 40 mins ago0x886ee6245db06537e5936a6127d5956ad762e238 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003173
0xb1e0145ef827c1a735eb4589e27f255fab387280ea2a0ee922e55882ee65b417Approve Delegati...560924442023-01-28 9:26:011 hr 43 mins ago0x02e7b714fae84e4ba80f3cda5508553e7cf5042a IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003212
0x12d3649d35fcdcd265f939c796d3a78be3de7758a245271659b7fe2545e10c98Approve Delegati...560837422023-01-28 8:41:272 hrs 28 mins ago0x76556977ffe003a9bab69e78a15aca1eb8a05f6d IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003062
0xd42e94323439de798cf10c18ae0b945a5cf8064480e1f402cce34e8fbf66f1baApprove Delegati...560820002023-01-28 8:32:462 hrs 37 mins ago0x1350c71e0d15b5b4503c4a51fed56f234e95d5c0 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003014
0xd7fcb26fe0d146cb6651dbf177215f8d1e06994f0dca728a0517fc767cb247f6Approve Delegati...560795332023-01-28 8:21:022 hrs 48 mins ago0xbe22ad3f2d1233c2a737dc0044ff9a5a81527532 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003152
0x4977b05b150e2b2b3c7f6a3b476dc0d0a4b7c688c20fe3fbc20c463f8dbf5a4fApprove Delegati...560738122023-01-28 7:53:143 hrs 16 mins ago0x0971c60ad9fdb2b4ffd0392037ca142408d69869 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003164
0x5868e34457817e97c2ec3219c85e43731eb458624fa47ce7bda745831395d5f0Approve Delegati...560734562023-01-28 7:51:343 hrs 18 mins ago0xbb41608aaf797bdc74351ab6f4a5c9f609a13f3a IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003164
0x05483c35284c4031c542e68d8897d7b1f67980e8a7ecda4cab7ed7712f459104Approve Delegati...560683222023-01-28 7:24:473 hrs 45 mins ago0x3e8783dcaf1583e6c426b443acd11e5695cbd53d IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003048
0x6b931422ae665968ffcb05e4c1058ff90e8e65a7fcdcf54909434f6c6ea595d5Approve Delegati...560658102023-01-28 7:12:413 hrs 57 mins ago0xfd540507c7495bd1225405f91d22340a8fc84515 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003101
0x2c57201e7ddc324fc62e15d9ffc5c3bc68cdc2c796d96d93932dcf289dc5b860Approve Delegati...560556072023-01-28 6:21:544 hrs 47 mins ago0xd45e31211207f417ebfd5a8f97f5a3e82547a0f1 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00002942
0x205aa8a1ef323c67d733982714605eb614911fb3809d889deab8fc7f04d12fd9Approve Delegati...560516292023-01-28 6:01:055 hrs 8 mins ago0x90b241b08aa12d2293529683ef87c15539ef65f2 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.0000304
0x527f170ded9de73493b5a0cbd1878161cc1163d6580339277b24811bf5625f97Approve Delegati...560206812023-01-28 3:02:398 hrs 7 mins ago0x9459e07da1b25565ae0846111c527a4bbf518513 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003215
0x5b2536758c2e6d8eba13339004c6707189bbcfa34584fe5427f288208cc04967Approve Delegati...558931972023-01-27 15:15:5619 hrs 53 mins ago0xe9f6fd1af2c4581d56121a63abbe50eb62e17100 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003462
0xd7df55f3059d523253ecf496b9f6e85f0e6468d60fd9a5d46689e5ba6d07df86Approve Delegati...558929672023-01-27 15:14:5319 hrs 54 mins ago0xa0d2fa850f90ab6591dd2e1b76da53b88fe8fd5f IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003462
0x5aa11bc9d291d8b1a952ce503945869dcdd75c8f265b4b845444fdfed94e626dApprove Delegati...558927342023-01-27 15:13:5119 hrs 55 mins ago0x60b0e44be033752810136697c63a01e1f373aa8d IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003462
0x7d1408256729dc5e6cf5ed431db093004821f13c93ce2fb4e1220fbe03771711Approve Delegati...558922212023-01-27 15:11:3619 hrs 58 mins ago0xe12def236c74150b71d0e9d50b41bb219ce8a6f2 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003523
0xcc39af3d291cf483b93a1451860fbd7b8cf943c46421d0f750b1e876a6f2c65bApprove Delegati...558919732023-01-27 15:10:3019 hrs 59 mins ago0x79375be2887ebde8162d58aeaccec8145c5bfc38 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003523
0x4f5c6a04b75f2b9caba181f5d4239cb2248e979a6c139634e1a144275d1cace0Approve Delegati...558917602023-01-27 15:09:2620 hrs ago0x739964fb9e91f3a985474ed1e93aa0914cbddc41 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003507
0x20dce4064e713c35a207d8a35d0fddefa8f7ccec892eb63ee8d3a253ee31e2d9Approve Delegati...558915142023-01-27 15:08:1820 hrs 1 min ago0x2c42452640863ea011c0b19b8feb64b89bc7c36a IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003523
0x7bb2a77e35f41d509c4b8003328a88c5e81d83b5b9e8b5b2d71f7724d3ccdfd4Approve Delegati...558912452023-01-27 15:07:0820 hrs 2 mins ago0x8c627ade0bb3e61d8c27e3c397d9cbe08ba3cc3a IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003523
0x8a8af587a5cd39c2b05869090b06ced31b993cf81eb06e894d300c7014eb7fd6Approve Delegati...558777472023-01-27 14:03:4321 hrs 6 mins ago0xfdbbe5a6b04b69bf98614e00ae65dc0b41af3144 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003146
0xa82fc3f899b72fd8326d2ebbdcc0a33fa7f4f02230acd9e8969fadf755f0c0feApprove Delegati...558760082023-01-27 13:55:3121 hrs 14 mins ago0x1040aaa6e9dd3017b7357a5d34a71f996ff77cb0 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.0000321
0x63180665928bbd3856ed035e402c82c3793bbb240e79a40dff42cfb997bb1c62Approve Delegati...558628042023-01-27 12:51:3022 hrs 18 mins ago0x7ebd3a4eac7050aba3982435bf4bb6024a1e0d69 IN  0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH0.00003027
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x5c9bc5d7c3a1494f48847a560f4d92c8782c78818471788771597fe5da4edd54561117682023-01-28 11:06:532 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x5c9bc5d7c3a1494f48847a560f4d92c8782c78818471788771597fe5da4edd54561117682023-01-28 11:06:532 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x5c9bc5d7c3a1494f48847a560f4d92c8782c78818471788771597fe5da4edd54561117682023-01-28 11:06:532 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x5c9bc5d7c3a1494f48847a560f4d92c8782c78818471788771597fe5da4edd54561117682023-01-28 11:06:532 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x985fd9a2b0f63ad0f5a9b7b631211e514a5422c278e33cd59f9c338076c711aa561115782023-01-28 11:05:553 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x985fd9a2b0f63ad0f5a9b7b631211e514a5422c278e33cd59f9c338076c711aa561115782023-01-28 11:05:553 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x985fd9a2b0f63ad0f5a9b7b631211e514a5422c278e33cd59f9c338076c711aa561115782023-01-28 11:05:553 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x985fd9a2b0f63ad0f5a9b7b631211e514a5422c278e33cd59f9c338076c711aa561115782023-01-28 11:05:553 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x36f7fc901c8136f9aa281c9ff474a040c50919b5f55e62524e28b29e38d1b895561114892023-01-28 11:05:294 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x36f7fc901c8136f9aa281c9ff474a040c50919b5f55e62524e28b29e38d1b895561114892023-01-28 11:05:294 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x36f7fc901c8136f9aa281c9ff474a040c50919b5f55e62524e28b29e38d1b895561114892023-01-28 11:05:294 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x36f7fc901c8136f9aa281c9ff474a040c50919b5f55e62524e28b29e38d1b895561114892023-01-28 11:05:294 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 Radiant: Lending Pool Logic0 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0xf3623b153202837900e9c5356e09c81818fb01627d48076ddc8d87ae1e1f925e561114422023-01-28 11:05:144 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x570e7418354f7224609566e4a3be4327a12fe79a58657af521bda40447cd6804561113942023-01-28 11:04:594 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x570e7418354f7224609566e4a3be4327a12fe79a58657af521bda40447cd6804561113942023-01-28 11:04:594 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x570e7418354f7224609566e4a3be4327a12fe79a58657af521bda40447cd6804561113942023-01-28 11:04:594 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 Radiant: Chef Incentives Controller0 ETH
0x570e7418354f7224609566e4a3be4327a12fe79a58657af521bda40447cd6804561113942023-01-28 11:04:594 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 ETH
0x570e7418354f7224609566e4a3be4327a12fe79a58657af521bda40447cd6804561113942023-01-28 11:04:594 mins ago Radiant: Lending Pool Logic 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf30 ETH
0x570e7418354f7224609566e4a3be4327a12fe79a58657af521bda40447cd6804561113942023-01-28 11:04:594 mins ago 0xf92d501e74bd1e4308e6676c38ab4d84389d7bf3 0x3b6176cae0bfa63d9f8c8561cebe3e19c1bc504b0 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.