ETH Price: $2,519.80 (+2.68%)
Gas: 0.57 Gwei

Token

Bitcoin Elite Club NFT (BECN)
 

Overview

Max Total Supply

10,000 BECN

Holders

13

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3,351 BECN
0xe608794bc746d1feedb5a8396882ed68652489e4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BECN

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : becn.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;
pragma abicoder v2;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract BECN is ERC721A, Ownable  {
  using SafeMath for uint256;
	using Strings for uint256;
	uint256 public MAX_SUPPLY= 3000;
	uint256 public PRICE = 0.8 ether;
    uint256 public giveawayLimit = 2000;
    string public baseTokenURI;
    
    bool public saleIsActive;
	address private wallet1 = 0xc31b3696eAb93A3a53B10Dd1B21871903CB059e4; 
    address private wallet2 = 0xE608794bc746d1Feedb5A8396882ED68652489e4;

    uint256 public maxPurchase = 20;
    uint256 public maxTx = 10;

    constructor() ERC721A("Bitcoin Elite Club NFT", "BECN") { }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }


    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function flipSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

   
	function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
		string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(),".json")) : "";
    }

	function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }


    function mintBECN(uint256 numberOfTokens) external payable callerIsUser {
        require(saleIsActive, "Sale must be active to mint");
        require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY, "Total Supply has been minted");
        require(msg.value == PRICE.mul(numberOfTokens), "Ether value sent is not correct");
		require(numberOfTokens > 0 && numberOfTokens <= maxTx, "10 pTX allowed");
        require(numberMinted(msg.sender).add(numberOfTokens) <= maxPurchase,"Exceeds Max mints allowed per wallet");
		_safeMint(msg.sender, numberOfTokens);
    }

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

	 function withdrawAll() external onlyOwner {
        require(address(this).balance > 0, "No balance to withdraw.");
        uint256 _amount = address(this).balance;
        (bool wallet1Success, ) = wallet1.call{value: _amount.mul(60).div(100)}("");
        (bool wallet2Success, ) = wallet2.call{value: _amount.mul(40).div(100)}("");
        require(wallet1Success && wallet2Success, "Withdrawal failed.");
    }

    function giveAway(uint256 numberOfTokens, address to) external onlyOwner {
        require(giveawayLimit.sub(numberOfTokens) >= 0,"Giveaways exhausted");
        _safeMint(to, numberOfTokens);
        giveawayLimit = giveawayLimit.sub(numberOfTokens);
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function setPrice(uint256 _price) public onlyOwner {
        PRICE = _price;
    }

    function setMaxTxLimit(uint256 _txLimit) public onlyOwner {
        maxTx = _txLimit;
    }
	
    function setMaxPurchaseLimit(uint256 _limit) public onlyOwner {
        maxPurchase = _limit;
    }
	
	 function setMaxSupply(uint256 _limit) public onlyOwner {
        MAX_SUPPLY = _limit;
    }
	
	 function setGiveawayLimit(uint256 _limit) public onlyOwner {
        giveawayLimit = _limit;
    }

}

File 2 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 3 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 subtraction 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 4 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 5 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // 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) internal _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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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 virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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 _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _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);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = 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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        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 TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * 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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 6 of 12 : 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;
    }
}

