ETH Price: $3,674.41 (+0.94%)

Contract

0x953149ED724743Fa3a7a7F402e157AD8cf914C45
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...167345112023-03-01 14:58:35643 days ago1677682715IN
0x953149ED...8cf914C45
0 ETH0.0017239636.96245964
Set Approval For...159093462022-11-06 7:00:23758 days ago1667718023IN
0x953149ED...8cf914C45
0 ETH0.0005777112.38649117
Set Approval For...157870972022-10-20 5:03:47775 days ago1666242227IN
0x953149ED...8cf914C45
0 ETH0.000432517.43056626
Withdraw154861202022-09-06 20:16:00819 days ago1662495360IN
0x953149ED...8cf914C45
0 ETH0.0009115229.97351298
Set Approval For...145572262022-04-10 9:44:40968 days ago1649583880IN
0x953149ED...8cf914C45
0 ETH0.0010859523.24728111
Set Approval For...142370142022-02-19 14:29:491018 days ago1645280989IN
0x953149ED...8cf914C45
0 ETH0.0040650787
Set Approval For...142291102022-02-18 8:53:091019 days ago1645174389IN
0x953149ED...8cf914C45
0 ETH0.0045619797.6346621
Transfer From142290962022-02-18 8:51:151019 days ago1645174275IN
0x953149ED...8cf914C45
0 ETH0.01149202166.64282317
Transfer From142284222022-02-18 6:21:421019 days ago1645165302IN
0x953149ED...8cf914C45
0 ETH0.0026750957.08941125
Set Approval For...142281182022-02-18 5:13:341019 days ago1645161214IN
0x953149ED...8cf914C45
0 ETH0.0024445252.31737026
Set Approval For...142279292022-02-18 4:28:191019 days ago1645158499IN
0x953149ED...8cf914C45
0 ETH0.0038030481.39210354
Set Approval For...142237002022-02-17 12:40:211020 days ago1645101621IN
0x953149ED...8cf914C45
0 ETH0.0020898144.7258488
Set Approval For...142162172022-02-16 9:03:391021 days ago1645002219IN
0x953149ED...8cf914C45
0 ETH0.0023155549.55719301
Set Approval For...142139392022-02-16 0:21:411022 days ago1644970901IN
0x953149ED...8cf914C45
0 ETH0.00898278192.24792603
Set Approval For...142138692022-02-16 0:01:551022 days ago1644969715IN
0x953149ED...8cf914C45
0 ETH0.00748301160.1501965
Set Approval For...142137482022-02-15 23:37:581022 days ago1644968278IN
0x953149ED...8cf914C45
0 ETH0.0039361584.24098162
Set Approval For...142137312022-02-15 23:35:061022 days ago1644968106IN
0x953149ED...8cf914C45
0 ETH0.0043052292.13955478
Set Approval For...142102652022-02-15 10:51:441022 days ago1644922304IN
0x953149ED...8cf914C45
0 ETH0.0019362441.43919675
Set Approval For...142091922022-02-15 6:42:471022 days ago1644907367IN
0x953149ED...8cf914C45
0 ETH0.002242848
Mint140348052022-01-19 8:06:471049 days ago1642579607IN
0x953149ED...8cf914C45
0.1 ETH0.0099645692.24909982
Mint140347772022-01-19 8:00:371049 days ago1642579237IN
0x953149ED...8cf914C45
0.01 ETH0.0083047597.19305956
Mint140347302022-01-19 7:50:551049 days ago1642578655IN
0x953149ED...8cf914C45
0.01 ETH0.0069671981.53917569
Free Mint140347162022-01-19 7:47:481049 days ago1642578468IN
0x953149ED...8cf914C45
0 ETH0.0028519679.47959481
Free Mint140347142022-01-19 7:47:411049 days ago1642578461IN
0x953149ED...8cf914C45
0 ETH0.0031116486.71635739
Free Mint140347132022-01-19 7:47:361049 days ago1642578456IN
0x953149ED...8cf914C45
0 ETH0.0110309295.27484166
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
154861202022-09-06 20:16:00819 days ago1662495360
0x953149ED...8cf914C45
0.12 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BelleDAOphine

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : BelleDAOphine.sol
//SPDX-License-Identifier: MIT
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./Base64.sol";
import "./ERC721A.sol";
import "./Utils.sol";

contract BelleDAOphine is ERC721A, IERC2981, Ownable, ReentrancyGuard {
  using Strings for uint256;

  string private baseURI = "https://gateway.pinata.cloud/ipfs/QmQGKAWMDmgef2UrCKDRTrZTUYiHRrcJb8Zs6rrKmeV7VT";
  address private openSeaProxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
  bool private isOpenSeaProxyActive = true;

  uint256 public constant MAX_MINTS_PER_TX = 20;
  uint256 public NUM_FREE_MINTS = 555;
  uint256 public MAX_SUPPLY = 1100;

  uint256 public constant PUBLIC_SALE_PRICE = 0.01 ether;
  bool public isPublicSaleActive = true;

  // ============ ACCESS CONTROL/SANITY MODIFIERS ============

  modifier publicSaleActive() {
    require(isPublicSaleActive, "Public sale is not open");
    _;
  }

  modifier maxMintsPerTX(uint256 numberOfTokens) {
    require(
      numberOfTokens <= MAX_MINTS_PER_TX,
      "Max mints per transaction exceeded"
    );
    _;
  }

  modifier canMintNFTs(uint256 numberOfTokens) {
    require(
      totalSupply() + numberOfTokens <= MAX_SUPPLY,
      "Not enough mints remaining to mint"
    );
    _;
  }

  modifier freeMintsAvailable() {
    require(
      totalSupply() <=
        NUM_FREE_MINTS,
      "Not enough free mints remain"
    );
    _;
  }

  modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
    if (totalSupply() > NUM_FREE_MINTS){
      require(
        (price * numberOfTokens) == msg.value,
        "Incorrect ETH value sent"
      );
    }
    _;
  }

  constructor() ERC721A("BelleDAOphine", "BELLE", 20, MAX_SUPPLY) {
  }

  // ============ PUBLIC FUNCTIONS FOR MINTING ============

  function mint(uint256 numberOfTokens)
    external
    payable
    nonReentrant
    isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens)
    publicSaleActive
    canMintNFTs(numberOfTokens)
    maxMintsPerTX(numberOfTokens)
  {
    _safeMint(msg.sender, numberOfTokens);
  }

    function freeMint(uint256 numberOfTokens)
      external
      nonReentrant
      publicSaleActive
      canMintNFTs(numberOfTokens)
      maxMintsPerTX(numberOfTokens)
      freeMintsAvailable()
    {
      _safeMint(msg.sender, numberOfTokens);
    }

  // ============ PUBLIC READ-ONLY FUNCTIONS ============

  function getBaseURI() external view returns (string memory) {
    return baseURI;
  }

  // ============ OWNER-ONLY ADMIN FUNCTIONS ============

  function setBaseURI(string memory _baseURI) external onlyOwner {
    baseURI = _baseURI;
  }

  // function to disable gasless listings for security in case
  // opensea ever shuts down or is compromised
  function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive)
    external
    onlyOwner
  {
    isOpenSeaProxyActive = _isOpenSeaProxyActive;
  }

  function setIsPublicSaleActive(bool _isPublicSaleActive)
    external
    onlyOwner
  {
    isPublicSaleActive = _isPublicSaleActive;
  }

  function withdraw() public onlyOwner {
    uint256 balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }

  // ============ FUNCTION OVERRIDES ============

  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC721A, IERC165)
    returns (bool)
  {
    return
      interfaceId == type(IERC2981).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
    * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings.
    */
  function isApprovedForAll(address owner, address operator)
    public
    view
    override
    returns (bool)
  {
    // Get a reference to OpenSea's proxy registry contract by instantiating
    // the contract using the already existing address.
    ProxyRegistry proxyRegistry = ProxyRegistry(
      openSeaProxyRegistryAddress
    );
    if (
      isOpenSeaProxyActive &&
      address(proxyRegistry.proxies(owner)) == operator
    ) {
      return true;
    }

    return super.isApprovedForAll(owner, operator);
  }

  /**
    * @dev See {IERC721Metadata-tokenURI}.
    */
  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
  {
    string memory output = string(abi.encodePacked(baseURI, "/", Utils.toString(tokenId), ".png"));

    string memory json = Base64.encode(
      bytes(
        string(
          // TODO BEFORE PROD DEPLOY - UPDATE DESCRIPTION
          abi.encodePacked(
            '{"name": "Belle DAOphine Pass #',
            Utils.toString(tokenId),
            '", "description": "Hi! This is BelleDAOphine <3 Welcome to my cute and weird lil world.. This is where you will find 1111 membership passes that wont be found anywhere else! I am so excited to share this silly, vulnerable, and magical journey with you.", "image": "',
            output,
            '"}'
          )
        )
      )
    );

    output = string(
      abi.encodePacked("data:application/json;base64,", json)
    );

    return output;
  }

  /**
    * @dev See {IERC165-royaltyInfo}.
    */
  function royaltyInfo(uint256 tokenId, uint256 salePrice)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount)
  {
    require(_exists(tokenId), "Nonexistent token");

    return (address(this), SafeMath.div(SafeMath.mul(salePrice, 5), 100));
  }
}

