Contract 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16

Contract Overview

Balance:
0 BNB

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00256009
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00330748
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago0x4c466e47044602e762e7962aa59758488d84b1e3 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00669944
0x17758d475e9b47fb867885fe9465364827fff15a959ede15158a74113318be3267935452021-03-04 11:17:321 hr 11 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00532518
0x958ac49a0013b3c404bd00500846c16d07e79820dd10d5ee2616f4791744993a67935382021-03-04 11:17:111 hr 11 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00252343
0x5eda2f85a147760161b0e24129cd3fb6e5f9d4c989aedafc081319e3ef38d05467935362021-03-04 11:17:051 hr 11 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00350296
0x8176def164f778b309ba338922c29605a8b63dec35f54155826fa7e7d51d040567935362021-03-04 11:17:051 hr 11 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00532518
0x62de43a1c27f84d859caf1be7dfd6be8fba5a6e71be27c9721fb8d8fddc0b26b67934142021-03-04 11:10:591 hr 17 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00532518
0x3208a91e995a2bbddca149fcde88c47bab9ba3182c2a5fbfcda3226b746b493367934052021-03-04 11:10:321 hr 18 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00532518
0x1f2eb547f052fcbcd8341d43ddf20ad5cde4f1708847cd44c59d2b911bcde25567934002021-03-04 11:10:171 hr 18 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00562518
0xfab015cb3b6ce6d924ff73641f7696693a8b8916c5f2d7cd9f1d71e3a2988d0567933852021-03-04 11:09:321 hr 19 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.0012456
0xd2662b82dfea34af1f542fd19c10ec31b0f3ee1c3c047a3aed3be54c7bc8e72a67933762021-03-04 11:09:051 hr 19 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00124584
0xc1777a5ead4ed8d9fb78b20835e1a0331b3a758efcbfac902a629323f2c5cc4267933602021-03-04 11:08:171 hr 20 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00124608
0xae28195177bd18cacfbf0c57a72c0d109865d58955d00ffaec14594dabdef94e67933572021-03-04 11:08:081 hr 20 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.006367
0x9a2187da171f04e0d9daf06005b880fb9da0591c1c37fcba9cd81336278256ef67933532021-03-04 11:07:561 hr 20 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.006367
0x89293f768157db9ed1553ec9042b80289f80962f6ae011d725a8697fdaef02ee67933502021-03-04 11:07:471 hr 20 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.006367
0x7e84ba40f2c9656d6a7bce004bae7cb7e2b586340a1cc72c3532165c2be187a867933392021-03-04 11:07:141 hr 21 mins ago0xe99ea81da852b9b85166395f77c047f1cf4c791a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00704286
0x640bc2078b8bb946ed5b0b4c1afd22a5a0b9cb3f2f06eea48454d3d29740c79567907552021-03-04 8:58:023 hrs 30 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00256009
0xae64dc32fc86379ac06622a6eb9dfd7b5e0a94a4c2e9c045f52cb4e63f70668267907532021-03-04 8:57:563 hrs 30 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00330748
0x85f748889951016cf713c056e3a5fc4af04e495d7130feef823592412256a50367906302021-03-04 8:51:473 hrs 36 mins ago0xbdf6e0f58c4812c3b8362b24e4e0b3287c03551c IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.0042744
0x5b838cfb2d8a496db0006d3228a7ba995b34c085c2905ea1f61360e23c729aab67906302021-03-04 8:51:473 hrs 36 mins ago0xbdf6e0f58c4812c3b8362b24e4e0b3287c03551c IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00672388
0x2fc6cae7c35a3fca3b31812e7c6146d7e3d28975f53ba83c6546eef447dadaef67904022021-03-04 8:40:233 hrs 48 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00252343
0x44fbefd4c61f252d03ce5ec694b2dd383321ea05ab120da90316e377b0c11f7d67904002021-03-04 8:40:173 hrs 48 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00350296
0x756844faa59fac54fa237aae2406abf81fddda7b96f17df5d7f1cb848c6dc6c967902762021-03-04 8:34:053 hrs 54 mins ago0xb0d6dad7d483da4f4b069499fc56ad05e35d2b8a IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00253334
0x251490a5662a7ce3c5e180381ffdd9629cba6466d74a7c624e3b15d0ef1d206e67900682021-03-04 8:23:414 hrs 5 mins ago0xc84dc86db43bea7b85c2c618ab6f57d265a53b71 IN  0xf6c3107b1baa6dcdb599d9c91a7ba02658146f160 BNB0.00256009
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x94ab5469e7e009206ff6db6ab09e3a051fe392d30 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x488d27388ef1654a48d8a2ff39102780ddb8d9020 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x42c017612d74a5a4f7e2ee93510490daf26548640 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x7d1f5cad620b9b6f1a42881095209fc4de214fdb0 BNB
0x6ca0017adca0a031ef351099ea7abd4a9219f1b78262d43d3ed7fe87a54704b167936922021-03-04 11:24:531 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x8055ccd4e5c6cbcce635ebf7e44f81b312cd99380 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x488d27388ef1654a48d8a2ff39102780ddb8d9020 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x94ab5469e7e009206ff6db6ab09e3a051fe392d30 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x42c017612d74a5a4f7e2ee93510490daf26548640 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x488d27388ef1654a48d8a2ff39102780ddb8d9020 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x7d1f5cad620b9b6f1a42881095209fc4de214fdb0 BNB
0x9d75d0fd7d2b7707f010a6b43195763241a1f40e89d150b1cc852bc260b54cd567936902021-03-04 11:24:471 hr 3 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x8055ccd4e5c6cbcce635ebf7e44f81b312cd99380 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x242fdc4114f3dce560ea5402cbbba838cfcd15330 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x488d27388ef1654a48d8a2ff39102780ddb8d9020 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x94ab5469e7e009206ff6db6ab09e3a051fe392d30 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x42c017612d74a5a4f7e2ee93510490daf26548640 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x488d27388ef1654a48d8a2ff39102780ddb8d9020 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x7d1f5cad620b9b6f1a42881095209fc4de214fdb0 BNB
0x7ce597173f568fcb24ffe05a6e3ab8243a301ba32e8739cff18f4f2c53bc94c767935672021-03-04 11:18:381 hr 10 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x8055ccd4e5c6cbcce635ebf7e44f81b312cd99380 BNB
0x17758d475e9b47fb867885fe9465364827fff15a959ede15158a74113318be3267935452021-03-04 11:17:321 hr 11 mins ago 0xf6c3107b1baa6dcdb599d9c91a7ba02658146f16 0x488d27388ef1654a48d8a2ff39102780ddb8d9020 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x190CcFff26731039CaAE22abe3d3dAB98f3D206D