File 7 of 12 : 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 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 12 : 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 10 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 12 of 12 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","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":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawayLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintBECN","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"_limit","type":"uint256"}],"name":"setGiveawayLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":"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"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610bb8600955670b1a2bc2ec500000600a556107d0600b5573c31b3696eab93a3a53b10dd1b21871903cb059e4600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073e608794bc746d1feedb5a8396882ed68652489e4600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506014600f55600a601055348015620000dd57600080fd5b506040518060400160405280601681526020017f426974636f696e20456c69746520436c7562204e4654000000000000000000008152506040518060400160405280600481526020017f4245434e0000000000000000000000000000000000000000000000000000000081525081600290816200015b9190620004fd565b5080600390816200016d9190620004fd565b506200017e620001ac60201b60201c565b6000819055505050620001a66200019a620001b560201b60201c565b620001bd60201b60201c565b620005e4565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200030557607f821691505b6020821081036200031b576200031a620002bd565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000346565b62000391868362000346565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003de620003d8620003d284620003a9565b620003b3565b620003a9565b9050919050565b6000819050919050565b620003fa83620003bd565b620004126200040982620003e5565b84845462000353565b825550505050565b600090565b620004296200041a565b62000436818484620003ef565b505050565b5b818110156200045e57620004526000826200041f565b6001810190506200043c565b5050565b601f821115620004ad57620004778162000321565b620004828462000336565b8101602085101562000492578190505b620004aa620004a18562000336565b8301826200043b565b50505b505050565b600082821c905092915050565b6000620004d260001984600802620004b2565b1980831691505092915050565b6000620004ed8383620004bf565b9150826002028217905092915050565b620005088262000283565b67ffffffffffffffff8111156200052457620005236200028e565b5b620005308254620002ec565b6200053d82828562000462565b600060209050601f83116001811462000575576000841562000560578287015190505b6200056c8582620004df565b865550620005dc565b601f198416620005858662000321565b60005b82811015620005af5784890151825560018201915060208501945060208101905062000588565b86831015620005cf5784890151620005cb601f891682620004bf565b8355505b6001600288020188555050505b505050505050565b613caf80620005f46000396000f3fe60806040526004361061020f5760003560e01c806370a08231116101185780639dbede68116100a0578063d547cfb71161006f578063d547cfb71461072c578063dc33e68114610757578063e985e9c514610794578063eb8d2444146107d1578063f2fde38b146107fc5761020f565b80639dbede6814610681578063a22cb4651461069d578063b88d4fde146106c6578063c87b56dd146106ef5761020f565b80638d859f3e116100e75780638d859f3e146105ac5780638da5cb5b146105d757806391b7f5ed1461060257806395d89b411461062b578063977b055b146106565761020f565b806370a0823114610516578063715018a6146105535780637437681e1461056a578063853828b6146105955761020f565b80633ccfd60b1161019b57806355f804b31161016a57806355f804b31461043357806358ae3c541461045c5780636352211e1461048757806364f5a5bb146104c45780636f8b44b0146104ed5761020f565b80633ccfd60b146103a157806342842e0e146103b857806345e313aa146103e1578063528a9a7d1461040a5761020f565b806318160ddd116101e257806318160ddd146102e257806323b872dd1461030d578063261d3b211461033657806332cb6b0c1461035f57806334918dfd1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612a2f565b610825565b6040516102489190612a77565b60405180910390f35b34801561025d57600080fd5b50610266610907565b6040516102739190612b2b565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612b83565b610999565b6040516102b09190612bf1565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612c38565b610a15565b005b3480156102ee57600080fd5b506102f7610b1f565b6040516103049190612c87565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190612ca2565b610b36565b005b34801561034257600080fd5b5061035d60048036038101906103589190612cf5565b610b46565b005b34801561036b57600080fd5b50610374610bcf565b6040516103819190612c87565b60405180910390f35b34801561039657600080fd5b5061039f610bd5565b005b3480156103ad57600080fd5b506103b6610c09565b005b3480156103c457600080fd5b506103df60048036038101906103da9190612ca2565b610c60565b005b3480156103ed57600080fd5b5061040860048036038101906104039190612b83565b610c80565b005b34801561041657600080fd5b50610431600480360381019061042c9190612b83565b610c92565b005b34801561043f57600080fd5b5061045a60048036038101906104559190612e6a565b610ca4565b005b34801561046857600080fd5b50610471610cbf565b60405161047e9190612c87565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190612b83565b610cc5565b6040516104bb9190612bf1565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190612b83565b610cdb565b005b3480156104f957600080fd5b50610514600480360381019061050f9190612b83565b610ced565b005b34801561052257600080fd5b5061053d60048036038101906105389190612eb3565b610cff565b60405161054a9190612c87565b60405180910390f35b34801561055f57600080fd5b50610568610dce565b005b34801561057657600080fd5b5061057f610de2565b60405161058c9190612c87565b60405180910390f35b3480156105a157600080fd5b506105aa610de8565b005b3480156105b857600080fd5b506105c1610fee565b6040516105ce9190612c87565b60405180910390f35b3480156105e357600080fd5b506105ec610ff4565b6040516105f99190612bf1565b60405180910390f35b34801561060e57600080fd5b5061062960048036038101906106249190612b83565b61101e565b005b34801561063757600080fd5b50610640611030565b60405161064d9190612b2b565b60405180910390f35b34801561066257600080fd5b5061066b6110c2565b6040516106789190612c87565b60405180910390f35b61069b60048036038101906106969190612b83565b6110c8565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190612f0c565b6112f6565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612fed565b61146d565b005b3480156106fb57600080fd5b5061071660048036038101906107119190612b83565b6114e9565b6040516107239190612b2b565b60405180910390f35b34801561073857600080fd5b50610741611587565b60405161074e9190612b2b565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190612eb3565b611615565b60405161078b9190612c87565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b69190613070565b611627565b6040516107c89190612a77565b60405180910390f35b3480156107dd57600080fd5b506107e66116bb565b6040516107f39190612a77565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190612eb3565b6116ce565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090057506108ff82611751565b5b9050919050565b606060028054610916906130df565b80601f0160208091040260200160405190810160405280929190818152602001828054610942906130df565b801561098f5780601f106109645761010080835404028352916020019161098f565b820191906000526020600020905b81548152906001019060200180831161097257829003601f168201915b5050505050905090565b60006109a4826117bb565b6109da576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2082610cc5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a87576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa6611809565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ad85750610ad681610ad1611809565b611627565b155b15610b0f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b1a838383611811565b505050565b6000610b296118c3565b6001546000540303905090565b610b418383836118cc565b505050565b610b4e611d80565b6000610b6583600b54611dfe90919063ffffffff16565b1015610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d9061315c565b60405180910390fd5b610bb08183611e14565b610bc582600b54611dfe90919063ffffffff16565b600b819055505050565b60095481565b610bdd611d80565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610c11611d80565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c5c573d6000803e3d6000fd5b5050565b610c7b8383836040518060200160405280600081525061146d565b505050565b610c88611d80565b80600f8190555050565b610c9a611d80565b80600b8190555050565b610cac611d80565b80600c9081610cbb9190613328565b5050565b600b5481565b6000610cd082611e32565b600001519050919050565b610ce3611d80565b8060108190555050565b610cf5611d80565b8060098190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d66576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610dd6611d80565b610de060006120c1565b565b60105481565b610df0611d80565b60004711610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90613446565b60405180910390fd5b60004790506000600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610e9a6064610e8c603c8661218790919063ffffffff16565b61219d90919063ffffffff16565b604051610ea690613497565b60006040518083038185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b505090506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f4e6064610f4060288761218790919063ffffffff16565b61219d90919063ffffffff16565b604051610f5a90613497565b60006040518083038185875af1925050503d8060008114610f97576040519150601f19603f3d011682016040523d82523d6000602084013e610f9c565b606091505b50509050818015610faa5750805b610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe0906134f8565b60405180910390fd5b505050565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611026611d80565b80600a8190555050565b60606003805461103f906130df565b80601f016020809104026020016040519081016040528092919081815260200182805461106b906130df565b80156110b85780601f1061108d576101008083540402835291602001916110b8565b820191906000526020600020905b81548152906001019060200180831161109b57829003601f168201915b5050505050905090565b600f5481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90613564565b60405180910390fd5b600d60009054906101000a900460ff16611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906135d0565b60405180910390fd5b6009546111a282611194610b1f565b6121b390919063ffffffff16565b11156111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061363c565b60405180910390fd5b6111f881600a5461218790919063ffffffff16565b3414611239576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611230906136a8565b60405180910390fd5b60008111801561124b57506010548111155b61128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190613714565b60405180910390fd5b600f546112a88261129a33611615565b6121b390919063ffffffff16565b11156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e0906137a6565b60405180910390fd5b6112f33382611e14565b50565b6112fe611809565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611362576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061136f611809565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661141c611809565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114619190612a77565b60405180910390a35050565b6114788484846118cc565b6114978373ffffffffffffffffffffffffffffffffffffffff166121c9565b80156114ac57506114aa848484846121ec565b155b156114e3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606114f4826117bb565b61152a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061153461233c565b90506000815111611554576040518060200160405280600081525061157f565b8061155e846123ce565b60405160200161156f92919061384e565b6040516020818303038152906040525b915050919050565b600c8054611594906130df565b80601f01602080910402602001604051908101604052809291908181526020018280546115c0906130df565b801561160d5780601f106115e25761010080835404028352916020019161160d565b820191906000526020600020905b8154815290600101906020018083116115f057829003601f168201915b505050505081565b60006116208261252e565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b6116d6611d80565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173c906138ef565b60405180910390fd5b61174e816120c1565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816117c66118c3565b111580156117d5575060005482105b8015611802575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006118d782611e32565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611942576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611963611809565b73ffffffffffffffffffffffffffffffffffffffff16148061199257506119918561198c611809565b611627565b5b806119d757506119a0611809565b73ffffffffffffffffffffffffffffffffffffffff166119bf84610999565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611a10576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a76576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a838585856001612598565b611a8f60008487611811565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611d0e576000548214611d0d57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d79858585600161259e565b5050505050565b611d88611809565b73ffffffffffffffffffffffffffffffffffffffff16611da6610ff4565b73ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df39061395b565b60405180910390fd5b565b60008183611e0c91906139aa565b905092915050565b611e2e8282604051806020016040528060008152506125a4565b5050565b611e3a612980565b600082905080611e486118c3565b11158015611e57575060005481105b1561208a576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161208857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f6c5780925050506120bc565b5b60011561208757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146120825780925050506120bc565b611f6d565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361219591906139de565b905092915050565b600081836121ab9190613a67565b905092915050565b600081836121c19190613a98565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612212611809565b8786866040518563ffffffff1660e01b81526004016122349493929190613b43565b6020604051808303816000875af192505050801561227057506040513d601f19601f8201168201806040525081019061226d9190613ba4565b60015b6122e9573d80600081146122a0576040519150601f19603f3d011682016040523d82523d6000602084013e6122a5565b606091505b5060008151036122e1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c805461234b906130df565b80601f0160208091040260200160405190810160405280929190818152602001828054612377906130df565b80156123c45780601f10612399576101008083540402835291602001916123c4565b820191906000526020600020905b8154815290600101906020018083116123a757829003601f168201915b5050505050905090565b606060008203612415576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612529565b600082905060005b6000821461244757808061243090613bd1565b915050600a826124409190613a67565b915061241d565b60008167ffffffffffffffff81111561246357612462612d3f565b5b6040519080825280601f01601f1916602001820160405280156124955781602001600182028036833780820191505090505b5090505b60008514612522576001826124ae91906139aa565b9150600a856124bd9190613c19565b60306124c99190613a98565b60f81b8183815181106124df576124de613c4a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561251b9190613a67565b9450612499565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b6125b183838360016125b6565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612622576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361265c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126696000868387612598565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561283357506128328773ffffffffffffffffffffffffffffffffffffffff166121c9565b5b156128f8575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128a860008884806001019550886121ec565b6128de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036128395782600054146128f357600080fd5b612963565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036128f9575b816000819055505050612979600086838761259e565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a0c816129d7565b8114612a1757600080fd5b50565b600081359050612a2981612a03565b92915050565b600060208284031215612a4557612a446129cd565b5b6000612a5384828501612a1a565b91505092915050565b60008115159050919050565b612a7181612a5c565b82525050565b6000602082019050612a8c6000830184612a68565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612acc578082015181840152602081019050612ab1565b83811115612adb576000848401525b50505050565b6000601f19601f8301169050919050565b6000612afd82612a92565b612b078185612a9d565b9350612b17818560208601612aae565b612b2081612ae1565b840191505092915050565b60006020820190508181036000830152612b458184612af2565b905092915050565b6000819050919050565b612b6081612b4d565b8114612b6b57600080fd5b50565b600081359050612b7d81612b57565b92915050565b600060208284031215612b9957612b986129cd565b5b6000612ba784828501612b6e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bdb82612bb0565b9050919050565b612beb81612bd0565b82525050565b6000602082019050612c066000830184612be2565b92915050565b612c1581612bd0565b8114612c2057600080fd5b50565b600081359050612c3281612c0c565b92915050565b60008060408385031215612c4f57612c4e6129cd565b5b6000612c5d85828601612c23565b9250506020612c6e85828601612b6e565b9150509250929050565b612c8181612b4d565b82525050565b6000602082019050612c9c6000830184612c78565b92915050565b600080600060608486031215612cbb57612cba6129cd565b5b6000612cc986828701612c23565b9350506020612cda86828701612c23565b9250506040612ceb86828701612b6e565b9150509250925092565b60008060408385031215612d0c57612d0b6129cd565b5b6000612d1a85828601612b6e565b9250506020612d2b85828601612c23565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d7782612ae1565b810181811067ffffffffffffffff82111715612d9657612d95612d3f565b5b80604052505050565b6000612da96129c3565b9050612db58282612d6e565b919050565b600067ffffffffffffffff821115612dd557612dd4612d3f565b5b612dde82612ae1565b9050602081019050919050565b82818337600083830152505050565b6000612e0d612e0884612dba565b612d9f565b905082815260208101848484011115612e2957612e28612d3a565b5b612e34848285612deb565b509392505050565b600082601f830112612e5157612e50612d35565b5b8135612e61848260208601612dfa565b91505092915050565b600060208284031215612e8057612e7f6129cd565b5b600082013567ffffffffffffffff811115612e9e57612e9d6129d2565b5b612eaa84828501612e3c565b91505092915050565b600060208284031215612ec957612ec86129cd565b5b6000612ed784828501612c23565b91505092915050565b612ee981612a5c565b8114612ef457600080fd5b50565b600081359050612f0681612ee0565b92915050565b60008060408385031215612f2357612f226129cd565b5b6000612f3185828601612c23565b9250506020612f4285828601612ef7565b9150509250929050565b600067ffffffffffffffff821115612f6757612f66612d3f565b5b612f7082612ae1565b9050602081019050919050565b6000612f90612f8b84612f4c565b612d9f565b905082815260208101848484011115612fac57612fab612d3a565b5b612fb7848285612deb565b509392505050565b600082601f830112612fd457612fd3612d35565b5b8135612fe4848260208601612f7d565b91505092915050565b60008060008060808587031215613007576130066129cd565b5b600061301587828801612c23565b945050602061302687828801612c23565b935050604061303787828801612b6e565b925050606085013567ffffffffffffffff811115613058576130576129d2565b5b61306487828801612fbf565b91505092959194509250565b60008060408385031215613087576130866129cd565b5b600061309585828601612c23565b92505060206130a685828601612c23565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130f757607f821691505b60208210810361310a576131096130b0565b5b50919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b6000613146601383612a9d565b915061315182613110565b602082019050919050565b6000602082019050818103600083015261317581613139565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026131de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826131a1565b6131e886836131a1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061322561322061321b84612b4d565b613200565b612b4d565b9050919050565b6000819050919050565b61323f8361320a565b61325361324b8261322c565b8484546131ae565b825550505050565b600090565b61326861325b565b613273818484613236565b505050565b5b818110156132975761328c600082613260565b600181019050613279565b5050565b601f8211156132dc576132ad8161317c565b6132b684613191565b810160208510156132c5578190505b6132d96132d185613191565b830182613278565b50505b505050565b600082821c905092915050565b60006132ff600019846008026132e1565b1980831691505092915050565b600061331883836132ee565b9150826002028217905092915050565b61333182612a92565b67ffffffffffffffff81111561334a57613349612d3f565b5b61335482546130df565b61335f82828561329b565b600060209050601f8311600181146133925760008415613380578287015190505b61338a858261330c565b8655506133f2565b601f1984166133a08661317c565b60005b828110156133c8578489015182556001820191506020850194506020810190506133a3565b868310156133e557848901516133e1601f8916826132ee565b8355505b6001600288020188555050505b505050505050565b7f4e6f2062616c616e636520746f2077697468647261772e000000000000000000600082015250565b6000613430601783612a9d565b915061343b826133fa565b602082019050919050565b6000602082019050818103600083015261345f81613423565b9050919050565b600081905092915050565b50565b6000613481600083613466565b915061348c82613471565b600082019050919050565b60006134a282613474565b9150819050919050565b7f5769746864726177616c206661696c65642e0000000000000000000000000000600082015250565b60006134e2601283612a9d565b91506134ed826134ac565b602082019050919050565b60006020820190508181036000830152613511816134d5565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b600061354e601e83612a9d565b915061355982613518565b602082019050919050565b6000602082019050818103600083015261357d81613541565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b60006135ba601b83612a9d565b91506135c582613584565b602082019050919050565b600060208201905081810360008301526135e9816135ad565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000613626601c83612a9d565b9150613631826135f0565b602082019050919050565b6000602082019050818103600083015261365581613619565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000613692601f83612a9d565b915061369d8261365c565b602082019050919050565b600060208201905081810360008301526136c181613685565b9050919050565b7f31302070545820616c6c6f776564000000000000000000000000000000000000600082015250565b60006136fe600e83612a9d565b9150613709826136c8565b602082019050919050565b6000602082019050818103600083015261372d816136f1565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000613790602483612a9d565b915061379b82613734565b604082019050919050565b600060208201905081810360008301526137bf81613783565b9050919050565b600081905092915050565b60006137dc82612a92565b6137e681856137c6565b93506137f6818560208601612aae565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138386005836137c6565b915061384382613802565b600582019050919050565b600061385a82856137d1565b915061386682846137d1565b91506138718261382b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d9602683612a9d565b91506138e48261387d565b604082019050919050565b60006020820190508181036000830152613908816138cc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613945602083612a9d565b91506139508261390f565b602082019050919050565b6000602082019050818103600083015261397481613938565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139b582612b4d565b91506139c083612b4d565b9250828210156139d3576139d261397b565b5b828203905092915050565b60006139e982612b4d565b91506139f483612b4d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a2d57613a2c61397b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a7282612b4d565b9150613a7d83612b4d565b925082613a8d57613a8c613a38565b5b828204905092915050565b6000613aa382612b4d565b9150613aae83612b4d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ae357613ae261397b565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b6000613b1582613aee565b613b1f8185613af9565b9350613b2f818560208601612aae565b613b3881612ae1565b840191505092915050565b6000608082019050613b586000830187612be2565b613b656020830186612be2565b613b726040830185612c78565b8181036060830152613b848184613b0a565b905095945050505050565b600081519050613b9e81612a03565b92915050565b600060208284031215613bba57613bb96129cd565b5b6000613bc884828501613b8f565b91505092915050565b6000613bdc82612b4d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c0e57613c0d61397b565b5b600182019050919050565b6000613c2482612b4d565b9150613c2f83612b4d565b925082613c3f57613c3e613a38565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122068a06055bf7d2396194688f9dd9ec92d3bab27d9e8ae6c97d8615420e291a92864736f6c634300080f0033

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806370a08231116101185780639dbede68116100a0578063d547cfb71161006f578063d547cfb71461072c578063dc33e68114610757578063e985e9c514610794578063eb8d2444146107d1578063f2fde38b146107fc5761020f565b80639dbede6814610681578063a22cb4651461069d578063b88d4fde146106c6578063c87b56dd146106ef5761020f565b80638d859f3e116100e75780638d859f3e146105ac5780638da5cb5b146105d757806391b7f5ed1461060257806395d89b411461062b578063977b055b146106565761020f565b806370a0823114610516578063715018a6146105535780637437681e1461056a578063853828b6146105955761020f565b80633ccfd60b1161019b57806355f804b31161016a57806355f804b31461043357806358ae3c541461045c5780636352211e1461048757806364f5a5bb146104c45780636f8b44b0146104ed5761020f565b80633ccfd60b146103a157806342842e0e146103b857806345e313aa146103e1578063528a9a7d1461040a5761020f565b806318160ddd116101e257806318160ddd146102e257806323b872dd1461030d578063261d3b211461033657806332cb6b0c1461035f57806334918dfd1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612a2f565b610825565b6040516102489190612a77565b60405180910390f35b34801561025d57600080fd5b50610266610907565b6040516102739190612b2b565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612b83565b610999565b6040516102b09190612bf1565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612c38565b610a15565b005b3480156102ee57600080fd5b506102f7610b1f565b6040516103049190612c87565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190612ca2565b610b36565b005b34801561034257600080fd5b5061035d60048036038101906103589190612cf5565b610b46565b005b34801561036b57600080fd5b50610374610bcf565b6040516103819190612c87565b60405180910390f35b34801561039657600080fd5b5061039f610bd5565b005b3480156103ad57600080fd5b506103b6610c09565b005b3480156103c457600080fd5b506103df60048036038101906103da9190612ca2565b610c60565b005b3480156103ed57600080fd5b5061040860048036038101906104039190612b83565b610c80565b005b34801561041657600080fd5b50610431600480360381019061042c9190612b83565b610c92565b005b34801561043f57600080fd5b5061045a60048036038101906104559190612e6a565b610ca4565b005b34801561046857600080fd5b50610471610cbf565b60405161047e9190612c87565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190612b83565b610cc5565b6040516104bb9190612bf1565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190612b83565b610cdb565b005b3480156104f957600080fd5b50610514600480360381019061050f9190612b83565b610ced565b005b34801561052257600080fd5b5061053d60048036038101906105389190612eb3565b610cff565b60405161054a9190612c87565b60405180910390f35b34801561055f57600080fd5b50610568610dce565b005b34801561057657600080fd5b5061057f610de2565b60405161058c9190612c87565b60405180910390f35b3480156105a157600080fd5b506105aa610de8565b005b3480156105b857600080fd5b506105c1610fee565b6040516105ce9190612c87565b60405180910390f35b3480156105e357600080fd5b506105ec610ff4565b6040516105f99190612bf1565b60405180910390f35b34801561060e57600080fd5b5061062960048036038101906106249190612b83565b61101e565b005b34801561063757600080fd5b50610640611030565b60405161064d9190612b2b565b60405180910390f35b34801561066257600080fd5b5061066b6110c2565b6040516106789190612c87565b60405180910390f35b61069b60048036038101906106969190612b83565b6110c8565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190612f0c565b6112f6565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612fed565b61146d565b005b3480156106fb57600080fd5b5061071660048036038101906107119190612b83565b6114e9565b6040516107239190612b2b565b60405180910390f35b34801561073857600080fd5b50610741611587565b60405161074e9190612b2b565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190612eb3565b611615565b60405161078b9190612c87565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b69190613070565b611627565b6040516107c89190612a77565b60405180910390f35b3480156107dd57600080fd5b506107e66116bb565b6040516107f39190612a77565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190612eb3565b6116ce565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090057506108ff82611751565b5b9050919050565b606060028054610916906130df565b80601f0160208091040260200160405190810160405280929190818152602001828054610942906130df565b801561098f5780601f106109645761010080835404028352916020019161098f565b820191906000526020600020905b81548152906001019060200180831161097257829003601f168201915b5050505050905090565b60006109a4826117bb565b6109da576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2082610cc5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a87576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa6611809565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ad85750610ad681610ad1611809565b611627565b155b15610b0f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b1a838383611811565b505050565b6000610b296118c3565b6001546000540303905090565b610b418383836118cc565b505050565b610b4e611d80565b6000610b6583600b54611dfe90919063ffffffff16565b1015610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d9061315c565b60405180910390fd5b610bb08183611e14565b610bc582600b54611dfe90919063ffffffff16565b600b819055505050565b60095481565b610bdd611d80565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610c11611d80565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c5c573d6000803e3d6000fd5b5050565b610c7b8383836040518060200160405280600081525061146d565b505050565b610c88611d80565b80600f8190555050565b610c9a611d80565b80600b8190555050565b610cac611d80565b80600c9081610cbb9190613328565b5050565b600b5481565b6000610cd082611e32565b600001519050919050565b610ce3611d80565b8060108190555050565b610cf5611d80565b8060098190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d66576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610dd6611d80565b610de060006120c1565b565b60105481565b610df0611d80565b60004711610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90613446565b60405180910390fd5b60004790506000600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610e9a6064610e8c603c8661218790919063ffffffff16565b61219d90919063ffffffff16565b604051610ea690613497565b60006040518083038185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b505090506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f4e6064610f4060288761218790919063ffffffff16565b61219d90919063ffffffff16565b604051610f5a90613497565b60006040518083038185875af1925050503d8060008114610f97576040519150601f19603f3d011682016040523d82523d6000602084013e610f9c565b606091505b50509050818015610faa5750805b610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe0906134f8565b60405180910390fd5b505050565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611026611d80565b80600a8190555050565b60606003805461103f906130df565b80601f016020809104026020016040519081016040528092919081815260200182805461106b906130df565b80156110b85780601f1061108d576101008083540402835291602001916110b8565b820191906000526020600020905b81548152906001019060200180831161109b57829003601f168201915b5050505050905090565b600f5481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90613564565b60405180910390fd5b600d60009054906101000a900460ff16611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906135d0565b60405180910390fd5b6009546111a282611194610b1f565b6121b390919063ffffffff16565b11156111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061363c565b60405180910390fd5b6111f881600a5461218790919063ffffffff16565b3414611239576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611230906136a8565b60405180910390fd5b60008111801561124b57506010548111155b61128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190613714565b60405180910390fd5b600f546112a88261129a33611615565b6121b390919063ffffffff16565b11156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e0906137a6565b60405180910390fd5b6112f33382611e14565b50565b6112fe611809565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611362576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061136f611809565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661141c611809565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114619190612a77565b60405180910390a35050565b6114788484846118cc565b6114978373ffffffffffffffffffffffffffffffffffffffff166121c9565b80156114ac57506114aa848484846121ec565b155b156114e3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606114f4826117bb565b61152a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061153461233c565b90506000815111611554576040518060200160405280600081525061157f565b8061155e846123ce565b60405160200161156f92919061384e565b6040516020818303038152906040525b915050919050565b600c8054611594906130df565b80601f01602080910402602001604051908101604052809291908181526020018280546115c0906130df565b801561160d5780601f106115e25761010080835404028352916020019161160d565b820191906000526020600020905b8154815290600101906020018083116115f057829003601f168201915b505050505081565b60006116208261252e565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b6116d6611d80565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173c906138ef565b60405180910390fd5b61174e816120c1565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816117c66118c3565b111580156117d5575060005482105b8015611802575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006118d782611e32565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611942576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611963611809565b73ffffffffffffffffffffffffffffffffffffffff16148061199257506119918561198c611809565b611627565b5b806119d757506119a0611809565b73ffffffffffffffffffffffffffffffffffffffff166119bf84610999565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611a10576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a76576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a838585856001612598565b611a8f60008487611811565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611d0e576000548214611d0d57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d79858585600161259e565b5050505050565b611d88611809565b73ffffffffffffffffffffffffffffffffffffffff16611da6610ff4565b73ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df39061395b565b60405180910390fd5b565b60008183611e0c91906139aa565b905092915050565b611e2e8282604051806020016040528060008152506125a4565b5050565b611e3a612980565b600082905080611e486118c3565b11158015611e57575060005481105b1561208a576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161208857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f6c5780925050506120bc565b5b60011561208757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146120825780925050506120bc565b611f6d565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361219591906139de565b905092915050565b600081836121ab9190613a67565b905092915050565b600081836121c19190613a98565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612212611809565b8786866040518563ffffffff1660e01b81526004016122349493929190613b43565b6020604051808303816000875af192505050801561227057506040513d601f19601f8201168201806040525081019061226d9190613ba4565b60015b6122e9573d80600081146122a0576040519150601f19603f3d011682016040523d82523d6000602084013e6122a5565b606091505b5060008151036122e1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c805461234b906130df565b80601f0160208091040260200160405190810160405280929190818152602001828054612377906130df565b80156123c45780601f10612399576101008083540402835291602001916123c4565b820191906000526020600020905b8154815290600101906020018083116123a757829003601f168201915b5050505050905090565b606060008203612415576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612529565b600082905060005b6000821461244757808061243090613bd1565b915050600a826124409190613a67565b915061241d565b60008167ffffffffffffffff81111561246357612462612d3f565b5b6040519080825280601f01601f1916602001820160405280156124955781602001600182028036833780820191505090505b5090505b60008514612522576001826124ae91906139aa565b9150600a856124bd9190613c19565b60306124c99190613a98565b60f81b8183815181106124df576124de613c4a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561251b9190613a67565b9450612499565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b6125b183838360016125b6565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612622576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361265c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126696000868387612598565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561283357506128328773ffffffffffffffffffffffffffffffffffffffff166121c9565b5b156128f8575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128a860008884806001019550886121ec565b6128de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036128395782600054146128f357600080fd5b612963565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036128f9575b816000819055505050612979600086838761259e565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a0c816129d7565b8114612a1757600080fd5b50565b600081359050612a2981612a03565b92915050565b600060208284031215612a4557612a446129cd565b5b6000612a5384828501612a1a565b91505092915050565b60008115159050919050565b612a7181612a5c565b82525050565b6000602082019050612a8c6000830184612a68565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612acc578082015181840152602081019050612ab1565b83811115612adb576000848401525b50505050565b6000601f19601f8301169050919050565b6000612afd82612a92565b612b078185612a9d565b9350612b17818560208601612aae565b612b2081612ae1565b840191505092915050565b60006020820190508181036000830152612b458184612af2565b905092915050565b6000819050919050565b612b6081612b4d565b8114612b6b57600080fd5b50565b600081359050612b7d81612b57565b92915050565b600060208284031215612b9957612b986129cd565b5b6000612ba784828501612b6e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bdb82612bb0565b9050919050565b612beb81612bd0565b82525050565b6000602082019050612c066000830184612be2565b92915050565b612c1581612bd0565b8114612c2057600080fd5b50565b600081359050612c3281612c0c565b92915050565b60008060408385031215612c4f57612c4e6129cd565b5b6000612c5d85828601612c23565b9250506020612c6e85828601612b6e565b9150509250929050565b612c8181612b4d565b82525050565b6000602082019050612c9c6000830184612c78565b92915050565b600080600060608486031215612cbb57612cba6129cd565b5b6000612cc986828701612c23565b9350506020612cda86828701612c23565b9250506040612ceb86828701612b6e565b9150509250925092565b60008060408385031215612d0c57612d0b6129cd565b5b6000612d1a85828601612b6e565b9250506020612d2b85828601612c23565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d7782612ae1565b810181811067ffffffffffffffff82111715612d9657612d95612d3f565b5b80604052505050565b6000612da96129c3565b9050612db58282612d6e565b919050565b600067ffffffffffffffff821115612dd557612dd4612d3f565b5b612dde82612ae1565b9050602081019050919050565b82818337600083830152505050565b6000612e0d612e0884612dba565b612d9f565b905082815260208101848484011115612e2957612e28612d3a565b5b612e34848285612deb565b509392505050565b600082601f830112612e5157612e50612d35565b5b8135612e61848260208601612dfa565b91505092915050565b600060208284031215612e8057612e7f6129cd565b5b600082013567ffffffffffffffff811115612e9e57612e9d6129d2565b5b612eaa84828501612e3c565b91505092915050565b600060208284031215612ec957612ec86129cd565b5b6000612ed784828501612c23565b91505092915050565b612ee981612a5c565b8114612ef457600080fd5b50565b600081359050612f0681612ee0565b92915050565b60008060408385031215612f2357612f226129cd565b5b6000612f3185828601612c23565b9250506020612f4285828601612ef7565b9150509250929050565b600067ffffffffffffffff821115612f6757612f66612d3f565b5b612f7082612ae1565b9050602081019050919050565b6000612f90612f8b84612f4c565b612d9f565b905082815260208101848484011115612fac57612fab612d3a565b5b612fb7848285612deb565b509392505050565b600082601f830112612fd457612fd3612d35565b5b8135612fe4848260208601612f7d565b91505092915050565b60008060008060808587031215613007576130066129cd565b5b600061301587828801612c23565b945050602061302687828801612c23565b935050604061303787828801612b6e565b925050606085013567ffffffffffffffff811115613058576130576129d2565b5b61306487828801612fbf565b91505092959194509250565b60008060408385031215613087576130866129cd565b5b600061309585828601612c23565b92505060206130a685828601612c23565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130f757607f821691505b60208210810361310a576131096130b0565b5b50919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b6000613146601383612a9d565b915061315182613110565b602082019050919050565b6000602082019050818103600083015261317581613139565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026131de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826131a1565b6131e886836131a1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061322561322061321b84612b4d565b613200565b612b4d565b9050919050565b6000819050919050565b61323f8361320a565b61325361324b8261322c565b8484546131ae565b825550505050565b600090565b61326861325b565b613273818484613236565b505050565b5b818110156132975761328c600082613260565b600181019050613279565b5050565b601f8211156132dc576132ad8161317c565b6132b684613191565b810160208510156132c5578190505b6132d96132d185613191565b830182613278565b50505b505050565b600082821c905092915050565b60006132ff600019846008026132e1565b1980831691505092915050565b600061331883836132ee565b9150826002028217905092915050565b61333182612a92565b67ffffffffffffffff81111561334a57613349612d3f565b5b61335482546130df565b61335f82828561329b565b600060209050601f8311600181146133925760008415613380578287015190505b61338a858261330c565b8655506133f2565b601f1984166133a08661317c565b60005b828110156133c8578489015182556001820191506020850194506020810190506133a3565b868310156133e557848901516133e1601f8916826132ee565b8355505b6001600288020188555050505b505050505050565b7f4e6f2062616c616e636520746f2077697468647261772e000000000000000000600082015250565b6000613430601783612a9d565b915061343b826133fa565b602082019050919050565b6000602082019050818103600083015261345f81613423565b9050919050565b600081905092915050565b50565b6000613481600083613466565b915061348c82613471565b600082019050919050565b60006134a282613474565b9150819050919050565b7f5769746864726177616c206661696c65642e0000000000000000000000000000600082015250565b60006134e2601283612a9d565b91506134ed826134ac565b602082019050919050565b60006020820190508181036000830152613511816134d5565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b600061354e601e83612a9d565b915061355982613518565b602082019050919050565b6000602082019050818103600083015261357d81613541565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b60006135ba601b83612a9d565b91506135c582613584565b602082019050919050565b600060208201905081810360008301526135e9816135ad565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000613626601c83612a9d565b9150613631826135f0565b602082019050919050565b6000602082019050818103600083015261365581613619565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000613692601f83612a9d565b915061369d8261365c565b602082019050919050565b600060208201905081810360008301526136c181613685565b9050919050565b7f31302070545820616c6c6f776564000000000000000000000000000000000000600082015250565b60006136fe600e83612a9d565b9150613709826136c8565b602082019050919050565b6000602082019050818103600083015261372d816136f1565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000613790602483612a9d565b915061379b82613734565b604082019050919050565b600060208201905081810360008301526137bf81613783565b9050919050565b600081905092915050565b60006137dc82612a92565b6137e681856137c6565b93506137f6818560208601612aae565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138386005836137c6565b915061384382613802565b600582019050919050565b600061385a82856137d1565b915061386682846137d1565b91506138718261382b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d9602683612a9d565b91506138e48261387d565b604082019050919050565b60006020820190508181036000830152613908816138cc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613945602083612a9d565b91506139508261390f565b602082019050919050565b6000602082019050818103600083015261397481613938565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139b582612b4d565b91506139c083612b4d565b9250828210156139d3576139d261397b565b5b828203905092915050565b60006139e982612b4d565b91506139f483612b4d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a2d57613a2c61397b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a7282612b4d565b9150613a7d83612b4d565b925082613a8d57613a8c613a38565b5b828204905092915050565b6000613aa382612b4d565b9150613aae83612b4d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ae357613ae261397b565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b6000613b1582613aee565b613b1f8185613af9565b9350613b2f818560208601612aae565b613b3881612ae1565b840191505092915050565b6000608082019050613b586000830187612be2565b613b656020830186612be2565b613b726040830185612c78565b8181036060830152613b848184613b0a565b905095945050505050565b600081519050613b9e81612a03565b92915050565b600060208284031215613bba57613bb96129cd565b5b6000613bc884828501613b8f565b91505092915050565b6000613bdc82612b4d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c0e57613c0d61397b565b5b600182019050919050565b6000613c2482612b4d565b9150613c2f83612b4d565b925082613c3f57613c3e613a38565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122068a06055bf7d2396194688f9dd9ec92d3bab27d9e8ae6c97d8615420e291a92864736f6c634300080f0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.