ETH Price: $3,264.60 (+0.52%)
Gas: 3 Gwei

Token

BEANS PETS GEN 1 - Dumb Ways to Die (BEANS_PETS_GEN1)
 

Overview

Max Total Supply

4,200 BEANS_PETS_GEN1

Holders

1,964

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
satoli.eth
Balance
2 BEANS_PETS_GEN1
0x5d63d85e8473EF867DEb5DC3f5B3384b5C78BCcd
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:
BeansPetsGen1

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : PetsGen1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

// Openzeppelin Contracts
import "erc721a/contracts/extensions/ERC721APausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

// PlaySide Contracts
import "./PetsSettingsG1.sol";
import "../PetsErrorCodes.sol";
import "../PetsEvents.sol";

contract BeansPetsGen1 is ERC721APausable, Ownable, PetsSettingsG1 {
    using Strings for uint256;

    constructor(string memory _name, string memory _symbol)
        ERC721A(_name, _symbol)
    {}

    function _startTokenId() internal pure override returns (uint256) {
        // Token ID starts at 1
        return 1;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721A)
        returns (string memory)
    {
        if (revealed == false) {
            return hiddenURI;
        }

        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json"))
                : "";
    }

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // *                    	PAUSE
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // *                    	MINT
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /// @dev Mints pets from the collection and automatically sends them to the
    /// 	correct people provided by the array
    function airdropPets(
        address[] calldata whitelist,
        uint256[] calldata whitelist_quanityPerUser
    ) public onlyOwner {
        if (
            whitelist.length == 0 ||
            whitelist_quanityPerUser.length != whitelist.length
        ) {
            revert PetsErrorCodes.ArrayMissmatch();
        }

        // Itterate over all the whitelist addresses and airdrop all the pets to their address
        for (uint256 i = 0; i < whitelist.length; i++) {
            // Cache both requested variables some the lists
            address targetAddress = whitelist[i];
            uint256 targetQuantity = whitelist_quanityPerUser[i];

            // Ensure the target quantity is above 0
            if (targetQuantity == 0) {
                revert();
            }

            // Finally mint the desired amount to the owner of this contract
            _safeMint(targetAddress, targetQuantity);

            emit PetsEvents.PetAirdropped(targetAddress, targetQuantity);
        }
    }

    /// @dev This is a function to take the money from the contract and pay the developers
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, AccessControl)
        returns (bool)
    {
        return
            ERC721A.supportsInterface(interfaceId) ||
            AccessControl.supportsInterface(interfaceId);
    }
}

File 2 of 20 : ERC721APausable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';
import '@openzeppelin/contracts/security/Pausable.sol';

error ContractPaused();

