Contract 0x639f18c72b6a017bdd209c161d1617c9481a1e4d

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x66218ddae4fb9872504886450ad6dd3e443acb9e6d8cf035a5b8ba16a0280752Approve109024932021-09-14 8:49:4813 days 22 hrs ago0x52a03d0588409b2f41235282e64d2912da7371d4 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000138015
0x75842d0dcb9194e73b3bab61c0f3825ff2685ad18c67b93c7390cd00acd9cc5aApprove85792802021-06-24 15:22:4695 days 16 hrs ago0xfdc46fbdd8af50d9bf7536bf44ce8560e423352c IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000137955
0xaff300535c027654ce45aa2d28eee55310161ce4ca590115219e7b2fd5499823Approve85792682021-06-24 15:22:1095 days 16 hrs ago0xfdc46fbdd8af50d9bf7536bf44ce8560e423352c IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000083955
0xd8749b2bef5f0b5b94bbfca8eb363d3ec37480c1c7a8dba4c1da5b9670d00fc5Approve69636802021-04-28 16:52:38152 days 14 hrs ago0x4a57dcd3e412e38520f7601e24a35958b9418c08 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000083955
0xc805a8c504f0cbf7a0b87531b0f25200aa62296dea6af64bfca03b8861faf74aApprove64056482021-04-09 4:55:33172 days 2 hrs ago0x6de4d2a0dfc5a2dad232e0740761ab3a697564a0 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000138015
0xd6ec34812c4de108e7fa91d53d12f4fa64153f3c637892483207cd5d010ee38eApprove63655212021-04-07 18:20:09173 days 13 hrs ago0x60e2e2afe3e13b8f4f741ddb2d90d0c0a1e8fdc4 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000083955
0xe6f80d14d3e19fb5f0fb02ab971419d135c3879c63978317bc7d5251ac6e3e2cApprove63615292021-04-07 14:50:40173 days 16 hrs ago0xe8459d4471b9abff09db0289ee1ac3270e3e260c IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000083955
0xf53c2d8ddb2853af3a0c3c796e0f723672bed60540a1a0e9c6724c0ec9bcabccApprove63615192021-04-07 14:50:10173 days 16 hrs ago0xe8459d4471b9abff09db0289ee1ac3270e3e260c IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.000138015
0x7e3bce5507c5413edd0bca14e1ffea3f86ff2d2c66ddf68f658d1298864d9118Approve63509272021-04-07 5:46:20174 days 1 hr ago0xd3b45bf28e4804f9303846b1eec75aaa2f0e0117 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0x8263bcf03aede627aafa4c16bbc20aa9065104f7774e0bf3dbee17ae8e215c1aApprove63478512021-04-07 3:07:45174 days 4 hrs ago0x75d228291f2670546549563569d25ab1840fa897 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0xcd91b75a58b60abf6c676e3af8bc11ccb3da5eb7d8486a69322455a8b96a97baApprove61721382021-03-31 22:33:27180 days 8 hrs ago0xfe6213109a4a4d21855a3719d552c8a3b0a90a94 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0xceb8ca66c2df6ae23fe83bce7e701d29c980fbf99d5a491f8b48ee9b34b17b3bApprove61297342021-03-30 10:59:03181 days 20 hrs ago0xcb3dc878d1e2f7f462703c8f727ed67d57c07f37 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00027603
0xe17c2fb188218df7af3725860c1e9bb26f87143ca26ab64560e20a5a5ae57e5eApprove61296632021-03-30 10:55:30181 days 20 hrs ago0xcb3dc878d1e2f7f462703c8f727ed67d57c07f37 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0x42fd4e77018df3542940e6784a5de8fbd76df51cf9343720d401890ad1b30749Approve61188592021-03-30 1:55:03182 days 5 hrs ago0x14d768309f02e9770482205fc6ebd3c22df4f1cf IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0x0b4b783d9021ecbc569c2b023a42c810708cad1e8bdf631287ab179b50688ef1Approve61188582021-03-30 1:55:00182 days 5 hrs ago0x14d768309f02e9770482205fc6ebd3c22df4f1cf IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00027603
0xf83c8ed0aac48606b736775b50def5da7bc24e05d632b7d0aca0ab7d558f27c8Approve61007172021-03-29 10:43:09182 days 20 hrs ago0x10e357d64ba6eba02006c296004b4a26ff335524 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0x80dbb0e29fafc8d1320a5f48da5142e4ecc95a1b2675b12d61cd2fddc047f750Approve60864062021-03-28 22:46:24183 days 8 hrs ago0x10e357d64ba6eba02006c296004b4a26ff335524 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00027603
0x57536703fdc5013bf3d7755fc5bb1fcb59558b82e6fc81635a94dad61b25feb5Approve60081732021-03-26 4:41:11186 days 2 hrs ago0x2d25e050fcf2551a9e78bdcf6d6fd0483d3f5211 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00027591
0x3f3db31ea465a1610a3b64a4fefc912927c591c45c688431cda433502702ed16Approve58274652021-03-19 21:12:07192 days 10 hrs ago0x17e17e32da460d4344b5f097cc6dd30dbd45b311 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0x942f118642b5c831204ec47d4fb1155e73a5a9e355f4282bd703ec156e6953d0Approve57206182021-03-16 4:03:12196 days 3 hrs ago0x6de4d2a0dfc5a2dad232e0740761ab3a697564a0 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00046875
0xfdcc655cfb6047be07b3b301c8c14da540118247d5b149971459ca2a906dbd9bApprove57205712021-03-16 4:00:45196 days 3 hrs ago0x6de4d2a0dfc5a2dad232e0740761ab3a697564a0 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00031875
0xa851d2fc1b4f620b39f072799babe02330b0786781a26d5616bfd2d7567a6254Approve57205592021-03-16 4:00:09196 days 3 hrs ago0x6de4d2a0dfc5a2dad232e0740761ab3a697564a0 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00031815
0x48154a8469e8a655e23f802f7a410efdedb074f6b2b7f05bcc444867ed293af6Approve57060872021-03-15 15:56:28196 days 15 hrs ago0x6a540a161113ee6607c07ab1f2628b751d773846 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00027591
0xf9fb003cb9e92b0f5af6852809e05c512c24702cd5920ab1a55dde123e8a00dbApprove57060852021-03-15 15:56:22196 days 15 hrs ago0x6a540a161113ee6607c07ab1f2628b751d773846 IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
0xc8ad3452f5002893cc80dea9f20ca1b66d7b4ed3af122c60eaada1bdb65087d5Approve57055802021-03-15 15:31:05196 days 15 hrs ago0x97fd894c47ba9b113ba7e6f4830203228c0a8a9a IN  0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB0.00016791
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4623c55a2b0a86c7c7de1a2187dd88b61888074401132fd305958dcb3c0031f454707512021-03-07 11:30:30204 days 19 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
0x3a844cbd368b44620169be384ce0f8f847efe4c8f46320933a46667dd8ab564a54687962021-03-07 9:52:45204 days 21 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
0x3a844cbd368b44620169be384ce0f8f847efe4c8f46320933a46667dd8ab564a54687962021-03-07 9:52:45204 days 21 hrs ago 0x293e5530bc53e117c446ed6878c7cd2978a85e00 0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d0xe4297595d3371a89c5779d760d9f16b07b14060b0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0xa684eb3f748aa35c28c80634b1b1e5a2ae7f0adc 0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0xa684eb3f748aa35c28c80634b1b1e5a2ae7f0adc0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d Binance: WBNB Token0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d Binance: WBNB Token0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d Binance: WBNB Token0 BNB
0x779d28f1865401a18fadf64551948955941cf7d3741f29ab1f1fd1591d7a885b54682042021-03-07 9:23:09204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
0x99b3a8fdce1cfb7c98fdce17f8306ce0a548c0325ecc6655fd030a218279e1ba54681882021-03-07 9:22:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
0x99b3a8fdce1cfb7c98fdce17f8306ce0a548c0325ecc6655fd030a218279e1ba54681882021-03-07 9:22:21204 days 22 hrs ago 0x293e5530bc53e117c446ed6878c7cd2978a85e00 0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB
0x99b3a8fdce1cfb7c98fdce17f8306ce0a548c0325ecc6655fd030a218279e1ba54681882021-03-07 9:22:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
0x99b3a8fdce1cfb7c98fdce17f8306ce0a548c0325ecc6655fd030a218279e1ba54681882021-03-07 9:22:21204 days 22 hrs ago 0x293e5530bc53e117c446ed6878c7cd2978a85e00 0x639f18c72b6a017bdd209c161d1617c9481a1e4d0 BNB
0x017bea2ec330a86cf1bd096d122d43a45cd0bb79e089dd187b4bbfc6a883d52454681682021-03-07 9:21:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d Binance: WBNB Token0 BNB
0x017bea2ec330a86cf1bd096d122d43a45cd0bb79e089dd187b4bbfc6a883d52454681682021-03-07 9:21:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x017bea2ec330a86cf1bd096d122d43a45cd0bb79e089dd187b4bbfc6a883d52454681682021-03-07 9:21:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x73c3d11f3a1f3b87c45c07cdb71c92cb738569990 BNB
0x017bea2ec330a86cf1bd096d122d43a45cd0bb79e089dd187b4bbfc6a883d52454681682021-03-07 9:21:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d Binance: WBNB Token0 BNB
0x017bea2ec330a86cf1bd096d122d43a45cd0bb79e089dd187b4bbfc6a883d52454681682021-03-07 9:21:21204 days 22 hrs ago 0x639f18c72b6a017bdd209c161d1617c9481a1e4d 0x4fe4b0fa3d082cdd9f7f630d6ab271a23bcdb4c40 BNB
[ Download CSV Export 
Loading

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

Contract Name:
AdminUpgradeabilityProxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at BscScan.com on 2021-03-03
*/

pragma solidity ^0.5.0;

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

pragma solidity ^0.5.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.
 */
contract Proxy {
    constructor()public{
        address _admin = msg.sender;
        assembly {
          sstore(ADMIN_SLOT, _admin)
        }
    }
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  function () payable external {
    _fallback();
  }

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

  /**
   * @dev Delegates execution to an implementation contract.
   * This is a low level function that doesn't return to its internal call site.
   * It will return to the external caller whatever the implementation returns.
   * @param implementation Address to delegate.
   */
  function _delegate(address implementation) internal {
    assembly {
      // Copy msg.data. We take full control of memory in this inline assembly
      // block because it will not return to Solidity code. We overwrite the
      // Solidity scratch pad at memory position 0.
      calldatacopy(0, 0, calldatasize)

      // Call the implementation.
      // out and outsize are 0 because we don't know the size yet.
      let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)

      // Copy the returned data.
      returndatacopy(0, 0, returndatasize)

      switch result
      // delegatecall returns 0 on error.
      case 0 { revert(0, returndatasize) }
      default { return(0, returndatasize) }
    }
  }

  /**
   * @dev 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 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 {
  }

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

pragma solidity ^0.5.0;


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

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

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

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

pragma solidity ^0.5.0;

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

pragma solidity ^0.5.0;

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

  /**
   * @dev Storage slot with the admin of the contract.
   * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
   * validated in the constructor.
   */
  bytes32 internal constant ADMIN_SL0T = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6102;

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

    assembly {
      sstore(slot, newAdmin)
    }
  }

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