Contract Name:
AdminUpgradeabilityProxy

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2020-12-08
*/

/**
 *Submitted for verification at BscScan.com on 2020-10-23
*/

/**
 *Submitted for verification at Etherscan.io on 2020-10-09
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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();
  }

  /**
   * @dev Receive function.
   * Implemented entirely in `_fallback`.
   */
  receive () payable external {
    _fallback();
  }

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

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

/**
 * @title UpgradeabilityProxy
 * @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 UpgradeabilityProxy is Proxy {
  /**
   * @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);
    }
  }  

  /**
   * @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 override 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(Address.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

/**
 * @title AdminUpgradeabilityProxy
 * @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 AdminUpgradeabilityProxy is 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);
  }

  /**
   * @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() internal override virtual {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    super._willFallback();
  }
}

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"}]

6080604052604051610cb7380380610cb78339818101604052606081101561002657600080fd5b8101908080519060200190929190805190602001909291908051604051939291908464010000000082111561005a57600080fd5b8382019150602082018581111561007057600080fd5b825186600182028301116401000000008211171561008d57600080fd5b8083526020830192505050908051906020019080838360005b838110156100c15780820151818401526020810190506100a6565b50505050905090810190601f1680156100ee5780820380516001836020036101000a031916815260200191505b506040525050508281600160405180807f656970313936372e70726f78792e696d706c656d656e746174696f6e00000000815250601c019050604051809103902060001c0360001b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b1461016157fe5b610170826102bf60201b60201c565b60008151111561023c5760008273ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b602083106101c757805182526020820191506020810190506020830392506101a4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610227576040519150601f19603f3d011682016040523d82523d6000602084013e61022c565b606091505b505090508061023a57600080fd5b505b5050600160405180807f656970313936372e70726f78792e61646d696e000000000000000000000000008152506013019050604051809103902060001c0360001b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b146102a857fe5b6102b78261035660201b60201c565b505050610398565b6102d28161038560201b6105be1760201c565b610327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610c7c603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b600080823b905060008111915050919050565b6108d5806103a76000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100b85780635c60da1b146101515780638f283970146101a8578063f851a440146101f95761005d565b3661005d5761005b610250565b005b610065610250565b005b34801561007357600080fd5b506100b66004803603602081101561008a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061026a565b005b61014f600480360360408110156100ce57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561010b57600080fd5b82018360208201111561011d57600080fd5b8035906020019184600183028401116401000000008311171561013f57600080fd5b90919293919293905050506102bf565b005b34801561015d57600080fd5b50610166610395565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101b457600080fd5b506101f7600480360360208110156101cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103ed565b005b34801561020557600080fd5b5061020e610566565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102586105d1565b610268610263610667565b610698565b565b6102726106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102b3576102ae816106ef565b6102bc565b6102bb610250565b5b50565b6102c76106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561038757610303836106ef565b60008373ffffffffffffffffffffffffffffffffffffffff168383604051808383808284378083019250505092505050600060405180830381855af49150503d806000811461036e576040519150601f19603f3d011682016040523d82523d6000602084013e610373565b606091505b505090508061038157600080fd5b50610390565b61038f610250565b5b505050565b600061039f6106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103e1576103da610667565b90506103ea565b6103e9610250565b5b90565b6103f56106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561055a57600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061082f6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104d76106be565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a16105558161073e565b610563565b610562610250565b5b50565b60006105706106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156105b2576105ab6106be565b90506105bb565b6105ba610250565b5b90565b600080823b905060008111915050919050565b6105d96106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561065d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806107fd6032913960400191505060405180910390fd5b61066561076d565b565b6000807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050805491505090565b3660008037600080366000845af43d6000803e80600081146106b9573d6000f35b3d6000fd5b6000807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b9050805491505090565b6106f88161076f565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b565b610778816105be565b6107cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610865603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050818155505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a264697066735822122041d5af90e23b2cfbe16b337692c47c7adfeb37d070f6f59b78a2bb19d34ad90a64736f6c6343000608003343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000000000000000006088168923292181697c2be3d03b4ced4eab713c00000000000000000000000019f1b930ccac576c1d7400bfde8e4cefd6f718f600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

6601:4220:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1907:11;:9;:11::i;:::-;6601:4220;;1763:11;:9;:11::i;:::-;6601:4220;9247:105;;5:9:-1;2:2;;;27:1;24;17:12;2:2;9247:105:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9247:105:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;9880:225;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9880:225:0;;;;;;;;;;;;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;9880:225:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;9880:225:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;9880:225:0;;;;;;;;;;;;:::i;:::-;;8547:98;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8547:98:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8828:228;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8828:228:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;8828:228:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;8398:80;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8398:80:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3481:93;3518:15;:13;:15::i;:::-;3540:28;3550:17;:15;:17::i;:::-;3540:9;:28::i;:::-;3481:93::o;9247:105::-;8265:8;:6;:8::i;:::-;8251:22;;:10;:22;;;8247:80;;;9317:29:::1;9328:17;9317:10;:29::i;:::-;8247:80:::0;;;8308:11;:9;:11::i;:::-;8247:80;9247:105;:::o;9880:225::-;8265:8;:6;:8::i;:::-;8251:22;;:10;:22;;;8247:80;;;9986:29:::1;9997:17;9986:10;:29::i;:::-;10023:12;10040:17;:30;;10071:4;;10040:36;;;;;30:3:-1;22:6;14;1:33;57:3;49:6;45:16;35:26;;10040:36:0;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;10022:54:0;;;10091:7;10083:16;;12:1:-1;9::::0;2:12:::1;10083:16:0;8284:1;8247:80:::0;;;8308:11;:9;:11::i;:::-;8247:80;9880:225;;;:::o;8547:98::-;8599:7;8265:8;:6;:8::i;:::-;8251:22;;:10;:22;;;8247:80;;;8622:17:::1;:15;:17::i;:::-;8615:24;;8247:80:::0;;;8308:11;:9;:11::i;:::-;8247:80;8547:98;:::o;8828:228::-;8265:8;:6;:8::i;:::-;8251:22;;:10;:22;;;8247:80;;;8919:1:::1;8899:22;;:8;:22;;;;8891:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8992:32;9005:8;:6;:8::i;:::-;9015;8992:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9031:19;9041:8;9031:9;:19::i;:::-;8247:80:::0;;;8308:11;:9;:11::i;:::-;8247:80;8828:228;:::o;8398:80::-;8441:7;8265:8;:6;:8::i;:::-;8251:22;;:10;:22;;;8247:80;;;8464:8:::1;:6;:8::i;:::-;8457:15;;8247:80:::0;;;8308:11;:9;:11::i;:::-;8247:80;8398;:::o;884:422::-;944:4;1152:12;1263:7;1251:20;1243:28;;1297:1;1290:4;:8;1283:15;;;884:422;;;:::o;10641:177::-;10721:8;:6;:8::i;:::-;10707:22;;:10;:22;;;;10699:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10791:21;:19;:21::i;:::-;10641:177::o;5335:170::-;5394:12;5415;5144:66;5430:19;;5415:34;;5488:4;5482:11;5474:19;;5465:35;;:::o;2354:762::-;2661:14;2658:1;2655;2642:34;2861:1;2858;2842:14;2839:1;2823:14;2816:5;2803:60;2928:16;2925:1;2922;2907:38;2962:6;3024:1;3019:38;;;;3085:16;3082:1;3075:27;3019:38;3038:16;3035:1;3028:27;10159:141;10200:11;10220:12;7958:66;10235:10;;10220:25;;10283:4;10277:11;10270:18;;10261:34;;:::o;5646:145::-;5709:37;5728:17;5709:18;:37::i;:::-;5767:17;5758:27;;;;;;;;;;;;5646:145;:::o;10422:139::-;10475:12;7958:66;10490:10;;10475:25;;10540:8;10534:4;10527:22;10518:38;;:::o;3332:48::-;:::o;5934:293::-;6013:37;6032:17;6013:18;:37::i;:::-;6005:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6123:12;5144:66;6138:19;;6123:34;;6197:17;6191:4;6184:31;6175:47;;:::o

Swarm Source

ipfs://41d5af90e23b2cfbe16b337692c47c7adfeb37d070f6f59b78a2bb19d34ad90a
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading