Contract 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 1

Contract Overview

Balance:
0.580833253074225464 BNB

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0267959af5d83a61e94b3c8ee48200cc2b4df1accd95314fef185f89a33349eaMint71805422021-03-18 0:46:30314 days 7 hrs ago0xe8265d372266f45f99fd4e13fbc0f1d7d59a12ea IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f201 BNB0.00086825
0xacbbdfedaef4cdde3801bc14c192b26bb353c7b89e5835002a387e48915792b4Mint71805342021-03-18 0:46:06314 days 7 hrs ago0xe8265d372266f45f99fd4e13fbc0f1d7d59a12ea IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f208 BNB0.00086825
0xd09f59ded46f90bcbae0964899b1b9dfdb27460fbcdfaf6a6f4b038428ca58a7Mint71639402021-03-17 10:56:24314 days 20 hrs ago0xe8265d372266f45f99fd4e13fbc0f1d7d59a12ea IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f202 BNB0.00086825
0x1cefcf00b182186c596e3f96d13696e0fc458a435862354aed94252b7446532cClaim71258342021-03-16 3:10:27316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00042871
0xed599a627aaeedb4c7bce7a8d365fd43a96711eceeb03946b0658251d195ba14Buyback71257922021-03-16 3:08:21316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00180126
0x1da95c4a0d090af5a443705c3260c0f6afd0599d6dc01054a138609b7dc4ad04Mint71257762021-03-16 3:07:33316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.0011195
0x88611658f5a8c5a20c25ac2b2a82d8a3fa04a937a6b884806dadc84da043c14aMint71257182021-03-16 3:04:39316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200.5 BNB0.0008254
0xf20fb4f0d2fe005b381819963c2d05e76b782613c72fd6923f5c7c285c8f823dMint71257092021-03-16 3:04:12316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200.1 BNB0.0008254
0x0e915b971e6356410ba872b124b64825da19e7fe54be9cae37fb03b84ce19a78Mint71257042021-03-16 3:03:57316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f206 BNB0.0008254
0xc6446a2f4734b550e4eef94ab043c6c206b34513427ca735f64d7bcaff1f3db8Mint71256962021-03-16 3:03:33316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f202 BNB0.0008254
0x6cd95f7859b40fa1e4d2b1fb74be86fe3570e3ac2a1ce7054bb50702ebb78372Mint71256862021-03-16 3:03:03316 days 4 hrs ago0xc433aad58c7af965a5ce7a3647286e46d333812b IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f201 BNB0.0008254
0x4d704e87183f30c2f07407bdb99b5f76f76d7f6cfb77b510f7e10736ae6228cbMint71062382021-03-15 10:23:23316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00174839
0xf292da25e6beb38e6506d95d266022fa1ac0389e5de74b9ebfcd52ca22d3a620Mint71061792021-03-15 10:20:26316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00085772
0x333c3fda0080e5087c7e12a74aaf9636d9ba289357f65565e3a1f5d022790291Mint71061682021-03-15 10:19:53316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00174851
0x1ffe6407d01d76e86375e210b9d43e9a334fd0550a46e4cce318b37dc75f9102Exchange Share B...71061352021-03-15 10:18:14316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00173136
0x4fb32e7792d73753d1a356c97fc18494d9c1dc237fb6529b8e654262ee56ed4eClaim71061282021-03-15 10:17:53316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00092761
0x91115f9544bd7089a9d6989645fd6ebef50be7df5d008a1902fe281f1ffce90aRedeem71061022021-03-15 10:16:35316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00200185
0xa30becbe39ff472eb0913475f719b19055c33dcee11de1a57afb30d5399b7298Mint71060762021-03-15 10:15:17316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00174839
0x68390fa1b0e0416035280d11cfa0cfa20a457fc805bf483b76ca805afa757fc9Mint71058232021-03-15 10:02:38316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00174827
0x01da64fa5254556458a6709e5edf3868341d1f5262ff16f8f026fba5ac4aa9b2Exchange Share B...71057962021-03-15 10:01:17316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00173124
0x6c80c262c085f6f25a4405bfb509a0a9b25f60ede3f7ae18d66520cd4f94e118Claim71057822021-03-15 10:00:35316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00092761
0x2d74d9187bf6f48881d51ec1b107204eeef312be7c06bf9b8e7f9db6581fe683Redeem71057752021-03-15 10:00:14316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00170197
0x9abfda1454726a17c3e5938a4a4067c60a73c8859f5bccf367abee23c4627f0dRedeem71057682021-03-15 9:59:53316 days 21 hrs ago0xcaf435b7af16cc03ac2876f07bae85e6a77e7a47 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00200197
0x6de713bc6b892f9ef72006b0b59c2443ceb28adf80d5ebb48f54499d22761affMint71048412021-03-15 9:13:32316 days 22 hrs ago0x1f67b39f06e37ed712e2e219403fa6fb322871ea IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00349654
0x20132af801caf98d424ec158b133e3705a62bb5917704e6c78eeb140e905c71dSet Global Colla...71034752021-03-15 8:05:14316 days 23 hrs ago0xfd1412ee517b9ed95e42568603178c4d4cb83e68 IN  0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB0.00030647
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf7904699834a0586f87fa107258532850253255a8ec3ad09da69dc6e0a552b7175032232021-03-29 6:32:38303 days 1 hr ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0xf7904699834a0586f87fa107258532850253255a8ec3ad09da69dc6e0a552b7175032232021-03-29 6:32:38303 days 1 hr ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0xf7904699834a0586f87fa107258532850253255a8ec3ad09da69dc6e0a552b7175032232021-03-29 6:32:38303 days 1 hr ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0xf7904699834a0586f87fa107258532850253255a8ec3ad09da69dc6e0a552b7175032232021-03-29 6:32:38303 days 1 hr ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0xee374d727faac594fb85b41e383cb4a84befff088cd7db78f28a6c7b04d4d1b675030522021-03-29 6:24:05303 days 1 hr ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0xee374d727faac594fb85b41e383cb4a84befff088cd7db78f28a6c7b04d4d1b675030522021-03-29 6:24:05303 days 1 hr ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0xee374d727faac594fb85b41e383cb4a84befff088cd7db78f28a6c7b04d4d1b675030522021-03-29 6:24:05303 days 1 hr ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0xee374d727faac594fb85b41e383cb4a84befff088cd7db78f28a6c7b04d4d1b675030522021-03-29 6:24:05303 days 1 hr ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x7db86dac80560bfabecfa6ef889974a7810912ffceaf958fe7455f91c3f0b9fa75030422021-03-29 6:23:35303 days 1 hr ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0x7db86dac80560bfabecfa6ef889974a7810912ffceaf958fe7455f91c3f0b9fa75030422021-03-29 6:23:35303 days 1 hr ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x7db86dac80560bfabecfa6ef889974a7810912ffceaf958fe7455f91c3f0b9fa75030422021-03-29 6:23:35303 days 1 hr ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0x7db86dac80560bfabecfa6ef889974a7810912ffceaf958fe7455f91c3f0b9fa75030422021-03-29 6:23:35303 days 1 hr ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x7528b9d9a561de636bd3f685e69bc64f0c1b02192b94346d09c7c2b093c3c43974490642021-03-27 9:00:19304 days 22 hrs ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0x7528b9d9a561de636bd3f685e69bc64f0c1b02192b94346d09c7c2b093c3c43974490642021-03-27 9:00:19304 days 22 hrs ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x7528b9d9a561de636bd3f685e69bc64f0c1b02192b94346d09c7c2b093c3c43974490642021-03-27 9:00:19304 days 22 hrs ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0x7528b9d9a561de636bd3f685e69bc64f0c1b02192b94346d09c7c2b093c3c43974490642021-03-27 9:00:19304 days 22 hrs ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x7528b9d9a561de636bd3f685e69bc64f0c1b02192b94346d09c7c2b093c3c43974490642021-03-27 9:00:19304 days 22 hrs ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0x7528b9d9a561de636bd3f685e69bc64f0c1b02192b94346d09c7c2b093c3c43974490642021-03-27 9:00:19304 days 22 hrs ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0xfbed576c20137c80b23cc97ce47d60c190f061b1da1a881e574e9d01469c2b7673032942021-03-22 7:31:49310 days 21 mins ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0xfbed576c20137c80b23cc97ce47d60c190f061b1da1a881e574e9d01469c2b7673032942021-03-22 7:31:49310 days 21 mins ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0xfbed576c20137c80b23cc97ce47d60c190f061b1da1a881e574e9d01469c2b7673032942021-03-22 7:31:49310 days 21 mins ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0xfbed576c20137c80b23cc97ce47d60c190f061b1da1a881e574e9d01469c2b7673032942021-03-22 7:31:49310 days 21 mins ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x9173d54590db24b046139f70d91ad35769aa577491fe80fb0bb3015d477b58cb73032082021-03-22 7:27:31310 days 26 mins ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
0x9173d54590db24b046139f70d91ad35769aa577491fe80fb0bb3015d477b58cb73032082021-03-22 7:27:31310 days 26 mins ago 0x70857f1bb089219e20274c4d63d4c7c038c4ea3a 0x484b5d9b3470feb38aa227cb0e6857a4e5126f200 BNB
0x9173d54590db24b046139f70d91ad35769aa577491fe80fb0bb3015d477b58cb73032082021-03-22 7:27:31310 days 26 mins ago 0x484b5d9b3470feb38aa227cb0e6857a4e5126f20 0xca8e8e6c2905f946488c30afc397ff6138799b1a0 BNB
[ Download CSV Export 
Loading

Similar Match Source Code
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