pragma solidity ^0.5.0;

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"payable":true,"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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

608060405260405161099f38038061099f8339818101604052606081101561002657600080fd5b8151602083015160408085018051915193959294830192918464010000000082111561005157600080fd5b90830190602082018581111561006657600080fd5b825164010000000081118282018810171561008057600080fd5b82525081516020918201929091019080838360005b838110156100ad578181015183820152602001610095565b50505050905090810190601f1680156100da5780820380516001836020036101000a031916815260200191505b50604081815233600080516020610925833981519152557f656970313936372e70726f78792e696d706c656d656e746174696f6e0000000082525190819003601c01902086935084925060008051602061094583398151915260001990910114905061014257fe5b610154826001600160e01b0361027616565b80511561020c576000826001600160a01b0316826040518082805190602001908083835b602083106101975780518252601f199092019160209182019101610178565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101f7576040519150601f19603f3d011682016040523d82523d6000602084013e6101fc565b606091505b505090508061020a57600080fd5b505b5050604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190206000805160206109258339815191526000199091011461025c57fe5b61026e826001600160e01b036102d616565b505050610300565b610289816102fa60201b61053d1760201c565b6102c45760405162461bcd60e51b815260040180806020018281038252603a815260200180610965603a913960400191505060405180910390fd5b60008051602061094583398151915255565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610255565b3b151590565b6106168061030f6000396000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100875780635c60da1b146101075780638f28397014610138578063f851a4401461016b575b610052610180565b005b34801561006057600080fd5b506100526004803603602081101561007757600080fd5b50356001600160a01b031661019a565b6100526004803603604081101561009d57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100c857600080fd5b8201836020820111156100da57600080fd5b803590602001918460018302840111640100000000831117156100fc57600080fd5b5090925090506101d4565b34801561011357600080fd5b5061011c610281565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100526004803603602081101561015b57600080fd5b50356001600160a01b03166102be565b34801561017757600080fd5b5061011c610378565b6101886103a3565b610198610193610403565b610428565b565b6101a261044c565b6001600160a01b0316336001600160a01b031614156101c9576101c481610471565b6101d1565b6101d1610180565b50565b6101dc61044c565b6001600160a01b0316336001600160a01b03161415610274576101fe83610471565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461025b576040519150601f19603f3d011682016040523d82523d6000602084013e610260565b606091505b505090508061026e57600080fd5b5061027c565b61027c610180565b505050565b600061028b61044c565b6001600160a01b0316336001600160a01b031614156102b3576102ac610403565b90506102bb565b6102bb610180565b90565b6102c661044c565b6001600160a01b0316336001600160a01b031614156101c9576001600160a01b0381166103245760405162461bcd60e51b81526004018080602001828103825260328152602001806105766032913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61034d61044c565b604080516001600160a01b03928316815291841660208301528051918290030190a16101c4816104b1565b600061038261044c565b6001600160a01b0316336001600160a01b031614156102b3576102ac61044c565b6103ab61044c565b6001600160a01b0316336001600160a01b031614156103fb5760405162461bcd60e51b81526004018080602001828103825260328152602001806105446032913960400191505060405180910390fd5b610198610198565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610447573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61047a816104d5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610255565b6104de8161053d565b6105195760405162461bcd60e51b815260040180806020018281038252603a8152602001806105a8603a913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b15159056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e636f6e74726163742061646472657373a265627a7a72315820352afbb3f4676854d328cf760ae0d72f4b81e850c57d4d6eb9b1270e92e9bb5564736f6c63430005110032b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e636f6e74726163742061646472657373000000000000000000000000a33702224d3b05b40a4275e92ff20c4fb7647dcb000000000000000000000000c1f78cc844ac8e2dd9335e70b9c645e4d79130c500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

