ETH Price: $3,063.94 (+1.32%)
Gas: 3 Gwei

Token

DumpTown (DT)
 

Overview

Max Total Supply

1,000 DT

Holders

254

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 DT
0x9A69eb60720B4f7caBB1F348e6d6f14cb9E5c90c
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:
DumpTown

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : DumpTown.sol
//SPDX-License-Identifier: MIT
/*

.########..##.....##.##.....##.########.....########..#######..##......##.##....##
.##.....##.##.....##.###...###.##.....##.......##....##.....##.##..##..##.###...##
.##.....##.##.....##.####.####.##.....##.......##....##.....##.##..##..##.####..##
.##.....##.##.....##.##.###.##.########........##....##.....##.##..##..##.##.##.##
.##.....##.##.....##.##.....##.##..............##....##.....##.##..##..##.##..####
.##.....##.##.....##.##.....##.##..............##....##.....##.##..##..##.##...###
.########...#######..##.....##.##..............##.....#######...###..###..##....##

*/
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract DumpTown is Ownable, ERC721Enumerable, ERC721Pausable, ReentrancyGuard {

    event TokenClaimed(uint256 _totalClaimed, address _owner, uint256 _numOfTokens, uint256[] _tokenIds);

    string public metadataBaseURL;
    bool public claimEnabled;
    uint public maxPerAddr;
    uint public maxPerTx;
    uint public maxTokens;
    
    constructor(string memory _metadataBaseURL) 
        ERC721("DumpTown", "DT") {
            metadataBaseURL = _metadataBaseURL;
            claimEnabled = false;
            maxPerTx = 5;
            maxPerAddr = 20;
            maxTokens = 9500; // Public (9500) + Team (500) = Total supply (10,000)
        }

    function claim(uint numOfTokens) public nonReentrant {

        address _sender = _msgSender();
        uint _balance = balanceOf(_sender);
        uint _supply = totalSupply();
        
        require(_sender == tx.origin, "Cannot claim through contracts");
        require(claimEnabled, "Claim not enabled yet");
        require(numOfTokens > 0, "Cannot claim zero tokens");
        require(numOfTokens <= maxPerTx, "Cannot claim these many per tx");
        require(_balance < maxPerAddr, "Cannot claim these many per wallet");
        require(_supply + numOfTokens <= maxTokens, "Claim will exceed supply");
        
        uint[] memory ids = new uint[](numOfTokens);
        for(uint i=0; i<numOfTokens; i++) {
            uint256 _tokenid = _supply + 1;
            ids[i] = _tokenid;
            _supply++;
            _safeMint(msg.sender, _tokenid);
        }

        emit TokenClaimed(totalSupply(), _sender, numOfTokens, ids);
    }

    function mintToAddress(address to) public onlyOwner {
        uint _supply = totalSupply();
        require(_supply < maxTokens, "Claim will exceed supply");
        _safeMint(to, _supply + 1);
    }

    function reserve(uint num) public onlyOwner {
        uint i;
        for (i=0; i<num; i++)
            mintToAddress(msg.sender);
    }

    function setBaseURI(string memory baseURL) public onlyOwner {
        metadataBaseURL = baseURL;
    }

    function flipClaimEnabled() public onlyOwner {
        claimEnabled = !(claimEnabled);
    }

    function setSupply(uint _supply) public onlyOwner {
        maxTokens = _supply;
    }

    function setMaxPerTx(uint _max) public onlyOwner {
        maxPerTx = _max;
    }

    function setMaxPerAddr(uint _max) public onlyOwner {
        maxPerAddr = _max;
    }

    function withdraw() public onlyOwner {
        uint256 _balance = address(this).balance;
        address payable _sender = payable(_msgSender());
        _sender.transfer(_balance);
    }

    function pause() public virtual onlyOwner {
        _pause();
    }

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

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

    function _beforeTokenTransfer(
        address from, 
        address to, 
        uint256 tokenId
    ) internal virtual override(ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }
    
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721Enumerable, ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

}

File 2 of 16 : 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 3 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * 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 ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