// These contract definitions are used to create a reference to the OpenSea
// ProxyRegistry contract by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {

}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 5 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 6 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 18 : Base64.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 8 of 18 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // Mapping from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;

  // Mapping from owner to operator approvals
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @dev See {IERC165-supportsInterface}.
   */
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC165, IERC165)
    returns (bool)
  {
    return
      interfaceId == type(IERC721).interfaceId ||
      interfaceId == type(IERC721Metadata).interfaceId ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @dev See {IERC721Metadata-name}.
   */
  function name() public view virtual override returns (string memory) {
    return _name;
  }

  /**
   * @dev See {IERC721Metadata-symbol}.
   */
  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    string memory baseURI = _baseURI();
    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, tokenId.toString()))
        : "";
  }

  /**
   * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
   * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
   * by default, can be overriden in child contracts.
   */
  function _baseURI() internal view virtual returns (string memory) {
    return "";
  }

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

  /**
   * @dev See {IERC721-isApprovedForAll}.
   */
  function isApprovedForAll(address owner, address operator)
    public
    view
    virtual
    override
    returns (bool)
  {
    return _operatorApprovals[owner][operator];
  }

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    _transfer(from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId, prevOwnership.addr);

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits a {Approval} event.
   */
  function _approve(
    address to,
    uint256 tokenId,
    address owner
  ) private {
    _tokenApprovals[tokenId] = to;
    emit Approval(owner, to, tokenId);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
   * The call is not executed if the target address is not a contract.
   *
   * @param from address representing the previous owner of the given token ID
   * @param to target address that will receive the tokens
   * @param tokenId uint256 ID of the token to be transferred
   * @param _data bytes optional data to send along with the call
   * @return bool whether the call correctly returned the expected magic value
   */
  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      try
        IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
      returns (bytes4 retval) {
        return retval == IERC721Receiver(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 9 of 18 : Utils.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library Utils {
    function toString(uint256 value) internal pure returns (string memory) {
    // Inspired by OraclizeAPI's implementation - MIT license
    // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

    if (value == 0) {
      return "0";
    }
    uint256 temp = value;
    uint256 digits;
    while (temp != 0) {
      digits++;
      temp /= 10;
    }
    bytes memory buffer = new bytes(digits);
    while (value != 0) {
      digits -= 1;
      buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
      value /= 10;
    }
    return string(buffer);
  }
}

File 10 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 11 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

File 12 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 13 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 14 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 16 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 17 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        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");

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 18 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600080556000600755604051806080016040528060508152602001620054e060509139600a90805190602001906200003e92919062000323565b5073a5409ec958c83c3f309868babaca7c86dcb077c1600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b60146101000a81548160ff02191690831515021790555061022b600c5561044c600d556001600e60006101000a81548160ff021916908315150217905550348015620000e357600080fd5b506040518060400160405280600d81526020017f42656c6c6544414f7068696e65000000000000000000000000000000000000008152506040518060400160405280600581526020017f42454c4c450000000000000000000000000000000000000000000000000000008152506014600d54600081116200019b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001929062000443565b60405180910390fd5b60008211620001e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001d89062000421565b60405180910390fd5b8360019080519060200190620001f992919062000323565b5082600290805190602001906200021292919062000323565b508160a08181525050806080818152505050505050620002476200023b6200025560201b60201c565b6200025d60201b60201c565b600160098190555062000579565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003319062000476565b90600052602060002090601f016020900481019282620003555760008555620003a1565b82601f106200037057805160ff1916838001178555620003a1565b82800160010185558215620003a1579182015b82811115620003a057825182559160200191906001019062000383565b5b509050620003b09190620003b4565b5090565b5b80821115620003cf576000816000905550600101620003b5565b5090565b6000620003e260278362000465565b9150620003ef82620004db565b604082019050919050565b600062000409602e8362000465565b915062000416826200052a565b604082019050919050565b600060208201905081810360008301526200043c81620003d3565b9050919050565b600060208201905081810360008301526200045e81620003fa565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200048f57607f821691505b60208210811415620004a657620004a5620004ac565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b60805160a051614f36620005aa60003960008181612337015281816123600152612c63015260005050614f366000f3fe6080604052600436106101ee5760003560e01c80636352211e1161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd146106df578063d7224ba01461071c578063e43082f714610747578063e985e9c514610770578063f2fde38b146107ad576101ee565b8063a0712d6814610646578063a22cb46514610662578063b88d4fde1461068b578063c6a91b42146106b4576101ee565b80637c928fe9116100dc5780637c928fe91461059c5780638da5cb5b146105c557806395d89b41146105f0578063982d669e1461061b576101ee565b80636352211e146104e057806370a082311461051d578063714c53981461055a578063715018a614610585576101ee565b806328cad13d116101855780633ccfd60b116101545780633ccfd60b1461043a57806342842e0e146104515780634f6ccce71461047a57806355f804b3146104b7576101ee565b806328cad13d1461036b5780632a55205a146103945780632f745c59146103d257806332cb6b0c1461040f576101ee565b8063095ea7b3116101c1578063095ea7b3146102c357806318160ddd146102ec5780631e84c4131461031757806323b872dd14610342576101ee565b806301ffc9a7146101f357806306fdde031461023057806307e89ec01461025b578063081812fc14610286575b600080fd5b3480156101ff57600080fd5b5061021a6004803603810190610215919061348f565b6107d6565b6040516102279190613c92565b60405180910390f35b34801561023c57600080fd5b50610245610850565b6040516102529190613cad565b60405180910390f35b34801561026757600080fd5b506102706108e2565b60405161027d919061400f565b60405180910390f35b34801561029257600080fd5b506102ad60048036038101906102a8919061354b565b6108ed565b6040516102ba9190613c02565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e5919061342a565b610972565b005b3480156102f857600080fd5b50610301610a8b565b60405161030e919061400f565b60405180910390f35b34801561032357600080fd5b5061032c610a94565b6040516103399190613c92565b60405180910390f35b34801561034e57600080fd5b5061036960048036038101906103649190613324565b610aa7565b005b34801561037757600080fd5b50610392600480360381019061038d9190613466565b610ab7565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613574565b610b50565b6040516103c9929190613c69565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f4919061342a565b610bbc565b604051610406919061400f565b60405180910390f35b34801561041b57600080fd5b50610424610dba565b604051610431919061400f565b60405180910390f35b34801561044657600080fd5b5061044f610dc0565b005b34801561045d57600080fd5b5061047860048036038101906104739190613324565b610e8b565b005b34801561048657600080fd5b506104a1600480360381019061049c919061354b565b610eab565b6040516104ae919061400f565b60405180910390f35b3480156104c357600080fd5b506104de60048036038101906104d9919061350a565b610efe565b005b3480156104ec57600080fd5b506105076004803603810190610502919061354b565b610f94565b6040516105149190613c02565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f91906132bf565b610faa565b604051610551919061400f565b60405180910390f35b34801561056657600080fd5b5061056f611093565b60405161057c9190613cad565b60405180910390f35b34801561059157600080fd5b5061059a611125565b005b3480156105a857600080fd5b506105c360048036038101906105be919061354b565b6111ad565b005b3480156105d157600080fd5b506105da61134a565b6040516105e79190613c02565b60405180910390f35b3480156105fc57600080fd5b50610605611374565b6040516106129190613cad565b60405180910390f35b34801561062757600080fd5b50610630611406565b60405161063d919061400f565b60405180910390f35b610660600480360381019061065b919061354b565b61140c565b005b34801561066e57600080fd5b50610689600480360381019061068491906133ee565b6115c7565b005b34801561069757600080fd5b506106b260048036038101906106ad9190613373565b611748565b005b3480156106c057600080fd5b506106c96117a4565b6040516106d6919061400f565b60405180910390f35b3480156106eb57600080fd5b506107066004803603810190610701919061354b565b6117a9565b6040516107139190613cad565b60405180910390f35b34801561072857600080fd5b5061073161183c565b60405161073e919061400f565b60405180910390f35b34801561075357600080fd5b5061076e60048036038101906107699190613466565b611842565b005b34801561077c57600080fd5b50610797600480360381019061079291906132e8565b6118db565b6040516107a49190613c92565b60405180910390f35b3480156107b957600080fd5b506107d460048036038101906107cf91906132bf565b6119f5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610849575061084882611aed565b5b9050919050565b60606001805461085f906143a6565b80601f016020809104026020016040519081016040528092919081815260200182805461088b906143a6565b80156108d85780601f106108ad576101008083540402835291602001916108d8565b820191906000526020600020905b8154815290600101906020018083116108bb57829003601f168201915b5050505050905090565b662386f26fc1000081565b60006108f882611c37565b610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e90613fcf565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097d82610f94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e590613e8f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a0d611c44565b73ffffffffffffffffffffffffffffffffffffffff161480610a3c5750610a3b81610a36611c44565b6118db565b5b610a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7290613dcf565b60405180910390fd5b610a86838383611c4c565b505050565b60008054905090565b600e60009054906101000a900460ff1681565b610ab2838383611cfe565b505050565b610abf611c44565b73ffffffffffffffffffffffffffffffffffffffff16610add61134a565b73ffffffffffffffffffffffffffffffffffffffff1614610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90613e2f565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b600080610b5c84611c37565b610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9290613daf565b60405180910390fd5b30610bb1610baa8560056122b7565b60646122cd565b915091509250929050565b6000610bc783610faa565b8210610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90613ccf565b60405180910390fd5b6000610c12610a8b565b905060008060005b83811015610d78576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d0c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d645786841415610d55578195505050505050610db4565b8380610d6090614409565b9450505b508080610d7090614409565b915050610c1a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613f4f565b60405180910390fd5b92915050565b600d5481565b610dc8611c44565b73ffffffffffffffffffffffffffffffffffffffff16610de661134a565b73ffffffffffffffffffffffffffffffffffffffff1614610e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3390613e2f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e87573d6000803e3d6000fd5b5050565b610ea683838360405180602001604052806000815250611748565b505050565b6000610eb5610a8b565b8210610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90613d2f565b60405180910390fd5b819050919050565b610f06611c44565b73ffffffffffffffffffffffffffffffffffffffff16610f2461134a565b73ffffffffffffffffffffffffffffffffffffffff1614610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190613e2f565b60405180910390fd5b80600a9080519060200190610f90929190613094565b5050565b6000610f9f826122e3565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290613def565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6060600a80546110a2906143a6565b80601f01602080910402602001604051908101604052809291908181526020018280546110ce906143a6565b801561111b5780601f106110f05761010080835404028352916020019161111b565b820191906000526020600020905b8154815290600101906020018083116110fe57829003601f168201915b5050505050905090565b61112d611c44565b73ffffffffffffffffffffffffffffffffffffffff1661114b61134a565b73ffffffffffffffffffffffffffffffffffffffff16146111a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119890613e2f565b60405180910390fd5b6111ab60006124e6565b565b600260095414156111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90613f6f565b60405180910390fd5b6002600981905550600e60009054906101000a900460ff1661124a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124190613faf565b60405180910390fd5b80600d5481611257610a8b565b611261919061414f565b11156112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990613d4f565b60405180910390fd5b8160148111156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90613d8f565b60405180910390fd5b600c546112f2610a8b565b1115611333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132a90613f0f565b60405180910390fd5b61133d33846125ac565b5050600160098190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611383906143a6565b80601f01602080910402602001604051908101604052809291908181526020018280546113af906143a6565b80156113fc5780601f106113d1576101008083540402835291602001916113fc565b820191906000526020600020905b8154815290600101906020018083116113df57829003601f168201915b5050505050905090565b600c5481565b60026009541415611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990613f6f565b60405180910390fd5b6002600981905550662386f26fc1000081600c5461146e610a8b565b11156114c25734818361148191906141d6565b146114c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b890613f2f565b60405180910390fd5b5b600e60009054906101000a900460ff16611511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150890613faf565b60405180910390fd5b82600d548161151e610a8b565b611528919061414f565b1115611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156090613d4f565b60405180910390fd5b8360148111156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590613d8f565b60405180910390fd5b6115b833866125ac565b50505050600160098190555050565b6115cf611c44565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490613e4f565b60405180910390fd5b806006600061164a611c44565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116f7611c44565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161173c9190613c92565b60405180910390a35050565b611753848484611cfe565b61175f848484846125ca565b61179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590613eaf565b60405180910390fd5b50505050565b601481565b60606000600a6117b884612761565b6040516020016117c9929190613b61565b6040516020818303038152906040529050600061180e6117e885612761565b836040516020016117fa929190613b9b565b60405160208183030381529060405261290e565b9050806040516020016118219190613be0565b60405160208183030381529060405291508192505050919050565b60075481565b61184a611c44565b73ffffffffffffffffffffffffffffffffffffffff1661186861134a565b73ffffffffffffffffffffffffffffffffffffffff16146118be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b590613e2f565b60405180910390fd5b80600b60146101000a81548160ff02191690831515021790555050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600b60149054906101000a900460ff1680156119d257508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161196a9190613c02565b60206040518083038186803b15801561198257600080fd5b505afa158015611996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ba91906134e1565b73ffffffffffffffffffffffffffffffffffffffff16145b156119e15760019150506119ef565b6119eb8484612a98565b9150505b92915050565b6119fd611c44565b73ffffffffffffffffffffffffffffffffffffffff16611a1b61134a565b73ffffffffffffffffffffffffffffffffffffffff1614611a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6890613e2f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890613cef565b60405180910390fd5b611aea816124e6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bb857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c2057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c305750611c2f82612b2c565b5b9050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611d09826122e3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611d30611c44565b73ffffffffffffffffffffffffffffffffffffffff161480611d8c5750611d55611c44565b73ffffffffffffffffffffffffffffffffffffffff16611d74846108ed565b73ffffffffffffffffffffffffffffffffffffffff16145b80611da85750611da78260000151611da2611c44565b6118db565b5b905080611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190613e6f565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5390613e0f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec390613d6f565b60405180910390fd5b611ed98585856001612b96565b611ee96000848460000151611c4c565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611f579190614230565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611ffb9190614109565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612101919061414f565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122475761217781611c37565b15612246576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122af8686866001612b9c565b505050505050565b600081836122c591906141d6565b905092915050565b600081836122db91906141a5565b905092915050565b6122eb61311a565b6122f482611c37565b612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a90613d0f565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106123975760017f00000000000000000000000000000000000000000000000000000000000000008461238a9190614264565b612394919061414f565b90505b60008390505b8181106124a5576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612491578093505050506124e1565b50808061249d9061437c565b91505061239d565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890613f8f565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125c6828260405180602001604052806000815250612ba2565b5050565b60006125eb8473ffffffffffffffffffffffffffffffffffffffff16613081565b15612754578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612614611c44565b8786866040518563ffffffff1660e01b81526004016126369493929190613c1d565b602060405180830381600087803b15801561265057600080fd5b505af192505050801561268157506040513d601f19601f8201168201806040525081019061267e91906134b8565b60015b612704573d80600081146126b1576040519150601f19603f3d011682016040523d82523d6000602084013e6126b6565b606091505b506000815114156126fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f390613eaf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612759565b600190505b949350505050565b606060008214156127a9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612909565b600082905060005b600082146127db5780806127c490614409565b915050600a826127d491906141a5565b91506127b1565b60008167ffffffffffffffff81111561281d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561284f5781602001600182028036833780820191505090505b5090505b60008514612902576001826128689190614264565b9150600a856128779190614452565b6030612883919061414f565b60f81b8183815181106128bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128fb91906141a5565b9450612853565b8093505050505b919050565b606060008251141561293157604051806020016040528060008152509050612a93565b6000604051806060016040528060408152602001614ec16040913990506000600360028551612960919061414f565b61296a91906141a5565b600461297691906141d6565b67ffffffffffffffff8111156129b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129e75781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612a53576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506129f8565b5050600386510660018114612a6f5760028114612a8257612a8a565b603d6001830353603d6002830353612a8a565b603d60018303535b50505080925050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0f90613eef565b60405180910390fd5b612c2181611c37565b15612c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5890613ecf565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115612cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbb90613fef565b60405180910390fd5b612cd16000858386612b96565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612dce9190614109565b6fffffffffffffffffffffffffffffffff168152602001858360200151612df59190614109565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561306457818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461300460008884886125ca565b613043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303a90613eaf565b60405180910390fd5b818061304e90614409565b925050808061305c90614409565b915050612f93565b50806000819055506130796000878588612b9c565b505050505050565b600080823b905060008111915050919050565b8280546130a0906143a6565b90600052602060002090601f0160209004810192826130c25760008555613109565b82601f106130db57805160ff1916838001178555613109565b82800160010185558215613109579182015b828111156131085782518255916020019190600101906130ed565b5b5090506131169190613154565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561316d576000816000905550600101613155565b5090565b600061318461317f8461404f565b61402a565b90508281526020810184848401111561319c57600080fd5b6131a784828561433a565b509392505050565b60006131c26131bd84614080565b61402a565b9050828152602081018484840111156131da57600080fd5b6131e584828561433a565b509392505050565b6000813590506131fc81614e4d565b92915050565b60008135905061321181614e64565b92915050565b60008135905061322681614e7b565b92915050565b60008151905061323b81614e7b565b92915050565b600082601f83011261325257600080fd5b8135613262848260208601613171565b91505092915050565b60008151905061327a81614e92565b92915050565b600082601f83011261329157600080fd5b81356132a18482602086016131af565b91505092915050565b6000813590506132b981614ea9565b92915050565b6000602082840312156132d157600080fd5b60006132df848285016131ed565b91505092915050565b600080604083850312156132fb57600080fd5b6000613309858286016131ed565b925050602061331a858286016131ed565b9150509250929050565b60008060006060848603121561333957600080fd5b6000613347868287016131ed565b9350506020613358868287016131ed565b9250506040613369868287016132aa565b9150509250925092565b6000806000806080858703121561338957600080fd5b6000613397878288016131ed565b94505060206133a8878288016131ed565b93505060406133b9878288016132aa565b925050606085013567ffffffffffffffff8111156133d657600080fd5b6133e287828801613241565b91505092959194509250565b6000806040838503121561340157600080fd5b600061340f858286016131ed565b925050602061342085828601613202565b9150509250929050565b6000806040838503121561343d57600080fd5b600061344b858286016131ed565b925050602061345c858286016132aa565b9150509250929050565b60006020828403121561347857600080fd5b600061348684828501613202565b91505092915050565b6000602082840312156134a157600080fd5b60006134af84828501613217565b91505092915050565b6000602082840312156134ca57600080fd5b60006134d88482850161322c565b91505092915050565b6000602082840312156134f357600080fd5b60006135018482850161326b565b91505092915050565b60006020828403121561351c57600080fd5b600082013567ffffffffffffffff81111561353657600080fd5b61354284828501613280565b91505092915050565b60006020828403121561355d57600080fd5b600061356b848285016132aa565b91505092915050565b6000806040838503121561358757600080fd5b6000613595858286016132aa565b92505060206135a6858286016132aa565b9150509250929050565b6135b981614298565b82525050565b6135c8816142aa565b82525050565b60006135d9826140c6565b6135e381856140dc565b93506135f3818560208601614349565b6135fc8161453f565b840191505092915050565b6000613612826140d1565b61361c81856140ed565b935061362c818560208601614349565b6136358161453f565b840191505092915050565b600061364b826140d1565b61365581856140fe565b9350613665818560208601614349565b80840191505092915050565b6000815461367e816143a6565b61368881866140fe565b945060018216600081146136a357600181146136b4576136e7565b60ff198316865281860193506136e7565b6136bd856140b1565b60005b838110156136df578154818901526001820191506020810190506136c0565b838801955050505b50505092915050565b60006136fd6022836140ed565b915061370882614550565b604082019050919050565b6000613721610109836140fe565b915061372c8261459f565b61010982019050919050565b6000613745601f836140fe565b9150613750826146f9565b601f82019050919050565b60006137686026836140ed565b915061377382614722565b604082019050919050565b600061378b602a836140ed565b915061379682614771565b604082019050919050565b60006137ae6004836140fe565b91506137b9826147c0565b600482019050919050565b60006137d16023836140ed565b91506137dc826147e9565b604082019050919050565b60006137f46022836140ed565b91506137ff82614838565b604082019050919050565b60006138176025836140ed565b915061382282614887565b604082019050919050565b600061383a6022836140ed565b9150613845826148d6565b604082019050919050565b600061385d6011836140ed565b915061386882614925565b602082019050919050565b60006138806039836140ed565b915061388b8261494e565b604082019050919050565b60006138a36002836140fe565b91506138ae8261499d565b600282019050919050565b60006138c6602b836140ed565b91506138d1826149c6565b604082019050919050565b60006138e96026836140ed565b91506138f482614a15565b604082019050919050565b600061390c6020836140ed565b915061391782614a64565b602082019050919050565b600061392f601a836140ed565b915061393a82614a8d565b602082019050919050565b60006139526032836140ed565b915061395d82614ab6565b604082019050919050565b6000613975601d836140fe565b915061398082614b05565b601d82019050919050565b60006139986022836140ed565b91506139a382614b2e565b604082019050919050565b60006139bb6033836140ed565b91506139c682614b7d565b604082019050919050565b60006139de601d836140ed565b91506139e982614bcc565b602082019050919050565b6000613a016021836140ed565b9150613a0c82614bf5565b604082019050919050565b6000613a24601c836140ed565b9150613a2f82614c44565b602082019050919050565b6000613a476018836140ed565b9150613a5282614c6d565b602082019050919050565b6000613a6a602e836140ed565b9150613a7582614c96565b604082019050919050565b6000613a8d601f836140ed565b9150613a9882614ce5565b602082019050919050565b6000613ab0602f836140ed565b9150613abb82614d0e565b604082019050919050565b6000613ad36017836140ed565b9150613ade82614d5d565b602082019050919050565b6000613af6602d836140ed565b9150613b0182614d86565b604082019050919050565b6000613b196022836140ed565b9150613b2482614dd5565b604082019050919050565b6000613b3c6001836140fe565b9150613b4782614e24565b600182019050919050565b613b5b81614330565b82525050565b6000613b6d8285613671565b9150613b7882613b2f565b9150613b848284613640565b9150613b8f826137a1565b91508190509392505050565b6000613ba682613738565b9150613bb28285613640565b9150613bbd82613713565b9150613bc98284613640565b9150613bd482613896565b91508190509392505050565b6000613beb82613968565b9150613bf78284613640565b915081905092915050565b6000602082019050613c1760008301846135b0565b92915050565b6000608082019050613c3260008301876135b0565b613c3f60208301866135b0565b613c4c6040830185613b52565b8181036060830152613c5e81846135ce565b905095945050505050565b6000604082019050613c7e60008301856135b0565b613c8b6020830184613b52565b9392505050565b6000602082019050613ca760008301846135bf565b92915050565b60006020820190508181036000830152613cc78184613607565b905092915050565b60006020820190508181036000830152613ce8816136f0565b9050919050565b60006020820190508181036000830152613d088161375b565b9050919050565b60006020820190508181036000830152613d288161377e565b9050919050565b60006020820190508181036000830152613d48816137c4565b9050919050565b60006020820190508181036000830152613d68816137e7565b9050919050565b60006020820190508181036000830152613d888161380a565b9050919050565b60006020820190508181036000830152613da88161382d565b9050919050565b60006020820190508181036000830152613dc881613850565b9050919050565b60006020820190508181036000830152613de881613873565b9050919050565b60006020820190508181036000830152613e08816138b9565b9050919050565b60006020820190508181036000830152613e28816138dc565b9050919050565b60006020820190508181036000830152613e48816138ff565b9050919050565b60006020820190508181036000830152613e6881613922565b9050919050565b60006020820190508181036000830152613e8881613945565b9050919050565b60006020820190508181036000830152613ea88161398b565b9050919050565b60006020820190508181036000830152613ec8816139ae565b9050919050565b60006020820190508181036000830152613ee8816139d1565b9050919050565b60006020820190508181036000830152613f08816139f4565b9050919050565b60006020820190508181036000830152613f2881613a17565b9050919050565b60006020820190508181036000830152613f4881613a3a565b9050919050565b60006020820190508181036000830152613f6881613a5d565b9050919050565b60006020820190508181036000830152613f8881613a80565b9050919050565b60006020820190508181036000830152613fa881613aa3565b9050919050565b60006020820190508181036000830152613fc881613ac6565b9050919050565b60006020820190508181036000830152613fe881613ae9565b9050919050565b6000602082019050818103600083015261400881613b0c565b9050919050565b60006020820190506140246000830184613b52565b92915050565b6000614034614045565b905061404082826143d8565b919050565b6000604051905090565b600067ffffffffffffffff82111561406a57614069614510565b5b6140738261453f565b9050602081019050919050565b600067ffffffffffffffff82111561409b5761409a614510565b5b6140a48261453f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614114826142f4565b915061411f836142f4565b9250826fffffffffffffffffffffffffffffffff0382111561414457614143614483565b5b828201905092915050565b600061415a82614330565b915061416583614330565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561419a57614199614483565b5b828201905092915050565b60006141b082614330565b91506141bb83614330565b9250826141cb576141ca6144b2565b5b828204905092915050565b60006141e182614330565b91506141ec83614330565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561422557614224614483565b5b828202905092915050565b600061423b826142f4565b9150614246836142f4565b92508282101561425957614258614483565b5b828203905092915050565b600061426f82614330565b915061427a83614330565b92508282101561428d5761428c614483565b5b828203905092915050565b60006142a382614310565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006142ed82614298565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561436757808201518184015260208101905061434c565b83811115614376576000848401525b50505050565b600061438782614330565b9150600082141561439b5761439a614483565b5b600182039050919050565b600060028204905060018216806143be57607f821691505b602082108114156143d2576143d16144e1565b5b50919050565b6143e18261453f565b810181811067ffffffffffffffff82111715614400576143ff614510565b5b80604052505050565b600061441482614330565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444757614446614483565b5b600182019050919050565b600061445d82614330565b915061446883614330565b925082614478576144776144b2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a20224869212054686973206973204260008201527f656c6c6544414f7068696e65203c332057656c636f6d6520746f206d7920637560208201527f746520616e64207765697264206c696c20776f726c642e2e205468697320697360408201527f20776865726520796f752077696c6c2066696e642031313131206d656d62657260608201527f7368697020706173736573207468617420776f6e7420626520666f756e64206160808201527f6e79776865726520656c736521204920616d20736f206578636974656420746f60a08201527f20736861726520746869732073696c6c792c2076756c6e657261626c652c206160c08201527f6e64206d61676963616c206a6f75726e6579207769746820796f752e222c202260e08201527f696d616765223a2022000000000000000000000000000000000000000000000061010082015250565b7f7b226e616d65223a202242656c6c652044414f7068696e652050617373202300600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4d6178206d696e747320706572207472616e73616374696f6e2065786365656460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682066726565206d696e74732072656d61696e00000000600082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b614e5681614298565b8114614e6157600080fd5b50565b614e6d816142aa565b8114614e7857600080fd5b50565b614e84816142b6565b8114614e8f57600080fd5b50565b614e9b816142e2565b8114614ea657600080fd5b50565b614eb281614330565b8114614ebd57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f0128927ac915706d3f10d4373a20023e997634e73aa6f3c9bf54bad6664780964736f6c6343000804003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d51474b41574d446d676566325572434b445254725a54555969485272634a62385a733672724b6d6556375654

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80636352211e1161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd146106df578063d7224ba01461071c578063e43082f714610747578063e985e9c514610770578063f2fde38b146107ad576101ee565b8063a0712d6814610646578063a22cb46514610662578063b88d4fde1461068b578063c6a91b42146106b4576101ee565b80637c928fe9116100dc5780637c928fe91461059c5780638da5cb5b146105c557806395d89b41146105f0578063982d669e1461061b576101ee565b80636352211e146104e057806370a082311461051d578063714c53981461055a578063715018a614610585576101ee565b806328cad13d116101855780633ccfd60b116101545780633ccfd60b1461043a57806342842e0e146104515780634f6ccce71461047a57806355f804b3146104b7576101ee565b806328cad13d1461036b5780632a55205a146103945780632f745c59146103d257806332cb6b0c1461040f576101ee565b8063095ea7b3116101c1578063095ea7b3146102c357806318160ddd146102ec5780631e84c4131461031757806323b872dd14610342576101ee565b806301ffc9a7146101f357806306fdde031461023057806307e89ec01461025b578063081812fc14610286575b600080fd5b3480156101ff57600080fd5b5061021a6004803603810190610215919061348f565b6107d6565b6040516102279190613c92565b60405180910390f35b34801561023c57600080fd5b50610245610850565b6040516102529190613cad565b60405180910390f35b34801561026757600080fd5b506102706108e2565b60405161027d919061400f565b60405180910390f35b34801561029257600080fd5b506102ad60048036038101906102a8919061354b565b6108ed565b6040516102ba9190613c02565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e5919061342a565b610972565b005b3480156102f857600080fd5b50610301610a8b565b60405161030e919061400f565b60405180910390f35b34801561032357600080fd5b5061032c610a94565b6040516103399190613c92565b60405180910390f35b34801561034e57600080fd5b5061036960048036038101906103649190613324565b610aa7565b005b34801561037757600080fd5b50610392600480360381019061038d9190613466565b610ab7565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613574565b610b50565b6040516103c9929190613c69565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f4919061342a565b610bbc565b604051610406919061400f565b60405180910390f35b34801561041b57600080fd5b50610424610dba565b604051610431919061400f565b60405180910390f35b34801561044657600080fd5b5061044f610dc0565b005b34801561045d57600080fd5b5061047860048036038101906104739190613324565b610e8b565b005b34801561048657600080fd5b506104a1600480360381019061049c919061354b565b610eab565b6040516104ae919061400f565b60405180910390f35b3480156104c357600080fd5b506104de60048036038101906104d9919061350a565b610efe565b005b3480156104ec57600080fd5b506105076004803603810190610502919061354b565b610f94565b6040516105149190613c02565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f91906132bf565b610faa565b604051610551919061400f565b60405180910390f35b34801561056657600080fd5b5061056f611093565b60405161057c9190613cad565b60405180910390f35b34801561059157600080fd5b5061059a611125565b005b3480156105a857600080fd5b506105c360048036038101906105be919061354b565b6111ad565b005b3480156105d157600080fd5b506105da61134a565b6040516105e79190613c02565b60405180910390f35b3480156105fc57600080fd5b50610605611374565b6040516106129190613cad565b60405180910390f35b34801561062757600080fd5b50610630611406565b60405161063d919061400f565b60405180910390f35b610660600480360381019061065b919061354b565b61140c565b005b34801561066e57600080fd5b50610689600480360381019061068491906133ee565b6115c7565b005b34801561069757600080fd5b506106b260048036038101906106ad9190613373565b611748565b005b3480156106c057600080fd5b506106c96117a4565b6040516106d6919061400f565b60405180910390f35b3480156106eb57600080fd5b506107066004803603810190610701919061354b565b6117a9565b6040516107139190613cad565b60405180910390f35b34801561072857600080fd5b5061073161183c565b60405161073e919061400f565b60405180910390f35b34801561075357600080fd5b5061076e60048036038101906107699190613466565b611842565b005b34801561077c57600080fd5b50610797600480360381019061079291906132e8565b6118db565b6040516107a49190613c92565b60405180910390f35b3480156107b957600080fd5b506107d460048036038101906107cf91906132bf565b6119f5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610849575061084882611aed565b5b9050919050565b60606001805461085f906143a6565b80601f016020809104026020016040519081016040528092919081815260200182805461088b906143a6565b80156108d85780601f106108ad576101008083540402835291602001916108d8565b820191906000526020600020905b8154815290600101906020018083116108bb57829003601f168201915b5050505050905090565b662386f26fc1000081565b60006108f882611c37565b610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e90613fcf565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097d82610f94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e590613e8f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a0d611c44565b73ffffffffffffffffffffffffffffffffffffffff161480610a3c5750610a3b81610a36611c44565b6118db565b5b610a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7290613dcf565b60405180910390fd5b610a86838383611c4c565b505050565b60008054905090565b600e60009054906101000a900460ff1681565b610ab2838383611cfe565b505050565b610abf611c44565b73ffffffffffffffffffffffffffffffffffffffff16610add61134a565b73ffffffffffffffffffffffffffffffffffffffff1614610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90613e2f565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b600080610b5c84611c37565b610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9290613daf565b60405180910390fd5b30610bb1610baa8560056122b7565b60646122cd565b915091509250929050565b6000610bc783610faa565b8210610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90613ccf565b60405180910390fd5b6000610c12610a8b565b905060008060005b83811015610d78576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d0c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d645786841415610d55578195505050505050610db4565b8380610d6090614409565b9450505b508080610d7090614409565b915050610c1a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613f4f565b60405180910390fd5b92915050565b600d5481565b610dc8611c44565b73ffffffffffffffffffffffffffffffffffffffff16610de661134a565b73ffffffffffffffffffffffffffffffffffffffff1614610e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3390613e2f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e87573d6000803e3d6000fd5b5050565b610ea683838360405180602001604052806000815250611748565b505050565b6000610eb5610a8b565b8210610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90613d2f565b60405180910390fd5b819050919050565b610f06611c44565b73ffffffffffffffffffffffffffffffffffffffff16610f2461134a565b73ffffffffffffffffffffffffffffffffffffffff1614610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190613e2f565b60405180910390fd5b80600a9080519060200190610f90929190613094565b5050565b6000610f9f826122e3565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290613def565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6060600a80546110a2906143a6565b80601f01602080910402602001604051908101604052809291908181526020018280546110ce906143a6565b801561111b5780601f106110f05761010080835404028352916020019161111b565b820191906000526020600020905b8154815290600101906020018083116110fe57829003601f168201915b5050505050905090565b61112d611c44565b73ffffffffffffffffffffffffffffffffffffffff1661114b61134a565b73ffffffffffffffffffffffffffffffffffffffff16146111a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119890613e2f565b60405180910390fd5b6111ab60006124e6565b565b600260095414156111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90613f6f565b60405180910390fd5b6002600981905550600e60009054906101000a900460ff1661124a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124190613faf565b60405180910390fd5b80600d5481611257610a8b565b611261919061414f565b11156112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990613d4f565b60405180910390fd5b8160148111156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90613d8f565b60405180910390fd5b600c546112f2610a8b565b1115611333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132a90613f0f565b60405180910390fd5b61133d33846125ac565b5050600160098190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611383906143a6565b80601f01602080910402602001604051908101604052809291908181526020018280546113af906143a6565b80156113fc5780601f106113d1576101008083540402835291602001916113fc565b820191906000526020600020905b8154815290600101906020018083116113df57829003601f168201915b5050505050905090565b600c5481565b60026009541415611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990613f6f565b60405180910390fd5b6002600981905550662386f26fc1000081600c5461146e610a8b565b11156114c25734818361148191906141d6565b146114c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b890613f2f565b60405180910390fd5b5b600e60009054906101000a900460ff16611511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150890613faf565b60405180910390fd5b82600d548161151e610a8b565b611528919061414f565b1115611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156090613d4f565b60405180910390fd5b8360148111156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590613d8f565b60405180910390fd5b6115b833866125ac565b50505050600160098190555050565b6115cf611c44565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490613e4f565b60405180910390fd5b806006600061164a611c44565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116f7611c44565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161173c9190613c92565b60405180910390a35050565b611753848484611cfe565b61175f848484846125ca565b61179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590613eaf565b60405180910390fd5b50505050565b601481565b60606000600a6117b884612761565b6040516020016117c9929190613b61565b6040516020818303038152906040529050600061180e6117e885612761565b836040516020016117fa929190613b9b565b60405160208183030381529060405261290e565b9050806040516020016118219190613be0565b60405160208183030381529060405291508192505050919050565b60075481565b61184a611c44565b73ffffffffffffffffffffffffffffffffffffffff1661186861134a565b73ffffffffffffffffffffffffffffffffffffffff16146118be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b590613e2f565b60405180910390fd5b80600b60146101000a81548160ff02191690831515021790555050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600b60149054906101000a900460ff1680156119d257508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161196a9190613c02565b60206040518083038186803b15801561198257600080fd5b505afa158015611996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ba91906134e1565b73ffffffffffffffffffffffffffffffffffffffff16145b156119e15760019150506119ef565b6119eb8484612a98565b9150505b92915050565b6119fd611c44565b73ffffffffffffffffffffffffffffffffffffffff16611a1b61134a565b73ffffffffffffffffffffffffffffffffffffffff1614611a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6890613e2f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890613cef565b60405180910390fd5b611aea816124e6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bb857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c2057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c305750611c2f82612b2c565b5b9050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611d09826122e3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611d30611c44565b73ffffffffffffffffffffffffffffffffffffffff161480611d8c5750611d55611c44565b73ffffffffffffffffffffffffffffffffffffffff16611d74846108ed565b73ffffffffffffffffffffffffffffffffffffffff16145b80611da85750611da78260000151611da2611c44565b6118db565b5b905080611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190613e6f565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5390613e0f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec390613d6f565b60405180910390fd5b611ed98585856001612b96565b611ee96000848460000151611c4c565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611f579190614230565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611ffb9190614109565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612101919061414f565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122475761217781611c37565b15612246576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122af8686866001612b9c565b505050505050565b600081836122c591906141d6565b905092915050565b600081836122db91906141a5565b905092915050565b6122eb61311a565b6122f482611c37565b612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a90613d0f565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000001483106123975760017f00000000000000000000000000000000000000000000000000000000000000148461238a9190614264565b612394919061414f565b90505b60008390505b8181106124a5576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612491578093505050506124e1565b50808061249d9061437c565b91505061239d565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890613f8f565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125c6828260405180602001604052806000815250612ba2565b5050565b60006125eb8473ffffffffffffffffffffffffffffffffffffffff16613081565b15612754578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612614611c44565b8786866040518563ffffffff1660e01b81526004016126369493929190613c1d565b602060405180830381600087803b15801561265057600080fd5b505af192505050801561268157506040513d601f19601f8201168201806040525081019061267e91906134b8565b60015b612704573d80600081146126b1576040519150601f19603f3d011682016040523d82523d6000602084013e6126b6565b606091505b506000815114156126fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f390613eaf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612759565b600190505b949350505050565b606060008214156127a9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612909565b600082905060005b600082146127db5780806127c490614409565b915050600a826127d491906141a5565b91506127b1565b60008167ffffffffffffffff81111561281d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561284f5781602001600182028036833780820191505090505b5090505b60008514612902576001826128689190614264565b9150600a856128779190614452565b6030612883919061414f565b60f81b8183815181106128bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128fb91906141a5565b9450612853565b8093505050505b919050565b606060008251141561293157604051806020016040528060008152509050612a93565b6000604051806060016040528060408152602001614ec16040913990506000600360028551612960919061414f565b61296a91906141a5565b600461297691906141d6565b67ffffffffffffffff8111156129b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129e75781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612a53576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506129f8565b5050600386510660018114612a6f5760028114612a8257612a8a565b603d6001830353603d6002830353612a8a565b603d60018303535b50505080925050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0f90613eef565b60405180910390fd5b612c2181611c37565b15612c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5890613ecf565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000014831115612cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbb90613fef565b60405180910390fd5b612cd16000858386612b96565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612dce9190614109565b6fffffffffffffffffffffffffffffffff168152602001858360200151612df59190614109565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561306457818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461300460008884886125ca565b613043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303a90613eaf565b60405180910390fd5b818061304e90614409565b925050808061305c90614409565b915050612f93565b50806000819055506130796000878588612b9c565b505050505050565b600080823b905060008111915050919050565b8280546130a0906143a6565b90600052602060002090601f0160209004810192826130c25760008555613109565b82601f106130db57805160ff1916838001178555613109565b82800160010185558215613109579182015b828111156131085782518255916020019190600101906130ed565b5b5090506131169190613154565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561316d576000816000905550600101613155565b5090565b600061318461317f8461404f565b61402a565b90508281526020810184848401111561319c57600080fd5b6131a784828561433a565b509392505050565b60006131c26131bd84614080565b61402a565b9050828152602081018484840111156131da57600080fd5b6131e584828561433a565b509392505050565b6000813590506131fc81614e4d565b92915050565b60008135905061321181614e64565b92915050565b60008135905061322681614e7b565b92915050565b60008151905061323b81614e7b565b92915050565b600082601f83011261325257600080fd5b8135613262848260208601613171565b91505092915050565b60008151905061327a81614e92565b92915050565b600082601f83011261329157600080fd5b81356132a18482602086016131af565b91505092915050565b6000813590506132b981614ea9565b92915050565b6000602082840312156132d157600080fd5b60006132df848285016131ed565b91505092915050565b600080604083850312156132fb57600080fd5b6000613309858286016131ed565b925050602061331a858286016131ed565b9150509250929050565b60008060006060848603121561333957600080fd5b6000613347868287016131ed565b9350506020613358868287016131ed565b9250506040613369868287016132aa565b9150509250925092565b6000806000806080858703121561338957600080fd5b6000613397878288016131ed565b94505060206133a8878288016131ed565b93505060406133b9878288016132aa565b925050606085013567ffffffffffffffff8111156133d657600080fd5b6133e287828801613241565b91505092959194509250565b6000806040838503121561340157600080fd5b600061340f858286016131ed565b925050602061342085828601613202565b9150509250929050565b6000806040838503121561343d57600080fd5b600061344b858286016131ed565b925050602061345c858286016132aa565b9150509250929050565b60006020828403121561347857600080fd5b600061348684828501613202565b91505092915050565b6000602082840312156134a157600080fd5b60006134af84828501613217565b91505092915050565b6000602082840312156134ca57600080fd5b60006134d88482850161322c565b91505092915050565b6000602082840312156134f357600080fd5b60006135018482850161326b565b91505092915050565b60006020828403121561351c57600080fd5b600082013567ffffffffffffffff81111561353657600080fd5b61354284828501613280565b91505092915050565b60006020828403121561355d57600080fd5b600061356b848285016132aa565b91505092915050565b6000806040838503121561358757600080fd5b6000613595858286016132aa565b92505060206135a6858286016132aa565b9150509250929050565b6135b981614298565b82525050565b6135c8816142aa565b82525050565b60006135d9826140c6565b6135e381856140dc565b93506135f3818560208601614349565b6135fc8161453f565b840191505092915050565b6000613612826140d1565b61361c81856140ed565b935061362c818560208601614349565b6136358161453f565b840191505092915050565b600061364b826140d1565b61365581856140fe565b9350613665818560208601614349565b80840191505092915050565b6000815461367e816143a6565b61368881866140fe565b945060018216600081146136a357600181146136b4576136e7565b60ff198316865281860193506136e7565b6136bd856140b1565b60005b838110156136df578154818901526001820191506020810190506136c0565b838801955050505b50505092915050565b60006136fd6022836140ed565b915061370882614550565b604082019050919050565b6000613721610109836140fe565b915061372c8261459f565b61010982019050919050565b6000613745601f836140fe565b9150613750826146f9565b601f82019050919050565b60006137686026836140ed565b915061377382614722565b604082019050919050565b600061378b602a836140ed565b915061379682614771565b604082019050919050565b60006137ae6004836140fe565b91506137b9826147c0565b600482019050919050565b60006137d16023836140ed565b91506137dc826147e9565b604082019050919050565b60006137f46022836140ed565b91506137ff82614838565b604082019050919050565b60006138176025836140ed565b915061382282614887565b604082019050919050565b600061383a6022836140ed565b9150613845826148d6565b604082019050919050565b600061385d6011836140ed565b915061386882614925565b602082019050919050565b60006138806039836140ed565b915061388b8261494e565b604082019050919050565b60006138a36002836140fe565b91506138ae8261499d565b600282019050919050565b60006138c6602b836140ed565b91506138d1826149c6565b604082019050919050565b60006138e96026836140ed565b91506138f482614a15565b604082019050919050565b600061390c6020836140ed565b915061391782614a64565b602082019050919050565b600061392f601a836140ed565b915061393a82614a8d565b602082019050919050565b60006139526032836140ed565b915061395d82614ab6565b604082019050919050565b6000613975601d836140fe565b915061398082614b05565b601d82019050919050565b60006139986022836140ed565b91506139a382614b2e565b604082019050919050565b60006139bb6033836140ed565b91506139c682614b7d565b604082019050919050565b60006139de601d836140ed565b91506139e982614bcc565b602082019050919050565b6000613a016021836140ed565b9150613a0c82614bf5565b604082019050919050565b6000613a24601c836140ed565b9150613a2f82614c44565b602082019050919050565b6000613a476018836140ed565b9150613a5282614c6d565b602082019050919050565b6000613a6a602e836140ed565b9150613a7582614c96565b604082019050919050565b6000613a8d601f836140ed565b9150613a9882614ce5565b602082019050919050565b6000613ab0602f836140ed565b9150613abb82614d0e565b604082019050919050565b6000613ad36017836140ed565b9150613ade82614d5d565b602082019050919050565b6000613af6602d836140ed565b9150613b0182614d86565b604082019050919050565b6000613b196022836140ed565b9150613b2482614dd5565b604082019050919050565b6000613b3c6001836140fe565b9150613b4782614e24565b600182019050919050565b613b5b81614330565b82525050565b6000613b6d8285613671565b9150613b7882613b2f565b9150613b848284613640565b9150613b8f826137a1565b91508190509392505050565b6000613ba682613738565b9150613bb28285613640565b9150613bbd82613713565b9150613bc98284613640565b9150613bd482613896565b91508190509392505050565b6000613beb82613968565b9150613bf78284613640565b915081905092915050565b6000602082019050613c1760008301846135b0565b92915050565b6000608082019050613c3260008301876135b0565b613c3f60208301866135b0565b613c4c6040830185613b52565b8181036060830152613c5e81846135ce565b905095945050505050565b6000604082019050613c7e60008301856135b0565b613c8b6020830184613b52565b9392505050565b6000602082019050613ca760008301846135bf565b92915050565b60006020820190508181036000830152613cc78184613607565b905092915050565b60006020820190508181036000830152613ce8816136f0565b9050919050565b60006020820190508181036000830152613d088161375b565b9050919050565b60006020820190508181036000830152613d288161377e565b9050919050565b60006020820190508181036000830152613d48816137c4565b9050919050565b60006020820190508181036000830152613d68816137e7565b9050919050565b60006020820190508181036000830152613d888161380a565b9050919050565b60006020820190508181036000830152613da88161382d565b9050919050565b60006020820190508181036000830152613dc881613850565b9050919050565b60006020820190508181036000830152613de881613873565b9050919050565b60006020820190508181036000830152613e08816138b9565b9050919050565b60006020820190508181036000830152613e28816138dc565b9050919050565b60006020820190508181036000830152613e48816138ff565b9050919050565b60006020820190508181036000830152613e6881613922565b9050919050565b60006020820190508181036000830152613e8881613945565b9050919050565b60006020820190508181036000830152613ea88161398b565b9050919050565b60006020820190508181036000830152613ec8816139ae565b9050919050565b60006020820190508181036000830152613ee8816139d1565b9050919050565b60006020820190508181036000830152613f08816139f4565b9050919050565b60006020820190508181036000830152613f2881613a17565b9050919050565b60006020820190508181036000830152613f4881613a3a565b9050919050565b60006020820190508181036000830152613f6881613a5d565b9050919050565b60006020820190508181036000830152613f8881613a80565b9050919050565b60006020820190508181036000830152613fa881613aa3565b9050919050565b60006020820190508181036000830152613fc881613ac6565b9050919050565b60006020820190508181036000830152613fe881613ae9565b9050919050565b6000602082019050818103600083015261400881613b0c565b9050919050565b60006020820190506140246000830184613b52565b92915050565b6000614034614045565b905061404082826143d8565b919050565b6000604051905090565b600067ffffffffffffffff82111561406a57614069614510565b5b6140738261453f565b9050602081019050919050565b600067ffffffffffffffff82111561409b5761409a614510565b5b6140a48261453f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614114826142f4565b915061411f836142f4565b9250826fffffffffffffffffffffffffffffffff0382111561414457614143614483565b5b828201905092915050565b600061415a82614330565b915061416583614330565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561419a57614199614483565b5b828201905092915050565b60006141b082614330565b91506141bb83614330565b9250826141cb576141ca6144b2565b5b828204905092915050565b60006141e182614330565b91506141ec83614330565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561422557614224614483565b5b828202905092915050565b600061423b826142f4565b9150614246836142f4565b92508282101561425957614258614483565b5b828203905092915050565b600061426f82614330565b915061427a83614330565b92508282101561428d5761428c614483565b5b828203905092915050565b60006142a382614310565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006142ed82614298565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561436757808201518184015260208101905061434c565b83811115614376576000848401525b50505050565b600061438782614330565b9150600082141561439b5761439a614483565b5b600182039050919050565b600060028204905060018216806143be57607f821691505b602082108114156143d2576143d16144e1565b5b50919050565b6143e18261453f565b810181811067ffffffffffffffff82111715614400576143ff614510565b5b80604052505050565b600061441482614330565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444757614446614483565b5b600182019050919050565b600061445d82614330565b915061446883614330565b925082614478576144776144b2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a20224869212054686973206973204260008201527f656c6c6544414f7068696e65203c332057656c636f6d6520746f206d7920637560208201527f746520616e64207765697264206c696c20776f726c642e2e205468697320697360408201527f20776865726520796f752077696c6c2066696e642031313131206d656d62657260608201527f7368697020706173736573207468617420776f6e7420626520666f756e64206160808201527f6e79776865726520656c736521204920616d20736f206578636974656420746f60a08201527f20736861726520746869732073696c6c792c2076756c6e657261626c652c206160c08201527f6e64206d61676963616c206a6f75726e6579207769746820796f752e222c202260e08201527f696d616765223a2022000000000000000000000000000000000000000000000061010082015250565b7f7b226e616d65223a202242656c6c652044414f7068696e652050617373202300600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4d6178206d696e747320706572207472616e73616374696f6e2065786365656460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682066726565206d696e74732072656d61696e00000000600082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b614e5681614298565b8114614e6157600080fd5b50565b614e6d816142aa565b8114614e7857600080fd5b50565b614e84816142b6565b8114614e8f57600080fd5b50565b614e9b816142e2565b8114614ea657600080fd5b50565b614eb281614330565b8114614ebd57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f0128927ac915706d3f10d4373a20023e997634e73aa6f3c9bf54bad6664780964736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.