11065:903:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2184:11;:9;:11::i;:::-;11065:903;9301:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9301:105:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9301:105:0;-1:-1:-1;;;;;9301:105:0;;:::i;9934:225::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;9934:225:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;9934:225:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9934: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;-1:-1;9934:225:0;;-1:-1:-1;9934:225:0;-1:-1:-1;9934:225:0;:::i;8605:98::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8605:98:0;;;:::i;:::-;;;;-1:-1:-1;;;;;8605:98:0;;;;;;;;;;;;;;8886:224;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8886:224:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8886:224:0;-1:-1:-1;;;;;8886:224:0;;:::i;8456:80::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8456:80:0;;;:::i;4033:93::-;4070:15;:13;:15::i;:::-;4092:28;4102:17;:15;:17::i;:::-;4092:9;:28::i;:::-;4033:93::o;9301:105::-;8323:8;:6;:8::i;:::-;-1:-1:-1;;;;;8309:22:0;:10;-1:-1:-1;;;;;8309:22:0;;8305:80;;;9371:29;9382:17;9371:10;:29::i;:::-;8305:80;;;8366:11;:9;:11::i;:::-;9301:105;:::o;9934:225::-;8323:8;:6;:8::i;:::-;-1:-1:-1;;;;;8309:22:0;:10;-1:-1:-1;;;;;8309:22:0;;8305:80;;;10040:29;10051:17;10040:10;:29::i;:::-;10077:12;10094:17;-1:-1:-1;;;;;10094:30:0;10125:4;;10094:36;;;;;30:3:-1;22:6;14;1:33;10094:36:0;;45:16:-1;;;-1:-1;10094:36:0;;-1:-1:-1;10094:36:0;;-1:-1:-1;;10094:36:0;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;10076:54:0;;;10145:7;10137:16;;;;;;8342:1;8305:80;;;8366:11;:9;:11::i;:::-;9934:225;;;:::o;8605:98::-;8657:7;8323:8;:6;:8::i;:::-;-1:-1:-1;;;;;8309:22:0;:10;-1:-1:-1;;;;;8309:22:0;;8305:80;;;8680:17;:15;:17::i;:::-;8673:24;;8305:80;;;8366:11;:9;:11::i;:::-;8605:98;:::o;8886:224::-;8323:8;:6;:8::i;:::-;-1:-1:-1;;;;;8309:22:0;:10;-1:-1:-1;;;;;8309:22:0;;8305:80;;;-1:-1:-1;;;;;8957:22:0;;8949:85;;;;-1:-1:-1;;;8949:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9046:32;9059:8;:6;:8::i;:::-;9046:32;;;-1:-1:-1;;;;;9046:32:0;;;;;;;;;;;;;;;;;;;;;9085:19;9095:8;9085:9;:19::i;8456:80::-;8499:7;8323:8;:6;:8::i;:::-;-1:-1:-1;;;;;8309:22:0;:10;-1:-1:-1;;;;;8309:22:0;;8305:80;;;8522:8;:6;:8::i;10691:160::-;10754:8;:6;:8::i;:::-;-1:-1:-1;;;;;10740:22:0;:10;-1:-1:-1;;;;;10740:22:0;;;10732:85;;;;-1:-1:-1;;;10732:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10824:21;:19;:21::i;5065:161::-;4879:66;5203:11;;5186:35::o;2623:750::-;2930:12;2927:1;2924;2911:32;3124:1;3121;3107:12;3104:1;3088:14;3083:3;3070:56;3191:14;3188:1;3185;3170:36;3223:6;3280:36;;;;3344:14;3341:1;3334:25;3280:36;3299:14;3296:1;3289:25;10209:141;3608:66;10327:11;;10311:34::o;5367:145::-;5430:37;5449:17;5430:18;:37::i;:::-;5479:27;;-1:-1:-1;;;;;5479:27:0;;;;;;;;5367:145;:::o;10472:139::-;8016:66;10577:22;10568:38::o;5655:312::-;5734:57;5773:17;5734:38;:57::i;:::-;5726:128;;;;-1:-1:-1;;;5726:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4879:66;5924:31;5915:47::o;942:627::-;1514:20;1553:8;;;942:627::o

Swarm Source

bzzr://352afbb3f4676854d328cf760ae0d72f4b81e850c57d4d6eb9b1270e92e9bb55
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.