File 9 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 16 : 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 11 of 16 : 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 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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":"_metadataBaseURL","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_totalClaimed","type":"uint256"},{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_numOfTokens","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"TokenClaimed","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxPerAddr","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"num","type":"uint256"}],"name":"reserve","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":"baseURL","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxPerAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620051fe380380620051fe8339818101604052810190620000379190620003c2565b6040518060400160405280600881526020017f44756d70546f776e0000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4454000000000000000000000000000000000000000000000000000000000000815250620000c3620000b76200015960201b60201c565b6200016160201b60201c565b8160019081620000d491906200065e565b508060029081620000e691906200065e565b5050506000600b60006101000a81548160ff0219169083151502179055506001600c8190555080600d90816200011d91906200065e565b506000600e60006101000a81548160ff02191690831515021790555060056010819055506014600f8190555061251c6011819055505062000745565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200028e8262000243565b810181811067ffffffffffffffff82111715620002b057620002af62000254565b5b80604052505050565b6000620002c562000225565b9050620002d3828262000283565b919050565b600067ffffffffffffffff821115620002f657620002f562000254565b5b620003018262000243565b9050602081019050919050565b60005b838110156200032e57808201518184015260208101905062000311565b838111156200033e576000848401525b50505050565b60006200035b6200035584620002d8565b620002b9565b9050828152602081018484840111156200037a57620003796200023e565b5b620003878482856200030e565b509392505050565b600082601f830112620003a757620003a662000239565b5b8151620003b984826020860162000344565b91505092915050565b600060208284031215620003db57620003da6200022f565b5b600082015167ffffffffffffffff811115620003fc57620003fb62000234565b5b6200040a848285016200038f565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046657607f821691505b6020821081036200047c576200047b6200041e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004e67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004a7565b620004f28683620004a7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200053f6200053962000533846200050a565b62000514565b6200050a565b9050919050565b6000819050919050565b6200055b836200051e565b620005736200056a8262000546565b848454620004b4565b825550505050565b600090565b6200058a6200057b565b6200059781848462000550565b505050565b5b81811015620005bf57620005b360008262000580565b6001810190506200059d565b5050565b601f8211156200060e57620005d88162000482565b620005e38462000497565b81016020851015620005f3578190505b6200060b620006028562000497565b8301826200059c565b50505b505050565b600082821c905092915050565b6000620006336000198460080262000613565b1980831691505092915050565b60006200064e838362000620565b9150826002028217905092915050565b620006698262000413565b67ffffffffffffffff81111562000685576200068462000254565b5b6200069182546200044d565b6200069e828285620005c3565b600060209050601f831160018114620006d65760008415620006c1578287015190505b620006cd858262000640565b8655506200073d565b601f198416620006e68662000482565b60005b828110156200071057848901518255600182019150602085019450602081019050620006e9565b868310156200073057848901516200072c601f89168262000620565b8355505b6001600288020188555050505b505050505050565b614aa980620007556000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c806370a0823111610125578063b88d4fde116100ad578063e985e9c51161007c578063e985e9c5146105c7578063ea998812146105f7578063f2fde38b14610615578063f968adbe14610631578063ffd4aa551461064f5761021c565b8063b88d4fde14610541578063c6f6f2161461055d578063c87b56dd14610579578063e8315742146105a95761021c565b80638456cb59116100f45780638456cb59146104d55780638da5cb5b146104df57806395d89b41146104fd578063a22cb4651461051b578063a7242e8c146105375761021c565b806370a0823114610463578063715018a6146104935780637dad1d3b1461049d578063819b25ba146104b95761021c565b8063379607f5116101a857806342842e0e1161017757806342842e0e146103ad5780634f6ccce7146103c957806355f804b3146103f95780635c975abb146104155780636352211e146104335761021c565b8063379607f5146103615780633b4c4b251461037d5780633ccfd60b146103995780633f4ba83a146103a35761021c565b806310da2eb9116101ef57806310da2eb9146102bb57806318160ddd146102d957806323b872dd146102f75780632866ed21146103135780632f745c59146103315761021c565b806301ffc9a71461022157806306fdde0314610251578063081812fc1461026f578063095ea7b31461029f575b600080fd5b61023b60048036038101906102369190612ee7565b61066b565b6040516102489190612f2f565b60405180910390f35b61025961067d565b6040516102669190612fe3565b60405180910390f35b6102896004803603810190610284919061303b565b61070f565b60405161029691906130a9565b60405180910390f35b6102b960048036038101906102b491906130f0565b610794565b005b6102c36108ab565b6040516102d09190612fe3565b60405180910390f35b6102e1610939565b6040516102ee919061313f565b60405180910390f35b610311600480360381019061030c919061315a565b610946565b005b61031b6109a6565b6040516103289190612f2f565b60405180910390f35b61034b600480360381019061034691906130f0565b6109b9565b604051610358919061313f565b60405180910390f35b61037b6004803603810190610376919061303b565b610a5e565b005b6103976004803603810190610392919061303b565b610db2565b005b6103a1610e38565b005b6103ab610f10565b005b6103c760048036038101906103c2919061315a565b610f96565b005b6103e360048036038101906103de919061303b565b610fb6565b6040516103f0919061313f565b60405180910390f35b610413600480360381019061040e91906132e2565b611027565b005b61041d6110b6565b60405161042a9190612f2f565b60405180910390f35b61044d6004803603810190610448919061303b565b6110cd565b60405161045a91906130a9565b60405180910390f35b61047d6004803603810190610478919061332b565b61117e565b60405161048a919061313f565b60405180910390f35b61049b611235565b005b6104b760048036038101906104b2919061303b565b6112bd565b005b6104d360048036038101906104ce919061303b565b611343565b005b6104dd6113ea565b005b6104e7611470565b6040516104f491906130a9565b60405180910390f35b610505611499565b6040516105129190612fe3565b60405180910390f35b61053560048036038101906105309190613384565b61152b565b005b61053f611541565b005b61055b60048036038101906105569190613465565b6115e9565b005b6105776004803603810190610572919061303b565b61164b565b005b610593600480360381019061058e919061303b565b6116d1565b6040516105a09190612fe3565b60405180910390f35b6105b1611778565b6040516105be919061313f565b60405180910390f35b6105e160048036038101906105dc91906134e8565b61177e565b6040516105ee9190612f2f565b60405180910390f35b6105ff611812565b60405161060c919061313f565b60405180910390f35b61062f600480360381019061062a919061332b565b611818565b005b61063961190f565b604051610646919061313f565b60405180910390f35b6106696004803603810190610664919061332b565b611915565b005b6000610676826119fb565b9050919050565b60606001805461068c90613557565b80601f01602080910402602001604051908101604052809291908181526020018280546106b890613557565b80156107055780601f106106da57610100808354040283529160200191610705565b820191906000526020600020905b8154815290600101906020018083116106e857829003601f168201915b5050505050905090565b600061071a82611a75565b610759576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610750906135fa565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061079f826110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361080f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108069061368c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661082e611ae1565b73ffffffffffffffffffffffffffffffffffffffff16148061085d575061085c81610857611ae1565b61177e565b5b61089c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108939061371e565b60405180910390fd5b6108a68383611ae9565b505050565b600d80546108b890613557565b80601f01602080910402602001604051908101604052809291908181526020018280546108e490613557565b80156109315780601f1061090657610100808354040283529160200191610931565b820191906000526020600020905b81548152906001019060200180831161091457829003601f168201915b505050505081565b6000600980549050905090565b610957610951611ae1565b82611ba2565b610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d906137b0565b60405180910390fd5b6109a1838383611c80565b505050565b600e60009054906101000a900460ff1681565b60006109c48361117e565b8210610a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fc90613842565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6002600c5403610aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9a906138ae565b60405180910390fd5b6002600c819055506000610ab5611ae1565b90506000610ac28261117e565b90506000610ace610939565b90503273ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b359061391a565b60405180910390fd5b600e60009054906101000a900460ff16610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8490613986565b60405180910390fd5b60008411610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc7906139f2565b60405180910390fd5b601054841115610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0c90613a5e565b60405180910390fd5b600f548210610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5090613af0565b60405180910390fd5b6011548482610c689190613b3f565b1115610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca090613be1565b60405180910390fd5b60008467ffffffffffffffff811115610cc557610cc46131b7565b5b604051908082528060200260200182016040528015610cf35781602001602082028036833780820191505090505b50905060005b85811015610d5e576000600184610d109190613b3f565b905080838381518110610d2657610d25613c01565b5b6020026020010181815250508380610d3d90613c30565b945050610d4a3382611ee6565b508080610d5690613c30565b915050610cf9565b507f09cce075b4e499069bbf8a2a1f13a81943c7183a359c0571c04745788088ac93610d88610939565b858784604051610d9b9493929190613d36565b60405180910390a1505050506001600c8190555050565b610dba611ae1565b73ffffffffffffffffffffffffffffffffffffffff16610dd8611470565b73ffffffffffffffffffffffffffffffffffffffff1614610e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2590613dce565b60405180910390fd5b8060118190555050565b610e40611ae1565b73ffffffffffffffffffffffffffffffffffffffff16610e5e611470565b73ffffffffffffffffffffffffffffffffffffffff1614610eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab90613dce565b60405180910390fd5b60004790506000610ec3611ae1565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610f0b573d6000803e3d6000fd5b505050565b610f18611ae1565b73ffffffffffffffffffffffffffffffffffffffff16610f36611470565b73ffffffffffffffffffffffffffffffffffffffff1614610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8390613dce565b60405180910390fd5b610f94611f04565b565b610fb1838383604051806020016040528060008152506115e9565b505050565b6000610fc0610939565b8210611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890613e60565b60405180910390fd5b6009828154811061101557611014613c01565b5b90600052602060002001549050919050565b61102f611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661104d611470565b73ffffffffffffffffffffffffffffffffffffffff16146110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90613dce565b60405180910390fd5b80600d90816110b2919061402c565b5050565b6000600b60009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116c90614170565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590614202565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61123d611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661125b611470565b73ffffffffffffffffffffffffffffffffffffffff16146112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a890613dce565b60405180910390fd5b6112bb6000611fa6565b565b6112c5611ae1565b73ffffffffffffffffffffffffffffffffffffffff166112e3611470565b73ffffffffffffffffffffffffffffffffffffffff1614611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090613dce565b60405180910390fd5b80600f8190555050565b61134b611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611369611470565b73ffffffffffffffffffffffffffffffffffffffff16146113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613dce565b60405180910390fd5b60005b818110156113e6576113d333611915565b80806113de90613c30565b9150506113c2565b5050565b6113f2611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611410611470565b73ffffffffffffffffffffffffffffffffffffffff1614611466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145d90613dce565b60405180910390fd5b61146e61206a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546114a890613557565b80601f01602080910402602001604051908101604052809291908181526020018280546114d490613557565b80156115215780601f106114f657610100808354040283529160200191611521565b820191906000526020600020905b81548152906001019060200180831161150457829003601f168201915b5050505050905090565b61153d611536611ae1565b838361210d565b5050565b611549611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611567611470565b73ffffffffffffffffffffffffffffffffffffffff16146115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b490613dce565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6115fa6115f4611ae1565b83611ba2565b611639576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611630906137b0565b60405180910390fd5b61164584848484612279565b50505050565b611653611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611671611470565b73ffffffffffffffffffffffffffffffffffffffff16146116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be90613dce565b60405180910390fd5b8060108190555050565b60606116dc82611a75565b61171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614294565b60405180910390fd5b60006117256122d5565b905060008151116117455760405180602001604052806000815250611770565b8061174f84612367565b6040516020016117609291906142f0565b6040516020818303038152906040525b915050919050565b60115481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b611820611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661183e611470565b73ffffffffffffffffffffffffffffffffffffffff1614611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90613dce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa90614386565b60405180910390fd5b61190c81611fa6565b50565b60105481565b61191d611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661193b611470565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613dce565b60405180910390fd5b600061199b610939565b905060115481106119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890613be1565b60405180910390fd5b6119f7826001836119f29190613b3f565b611ee6565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a6e5750611a6d826124c7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b5c836110cd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bad82611a75565b611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390614418565b60405180910390fd5b6000611bf7836110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c395750611c38818561177e565b5b80611c7757508373ffffffffffffffffffffffffffffffffffffffff16611c5f8461070f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ca0826110cd565b73ffffffffffffffffffffffffffffffffffffffff1614611cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ced906144aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5c9061453c565b60405180910390fd5b611d708383836125a9565b611d7b600082611ae9565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dcb919061455c565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e229190613b3f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ee18383836125b9565b505050565b611f008282604051806020016040528060008152506125be565b5050565b611f0c6110b6565b611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f42906145dc565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f8f611ae1565b604051611f9c91906130a9565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120726110b6565b156120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990614648565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120f6611ae1565b60405161210391906130a9565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361217b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612172906146b4565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161226c9190612f2f565b60405180910390a3505050565b612284848484611c80565b61229084848484612619565b6122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614746565b60405180910390fd5b50505050565b6060600d80546122e490613557565b80601f016020809104026020016040519081016040528092919081815260200182805461231090613557565b801561235d5780601f106123325761010080835404028352916020019161235d565b820191906000526020600020905b81548152906001019060200180831161234057829003601f168201915b5050505050905090565b6060600082036123ae576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124c2565b600082905060005b600082146123e05780806123c990613c30565b915050600a826123d99190614795565b91506123b6565b60008167ffffffffffffffff8111156123fc576123fb6131b7565b5b6040519080825280601f01601f19166020018201604052801561242e5781602001600182028036833780820191505090505b5090505b600085146124bb57600182612447919061455c565b9150600a8561245691906147c6565b60306124629190613b3f565b60f81b81838151811061247857612477613c01565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124b49190614795565b9450612432565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061259257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125a257506125a1826127a0565b5b9050919050565b6125b483838361280a565b505050565b505050565b6125c88383612862565b6125d56000848484612619565b612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614746565b60405180910390fd5b505050565b600061263a8473ffffffffffffffffffffffffffffffffffffffff16612a3b565b15612793578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612663611ae1565b8786866040518563ffffffff1660e01b8152600401612685949392919061484c565b6020604051808303816000875af19250505080156126c157506040513d601f19601f820116820180604052508101906126be91906148ad565b60015b612743573d80600081146126f1576040519150601f19603f3d011682016040523d82523d6000602084013e6126f6565b606091505b50600081510361273b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273290614746565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612798565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612815838383612a5e565b61281d6110b6565b1561285d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128549061494c565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c8906149b8565b60405180910390fd5b6128da81611a75565b1561291a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291190614a24565b60405180910390fd5b612926600083836125a9565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129769190613b3f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a37600083836125b9565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b612a69838383612b70565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612aab57612aa681612b75565b612aea565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ae957612ae88382612bbe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b2c57612b2781612d2b565b612b6b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b6a57612b698282612dfc565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bcb8461117e565b612bd5919061455c565b9050600060086000848152602001908152602001600020549050818114612cba576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612d3f919061455c565b90506000600a6000848152602001908152602001600020549050600060098381548110612d6f57612d6e613c01565b5b906000526020600020015490508060098381548110612d9157612d90613c01565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612de057612ddf614a44565b5b6001900381819060005260206000200160009055905550505050565b6000612e078361117e565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ec481612e8f565b8114612ecf57600080fd5b50565b600081359050612ee181612ebb565b92915050565b600060208284031215612efd57612efc612e85565b5b6000612f0b84828501612ed2565b91505092915050565b60008115159050919050565b612f2981612f14565b82525050565b6000602082019050612f446000830184612f20565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f84578082015181840152602081019050612f69565b83811115612f93576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fb582612f4a565b612fbf8185612f55565b9350612fcf818560208601612f66565b612fd881612f99565b840191505092915050565b60006020820190508181036000830152612ffd8184612faa565b905092915050565b6000819050919050565b61301881613005565b811461302357600080fd5b50565b6000813590506130358161300f565b92915050565b60006020828403121561305157613050612e85565b5b600061305f84828501613026565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061309382613068565b9050919050565b6130a381613088565b82525050565b60006020820190506130be600083018461309a565b92915050565b6130cd81613088565b81146130d857600080fd5b50565b6000813590506130ea816130c4565b92915050565b6000806040838503121561310757613106612e85565b5b6000613115858286016130db565b925050602061312685828601613026565b9150509250929050565b61313981613005565b82525050565b60006020820190506131546000830184613130565b92915050565b60008060006060848603121561317357613172612e85565b5b6000613181868287016130db565b9350506020613192868287016130db565b92505060406131a386828701613026565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131ef82612f99565b810181811067ffffffffffffffff8211171561320e5761320d6131b7565b5b80604052505050565b6000613221612e7b565b905061322d82826131e6565b919050565b600067ffffffffffffffff82111561324d5761324c6131b7565b5b61325682612f99565b9050602081019050919050565b82818337600083830152505050565b600061328561328084613232565b613217565b9050828152602081018484840111156132a1576132a06131b2565b5b6132ac848285613263565b509392505050565b600082601f8301126132c9576132c86131ad565b5b81356132d9848260208601613272565b91505092915050565b6000602082840312156132f8576132f7612e85565b5b600082013567ffffffffffffffff81111561331657613315612e8a565b5b613322848285016132b4565b91505092915050565b60006020828403121561334157613340612e85565b5b600061334f848285016130db565b91505092915050565b61336181612f14565b811461336c57600080fd5b50565b60008135905061337e81613358565b92915050565b6000806040838503121561339b5761339a612e85565b5b60006133a9858286016130db565b92505060206133ba8582860161336f565b9150509250929050565b600067ffffffffffffffff8211156133df576133de6131b7565b5b6133e882612f99565b9050602081019050919050565b6000613408613403846133c4565b613217565b905082815260208101848484011115613424576134236131b2565b5b61342f848285613263565b509392505050565b600082601f83011261344c5761344b6131ad565b5b813561345c8482602086016133f5565b91505092915050565b6000806000806080858703121561347f5761347e612e85565b5b600061348d878288016130db565b945050602061349e878288016130db565b93505060406134af87828801613026565b925050606085013567ffffffffffffffff8111156134d0576134cf612e8a565b5b6134dc87828801613437565b91505092959194509250565b600080604083850312156134ff576134fe612e85565b5b600061350d858286016130db565b925050602061351e858286016130db565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061356f57607f821691505b60208210810361358257613581613528565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006135e4602c83612f55565b91506135ef82613588565b604082019050919050565b60006020820190508181036000830152613613816135d7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613676602183612f55565b91506136818261361a565b604082019050919050565b600060208201905081810360008301526136a581613669565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613708603883612f55565b9150613713826136ac565b604082019050919050565b60006020820190508181036000830152613737816136fb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061379a603183612f55565b91506137a58261373e565b604082019050919050565b600060208201905081810360008301526137c98161378d565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061382c602b83612f55565b9150613837826137d0565b604082019050919050565b6000602082019050818103600083015261385b8161381f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613898601f83612f55565b91506138a382613862565b602082019050919050565b600060208201905081810360008301526138c78161388b565b9050919050565b7f43616e6e6f7420636c61696d207468726f75676820636f6e7472616374730000600082015250565b6000613904601e83612f55565b915061390f826138ce565b602082019050919050565b60006020820190508181036000830152613933816138f7565b9050919050565b7f436c61696d206e6f7420656e61626c6564207965740000000000000000000000600082015250565b6000613970601583612f55565b915061397b8261393a565b602082019050919050565b6000602082019050818103600083015261399f81613963565b9050919050565b7f43616e6e6f7420636c61696d207a65726f20746f6b656e730000000000000000600082015250565b60006139dc601883612f55565b91506139e7826139a6565b602082019050919050565b60006020820190508181036000830152613a0b816139cf565b9050919050565b7f43616e6e6f7420636c61696d207468657365206d616e79207065722074780000600082015250565b6000613a48601e83612f55565b9150613a5382613a12565b602082019050919050565b60006020820190508181036000830152613a7781613a3b565b9050919050565b7f43616e6e6f7420636c61696d207468657365206d616e79207065722077616c6c60008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ada602283612f55565b9150613ae582613a7e565b604082019050919050565b60006020820190508181036000830152613b0981613acd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b4a82613005565b9150613b5583613005565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b8a57613b89613b10565b5b828201905092915050565b7f436c61696d2077696c6c2065786365656420737570706c790000000000000000600082015250565b6000613bcb601883612f55565b9150613bd682613b95565b602082019050919050565b60006020820190508181036000830152613bfa81613bbe565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613c3b82613005565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c6d57613c6c613b10565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cad81613005565b82525050565b6000613cbf8383613ca4565b60208301905092915050565b6000602082019050919050565b6000613ce382613c78565b613ced8185613c83565b9350613cf883613c94565b8060005b83811015613d29578151613d108882613cb3565b9750613d1b83613ccb565b925050600181019050613cfc565b5085935050505092915050565b6000608082019050613d4b6000830187613130565b613d58602083018661309a565b613d656040830185613130565b8181036060830152613d778184613cd8565b905095945050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613db8602083612f55565b9150613dc382613d82565b602082019050919050565b60006020820190508181036000830152613de781613dab565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613e4a602c83612f55565b9150613e5582613dee565b604082019050919050565b60006020820190508181036000830152613e7981613e3d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613ee27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ea5565b613eec8683613ea5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f29613f24613f1f84613005565b613f04565b613005565b9050919050565b6000819050919050565b613f4383613f0e565b613f57613f4f82613f30565b848454613eb2565b825550505050565b600090565b613f6c613f5f565b613f77818484613f3a565b505050565b5b81811015613f9b57613f90600082613f64565b600181019050613f7d565b5050565b601f821115613fe057613fb181613e80565b613fba84613e95565b81016020851015613fc9578190505b613fdd613fd585613e95565b830182613f7c565b50505b505050565b600082821c905092915050565b600061400360001984600802613fe5565b1980831691505092915050565b600061401c8383613ff2565b9150826002028217905092915050565b61403582612f4a565b67ffffffffffffffff81111561404e5761404d6131b7565b5b6140588254613557565b614063828285613f9f565b600060209050601f8311600181146140965760008415614084578287015190505b61408e8582614010565b8655506140f6565b601f1984166140a486613e80565b60005b828110156140cc578489015182556001820191506020850194506020810190506140a7565b868310156140e957848901516140e5601f891682613ff2565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061415a602983612f55565b9150614165826140fe565b604082019050919050565b600060208201905081810360008301526141898161414d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141ec602a83612f55565b91506141f782614190565b604082019050919050565b6000602082019050818103600083015261421b816141df565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061427e602f83612f55565b915061428982614222565b604082019050919050565b600060208201905081810360008301526142ad81614271565b9050919050565b600081905092915050565b60006142ca82612f4a565b6142d481856142b4565b93506142e4818560208601612f66565b80840191505092915050565b60006142fc82856142bf565b915061430882846142bf565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614370602683612f55565b915061437b82614314565b604082019050919050565b6000602082019050818103600083015261439f81614363565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614402602c83612f55565b915061440d826143a6565b604082019050919050565b60006020820190508181036000830152614431816143f5565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614494602583612f55565b915061449f82614438565b604082019050919050565b600060208201905081810360008301526144c381614487565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614526602483612f55565b9150614531826144ca565b604082019050919050565b6000602082019050818103600083015261455581614519565b9050919050565b600061456782613005565b915061457283613005565b92508282101561458557614584613b10565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006145c6601483612f55565b91506145d182614590565b602082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614632601083612f55565b915061463d826145fc565b602082019050919050565b6000602082019050818103600083015261466181614625565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061469e601983612f55565b91506146a982614668565b602082019050919050565b600060208201905081810360008301526146cd81614691565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614730603283612f55565b915061473b826146d4565b604082019050919050565b6000602082019050818103600083015261475f81614723565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147a082613005565b91506147ab83613005565b9250826147bb576147ba614766565b5b828204905092915050565b60006147d182613005565b91506147dc83613005565b9250826147ec576147eb614766565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061481e826147f7565b6148288185614802565b9350614838818560208601612f66565b61484181612f99565b840191505092915050565b6000608082019050614861600083018761309a565b61486e602083018661309a565b61487b6040830185613130565b818103606083015261488d8184614813565b905095945050505050565b6000815190506148a781612ebb565b92915050565b6000602082840312156148c3576148c2612e85565b5b60006148d184828501614898565b91505092915050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000614936602b83612f55565b9150614941826148da565b604082019050919050565b6000602082019050818103600083015261496581614929565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006149a2602083612f55565b91506149ad8261496c565b602082019050919050565b600060208201905081810360008301526149d181614995565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a0e601c83612f55565b9150614a19826149d8565b602082019050919050565b60006020820190508181036000830152614a3d81614a01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220e04e8b5eca530fbb3819aee10d0b0db474861b0a5819007d78d1e8053723882664736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d544b62674e6b316b656d4a4d347a6d4d74613131526d31686a6559517957506e69457137616d4168794a4e652f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c806370a0823111610125578063b88d4fde116100ad578063e985e9c51161007c578063e985e9c5146105c7578063ea998812146105f7578063f2fde38b14610615578063f968adbe14610631578063ffd4aa551461064f5761021c565b8063b88d4fde14610541578063c6f6f2161461055d578063c87b56dd14610579578063e8315742146105a95761021c565b80638456cb59116100f45780638456cb59146104d55780638da5cb5b146104df57806395d89b41146104fd578063a22cb4651461051b578063a7242e8c146105375761021c565b806370a0823114610463578063715018a6146104935780637dad1d3b1461049d578063819b25ba146104b95761021c565b8063379607f5116101a857806342842e0e1161017757806342842e0e146103ad5780634f6ccce7146103c957806355f804b3146103f95780635c975abb146104155780636352211e146104335761021c565b8063379607f5146103615780633b4c4b251461037d5780633ccfd60b146103995780633f4ba83a146103a35761021c565b806310da2eb9116101ef57806310da2eb9146102bb57806318160ddd146102d957806323b872dd146102f75780632866ed21146103135780632f745c59146103315761021c565b806301ffc9a71461022157806306fdde0314610251578063081812fc1461026f578063095ea7b31461029f575b600080fd5b61023b60048036038101906102369190612ee7565b61066b565b6040516102489190612f2f565b60405180910390f35b61025961067d565b6040516102669190612fe3565b60405180910390f35b6102896004803603810190610284919061303b565b61070f565b60405161029691906130a9565b60405180910390f35b6102b960048036038101906102b491906130f0565b610794565b005b6102c36108ab565b6040516102d09190612fe3565b60405180910390f35b6102e1610939565b6040516102ee919061313f565b60405180910390f35b610311600480360381019061030c919061315a565b610946565b005b61031b6109a6565b6040516103289190612f2f565b60405180910390f35b61034b600480360381019061034691906130f0565b6109b9565b604051610358919061313f565b60405180910390f35b61037b6004803603810190610376919061303b565b610a5e565b005b6103976004803603810190610392919061303b565b610db2565b005b6103a1610e38565b005b6103ab610f10565b005b6103c760048036038101906103c2919061315a565b610f96565b005b6103e360048036038101906103de919061303b565b610fb6565b6040516103f0919061313f565b60405180910390f35b610413600480360381019061040e91906132e2565b611027565b005b61041d6110b6565b60405161042a9190612f2f565b60405180910390f35b61044d6004803603810190610448919061303b565b6110cd565b60405161045a91906130a9565b60405180910390f35b61047d6004803603810190610478919061332b565b61117e565b60405161048a919061313f565b60405180910390f35b61049b611235565b005b6104b760048036038101906104b2919061303b565b6112bd565b005b6104d360048036038101906104ce919061303b565b611343565b005b6104dd6113ea565b005b6104e7611470565b6040516104f491906130a9565b60405180910390f35b610505611499565b6040516105129190612fe3565b60405180910390f35b61053560048036038101906105309190613384565b61152b565b005b61053f611541565b005b61055b60048036038101906105569190613465565b6115e9565b005b6105776004803603810190610572919061303b565b61164b565b005b610593600480360381019061058e919061303b565b6116d1565b6040516105a09190612fe3565b60405180910390f35b6105b1611778565b6040516105be919061313f565b60405180910390f35b6105e160048036038101906105dc91906134e8565b61177e565b6040516105ee9190612f2f565b60405180910390f35b6105ff611812565b60405161060c919061313f565b60405180910390f35b61062f600480360381019061062a919061332b565b611818565b005b61063961190f565b604051610646919061313f565b60405180910390f35b6106696004803603810190610664919061332b565b611915565b005b6000610676826119fb565b9050919050565b60606001805461068c90613557565b80601f01602080910402602001604051908101604052809291908181526020018280546106b890613557565b80156107055780601f106106da57610100808354040283529160200191610705565b820191906000526020600020905b8154815290600101906020018083116106e857829003601f168201915b5050505050905090565b600061071a82611a75565b610759576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610750906135fa565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061079f826110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361080f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108069061368c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661082e611ae1565b73ffffffffffffffffffffffffffffffffffffffff16148061085d575061085c81610857611ae1565b61177e565b5b61089c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108939061371e565b60405180910390fd5b6108a68383611ae9565b505050565b600d80546108b890613557565b80601f01602080910402602001604051908101604052809291908181526020018280546108e490613557565b80156109315780601f1061090657610100808354040283529160200191610931565b820191906000526020600020905b81548152906001019060200180831161091457829003601f168201915b505050505081565b6000600980549050905090565b610957610951611ae1565b82611ba2565b610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d906137b0565b60405180910390fd5b6109a1838383611c80565b505050565b600e60009054906101000a900460ff1681565b60006109c48361117e565b8210610a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fc90613842565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6002600c5403610aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9a906138ae565b60405180910390fd5b6002600c819055506000610ab5611ae1565b90506000610ac28261117e565b90506000610ace610939565b90503273ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b359061391a565b60405180910390fd5b600e60009054906101000a900460ff16610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8490613986565b60405180910390fd5b60008411610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc7906139f2565b60405180910390fd5b601054841115610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0c90613a5e565b60405180910390fd5b600f548210610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5090613af0565b60405180910390fd5b6011548482610c689190613b3f565b1115610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca090613be1565b60405180910390fd5b60008467ffffffffffffffff811115610cc557610cc46131b7565b5b604051908082528060200260200182016040528015610cf35781602001602082028036833780820191505090505b50905060005b85811015610d5e576000600184610d109190613b3f565b905080838381518110610d2657610d25613c01565b5b6020026020010181815250508380610d3d90613c30565b945050610d4a3382611ee6565b508080610d5690613c30565b915050610cf9565b507f09cce075b4e499069bbf8a2a1f13a81943c7183a359c0571c04745788088ac93610d88610939565b858784604051610d9b9493929190613d36565b60405180910390a1505050506001600c8190555050565b610dba611ae1565b73ffffffffffffffffffffffffffffffffffffffff16610dd8611470565b73ffffffffffffffffffffffffffffffffffffffff1614610e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2590613dce565b60405180910390fd5b8060118190555050565b610e40611ae1565b73ffffffffffffffffffffffffffffffffffffffff16610e5e611470565b73ffffffffffffffffffffffffffffffffffffffff1614610eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab90613dce565b60405180910390fd5b60004790506000610ec3611ae1565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610f0b573d6000803e3d6000fd5b505050565b610f18611ae1565b73ffffffffffffffffffffffffffffffffffffffff16610f36611470565b73ffffffffffffffffffffffffffffffffffffffff1614610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8390613dce565b60405180910390fd5b610f94611f04565b565b610fb1838383604051806020016040528060008152506115e9565b505050565b6000610fc0610939565b8210611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890613e60565b60405180910390fd5b6009828154811061101557611014613c01565b5b90600052602060002001549050919050565b61102f611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661104d611470565b73ffffffffffffffffffffffffffffffffffffffff16146110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90613dce565b60405180910390fd5b80600d90816110b2919061402c565b5050565b6000600b60009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116c90614170565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590614202565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61123d611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661125b611470565b73ffffffffffffffffffffffffffffffffffffffff16146112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a890613dce565b60405180910390fd5b6112bb6000611fa6565b565b6112c5611ae1565b73ffffffffffffffffffffffffffffffffffffffff166112e3611470565b73ffffffffffffffffffffffffffffffffffffffff1614611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090613dce565b60405180910390fd5b80600f8190555050565b61134b611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611369611470565b73ffffffffffffffffffffffffffffffffffffffff16146113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613dce565b60405180910390fd5b60005b818110156113e6576113d333611915565b80806113de90613c30565b9150506113c2565b5050565b6113f2611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611410611470565b73ffffffffffffffffffffffffffffffffffffffff1614611466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145d90613dce565b60405180910390fd5b61146e61206a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546114a890613557565b80601f01602080910402602001604051908101604052809291908181526020018280546114d490613557565b80156115215780601f106114f657610100808354040283529160200191611521565b820191906000526020600020905b81548152906001019060200180831161150457829003601f168201915b5050505050905090565b61153d611536611ae1565b838361210d565b5050565b611549611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611567611470565b73ffffffffffffffffffffffffffffffffffffffff16146115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b490613dce565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6115fa6115f4611ae1565b83611ba2565b611639576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611630906137b0565b60405180910390fd5b61164584848484612279565b50505050565b611653611ae1565b73ffffffffffffffffffffffffffffffffffffffff16611671611470565b73ffffffffffffffffffffffffffffffffffffffff16146116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be90613dce565b60405180910390fd5b8060108190555050565b60606116dc82611a75565b61171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614294565b60405180910390fd5b60006117256122d5565b905060008151116117455760405180602001604052806000815250611770565b8061174f84612367565b6040516020016117609291906142f0565b6040516020818303038152906040525b915050919050565b60115481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b611820611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661183e611470565b73ffffffffffffffffffffffffffffffffffffffff1614611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90613dce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa90614386565b60405180910390fd5b61190c81611fa6565b50565b60105481565b61191d611ae1565b73ffffffffffffffffffffffffffffffffffffffff1661193b611470565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613dce565b60405180910390fd5b600061199b610939565b905060115481106119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890613be1565b60405180910390fd5b6119f7826001836119f29190613b3f565b611ee6565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a6e5750611a6d826124c7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b5c836110cd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bad82611a75565b611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390614418565b60405180910390fd5b6000611bf7836110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c395750611c38818561177e565b5b80611c7757508373ffffffffffffffffffffffffffffffffffffffff16611c5f8461070f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ca0826110cd565b73ffffffffffffffffffffffffffffffffffffffff1614611cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ced906144aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5c9061453c565b60405180910390fd5b611d708383836125a9565b611d7b600082611ae9565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dcb919061455c565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e229190613b3f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ee18383836125b9565b505050565b611f008282604051806020016040528060008152506125be565b5050565b611f0c6110b6565b611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f42906145dc565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f8f611ae1565b604051611f9c91906130a9565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120726110b6565b156120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990614648565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120f6611ae1565b60405161210391906130a9565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361217b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612172906146b4565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161226c9190612f2f565b60405180910390a3505050565b612284848484611c80565b61229084848484612619565b6122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614746565b60405180910390fd5b50505050565b6060600d80546122e490613557565b80601f016020809104026020016040519081016040528092919081815260200182805461231090613557565b801561235d5780601f106123325761010080835404028352916020019161235d565b820191906000526020600020905b81548152906001019060200180831161234057829003601f168201915b5050505050905090565b6060600082036123ae576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124c2565b600082905060005b600082146123e05780806123c990613c30565b915050600a826123d99190614795565b91506123b6565b60008167ffffffffffffffff8111156123fc576123fb6131b7565b5b6040519080825280601f01601f19166020018201604052801561242e5781602001600182028036833780820191505090505b5090505b600085146124bb57600182612447919061455c565b9150600a8561245691906147c6565b60306124629190613b3f565b60f81b81838151811061247857612477613c01565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124b49190614795565b9450612432565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061259257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125a257506125a1826127a0565b5b9050919050565b6125b483838361280a565b505050565b505050565b6125c88383612862565b6125d56000848484612619565b612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614746565b60405180910390fd5b505050565b600061263a8473ffffffffffffffffffffffffffffffffffffffff16612a3b565b15612793578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612663611ae1565b8786866040518563ffffffff1660e01b8152600401612685949392919061484c565b6020604051808303816000875af19250505080156126c157506040513d601f19601f820116820180604052508101906126be91906148ad565b60015b612743573d80600081146126f1576040519150601f19603f3d011682016040523d82523d6000602084013e6126f6565b606091505b50600081510361273b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273290614746565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612798565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612815838383612a5e565b61281d6110b6565b1561285d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128549061494c565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c8906149b8565b60405180910390fd5b6128da81611a75565b1561291a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291190614a24565b60405180910390fd5b612926600083836125a9565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129769190613b3f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a37600083836125b9565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b612a69838383612b70565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612aab57612aa681612b75565b612aea565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ae957612ae88382612bbe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b2c57612b2781612d2b565b612b6b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b6a57612b698282612dfc565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bcb8461117e565b612bd5919061455c565b9050600060086000848152602001908152602001600020549050818114612cba576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612d3f919061455c565b90506000600a6000848152602001908152602001600020549050600060098381548110612d6f57612d6e613c01565b5b906000526020600020015490508060098381548110612d9157612d90613c01565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612de057612ddf614a44565b5b6001900381819060005260206000200160009055905550505050565b6000612e078361117e565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ec481612e8f565b8114612ecf57600080fd5b50565b600081359050612ee181612ebb565b92915050565b600060208284031215612efd57612efc612e85565b5b6000612f0b84828501612ed2565b91505092915050565b60008115159050919050565b612f2981612f14565b82525050565b6000602082019050612f446000830184612f20565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f84578082015181840152602081019050612f69565b83811115612f93576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fb582612f4a565b612fbf8185612f55565b9350612fcf818560208601612f66565b612fd881612f99565b840191505092915050565b60006020820190508181036000830152612ffd8184612faa565b905092915050565b6000819050919050565b61301881613005565b811461302357600080fd5b50565b6000813590506130358161300f565b92915050565b60006020828403121561305157613050612e85565b5b600061305f84828501613026565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061309382613068565b9050919050565b6130a381613088565b82525050565b60006020820190506130be600083018461309a565b92915050565b6130cd81613088565b81146130d857600080fd5b50565b6000813590506130ea816130c4565b92915050565b6000806040838503121561310757613106612e85565b5b6000613115858286016130db565b925050602061312685828601613026565b9150509250929050565b61313981613005565b82525050565b60006020820190506131546000830184613130565b92915050565b60008060006060848603121561317357613172612e85565b5b6000613181868287016130db565b9350506020613192868287016130db565b92505060406131a386828701613026565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131ef82612f99565b810181811067ffffffffffffffff8211171561320e5761320d6131b7565b5b80604052505050565b6000613221612e7b565b905061322d82826131e6565b919050565b600067ffffffffffffffff82111561324d5761324c6131b7565b5b61325682612f99565b9050602081019050919050565b82818337600083830152505050565b600061328561328084613232565b613217565b9050828152602081018484840111156132a1576132a06131b2565b5b6132ac848285613263565b509392505050565b600082601f8301126132c9576132c86131ad565b5b81356132d9848260208601613272565b91505092915050565b6000602082840312156132f8576132f7612e85565b5b600082013567ffffffffffffffff81111561331657613315612e8a565b5b613322848285016132b4565b91505092915050565b60006020828403121561334157613340612e85565b5b600061334f848285016130db565b91505092915050565b61336181612f14565b811461336c57600080fd5b50565b60008135905061337e81613358565b92915050565b6000806040838503121561339b5761339a612e85565b5b60006133a9858286016130db565b92505060206133ba8582860161336f565b9150509250929050565b600067ffffffffffffffff8211156133df576133de6131b7565b5b6133e882612f99565b9050602081019050919050565b6000613408613403846133c4565b613217565b905082815260208101848484011115613424576134236131b2565b5b61342f848285613263565b509392505050565b600082601f83011261344c5761344b6131ad565b5b813561345c8482602086016133f5565b91505092915050565b6000806000806080858703121561347f5761347e612e85565b5b600061348d878288016130db565b945050602061349e878288016130db565b93505060406134af87828801613026565b925050606085013567ffffffffffffffff8111156134d0576134cf612e8a565b5b6134dc87828801613437565b91505092959194509250565b600080604083850312156134ff576134fe612e85565b5b600061350d858286016130db565b925050602061351e858286016130db565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061356f57607f821691505b60208210810361358257613581613528565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006135e4602c83612f55565b91506135ef82613588565b604082019050919050565b60006020820190508181036000830152613613816135d7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613676602183612f55565b91506136818261361a565b604082019050919050565b600060208201905081810360008301526136a581613669565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613708603883612f55565b9150613713826136ac565b604082019050919050565b60006020820190508181036000830152613737816136fb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061379a603183612f55565b91506137a58261373e565b604082019050919050565b600060208201905081810360008301526137c98161378d565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061382c602b83612f55565b9150613837826137d0565b604082019050919050565b6000602082019050818103600083015261385b8161381f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613898601f83612f55565b91506138a382613862565b602082019050919050565b600060208201905081810360008301526138c78161388b565b9050919050565b7f43616e6e6f7420636c61696d207468726f75676820636f6e7472616374730000600082015250565b6000613904601e83612f55565b915061390f826138ce565b602082019050919050565b60006020820190508181036000830152613933816138f7565b9050919050565b7f436c61696d206e6f7420656e61626c6564207965740000000000000000000000600082015250565b6000613970601583612f55565b915061397b8261393a565b602082019050919050565b6000602082019050818103600083015261399f81613963565b9050919050565b7f43616e6e6f7420636c61696d207a65726f20746f6b656e730000000000000000600082015250565b60006139dc601883612f55565b91506139e7826139a6565b602082019050919050565b60006020820190508181036000830152613a0b816139cf565b9050919050565b7f43616e6e6f7420636c61696d207468657365206d616e79207065722074780000600082015250565b6000613a48601e83612f55565b9150613a5382613a12565b602082019050919050565b60006020820190508181036000830152613a7781613a3b565b9050919050565b7f43616e6e6f7420636c61696d207468657365206d616e79207065722077616c6c60008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ada602283612f55565b9150613ae582613a7e565b604082019050919050565b60006020820190508181036000830152613b0981613acd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b4a82613005565b9150613b5583613005565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b8a57613b89613b10565b5b828201905092915050565b7f436c61696d2077696c6c2065786365656420737570706c790000000000000000600082015250565b6000613bcb601883612f55565b9150613bd682613b95565b602082019050919050565b60006020820190508181036000830152613bfa81613bbe565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613c3b82613005565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c6d57613c6c613b10565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cad81613005565b82525050565b6000613cbf8383613ca4565b60208301905092915050565b6000602082019050919050565b6000613ce382613c78565b613ced8185613c83565b9350613cf883613c94565b8060005b83811015613d29578151613d108882613cb3565b9750613d1b83613ccb565b925050600181019050613cfc565b5085935050505092915050565b6000608082019050613d4b6000830187613130565b613d58602083018661309a565b613d656040830185613130565b8181036060830152613d778184613cd8565b905095945050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613db8602083612f55565b9150613dc382613d82565b602082019050919050565b60006020820190508181036000830152613de781613dab565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613e4a602c83612f55565b9150613e5582613dee565b604082019050919050565b60006020820190508181036000830152613e7981613e3d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613ee27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ea5565b613eec8683613ea5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f29613f24613f1f84613005565b613f04565b613005565b9050919050565b6000819050919050565b613f4383613f0e565b613f57613f4f82613f30565b848454613eb2565b825550505050565b600090565b613f6c613f5f565b613f77818484613f3a565b505050565b5b81811015613f9b57613f90600082613f64565b600181019050613f7d565b5050565b601f821115613fe057613fb181613e80565b613fba84613e95565b81016020851015613fc9578190505b613fdd613fd585613e95565b830182613f7c565b50505b505050565b600082821c905092915050565b600061400360001984600802613fe5565b1980831691505092915050565b600061401c8383613ff2565b9150826002028217905092915050565b61403582612f4a565b67ffffffffffffffff81111561404e5761404d6131b7565b5b6140588254613557565b614063828285613f9f565b600060209050601f8311600181146140965760008415614084578287015190505b61408e8582614010565b8655506140f6565b601f1984166140a486613e80565b60005b828110156140cc578489015182556001820191506020850194506020810190506140a7565b868310156140e957848901516140e5601f891682613ff2565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061415a602983612f55565b9150614165826140fe565b604082019050919050565b600060208201905081810360008301526141898161414d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141ec602a83612f55565b91506141f782614190565b604082019050919050565b6000602082019050818103600083015261421b816141df565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061427e602f83612f55565b915061428982614222565b604082019050919050565b600060208201905081810360008301526142ad81614271565b9050919050565b600081905092915050565b60006142ca82612f4a565b6142d481856142b4565b93506142e4818560208601612f66565b80840191505092915050565b60006142fc82856142bf565b915061430882846142bf565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614370602683612f55565b915061437b82614314565b604082019050919050565b6000602082019050818103600083015261439f81614363565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614402602c83612f55565b915061440d826143a6565b604082019050919050565b60006020820190508181036000830152614431816143f5565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614494602583612f55565b915061449f82614438565b604082019050919050565b600060208201905081810360008301526144c381614487565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614526602483612f55565b9150614531826144ca565b604082019050919050565b6000602082019050818103600083015261455581614519565b9050919050565b600061456782613005565b915061457283613005565b92508282101561458557614584613b10565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006145c6601483612f55565b91506145d182614590565b602082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614632601083612f55565b915061463d826145fc565b602082019050919050565b6000602082019050818103600083015261466181614625565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061469e601983612f55565b91506146a982614668565b602082019050919050565b600060208201905081810360008301526146cd81614691565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614730603283612f55565b915061473b826146d4565b604082019050919050565b6000602082019050818103600083015261475f81614723565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147a082613005565b91506147ab83613005565b9250826147bb576147ba614766565b5b828204905092915050565b60006147d182613005565b91506147dc83613005565b9250826147ec576147eb614766565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061481e826147f7565b6148288185614802565b9350614838818560208601612f66565b61484181612f99565b840191505092915050565b6000608082019050614861600083018761309a565b61486e602083018661309a565b61487b6040830185613130565b818103606083015261488d8184614813565b905095945050505050565b6000815190506148a781612ebb565b92915050565b6000602082840312156148c3576148c2612e85565b5b60006148d184828501614898565b91505092915050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000614936602b83612f55565b9150614941826148da565b604082019050919050565b6000602082019050818103600083015261496581614929565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006149a2602083612f55565b91506149ad8261496c565b602082019050919050565b600060208201905081810360008301526149d181614995565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a0e601c83612f55565b9150614a19826149d8565b602082019050919050565b60006020820190508181036000830152614a3d81614a01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220e04e8b5eca530fbb3819aee10d0b0db474861b0a5819007d78d1e8053723882664736f6c634300080f0033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d544b62674e6b316b656d4a4d347a6d4d74613131526d31686a6559517957506e69457137616d4168794a4e652f00000000000000000000

-----Decoded View---------------
Arg [0] : _metadataBaseURL (string): ipfs://QmTKbgNk1kemJM4zmMta11Rm1hjeYQyWPniEq7amAhyJNe/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d544b62674e6b316b656d4a4d347a6d4d74613131526d31
Arg [3] : 686a6559517957506e69457137616d4168794a4e652f00000000000000000000


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.