Contract 0x226f83375c3835442daff46e8468e59100827df2

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x214d48d4e9952a29384c832ae18f4c487d2aa5d5a11936b0fef5d387b1771343Approve81474072021-04-20 15:26:34156 days 14 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.00031861
0xdd2a0ad1d72ba30cb585af19e8469ce720a326cc1be59422f87fedf62df8433eApprove81473962021-04-20 15:26:01156 days 14 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.00046837
0xf9e6da27dd8b49009c478ae4033e22e5c08f7ad5ce83aa5605f6ad3e1ef07c5aImplementation81473652021-04-20 15:24:28156 days 14 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.00024961
0x3d4a6b8591bc8dd03a6e24735fdc0d7a614185ac0437957d27f91bb604d89e94Transfer81469692021-04-20 15:04:40156 days 14 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.00055097
0x703e0a232767d833752b93fd497348f0e054b7165ca1e5293dc5c6745efba94cTransfer81469392021-04-20 15:03:10156 days 14 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.00055085
0xac7d729656d0cd95e1f980be56bb068da3c1b0e519328c2b86f87be28d5b3887Transfer79976942021-04-15 10:40:54161 days 19 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.002685695
0x282df7936399c88d351764d52b5e9e79c8d6c0ca620f46433445940b12e2b494Transfer79976362021-04-15 10:38:00161 days 19 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.003690695
0xaba36c7c7ba47e66e7ca4e355517b54a38c7f9c44a2f66f4fad3bb845aaf89f8Transfer79975562021-04-15 10:34:00161 days 19 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.003690695
0xdb277883c54b7c1380a03ff086accd90e2e245fadbdc615fd9af623b9724d404Transfer79974652021-04-15 10:29:27161 days 19 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.003690695
0x30d5670f770a47a59ad79d027d2d4225fba93dadea28b3f5bffa4a009473ca21Transfer79967172021-04-15 9:52:03161 days 20 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.003800865
0xd82a3f39869bf6202f5926b28bca34273306cef03ea7db8b53f01426327daac3Transfer79966062021-04-15 9:46:30161 days 20 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.002765865
0x8b10a7350a62a3477c16275ef039ba479ec13d7c4bd1f7ff37225e4b32f822deTransfer77635372021-04-07 7:33:03169 days 22 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.005673755
0x809cdc2a311e87ff330bde910468cee12372fc8cbd37ffd141aa2f52972e64bbTransfer77635102021-04-07 7:31:42169 days 22 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  0x226f83375c3835442daff46e8468e59100827df20 BNB0.00561867
0x561da717f09910661c314f92c32ca5603831c072ff492317efc223fcfe8199570x6080604077632532021-04-07 7:18:51169 days 22 hrs ago0x9d1ed5ec71f39d8d64bcb34ec039813426f94c10 IN  Contract Creation0 BNB0.01586442
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0xd99d1c33f9fc3444f8101754abc46c52416550d1 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x356e0aa853ec4697bcca0269f16b626e2e874d65 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x356e0aa853ec4697bcca0269f16b626e2e874d65 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0xd99d1c33f9fc3444f8101754abc46c52416550d1 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x77da060d8d2d4735548a673b0290ddabae972149b9b7390e21e3c0c128611bdb101288322021-06-28 12:37:3187 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x93578945ceeb14489d32b5c89bbebb1646b5ddf73148cf33845b834cc7fbce58101287832021-06-28 12:35:0487 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x93578945ceeb14489d32b5c89bbebb1646b5ddf73148cf33845b834cc7fbce58101287832021-06-28 12:35:0487 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x93578945ceeb14489d32b5c89bbebb1646b5ddf73148cf33845b834cc7fbce58101287832021-06-28 12:35:0487 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x93578945ceeb14489d32b5c89bbebb1646b5ddf73148cf33845b834cc7fbce58101287832021-06-28 12:35:0487 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x93578945ceeb14489d32b5c89bbebb1646b5ddf73148cf33845b834cc7fbce58101287832021-06-28 12:35:0487 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
0x93578945ceeb14489d32b5c89bbebb1646b5ddf73148cf33845b834cc7fbce58101287832021-06-28 12:35:0487 days 17 hrs ago 0x27d035c1ebc9f87b64c4f1ef3fcc0f84c9df5c8c 0x226f83375c3835442daff46e8468e59100827df20 BNB
0x30bb885fbb43441faf27b8143f96448b47dcc5a7c9e8f288a87fbb3bccb84afc101287522021-06-28 12:33:3187 days 17 hrs ago 0x226f83375c3835442daff46e8468e59100827df2 0x6e858f6262f950db9c362f9fa915e4a69a44cb120 BNB
[ Download CSV Export 
Loading

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

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-14
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @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"}]

6080604052604051610cb7380380610cb78339818101604052606081101561002657600080fd5b8101908080519060200190929190805190602001909291908051604051939291908464010000000082111561005a57600080fd5b8382019150602082018581111561007057600080fd5b825186600182028301116401000000008211171561008d57600080fd5b8083526020830192505050908051906020019080838360005b838110156100c15780820151818401526020810190506100a6565b50505050905090810190601f1680156100ee5780820380516001836020036101000a031916815260200191505b506040525050508281600160405180807f656970313936372e70726f78792e696d706c656d656e746174696f6e00000000815250601c019050604051809103902060001c0360001b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b1461016157fe5b610170826102bf60201b60201c565b60008151111561023c5760008273ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b602083106101c757805182526020820191506020810190506020830392506101a4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610227576040519150601f19603f3d011682016040523d82523d6000602084013e61022c565b606091505b505090508061023a57600080fd5b505b5050600160405180807f656970313936372e70726f78792e61646d696e000000000000000000000000008152506013019050604051809103902060001c0360001b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b146102a857fe5b6102b78261035660201b60201c565b505050610398565b6102d28161038560201b6105be1760201c565b610327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610c7c603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b600080823b905060008111915050919050565b6108d5806103a76000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100b85780635c60da1b146101515780638f283970146101a8578063f851a440146101f95761005d565b3661005d5761005b610250565b005b610065610250565b005b34801561007357600080fd5b506100b66004803603602081101561008a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061026a565b005b61014f600480360360408110156100ce57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561010b57600080fd5b82018360208201111561011d57600080fd5b8035906020019184600183028401116401000000008311171561013f57600080fd5b90919293919293905050506102bf565b005b34801561015d57600080fd5b50610166610395565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101b457600080fd5b506101f7600480360360208110156101cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103ed565b005b34801561020557600080fd5b5061020e610566565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102586105d1565b610268610263610667565b610698565b565b6102726106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102b3576102ae816106ef565b6102bc565b6102bb610250565b5b50565b6102c76106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561038757610303836106ef565b60008373ffffffffffffffffffffffffffffffffffffffff168383604051808383808284378083019250505092505050600060405180830381855af49150503d806000811461036e576040519150601f19603f3d011682016040523d82523d6000602084013e610373565b606091505b505090508061038157600080fd5b50610390565b61038f610250565b5b505050565b600061039f6106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103e1576103da610667565b90506103ea565b6103e9610250565b5b90565b6103f56106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561055a57600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061082f6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104d76106be565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a16105558161073e565b610563565b610562610250565b5b50565b60006105706106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156105b2576105ab6106be565b90506105bb565b6105ba610250565b5b90565b600080823b905060008111915050919050565b6105d96106be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561065d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806107fd6032913960400191505060405180910390fd5b61066561076d565b565b6000807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050805491505090565b3660008037600080366000845af43d6000803e80600081146106b9573d6000f35b3d6000fd5b6000807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b9050805491505090565b6106f88161076f565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b565b610778816105be565b6107cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610865603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050818155505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220b0503c23d64d00872f309af6ebc439401f4a3a5289bbb698fa4e5aabd747642664736f6c6343000608003343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e7472616374206164647265737300000000000000000000000078bb7a1ba90e20ab5444db7bfab9e07f14042b660000000000000000000000001e9a3b34f5cffddd50fced793f78a4fe62f729d1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000246057361d000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

11917:4220:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;358:11;:9;:11::i;:::-;11917:4220;;214:11;:9;:11::i;:::-;11917:4220;14563:105;;5:9:-1;2:2;;;27:1;24;17:12;2:2;14563:105:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;14563:105:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;15196:225;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;15196:225:0;;;;;;;;;;;;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;15196:225:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;15196: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;15196:225:0;;;;;;;;;;;;:::i;:::-;;13863:98;;5:9:-1;2:2;;;27:1;24;17:12;2:2;13863:98:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;14144:228;;5:9:-1;2:2;;;27:1;24;17:12;2:2;14144:228:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;14144:228:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;13714:80;;5:9:-1;2:2;;;27:1;24;17:12;2:2;13714:80:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1932:93;1969:15;:13;:15::i;:::-;1991:28;2001:17;:15;:17::i;:::-;1991:9;:28::i;:::-;1932:93::o;14563:105::-;13581:8;:6;:8::i;:::-;13567:22;;:10;:22;;;13563:80;;;14633:29:::1;14644:17;14633:10;:29::i;:::-;13563:80:::0;;;13624:11;:9;:11::i;:::-;13563:80;14563:105;:::o;15196:225::-;13581:8;:6;:8::i;:::-;13567:22;;:10;:22;;;13563:80;;;15302:29:::1;15313:17;15302:10;:29::i;:::-;15339:12;15356:17;:30;;15387:4;;15356:36;;;;;30:3:-1;22:6;14;1:33;57:3;49:6;45:16;35:26;;15356: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;;15338:54:0;;;15407:7;15399:16;;12:1:-1;9::::0;2:12:::1;15399:16:0;13600:1;13563:80:::0;;;13624:11;:9;:11::i;:::-;13563:80;15196:225;;;:::o;13863:98::-;13915:7;13581:8;:6;:8::i;:::-;13567:22;;:10;:22;;;13563:80;;;13938:17:::1;:15;:17::i;:::-;13931:24;;13563:80:::0;;;13624:11;:9;:11::i;:::-;13563:80;13863:98;:::o;14144:228::-;13581:8;:6;:8::i;:::-;13567:22;;:10;:22;;;13563:80;;;14235:1:::1;14215:22;;:8;:22;;;;14207:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14308:32;14321:8;:6;:8::i;:::-;14331;14308:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14347:19;14357:8;14347:9;:19::i;:::-;13563:80:::0;;;13624:11;:9;:11::i;:::-;13563:80;14144:228;:::o;13714:80::-;13757:7;13581:8;:6;:8::i;:::-;13567:22;;:10;:22;;;13563:80;;;13780:8:::1;:6;:8::i;:::-;13773:15;;13563:80:::0;;;13624:11;:9;:11::i;:::-;13563:80;13714;:::o;2642:422::-;2702:4;2910:12;3021:7;3009:20;3001:28;;3055:1;3048:4;:8;3041:15;;;2642:422;;;:::o;15957:177::-;16037:8;:6;:8::i;:::-;16023:22;;:10;:22;;;;16015:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16107:21;:19;:21::i;:::-;15957:177::o;10651:170::-;10710:12;10731;10460:66;10746:19;;10731:34;;10804:4;10798:11;10790:19;;10781:35;;:::o;805:762::-;1112:14;1109:1;1106;1093:34;1312:1;1309;1293:14;1290:1;1274:14;1267:5;1254:60;1379:16;1376:1;1373;1358:38;1413:6;1475:1;1470:38;;;;1536:16;1533:1;1526:27;1470:38;1489:16;1486:1;1479:27;15475:141;15516:11;15536:12;13274:66;15551:10;;15536:25;;15599:4;15593:11;15586:18;;15577:34;;:::o;10962:145::-;11025:37;11044:17;11025:18;:37::i;:::-;11083:17;11074:27;;;;;;;;;;;;10962:145;:::o;15738:139::-;15791:12;13274:66;15806:10;;15791:25;;15856:8;15850:4;15843:22;15834:38;;:::o;1783:48::-;:::o;11250:293::-;11329:37;11348:17;11329:18;:37::i;:::-;11321:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11439:12;10460:66;11454:19;;11439:34;;11513:17;11507:4;11500:31;11491:47;;:::o

Swarm Source

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