/**
 * @dev ERC721A token with pausable token transfers, minting and burning.
 *
 * Based off of OpenZeppelin's ERC721Pausable extension.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721APausable is ERC721A, Pausable {
    /**
     * @dev See {ERC721A-_beforeTokenTransfers}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual override {
        super._beforeTokenTransfers(from, to, startTokenId, quantity);
        if (paused()) revert ContractPaused();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 20 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 5 of 20 : PetsSettingsG1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

// Openzeppelin Contracts
import "@openzeppelin/contracts/access/AccessControl.sol";

// PlaySide Contracts
import "../Roles.sol";

contract PetsSettingsG1 is AccessControl, Roles {
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // *                        DYNAMIC
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // If the collection has been revealed or not. This will hide the URI and point to the hidden URI instead
    bool public revealed;
    // The base URI for each token
    string public baseURI;
    // The hidden URI that will show if the collection is hidden
    string public hiddenURI =
        "https://s3.us-west-1.amazonaws.com/dwtd.playsidestudios-devel.com/pets_gen1/hidden_J6Pu7aD-6gh52UWy043WUw/F3_yRXsPFh2N0rjGzNKDDg/HiddenPet.json";
    // The max total supply of this project
    uint256 public maxSupply = 4200;

    constructor() {}

    // Changes the max total supply in case the team wants to add more pets at a later date.
    function setMaxSupply(uint256 newTotalSupply)
        public
        onlyRole(Roles.ROLE_SERVER)
    {
        maxSupply = newTotalSupply;
    }

    // @dev Sets the collection to be revealed or hidden ( will show a different URI )
    function setRevealed(bool _revealed) public onlyRole(Roles.ROLE_SERVER) {
        revealed = _revealed;
    }

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // *                        URI
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /// @dev Sets the base URI for when we want to reveal the collection.
    function setBaseURI(string calldata newURI)
        public
        onlyRole(Roles.ROLE_SERVER)
    {
        baseURI = newURI;
    }

    /// @dev Set the new hidden URI in case we want to change the URI of the hidden image
    function setHiddenURI(string calldata newHiddenURI)
        public
        onlyRole(Roles.ROLE_SERVER)
    {
        hiddenURI = newHiddenURI;
    }
}

File 6 of 20 : PetsErrorCodes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

library PetsErrorCodes {
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // *                    ERROR MESSAGES
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // Mint Errors
    error SoldOut();
    error InsufficientFunds(uint256 Expected, uint256 Actual);
    error MaxAmountMinted(uint256 Expected, uint256 Actual);
    error ArrayMissmatch();
    error PublicMintNotActive();
}

File 7 of 20 : PetsEvents.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

library PetsEvents {
    event PetAirdropped(address indexed _to, uint256 indexed _quantity);
    event PetPurchased(address indexed _to, uint256 _quantity, uint256 _value);
}

File 8 of 20 : 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 9 of 20 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 12 of 20 : 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 13 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

File 14 of 20 : 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 15 of 20 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 16 of 20 : 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 17 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 18 of 20 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 19 of 20 : Roles.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

// Openzeppelin Contracts
import "@openzeppelin/contracts/access/AccessControl.sol";

contract Roles is AccessControl {
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // *                                ROLES
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bytes32 internal constant ROLE_SERVER = keccak256("ROLE_SERVER");

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    constructor() {
        // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        // *                    SET ROLES
        // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        // Give every role to the owner of the contract
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setRoleAdmin(ROLE_SERVER, DEFAULT_ADMIN_ROLE);
        _grantRole(Roles.ROLE_SERVER, msg.sender);

        // !! Aditional Roles also set in Settings.sol constructor !!
    }
}

File 20 of 20 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":"ArrayMissmatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractPaused","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"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"whitelist","type":"address[]"},{"internalType":"uint256[]","name":"whitelist_quanityPerUser","type":"uint256[]"}],"name":"airdropPets","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newHiddenURI","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTotalSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060c00160405280608f81526020016200497f608f9139600c90805190602001906200003592919062000432565b50611068600d553480156200004957600080fd5b5060405162004a0e38038062004a0e83398181016040528101906200006f919062000560565b818181600290805190602001906200008992919062000432565b508060039080519060200190620000a292919062000432565b50620000b36200017a60201b60201c565b60008190555050506000600860006101000a81548160ff021916908315150217905550620000f6620000ea6200018360201b60201c565b6200018b60201b60201c565b6200010b6000801b336200025160201b60201c565b620001407f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc246000801b6200034360201b60201c565b620001727f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc24336200025160201b60201c565b505062000769565b60006001905090565b600033905090565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002638282620003a760201b60201c565b6200033f5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002e46200018360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000356836200041260201b60201c565b90508160096000858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060096000838152602001908152602001600020600101549050919050565b82805462000440906200067a565b90600052602060002090601f016020900481019282620004645760008555620004b0565b82601f106200047f57805160ff1916838001178555620004b0565b82800160010185558215620004b0579182015b82811115620004af57825182559160200191906001019062000492565b5b509050620004bf9190620004c3565b5090565b5b80821115620004de576000816000905550600101620004c4565b5090565b6000620004f9620004f3846200060e565b620005e5565b90508281526020810184848401111562000518576200051762000749565b5b6200052584828562000644565b509392505050565b600082601f83011262000545576200054462000744565b5b815162000557848260208601620004e2565b91505092915050565b600080604083850312156200057a576200057962000753565b5b600083015167ffffffffffffffff8111156200059b576200059a6200074e565b5b620005a9858286016200052d565b925050602083015167ffffffffffffffff811115620005cd57620005cc6200074e565b5b620005db858286016200052d565b9150509250929050565b6000620005f162000604565b9050620005ff8282620006b0565b919050565b6000604051905090565b600067ffffffffffffffff8211156200062c576200062b62000715565b5b620006378262000758565b9050602081019050919050565b60005b838110156200066457808201518184015260208101905062000647565b8381111562000674576000848401525b50505050565b600060028204905060018216806200069357607f821691505b60208210811415620006aa57620006a9620006e6565b5b50919050565b620006bb8262000758565b810181811067ffffffffffffffff82111715620006dd57620006dc62000715565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61420680620007796000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80636f8b44b011610125578063a22cb465116100ad578063d547741f1161007c578063d547741f146105db578063d5abeb01146105f7578063e0a8085314610615578063e985e9c514610631578063f2fde38b146106615761021c565b8063a22cb46514610557578063b88d4fde14610573578063bbaac02f1461058f578063c87b56dd146105ab5761021c565b80638cc54e7f116100f45780638cc54e7f146104af5780638da5cb5b146104cd57806391d14854146104eb57806395d89b411461051b578063a217fddf146105395761021c565b80636f8b44b01461044f57806370a082311461046b578063715018a61461049b5780638456cb59146104a55761021c565b80633ccfd60b116101a8578063518302271161017757806351830227146103a957806355f804b3146103c75780635c975abb146103e35780636352211e146104015780636c0360eb146104315761021c565b80633ccfd60b1461035d5780633f4ba83a14610367578063404f9b901461037157806342842e0e1461038d5761021c565b806318160ddd116101ef57806318160ddd146102bb57806323b872dd146102d9578063248a9ca3146102f55780632f2ff15d1461032557806336568abe146103415761021c565b806301ffc9a71461022157806306fdde0314610251578063081812fc1461026f578063095ea7b31461029f575b600080fd5b61023b600480360381019061023691906134fa565b61067d565b604051610248919061395a565b60405180910390f35b61025961069f565b6040516102669190613990565b60405180910390f35b610289600480360381019061028491906135a1565b610731565b60405161029691906138f3565b60405180910390f35b6102b960048036038101906102b4919061339f565b6107ad565b005b6102c36108b8565b6040516102d09190613a92565b60405180910390f35b6102f360048036038101906102ee9190613289565b6108cf565b005b61030f600480360381019061030a919061348d565b6108df565b60405161031c9190613975565b60405180910390f35b61033f600480360381019061033a91906134ba565b6108ff565b005b61035b600480360381019061035691906134ba565b610928565b005b6103656109ab565b005b61036f610a76565b005b61038b600480360381019061038691906133df565b610afc565b005b6103a760048036038101906103a29190613289565b610c97565b005b6103b1610cb7565b6040516103be919061395a565b60405180910390f35b6103e160048036038101906103dc9190613554565b610cca565b005b6103eb610d13565b6040516103f8919061395a565b60405180910390f35b61041b600480360381019061041691906135a1565b610d2a565b60405161042891906138f3565b60405180910390f35b610439610d40565b6040516104469190613990565b60405180910390f35b610469600480360381019061046491906135a1565b610dce565b005b6104856004803603810190610480919061321c565b610e0b565b6040516104929190613a92565b60405180910390f35b6104a3610edb565b005b6104ad610f63565b005b6104b7610fe9565b6040516104c49190613990565b60405180910390f35b6104d5611077565b6040516104e291906138f3565b60405180910390f35b610505600480360381019061050091906134ba565b6110a1565b604051610512919061395a565b60405180910390f35b61052361110c565b6040516105309190613990565b60405180910390f35b61054161119e565b60405161054e9190613975565b60405180910390f35b610571600480360381019061056c919061335f565b6111a5565b005b61058d600480360381019061058891906132dc565b61131d565b005b6105a960048036038101906105a49190613554565b611399565b005b6105c560048036038101906105c091906135a1565b6113e2565b6040516105d29190613990565b60405180910390f35b6105f560048036038101906105f091906134ba565b611539565b005b6105ff611562565b60405161060c9190613a92565b60405180910390f35b61062f600480360381019061062a9190613460565b611568565b005b61064b60048036038101906106469190613249565b6115b8565b604051610658919061395a565b60405180910390f35b61067b6004803603810190610676919061321c565b61164c565b005b600061068882611744565b80610698575061069782611826565b5b9050919050565b6060600280546106ae90613d5a565b80601f01602080910402602001604051908101604052809291908181526020018280546106da90613d5a565b80156107275780601f106106fc57610100808354040283529160200191610727565b820191906000526020600020905b81548152906001019060200180831161070a57829003601f168201915b5050505050905090565b600061073c826118a0565b610772576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107b882610d2a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610820576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661083f6118ee565b73ffffffffffffffffffffffffffffffffffffffff1614158015610871575061086f8161086a6118ee565b6115b8565b155b156108a8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108b38383836118f6565b505050565b60006108c26119a8565b6001546000540303905090565b6108da8383836119b1565b505050565b600060096000838152602001908152602001600020600101549050919050565b610908826108df565b610919816109146118ee565b611e67565b6109238383611f04565b505050565b6109306118ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490613a72565b60405180910390fd5b6109a78282611fe5565b5050565b6109b36118ee565b73ffffffffffffffffffffffffffffffffffffffff166109d1611077565b73ffffffffffffffffffffffffffffffffffffffff1614610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90613a32565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a72573d6000803e3d6000fd5b5050565b610a7e6118ee565b73ffffffffffffffffffffffffffffffffffffffff16610a9c611077565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990613a32565b60405180910390fd5b610afa6120c7565b565b610b046118ee565b73ffffffffffffffffffffffffffffffffffffffff16610b22611077565b73ffffffffffffffffffffffffffffffffffffffff1614610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90613a32565b60405180910390fd5b6000848490501480610b905750838390508282905014155b15610bc7576040517f2443e39000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84849050811015610c90576000858583818110610bea57610be9613ec4565b5b9050602002016020810190610bff919061321c565b90506000848484818110610c1657610c15613ec4565b5b9050602002013590506000811415610c2d57600080fd5b610c378282612169565b808273ffffffffffffffffffffffffffffffffffffffff167fd90c0df4a6ed9697e924dd557655973fb893971bc2f7562725795f8de1fc22e660405160405180910390a350508080610c8890613dbd565b915050610bca565b5050505050565b610cb28383836040518060200160405280600081525061131d565b505050565b600a60009054906101000a900460ff1681565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc24610cfc81610cf76118ee565b611e67565b8282600b9190610d0d929190612f46565b50505050565b6000600860009054906101000a900460ff16905090565b6000610d3582612187565b600001519050919050565b600b8054610d4d90613d5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7990613d5a565b8015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b820191906000526020600020905b815481529060010190602001808311610da957829003601f168201915b505050505081565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc24610e0081610dfb6118ee565b611e67565b81600d819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e73576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610ee36118ee565b73ffffffffffffffffffffffffffffffffffffffff16610f01611077565b73ffffffffffffffffffffffffffffffffffffffff1614610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e90613a32565b60405180910390fd5b610f616000612416565b565b610f6b6118ee565b73ffffffffffffffffffffffffffffffffffffffff16610f89611077565b73ffffffffffffffffffffffffffffffffffffffff1614610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd690613a32565b60405180910390fd5b610fe76124dc565b565b600c8054610ff690613d5a565b80601f016020809104026020016040519081016040528092919081815260200182805461102290613d5a565b801561106f5780601f106110445761010080835404028352916020019161106f565b820191906000526020600020905b81548152906001019060200180831161105257829003601f168201915b505050505081565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606003805461111b90613d5a565b80601f016020809104026020016040519081016040528092919081815260200182805461114790613d5a565b80156111945780601f1061116957610100808354040283529160200191611194565b820191906000526020600020905b81548152906001019060200180831161117757829003601f168201915b5050505050905090565b6000801b81565b6111ad6118ee565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611212576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061121f6118ee565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112cc6118ee565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611311919061395a565b60405180910390a35050565b6113288484846119b1565b6113478373ffffffffffffffffffffffffffffffffffffffff1661257f565b801561135c575061135a848484846125a2565b155b15611393576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc246113cb816113c66118ee565b611e67565b8282600c91906113dc929190612f46565b50505050565b606060001515600a60009054906101000a900460ff161515141561149257600c805461140d90613d5a565b80601f016020809104026020016040519081016040528092919081815260200182805461143990613d5a565b80156114865780601f1061145b57610100808354040283529160200191611486565b820191906000526020600020905b81548152906001019060200180831161146957829003601f168201915b50505050509050611534565b61149b826118a0565b6114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190613a52565b60405180910390fd5b6000600b80546114e990613d5a565b9050116115055760405180602001604052806000815250611531565b600b61151083612702565b60405160200161152192919061388a565b6040516020818303038152906040525b90505b919050565b611542826108df565b6115538161154e6118ee565b611e67565b61155d8383611fe5565b505050565b600d5481565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc2461159a816115956118ee565b611e67565b81600a60006101000a81548160ff0219169083151502179055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116546118ee565b73ffffffffffffffffffffffffffffffffffffffff16611672611077565b73ffffffffffffffffffffffffffffffffffffffff16146116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90613a32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172f906139f2565b60405180910390fd5b61174181612416565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061180f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061181f575061181e82612863565b5b9050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611899575061189882611744565b5b9050919050565b6000816118ab6119a8565b111580156118ba575060005482105b80156118e7575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006119bc82612187565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611a27576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611a486118ee565b73ffffffffffffffffffffffffffffffffffffffff161480611a775750611a7685611a716118ee565b6115b8565b5b80611abc5750611a856118ee565b73ffffffffffffffffffffffffffffffffffffffff16611aa484610731565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611af5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b5c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b6985858560016128cd565b611b75600084876118f6565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611df5576000548214611df457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e60858585600161291e565b5050505050565b611e7182826110a1565b611f0057611e968173ffffffffffffffffffffffffffffffffffffffff166014612924565b611ea48360001c6020612924565b604051602001611eb59291906138b9565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef79190613990565b60405180910390fd5b5050565b611f0e82826110a1565b611fe15760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f866118ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611fef82826110a1565b156120c35760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506120686118ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6120cf610d13565b61210e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612105906139d2565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121526118ee565b60405161215f91906138f3565b60405180910390a1565b612183828260405180602001604052806000815250612b60565b5050565b61218f612fcc565b60008290508061219d6119a8565b111580156121ac575060005481105b156123df576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516123dd57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122c1578092505050612411565b5b6001156123dc57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123d7578092505050612411565b6122c2565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124e4610d13565b15612524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251b90613a12565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125686118ee565b60405161257591906138f3565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125c86118ee565b8786866040518563ffffffff1660e01b81526004016125ea949392919061390e565b602060405180830381600087803b15801561260457600080fd5b505af192505050801561263557506040513d601f19601f820116820180604052508101906126329190613527565b60015b6126af573d8060008114612665576040519150601f19603f3d011682016040523d82523d6000602084013e61266a565b606091505b506000815114156126a7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561274a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061285e565b600082905060005b6000821461277c57808061276590613dbd565b915050600a826127759190613bb1565b9150612752565b60008167ffffffffffffffff81111561279857612797613ef3565b5b6040519080825280601f01601f1916602001820160405280156127ca5781602001600182028036833780820191505090505b5090505b60008514612857576001826127e39190613c3c565b9150600a856127f29190613e06565b60306127fe9190613b5b565b60f81b81838151811061281457612813613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128509190613bb1565b94506127ce565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128d984848484612b72565b6128e1610d13565b15612918576040517fab35696f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b50505050565b6060600060028360026129379190613be2565b6129419190613b5b565b67ffffffffffffffff81111561295a57612959613ef3565b5b6040519080825280601f01601f19166020018201604052801561298c5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106129c4576129c3613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a2857612a27613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a689190613be2565b612a729190613b5b565b90505b6001811115612b12577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ab457612ab3613ec4565b5b1a60f81b828281518110612acb57612aca613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b0b90613d30565b9050612a75565b5060008414612b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4d906139b2565b60405180910390fd5b8091505092915050565b612b6d8383836001612b78565b505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612be5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612c20576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c2d60008683876128cd565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612df75750612df68773ffffffffffffffffffffffffffffffffffffffff1661257f565b5b15612ebd575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e6c60008884806001019550886125a2565b612ea2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612dfd578260005414612eb857600080fd5b612f29565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612ebe575b816000819055505050612f3f600086838761291e565b5050505050565b828054612f5290613d5a565b90600052602060002090601f016020900481019282612f745760008555612fbb565b82601f10612f8d57803560ff1916838001178555612fbb565b82800160010185558215612fbb579182015b82811115612fba578235825591602001919060010190612f9f565b5b509050612fc8919061300f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613028576000816000905550600101613010565b5090565b600061303f61303a84613ad2565b613aad565b90508281526020810184848401111561305b5761305a613f31565b5b613066848285613cee565b509392505050565b60008135905061307d8161415d565b92915050565b60008083601f84011261309957613098613f27565b5b8235905067ffffffffffffffff8111156130b6576130b5613f22565b5b6020830191508360208202830111156130d2576130d1613f2c565b5b9250929050565b60008083601f8401126130ef576130ee613f27565b5b8235905067ffffffffffffffff81111561310c5761310b613f22565b5b60208301915083602082028301111561312857613127613f2c565b5b9250929050565b60008135905061313e81614174565b92915050565b6000813590506131538161418b565b92915050565b600081359050613168816141a2565b92915050565b60008151905061317d816141a2565b92915050565b600082601f83011261319857613197613f27565b5b81356131a884826020860161302c565b91505092915050565b60008083601f8401126131c7576131c6613f27565b5b8235905067ffffffffffffffff8111156131e4576131e3613f22565b5b602083019150836001820283011115613200576131ff613f2c565b5b9250929050565b600081359050613216816141b9565b92915050565b60006020828403121561323257613231613f3b565b5b60006132408482850161306e565b91505092915050565b600080604083850312156132605761325f613f3b565b5b600061326e8582860161306e565b925050602061327f8582860161306e565b9150509250929050565b6000806000606084860312156132a2576132a1613f3b565b5b60006132b08682870161306e565b93505060206132c18682870161306e565b92505060406132d286828701613207565b9150509250925092565b600080600080608085870312156132f6576132f5613f3b565b5b60006133048782880161306e565b94505060206133158782880161306e565b935050604061332687828801613207565b925050606085013567ffffffffffffffff81111561334757613346613f36565b5b61335387828801613183565b91505092959194509250565b6000806040838503121561337657613375613f3b565b5b60006133848582860161306e565b92505060206133958582860161312f565b9150509250929050565b600080604083850312156133b6576133b5613f3b565b5b60006133c48582860161306e565b92505060206133d585828601613207565b9150509250929050565b600080600080604085870312156133f9576133f8613f3b565b5b600085013567ffffffffffffffff81111561341757613416613f36565b5b61342387828801613083565b9450945050602085013567ffffffffffffffff81111561344657613445613f36565b5b613452878288016130d9565b925092505092959194509250565b60006020828403121561347657613475613f3b565b5b60006134848482850161312f565b91505092915050565b6000602082840312156134a3576134a2613f3b565b5b60006134b184828501613144565b91505092915050565b600080604083850312156134d1576134d0613f3b565b5b60006134df85828601613144565b92505060206134f08582860161306e565b9150509250929050565b6000602082840312156135105761350f613f3b565b5b600061351e84828501613159565b91505092915050565b60006020828403121561353d5761353c613f3b565b5b600061354b8482850161316e565b91505092915050565b6000806020838503121561356b5761356a613f3b565b5b600083013567ffffffffffffffff81111561358957613588613f36565b5b613595858286016131b1565b92509250509250929050565b6000602082840312156135b7576135b6613f3b565b5b60006135c584828501613207565b91505092915050565b6135d781613c70565b82525050565b6135e681613c82565b82525050565b6135f581613c8e565b82525050565b600061360682613b18565b6136108185613b2e565b9350613620818560208601613cfd565b61362981613f40565b840191505092915050565b600061363f82613b23565b6136498185613b3f565b9350613659818560208601613cfd565b61366281613f40565b840191505092915050565b600061367882613b23565b6136828185613b50565b9350613692818560208601613cfd565b80840191505092915050565b600081546136ab81613d5a565b6136b58186613b50565b945060018216600081146136d057600181146136e157613714565b60ff19831686528186019350613714565b6136ea85613b03565b60005b8381101561370c578154818901526001820191506020810190506136ed565b838801955050505b50505092915050565b600061372a602083613b3f565b915061373582613f51565b602082019050919050565b600061374d601483613b3f565b915061375882613f7a565b602082019050919050565b6000613770602683613b3f565b915061377b82613fa3565b604082019050919050565b6000613793601083613b3f565b915061379e82613ff2565b602082019050919050565b60006137b6600583613b50565b91506137c18261401b565b600582019050919050565b60006137d9602083613b3f565b91506137e482614044565b602082019050919050565b60006137fc602f83613b3f565b91506138078261406d565b604082019050919050565b600061381f601783613b50565b915061382a826140bc565b601782019050919050565b6000613842601183613b50565b915061384d826140e5565b601182019050919050565b6000613865602f83613b3f565b91506138708261410e565b604082019050919050565b61388481613ce4565b82525050565b6000613896828561369e565b91506138a2828461366d565b91506138ad826137a9565b91508190509392505050565b60006138c482613812565b91506138d0828561366d565b91506138db82613835565b91506138e7828461366d565b91508190509392505050565b600060208201905061390860008301846135ce565b92915050565b600060808201905061392360008301876135ce565b61393060208301866135ce565b61393d604083018561387b565b818103606083015261394f81846135fb565b905095945050505050565b600060208201905061396f60008301846135dd565b92915050565b600060208201905061398a60008301846135ec565b92915050565b600060208201905081810360008301526139aa8184613634565b905092915050565b600060208201905081810360008301526139cb8161371d565b9050919050565b600060208201905081810360008301526139eb81613740565b9050919050565b60006020820190508181036000830152613a0b81613763565b9050919050565b60006020820190508181036000830152613a2b81613786565b9050919050565b60006020820190508181036000830152613a4b816137cc565b9050919050565b60006020820190508181036000830152613a6b816137ef565b9050919050565b60006020820190508181036000830152613a8b81613858565b9050919050565b6000602082019050613aa7600083018461387b565b92915050565b6000613ab7613ac8565b9050613ac38282613d8c565b919050565b6000604051905090565b600067ffffffffffffffff821115613aed57613aec613ef3565b5b613af682613f40565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b6682613ce4565b9150613b7183613ce4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ba657613ba5613e37565b5b828201905092915050565b6000613bbc82613ce4565b9150613bc783613ce4565b925082613bd757613bd6613e66565b5b828204905092915050565b6000613bed82613ce4565b9150613bf883613ce4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c3157613c30613e37565b5b828202905092915050565b6000613c4782613ce4565b9150613c5283613ce4565b925082821015613c6557613c64613e37565b5b828203905092915050565b6000613c7b82613cc4565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d1b578082015181840152602081019050613d00565b83811115613d2a576000848401525b50505050565b6000613d3b82613ce4565b91506000821415613d4f57613d4e613e37565b5b600182039050919050565b60006002820490506001821680613d7257607f821691505b60208210811415613d8657613d85613e95565b5b50919050565b613d9582613f40565b810181811067ffffffffffffffff82111715613db457613db3613ef3565b5b80604052505050565b6000613dc882613ce4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dfb57613dfa613e37565b5b600182019050919050565b6000613e1182613ce4565b9150613e1c83613ce4565b925082613e2c57613e2b613e66565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61416681613c70565b811461417157600080fd5b50565b61417d81613c82565b811461418857600080fd5b50565b61419481613c8e565b811461419f57600080fd5b50565b6141ab81613c98565b81146141b657600080fd5b50565b6141c281613ce4565b81146141cd57600080fd5b5056fea2646970667358221220934522117cb8ed87e6dbddea9bffd76211b13ce72057e4ca730b6a14a728ce6864736f6c6343000807003368747470733a2f2f73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f647774642e706c61797369646573747564696f732d646576656c2e636f6d2f706574735f67656e312f68696464656e5f4a3650753761442d36676835325557793034335755772f46335f79525873504668324e30726a477a4e4b4444672f48696464656e5065742e6a736f6e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000234245414e5320504554532047454e2031202d2044756d62205761797320746f204469650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4245414e535f504554535f47454e310000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80636f8b44b011610125578063a22cb465116100ad578063d547741f1161007c578063d547741f146105db578063d5abeb01146105f7578063e0a8085314610615578063e985e9c514610631578063f2fde38b146106615761021c565b8063a22cb46514610557578063b88d4fde14610573578063bbaac02f1461058f578063c87b56dd146105ab5761021c565b80638cc54e7f116100f45780638cc54e7f146104af5780638da5cb5b146104cd57806391d14854146104eb57806395d89b411461051b578063a217fddf146105395761021c565b80636f8b44b01461044f57806370a082311461046b578063715018a61461049b5780638456cb59146104a55761021c565b80633ccfd60b116101a8578063518302271161017757806351830227146103a957806355f804b3146103c75780635c975abb146103e35780636352211e146104015780636c0360eb146104315761021c565b80633ccfd60b1461035d5780633f4ba83a14610367578063404f9b901461037157806342842e0e1461038d5761021c565b806318160ddd116101ef57806318160ddd146102bb57806323b872dd146102d9578063248a9ca3146102f55780632f2ff15d1461032557806336568abe146103415761021c565b806301ffc9a71461022157806306fdde0314610251578063081812fc1461026f578063095ea7b31461029f575b600080fd5b61023b600480360381019061023691906134fa565b61067d565b604051610248919061395a565b60405180910390f35b61025961069f565b6040516102669190613990565b60405180910390f35b610289600480360381019061028491906135a1565b610731565b60405161029691906138f3565b60405180910390f35b6102b960048036038101906102b4919061339f565b6107ad565b005b6102c36108b8565b6040516102d09190613a92565b60405180910390f35b6102f360048036038101906102ee9190613289565b6108cf565b005b61030f600480360381019061030a919061348d565b6108df565b60405161031c9190613975565b60405180910390f35b61033f600480360381019061033a91906134ba565b6108ff565b005b61035b600480360381019061035691906134ba565b610928565b005b6103656109ab565b005b61036f610a76565b005b61038b600480360381019061038691906133df565b610afc565b005b6103a760048036038101906103a29190613289565b610c97565b005b6103b1610cb7565b6040516103be919061395a565b60405180910390f35b6103e160048036038101906103dc9190613554565b610cca565b005b6103eb610d13565b6040516103f8919061395a565b60405180910390f35b61041b600480360381019061041691906135a1565b610d2a565b60405161042891906138f3565b60405180910390f35b610439610d40565b6040516104469190613990565b60405180910390f35b610469600480360381019061046491906135a1565b610dce565b005b6104856004803603810190610480919061321c565b610e0b565b6040516104929190613a92565b60405180910390f35b6104a3610edb565b005b6104ad610f63565b005b6104b7610fe9565b6040516104c49190613990565b60405180910390f35b6104d5611077565b6040516104e291906138f3565b60405180910390f35b610505600480360381019061050091906134ba565b6110a1565b604051610512919061395a565b60405180910390f35b61052361110c565b6040516105309190613990565b60405180910390f35b61054161119e565b60405161054e9190613975565b60405180910390f35b610571600480360381019061056c919061335f565b6111a5565b005b61058d600480360381019061058891906132dc565b61131d565b005b6105a960048036038101906105a49190613554565b611399565b005b6105c560048036038101906105c091906135a1565b6113e2565b6040516105d29190613990565b60405180910390f35b6105f560048036038101906105f091906134ba565b611539565b005b6105ff611562565b60405161060c9190613a92565b60405180910390f35b61062f600480360381019061062a9190613460565b611568565b005b61064b60048036038101906106469190613249565b6115b8565b604051610658919061395a565b60405180910390f35b61067b6004803603810190610676919061321c565b61164c565b005b600061068882611744565b80610698575061069782611826565b5b9050919050565b6060600280546106ae90613d5a565b80601f01602080910402602001604051908101604052809291908181526020018280546106da90613d5a565b80156107275780601f106106fc57610100808354040283529160200191610727565b820191906000526020600020905b81548152906001019060200180831161070a57829003601f168201915b5050505050905090565b600061073c826118a0565b610772576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107b882610d2a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610820576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661083f6118ee565b73ffffffffffffffffffffffffffffffffffffffff1614158015610871575061086f8161086a6118ee565b6115b8565b155b156108a8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108b38383836118f6565b505050565b60006108c26119a8565b6001546000540303905090565b6108da8383836119b1565b505050565b600060096000838152602001908152602001600020600101549050919050565b610908826108df565b610919816109146118ee565b611e67565b6109238383611f04565b505050565b6109306118ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490613a72565b60405180910390fd5b6109a78282611fe5565b5050565b6109b36118ee565b73ffffffffffffffffffffffffffffffffffffffff166109d1611077565b73ffffffffffffffffffffffffffffffffffffffff1614610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90613a32565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a72573d6000803e3d6000fd5b5050565b610a7e6118ee565b73ffffffffffffffffffffffffffffffffffffffff16610a9c611077565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990613a32565b60405180910390fd5b610afa6120c7565b565b610b046118ee565b73ffffffffffffffffffffffffffffffffffffffff16610b22611077565b73ffffffffffffffffffffffffffffffffffffffff1614610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90613a32565b60405180910390fd5b6000848490501480610b905750838390508282905014155b15610bc7576040517f2443e39000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84849050811015610c90576000858583818110610bea57610be9613ec4565b5b9050602002016020810190610bff919061321c565b90506000848484818110610c1657610c15613ec4565b5b9050602002013590506000811415610c2d57600080fd5b610c378282612169565b808273ffffffffffffffffffffffffffffffffffffffff167fd90c0df4a6ed9697e924dd557655973fb893971bc2f7562725795f8de1fc22e660405160405180910390a350508080610c8890613dbd565b915050610bca565b5050505050565b610cb28383836040518060200160405280600081525061131d565b505050565b600a60009054906101000a900460ff1681565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc24610cfc81610cf76118ee565b611e67565b8282600b9190610d0d929190612f46565b50505050565b6000600860009054906101000a900460ff16905090565b6000610d3582612187565b600001519050919050565b600b8054610d4d90613d5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7990613d5a565b8015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b820191906000526020600020905b815481529060010190602001808311610da957829003601f168201915b505050505081565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc24610e0081610dfb6118ee565b611e67565b81600d819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e73576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610ee36118ee565b73ffffffffffffffffffffffffffffffffffffffff16610f01611077565b73ffffffffffffffffffffffffffffffffffffffff1614610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e90613a32565b60405180910390fd5b610f616000612416565b565b610f6b6118ee565b73ffffffffffffffffffffffffffffffffffffffff16610f89611077565b73ffffffffffffffffffffffffffffffffffffffff1614610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd690613a32565b60405180910390fd5b610fe76124dc565b565b600c8054610ff690613d5a565b80601f016020809104026020016040519081016040528092919081815260200182805461102290613d5a565b801561106f5780601f106110445761010080835404028352916020019161106f565b820191906000526020600020905b81548152906001019060200180831161105257829003601f168201915b505050505081565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606003805461111b90613d5a565b80601f016020809104026020016040519081016040528092919081815260200182805461114790613d5a565b80156111945780601f1061116957610100808354040283529160200191611194565b820191906000526020600020905b81548152906001019060200180831161117757829003601f168201915b5050505050905090565b6000801b81565b6111ad6118ee565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611212576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061121f6118ee565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112cc6118ee565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611311919061395a565b60405180910390a35050565b6113288484846119b1565b6113478373ffffffffffffffffffffffffffffffffffffffff1661257f565b801561135c575061135a848484846125a2565b155b15611393576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc246113cb816113c66118ee565b611e67565b8282600c91906113dc929190612f46565b50505050565b606060001515600a60009054906101000a900460ff161515141561149257600c805461140d90613d5a565b80601f016020809104026020016040519081016040528092919081815260200182805461143990613d5a565b80156114865780601f1061145b57610100808354040283529160200191611486565b820191906000526020600020905b81548152906001019060200180831161146957829003601f168201915b50505050509050611534565b61149b826118a0565b6114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190613a52565b60405180910390fd5b6000600b80546114e990613d5a565b9050116115055760405180602001604052806000815250611531565b600b61151083612702565b60405160200161152192919061388a565b6040516020818303038152906040525b90505b919050565b611542826108df565b6115538161154e6118ee565b611e67565b61155d8383611fe5565b505050565b600d5481565b7f7215bf9368cc1afa4fa09d71b05b7c1d06e3e0b52d945ec91167a15a32dfcc2461159a816115956118ee565b611e67565b81600a60006101000a81548160ff0219169083151502179055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116546118ee565b73ffffffffffffffffffffffffffffffffffffffff16611672611077565b73ffffffffffffffffffffffffffffffffffffffff16146116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90613a32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172f906139f2565b60405180910390fd5b61174181612416565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061180f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061181f575061181e82612863565b5b9050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611899575061189882611744565b5b9050919050565b6000816118ab6119a8565b111580156118ba575060005482105b80156118e7575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006119bc82612187565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611a27576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611a486118ee565b73ffffffffffffffffffffffffffffffffffffffff161480611a775750611a7685611a716118ee565b6115b8565b5b80611abc5750611a856118ee565b73ffffffffffffffffffffffffffffffffffffffff16611aa484610731565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611af5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b5c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b6985858560016128cd565b611b75600084876118f6565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611df5576000548214611df457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e60858585600161291e565b5050505050565b611e7182826110a1565b611f0057611e968173ffffffffffffffffffffffffffffffffffffffff166014612924565b611ea48360001c6020612924565b604051602001611eb59291906138b9565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef79190613990565b60405180910390fd5b5050565b611f0e82826110a1565b611fe15760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f866118ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611fef82826110a1565b156120c35760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506120686118ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6120cf610d13565b61210e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612105906139d2565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121526118ee565b60405161215f91906138f3565b60405180910390a1565b612183828260405180602001604052806000815250612b60565b5050565b61218f612fcc565b60008290508061219d6119a8565b111580156121ac575060005481105b156123df576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516123dd57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122c1578092505050612411565b5b6001156123dc57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123d7578092505050612411565b6122c2565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124e4610d13565b15612524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251b90613a12565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125686118ee565b60405161257591906138f3565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125c86118ee565b8786866040518563ffffffff1660e01b81526004016125ea949392919061390e565b602060405180830381600087803b15801561260457600080fd5b505af192505050801561263557506040513d601f19601f820116820180604052508101906126329190613527565b60015b6126af573d8060008114612665576040519150601f19603f3d011682016040523d82523d6000602084013e61266a565b606091505b506000815114156126a7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561274a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061285e565b600082905060005b6000821461277c57808061276590613dbd565b915050600a826127759190613bb1565b9150612752565b60008167ffffffffffffffff81111561279857612797613ef3565b5b6040519080825280601f01601f1916602001820160405280156127ca5781602001600182028036833780820191505090505b5090505b60008514612857576001826127e39190613c3c565b9150600a856127f29190613e06565b60306127fe9190613b5b565b60f81b81838151811061281457612813613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128509190613bb1565b94506127ce565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128d984848484612b72565b6128e1610d13565b15612918576040517fab35696f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b50505050565b6060600060028360026129379190613be2565b6129419190613b5b565b67ffffffffffffffff81111561295a57612959613ef3565b5b6040519080825280601f01601f19166020018201604052801561298c5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106129c4576129c3613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a2857612a27613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a689190613be2565b612a729190613b5b565b90505b6001811115612b12577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ab457612ab3613ec4565b5b1a60f81b828281518110612acb57612aca613ec4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b0b90613d30565b9050612a75565b5060008414612b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4d906139b2565b60405180910390fd5b8091505092915050565b612b6d8383836001612b78565b505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612be5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612c20576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c2d60008683876128cd565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612df75750612df68773ffffffffffffffffffffffffffffffffffffffff1661257f565b5b15612ebd575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e6c60008884806001019550886125a2565b612ea2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612dfd578260005414612eb857600080fd5b612f29565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612ebe575b816000819055505050612f3f600086838761291e565b5050505050565b828054612f5290613d5a565b90600052602060002090601f016020900481019282612f745760008555612fbb565b82601f10612f8d57803560ff1916838001178555612fbb565b82800160010185558215612fbb579182015b82811115612fba578235825591602001919060010190612f9f565b5b509050612fc8919061300f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613028576000816000905550600101613010565b5090565b600061303f61303a84613ad2565b613aad565b90508281526020810184848401111561305b5761305a613f31565b5b613066848285613cee565b509392505050565b60008135905061307d8161415d565b92915050565b60008083601f84011261309957613098613f27565b5b8235905067ffffffffffffffff8111156130b6576130b5613f22565b5b6020830191508360208202830111156130d2576130d1613f2c565b5b9250929050565b60008083601f8401126130ef576130ee613f27565b5b8235905067ffffffffffffffff81111561310c5761310b613f22565b5b60208301915083602082028301111561312857613127613f2c565b5b9250929050565b60008135905061313e81614174565b92915050565b6000813590506131538161418b565b92915050565b600081359050613168816141a2565b92915050565b60008151905061317d816141a2565b92915050565b600082601f83011261319857613197613f27565b5b81356131a884826020860161302c565b91505092915050565b60008083601f8401126131c7576131c6613f27565b5b8235905067ffffffffffffffff8111156131e4576131e3613f22565b5b602083019150836001820283011115613200576131ff613f2c565b5b9250929050565b600081359050613216816141b9565b92915050565b60006020828403121561323257613231613f3b565b5b60006132408482850161306e565b91505092915050565b600080604083850312156132605761325f613f3b565b5b600061326e8582860161306e565b925050602061327f8582860161306e565b9150509250929050565b6000806000606084860312156132a2576132a1613f3b565b5b60006132b08682870161306e565b93505060206132c18682870161306e565b92505060406132d286828701613207565b9150509250925092565b600080600080608085870312156132f6576132f5613f3b565b5b60006133048782880161306e565b94505060206133158782880161306e565b935050604061332687828801613207565b925050606085013567ffffffffffffffff81111561334757613346613f36565b5b61335387828801613183565b91505092959194509250565b6000806040838503121561337657613375613f3b565b5b60006133848582860161306e565b92505060206133958582860161312f565b9150509250929050565b600080604083850312156133b6576133b5613f3b565b5b60006133c48582860161306e565b92505060206133d585828601613207565b9150509250929050565b600080600080604085870312156133f9576133f8613f3b565b5b600085013567ffffffffffffffff81111561341757613416613f36565b5b61342387828801613083565b9450945050602085013567ffffffffffffffff81111561344657613445613f36565b5b613452878288016130d9565b925092505092959194509250565b60006020828403121561347657613475613f3b565b5b60006134848482850161312f565b91505092915050565b6000602082840312156134a3576134a2613f3b565b5b60006134b184828501613144565b91505092915050565b600080604083850312156134d1576134d0613f3b565b5b60006134df85828601613144565b92505060206134f08582860161306e565b9150509250929050565b6000602082840312156135105761350f613f3b565b5b600061351e84828501613159565b91505092915050565b60006020828403121561353d5761353c613f3b565b5b600061354b8482850161316e565b91505092915050565b6000806020838503121561356b5761356a613f3b565b5b600083013567ffffffffffffffff81111561358957613588613f36565b5b613595858286016131b1565b92509250509250929050565b6000602082840312156135b7576135b6613f3b565b5b60006135c584828501613207565b91505092915050565b6135d781613c70565b82525050565b6135e681613c82565b82525050565b6135f581613c8e565b82525050565b600061360682613b18565b6136108185613b2e565b9350613620818560208601613cfd565b61362981613f40565b840191505092915050565b600061363f82613b23565b6136498185613b3f565b9350613659818560208601613cfd565b61366281613f40565b840191505092915050565b600061367882613b23565b6136828185613b50565b9350613692818560208601613cfd565b80840191505092915050565b600081546136ab81613d5a565b6136b58186613b50565b945060018216600081146136d057600181146136e157613714565b60ff19831686528186019350613714565b6136ea85613b03565b60005b8381101561370c578154818901526001820191506020810190506136ed565b838801955050505b50505092915050565b600061372a602083613b3f565b915061373582613f51565b602082019050919050565b600061374d601483613b3f565b915061375882613f7a565b602082019050919050565b6000613770602683613b3f565b915061377b82613fa3565b604082019050919050565b6000613793601083613b3f565b915061379e82613ff2565b602082019050919050565b60006137b6600583613b50565b91506137c18261401b565b600582019050919050565b60006137d9602083613b3f565b91506137e482614044565b602082019050919050565b60006137fc602f83613b3f565b91506138078261406d565b604082019050919050565b600061381f601783613b50565b915061382a826140bc565b601782019050919050565b6000613842601183613b50565b915061384d826140e5565b601182019050919050565b6000613865602f83613b3f565b91506138708261410e565b604082019050919050565b61388481613ce4565b82525050565b6000613896828561369e565b91506138a2828461366d565b91506138ad826137a9565b91508190509392505050565b60006138c482613812565b91506138d0828561366d565b91506138db82613835565b91506138e7828461366d565b91508190509392505050565b600060208201905061390860008301846135ce565b92915050565b600060808201905061392360008301876135ce565b61393060208301866135ce565b61393d604083018561387b565b818103606083015261394f81846135fb565b905095945050505050565b600060208201905061396f60008301846135dd565b92915050565b600060208201905061398a60008301846135ec565b92915050565b600060208201905081810360008301526139aa8184613634565b905092915050565b600060208201905081810360008301526139cb8161371d565b9050919050565b600060208201905081810360008301526139eb81613740565b9050919050565b60006020820190508181036000830152613a0b81613763565b9050919050565b60006020820190508181036000830152613a2b81613786565b9050919050565b60006020820190508181036000830152613a4b816137cc565b9050919050565b60006020820190508181036000830152613a6b816137ef565b9050919050565b60006020820190508181036000830152613a8b81613858565b9050919050565b6000602082019050613aa7600083018461387b565b92915050565b6000613ab7613ac8565b9050613ac38282613d8c565b919050565b6000604051905090565b600067ffffffffffffffff821115613aed57613aec613ef3565b5b613af682613f40565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b6682613ce4565b9150613b7183613ce4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ba657613ba5613e37565b5b828201905092915050565b6000613bbc82613ce4565b9150613bc783613ce4565b925082613bd757613bd6613e66565b5b828204905092915050565b6000613bed82613ce4565b9150613bf883613ce4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c3157613c30613e37565b5b828202905092915050565b6000613c4782613ce4565b9150613c5283613ce4565b925082821015613c6557613c64613e37565b5b828203905092915050565b6000613c7b82613cc4565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d1b578082015181840152602081019050613d00565b83811115613d2a576000848401525b50505050565b6000613d3b82613ce4565b91506000821415613d4f57613d4e613e37565b5b600182039050919050565b60006002820490506001821680613d7257607f821691505b60208210811415613d8657613d85613e95565b5b50919050565b613d9582613f40565b810181811067ffffffffffffffff82111715613db457613db3613ef3565b5b80604052505050565b6000613dc882613ce4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dfb57613dfa613e37565b5b600182019050919050565b6000613e1182613ce4565b9150613e1c83613ce4565b925082613e2c57613e2b613e66565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61416681613c70565b811461417157600080fd5b50565b61417d81613c82565b811461418857600080fd5b50565b61419481613c8e565b811461419f57600080fd5b50565b6141ab81613c98565b81146141b657600080fd5b50565b6141c281613ce4565b81146141cd57600080fd5b5056fea2646970667358221220934522117cb8ed87e6dbddea9bffd76211b13ce72057e4ca730b6a14a728ce6864736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000234245414e5320504554532047454e2031202d2044756d62205761797320746f204469650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4245414e535f504554535f47454e310000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): BEANS PETS GEN 1 - Dumb Ways to Die
Arg [1] : _symbol (string): BEANS_PETS_GEN1

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [3] : 4245414e5320504554532047454e2031202d2044756d62205761797320746f20
Arg [4] : 4469650000000000000000000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [6] : 4245414e535f504554535f47454e310000000000000000000000000000000000


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.