ETH Price: $2,900.77 (+2.80%)
 

Overview

Max Total Supply

10,255 VC

Holders

5,553

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
data-vault.eth
Balance
1 VC
0x63ab0cfcdab24181c6371452eb69b38b5ccd0c6e
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

VeeCon 2022 is a multi-day superconference where only VeeCon NFT ticket holders will experience an extraordinary lineup of content including iconic keynote speeches; innovative and educational talks, panels and Q&A sessions; and many collaborative experiences.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VeeConTickets

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : VeeConTickets.sol
/*
WWWNNWNNNNNNNNNNNNNNNXXXXXXXXXXXXXXKKKKKKKKKKKKKKKKKNWMMMMMMMMMMMMMWNXXKK0000000000000000000000OOO0X
WNNNNNXXXXXXXXXXXXKKKKKKKKKK00000000000OOOOOOOOOOOOKNMMMMMMMMMWWNXK0OOOkkkkkkkkkxxxxxxxxxxxxxxxxxxx0
MWNNXXXXXXXXXXXXXKKKKKKKKKKKKK00000000000000OOOO0KXWMMMMMMMWNXK0OOOOOOOkkkkkkkkkkkkkkxxxxxxxxxxxxxx0
MMWNXXXXXXXXXXXXXKKKKKKKKKKKKKKKKK00000000000000XWMMMMMMMWNK0OOOOOOOOOOOOOOkkkkkkkkkkkkkkkkkxxxxxxk0
MMMWNXXXXXXXXXXKKKKKKKKKKKKKKKKKKKKKKKKK0000000XWMMMMMMWXK00000OOOOOOOOOOOOOOOOOkkkkkkkkkkkkkkkkkkkK
MMMMWNXXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK0KK0KXWMMMMMWNK000000000OOOOOOOOOOOOOOOOOOOkkkkkkkkkkkkkkkK
MMMMMWXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXWMMMMMWXK00000000000000OOOOOOOOOOOOOOOOOOOOOOOkkkkkkOK
MMMMMMWXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK0KXWMMMMMWX00000000000000000000OOOOOOOOOOOOOOOOOOOOOOOOOOK
MMMMMMMWXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK000KXWMMMMWNX0000000000000000000000000000OOOOOOOOOOOOOOOOOOOK
MMMMMMMMWXKKKKKKKKKKKKKKKKKKKKK0000000000KXWMMMMMNXK0000000000000000000000000000000000OOOOOOOOOOOOOX
MMMMMMMMMWXKKKKKKKKKKKK00000000000000000KXWMMMMMWX0000000000000000000000000000000000000000000000000X
MMMMMMMMMMWXK0K000000000000000000000000KXWMMMMMMNK00KKKKKKKKKKK0KKK00000000000000000000000000000000X
MMMMMMMMMMMWXK000000000000000000000000KNWMMMMMMMNKKKKKKKKKKKKKKKKKKKKKKKKK0000000000000000000000000X
MMMMMMMMMMMMWXK00000000000000000KK000KNWMMMMMMMMNKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK000000000000000000KX
MMMMMMMMMMMMMWXK000000K0000KKKK0KKKKKNWMMMMMMMMMNXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKN
MMMMMMMMMMMMMMWXK00KKKKKKKKKKKKKKKKKNWMMMMMMMMMMWXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKN
MMMMMMMMMMMMMMMWNKKKKKKKKKKKKKKKKKXNMMMMMMMMMMMMWNXXXKXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKN
MMMMMMMMMMMMMMMMWNKKKKKKKKKKKKKKKXNMMMMMMMMMMMMMMWWNXXXXXXXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXXN
MMMMMMMMMMMMMMMMMWNKKKKKKKKKXXXXXWMMMMMMMMMMMMMMMMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXN
MMMMMMMMMMMMMMMMMMWNXXXXXXXXXXXXWMMMMMMMMMMMMMMMMMMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXN
MMMMMMMMMMMMMMMMMMMMNXXXXXXXXXNWMMMMMMMMMMMMMMMMMMMMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXN
MMMMMMMMMMMMMMMMMMMMWNXXXXXXXNWMMMMMMMMMMMMMMMMMMMMMMMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXN
MMMMMMMMMMMMMMMMMMMMMMWNXXXXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXKKKKKKXN
MMMMMMMMMMMMMMMMMMMMMMMWXXXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNNXXXXXXXXXXXXXXXXXXXXXXXXKKKKKKKKKKKKKN
MMMMMMMMMMMMMMMMMMMMMMMMWNNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWNNXXXXXXXXXXXXKKKKKKKKKKKKKKKKKKKKKN
MMMMMMMMMMMMMMMMMMMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWWNNNNNNNNNNNNNNNNNNNNNNXXXXXXXXN
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
NXXWMMMMMMWXXWMMMMMWXXXXXXXXNWMMMMMWXXXXXXXXNMMMMMMMMMWNKKKXNWMMMMMMMMMNXKKKXWMMMMMMMMMWXXNWMMMMMWXX
O;,OMMMMMWx'cXMMMMM0;.';;;;;dNMMMMMO,.';;;;;xWMMMMMMXx:,,,,,,dNMMMMMW0l,,;;,';dXMMMMMMMK:.,xWMMMMk':
Nc :XMMMM0,.xWMMMMMO. lKKKKKNWMMMMMk..oKKKKKNMMMMMMK;.,xKXX0xOWMMMMWd..o0XXKx, ,0MMMMMMK,  .oXMMMd.,
M0,.dWMMNc.lNMMMMMMO..oNNNNWMMMMMMMk..xNNNNWMMMMMNKl '0MMMMMMMMMMMMO..oWMMMMMO' lNMMMMMK,.:,.:KMMd.,
MWx.'0MWd.,KMMMMMMM0' .;;;:kWMMMMMMO. .;;;:OMMMMMKx, :XMMMMMMMMMMMWd..kMMMMMMX; ;XMMMMMK,.kKc.,OWd.,
MMXc.cNO'.kMMMMMMMM0'.l0000NMMMMMMMO..l00O0NMMMMMXO; ;KMMMMMMMMMMMMx..xMMMMMMK, cNMMMMMK,.kMNo..do.,
MMM0'.o:.oNMMMMMMMM0'.xMMMMMMMMMMMMO..kMMMMMMMMMMWNd..lXMMMWNNWMMMMK; ;KWMMMNo..kMMMMMMK,.kMMWk'.. ,
MMMWd.  :XMMMMMMMMMO. 'cccccxNMMMMMk. ,ccccckWMMMMMNx,.':lc:;dNMMMMM0c.'clol;.;OWMMMMMMK,.xMMMW0;  ,
MMMMXl,:OMMMMMMMMMMKc,,,,,,,dNMMMMM0c,,,,,,,xWMMMMMMMKd;'.';oKWMMMMMMNkc'..'ckNMMMMMMMMXl:0MMMMM0c,o
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";

contract VeeConTickets is ERC721, IERC721Enumerable, Ownable, ReentrancyGuard {
    string private baseUri;
    uint256 private currentIndex;

    struct YearConfig {
        uint256 firstId;
        uint256 numTokens;
    }

    uint256 public currentYear;
    mapping(uint256 => YearConfig) public ticketYearConfig;
    mapping(uint256 => uint256) public numMintedByYear;

    constructor(
        string memory initialBaseUri,
        string memory contractName,
        string memory contractSymbol
    ) ERC721(contractName, contractSymbol) {
        setBaseURI(initialBaseUri);
    }

    function setYearConfig(uint256 year, uint256 numTokens) public onlyOwner {
        require(
            currentYear == 0 ||
                currentYear == year ||
                numMintedByYear[currentYear] ==
                ticketYearConfig[currentYear].numTokens,
            "Current year still minting"
        );
        require(numMintedByYear[year] == 0, "Year already minted");

        ticketYearConfig[year] = YearConfig(currentIndex, numTokens);
        numMintedByYear[year] = 0;
        currentYear = year;
    }

    function setBaseURI(string memory newBaseUri)
        public
        onlyOwner
        returns (string memory)
    {
        require(
            bytes(newBaseUri).length > 0,
            "Cannot set base address with an invalid 'baseUrl'."
        );

        baseUri = newBaseUri;
        return baseUri;
    }

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

    function mintTicketsBatch(
        uint256 year,
        address[] memory addresses,
        uint256[] memory quantities
    ) public onlyOwner {
        uint256 updatedIndex = currentIndex;

        require(
            addresses.length == quantities.length,
            "Address and quantities need to be equal length"
        );
        require(year == currentYear, "Year is not active or configured");

        uint256 mintCount = 0;
        uint256[][] memory allIds = new uint256[][](addresses.length);

        for (uint256 i; i < addresses.length; i++) {
            uint256 addressQuantity = quantities[i];
            uint256[] memory addressIds = new uint256[](addressQuantity);
            for (uint256 x; x < addressQuantity; x++) {
                addressIds[x] = updatedIndex;
                updatedIndex++;
            }
            mintCount += addressQuantity;
            allIds[i] = addressIds;
        }

        require(
            numMintedByYear[year] + mintCount <=
                ticketYearConfig[year].numTokens,
            "Not enough left to mint batch"
        );

        for (uint256 i; i < allIds.length; i++) {
            for (uint256 x; x < allIds[i].length; x++) {
                _safeMint(addresses[i], allIds[i][x]);
            }
        }

        numMintedByYear[year] += mintCount;
        currentIndex = updatedIndex;
    }

    function transferFromBatch(
        address from,
        address[] memory addresses,
        uint256[] memory tokenIds
    ) public nonReentrant {
        require(
            addresses.length == tokenIds.length,
            "Address and quantities need to be equal length"
        );
        for (uint256 i; i < addresses.length; i++) {
            uint256 tokenId = tokenIds[i];
            require(
                _isApprovedOrOwner(_msgSender(), tokenId),
                "ERC721: transfer caller is not owner nor approved"
            );

            _transfer(from, addresses[i], tokenId);
        }
    }

    function totalSupply() public view returns (uint256) {
        return currentIndex;
    }

    function tokenOfOwnerByIndex(address _owner, uint256 index)
        external
        view
        returns (uint256)
    {
        uint256 balance = balanceOf(_owner);
        require(index < balance, "Owner index out of bounds");

        uint256[] memory ownerTokens = _tokensOfOwner(_owner);
        require(
            balance == ownerTokens.length,
            "Unable to get token of owner by index"
        );

        return ownerTokens[index];
    }

    function tokenByIndex(uint256 index) external view returns (uint256) {
        require(index < totalSupply(), "Global index out of bounds");
        return index;
    }

    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        return _tokensOfOwner(_owner);
    }

    function _tokensOfOwner(address _owner)
        internal
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = balanceOf(_owner);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 total = totalSupply();
            uint256 resultIndex = 0;

            uint256 tokenId;
            for (tokenId = 0; tokenId < total; tokenId++) {
                if (_exists(tokenId)) {
                    if (ownerOf(tokenId) == _owner) {
                        result[resultIndex] = tokenId;
                        resultIndex++;
                    }
                }
            }

            return result;
        }
    }

    function _balanceOfOwnerByYear(address _owner, uint256 year)
        internal
        view
        returns (uint256)
    {
        uint256 startTokenId = ticketYearConfig[year].firstId;
        uint256 total = ticketYearConfig[year].numTokens;
        uint256 end = startTokenId + total;
        uint256 balance = 0;

        uint256 tokenId;
        for (tokenId = startTokenId; tokenId < end; tokenId++) {
            if (_exists(tokenId)) {
                if (ownerOf(tokenId) == _owner) {
                    balance++;
                }
            }
        }

        return balance;
    }

    function tokensOfOwnerByYear(address _owner, uint256 year)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = _balanceOfOwnerByYear(_owner, year);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 startTokenId = ticketYearConfig[year].firstId;
            uint256 total = ticketYearConfig[year].numTokens;
            uint256 end = startTokenId + total;
            uint256 resultIndex = 0;

            uint256 tokenId;
            for (tokenId = startTokenId; tokenId < end; tokenId++) {
                if (_exists(tokenId)) {
                    if (ownerOf(tokenId) == _owner) {
                        result[resultIndex] = tokenId;
                        resultIndex++;
                    }
                }
            }

            return result;
        }
    }

    function withdraw() public onlyOwner nonReentrant {
        uint256 amount = address(this).balance;
        require(amount > 0, "no balance");
        Address.sendValue(payable(msg.sender), amount);
    }

    function withdrawERC20(address token) public onlyOwner nonReentrant {
        require(address(token) != address(0));
        uint256 balance = IERC721(token).balanceOf(address(this));
        require(balance > 0, "no balance");
        IERC20(token).transfer(msg.sender, balance);
    }

    function withdrawERC721(address token, uint256 tokenId)
        public
        onlyOwner
        nonReentrant
    {
        uint256 balance = IERC721(token).balanceOf(address(this));
        address _owner = IERC721(token).ownerOf(tokenId);
        require(balance > 0, "no balance");
        require(_owner == address(this), "not owner");
        IERC721(token).safeTransferFrom(address(this), msg.sender, tokenId);
    }

    function freezeTokenURI(uint256 id) public onlyOwner {
        emit PermanentURI(baseUri, id);
    }

    function freezeTokenURIBatch(uint256[] memory ids) public onlyOwner {
        for (uint256 i; i < ids.length; i++) {
            emit PermanentURI(baseUri, ids[i]);
        }
    }

    /**
     * @dev Emitted when `tokenMetaData` is ready to be frozen
     */
    event PermanentURI(string _value, uint256 indexed _id);
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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 3 of 14 : 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 4 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 14 : 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 6 of 14 : 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 14 : 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 8 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialBaseUri","type":"string"},{"internalType":"string","name":"contractName","type":"string"},{"internalType":"string","name":"contractSymbol","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":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"freezeTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"freezeTokenURIBatch","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":[{"internalType":"uint256","name":"year","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"mintTicketsBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"numMintedByYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"year","type":"uint256"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"setYearConfig","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":"","type":"uint256"}],"name":"ticketYearConfig","outputs":[{"internalType":"uint256","name":"firstId","type":"uint256"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"year","type":"uint256"}],"name":"tokensOfOwnerByYear","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"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":"from","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"transferFromBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawERC721","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005be038038062005be0833981810160405281019062000037919062000580565b818181600090805190602001906200005192919062000333565b5080600190805190602001906200006a92919062000333565b5050506200008d62000081620000b060201b60201c565b620000b860201b60201c565b6001600781905550620000a6836200017e60201b60201c565b50505050620007b9565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b606062000190620000b060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620001b66200030960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200020f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000206906200069a565b60405180910390fd5b600082511162000256576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200024d9062000732565b60405180910390fd5b81600890805190602001906200026e92919062000333565b50600880546200027e9062000783565b80601f0160208091040260200160405190810160405280929190818152602001828054620002ac9062000783565b8015620002fd5780601f10620002d157610100808354040283529160200191620002fd565b820191906000526020600020905b815481529060010190602001808311620002df57829003601f168201915b50505050509050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003419062000783565b90600052602060002090601f016020900481019282620003655760008555620003b1565b82601f106200038057805160ff1916838001178555620003b1565b82800160010185558215620003b1579182015b82811115620003b057825182559160200191906001019062000393565b5b509050620003c09190620003c4565b5090565b5b80821115620003df576000816000905550600101620003c5565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200044c8262000401565b810181811067ffffffffffffffff821117156200046e576200046d62000412565b5b80604052505050565b600062000483620003e3565b905062000491828262000441565b919050565b600067ffffffffffffffff821115620004b457620004b362000412565b5b620004bf8262000401565b9050602081019050919050565b60005b83811015620004ec578082015181840152602081019050620004cf565b83811115620004fc576000848401525b50505050565b600062000519620005138462000496565b62000477565b905082815260208101848484011115620005385762000537620003fc565b5b62000545848285620004cc565b509392505050565b600082601f830112620005655762000564620003f7565b5b81516200057784826020860162000502565b91505092915050565b6000806000606084860312156200059c576200059b620003ed565b5b600084015167ffffffffffffffff811115620005bd57620005bc620003f2565b5b620005cb868287016200054d565b935050602084015167ffffffffffffffff811115620005ef57620005ee620003f2565b5b620005fd868287016200054d565b925050604084015167ffffffffffffffff811115620006215762000620620003f2565b5b6200062f868287016200054d565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200068260208362000639565b91506200068f826200064a565b602082019050919050565b60006020820190508181036000830152620006b58162000673565b9050919050565b7f43616e6e6f742073657420626173652061646472657373207769746820616e2060008201527f696e76616c696420276261736555726c272e0000000000000000000000000000602082015250565b60006200071a60328362000639565b91506200072782620006bc565b604082019050919050565b600060208201905081810360008301526200074d816200070b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200079c57607f821691505b60208210811415620007b357620007b262000754565b5b50919050565b61541780620007c96000396000f3fe608060405234801561001057600080fd5b50600436106101fa5760003560e01c80636352211e1161011a578063a0d75ece116100ad578063c87b56dd1161007c578063c87b56dd146105d2578063e985e9c514610602578063f2fde38b14610632578063f3e414f81461064e578063f4f3b2001461066a576101fa565b8063a0d75ece14610539578063a22cb4651461056a578063b88d4fde14610586578063c00d9bb0146105a2576101fa565b80637ef4ce93116100e95780637ef4ce93146104b15780638462151c146104cd5780638da5cb5b146104fd57806395d89b411461051b576101fa565b80636352211e1461042b57806370a082311461045b578063715018a61461048b5780637c51498414610495576101fa565b806326a3cc7e116101925780633ccfd60b116101615780633ccfd60b146103a557806342842e0e146103af5780634f6ccce7146103cb57806355f804b3146103fb576101fa565b806326a3cc7e1461030d57806329c3e2ac1461033d5780632f745c5914610359578063385c0eb014610389576101fa565b8063095ea7b3116101ce578063095ea7b3146102995780630b5a006b146102b557806318160ddd146102d357806323b872dd146102f1576101fa565b8062915797146101ff57806301ffc9a71461021b57806306fdde031461024b578063081812fc14610269575b600080fd5b610219600480360381019061021491906134ba565b610686565b005b61023560048036038101906102309190613552565b610845565b604051610242919061359a565b60405180910390f35b610253610927565b604051610260919061364e565b60405180910390f35b610283600480360381019061027e9190613670565b6109b9565b60405161029091906136de565b60405180910390f35b6102b360048036038101906102ae9190613725565b610a3e565b005b6102bd610b56565b6040516102ca9190613774565b60405180910390f35b6102db610b5c565b6040516102e89190613774565b60405180910390f35b61030b6004803603810190610306919061378f565b610b66565b005b61032760048036038101906103229190613670565b610bc6565b6040516103349190613774565b60405180910390f35b610357600480360381019061035291906139ed565b610bde565b005b610373600480360381019061036e9190613725565b610fa7565b6040516103809190613774565b60405180910390f35b6103a3600480360381019061039e9190613670565b61106c565b005b6103ad611124565b005b6103c960048036038101906103c4919061378f565b61124b565b005b6103e560048036038101906103e09190613670565b61126b565b6040516103f29190613774565b60405180910390f35b61041560048036038101906104109190613b2d565b6112be565b604051610422919061364e565b60405180910390f35b61044560048036038101906104409190613670565b611429565b60405161045291906136de565b60405180910390f35b61047560048036038101906104709190613b76565b6114db565b6040516104829190613774565b60405180910390f35b610493611593565b005b6104af60048036038101906104aa9190613ba3565b61161b565b005b6104cb60048036038101906104c69190613c2e565b61176f565b005b6104e760048036038101906104e29190613b76565b611861565b6040516104f49190613d35565b60405180910390f35b610505611873565b60405161051291906136de565b60405180910390f35b61052361189d565b604051610530919061364e565b60405180910390f35b610553600480360381019061054e9190613670565b61192f565b604051610561929190613d57565b60405180910390f35b610584600480360381019061057f9190613dac565b611953565b005b6105a0600480360381019061059b9190613e8d565b611969565b005b6105bc60048036038101906105b79190613725565b6119cb565b6040516105c99190613d35565b60405180910390f35b6105ec60048036038101906105e79190613670565b611b76565b6040516105f9919061364e565b60405180910390f35b61061c60048036038101906106179190613f10565b611c1d565b604051610629919061359a565b60405180910390f35b61064c60048036038101906106479190613b76565b611cb1565b005b61066860048036038101906106639190613725565b611da9565b005b610684600480360381019061067f9190613b76565b6120bb565b005b61068e612329565b73ffffffffffffffffffffffffffffffffffffffff166106ac611873565b73ffffffffffffffffffffffffffffffffffffffff1614610702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f990613f9c565b60405180910390fd5b6000600a541480610714575081600a54145b8061074b5750600b6000600a54815260200190815260200160002060010154600c6000600a54815260200190815260200160002054145b61078a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078190614008565b60405180910390fd5b6000600c600084815260200190815260200160002054146107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d790614074565b60405180910390fd5b6040518060400160405280600954815260200182815250600b600084815260200190815260200160002060008201518160000155602082015181600101559050506000600c60008481526020019081526020016000208190555081600a819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610920575061091f82612331565b5b9050919050565b606060008054610936906140c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610962906140c3565b80156109af5780601f10610984576101008083540402835291602001916109af565b820191906000526020600020905b81548152906001019060200180831161099257829003601f168201915b5050505050905090565b60006109c48261239b565b610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa90614167565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4982611429565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab1906141f9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad9612329565b73ffffffffffffffffffffffffffffffffffffffff161480610b085750610b0781610b02612329565b611c1d565b5b610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e9061428b565b60405180910390fd5b610b518383612407565b505050565b600a5481565b6000600954905090565b610b77610b71612329565b826124c0565b610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad9061431d565b60405180910390fd5b610bc183838361259e565b505050565b600c6020528060005260406000206000915090505481565b610be6612329565b73ffffffffffffffffffffffffffffffffffffffff16610c04611873565b73ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190613f9c565b60405180910390fd5b600060095490508151835114610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c906143af565b60405180910390fd5b600a548414610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce09061441b565b60405180910390fd5b600080845167ffffffffffffffff811115610d0757610d066137e7565b5b604051908082528060200260200182016040528015610d3a57816020015b6060815260200190600190039081610d255790505b50905060005b8551811015610e44576000858281518110610d5e57610d5d61443b565b5b6020026020010151905060008167ffffffffffffffff811115610d8457610d836137e7565b5b604051908082528060200260200182016040528015610db25781602001602082028036833780820191505090505b50905060005b82811015610e015786828281518110610dd457610dd361443b565b5b6020026020010181815250508680610deb90614499565b9750508080610df990614499565b915050610db8565b508185610e0e91906144e2565b945080848481518110610e2457610e2361443b565b5b602002602001018190525050508080610e3c90614499565b915050610d40565b50600b60008781526020019081526020016000206001015482600c600089815260200190815260200160002054610e7b91906144e2565b1115610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb390614584565b60405180910390fd5b60005b8151811015610f6d5760005b828281518110610ede57610edd61443b565b5b602002602001015151811015610f5957610f46878381518110610f0457610f0361443b565b5b6020026020010151848481518110610f1f57610f1e61443b565b5b60200260200101518381518110610f3957610f3861443b565b5b6020026020010151612805565b8080610f5190614499565b915050610ecb565b508080610f6590614499565b915050610ebf565b5081600c60008881526020019081526020016000206000828254610f9191906144e2565b9250508190555082600981905550505050505050565b600080610fb3846114db565b9050808310610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee906145f0565b60405180910390fd5b600061100285612823565b905080518214611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103e90614682565b60405180910390fd5b80848151811061105a5761105961443b565b5b60200260200101519250505092915050565b611074612329565b73ffffffffffffffffffffffffffffffffffffffff16611092611873565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613f9c565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720760086040516111199190614737565b60405180910390a250565b61112c612329565b73ffffffffffffffffffffffffffffffffffffffff1661114a611873565b73ffffffffffffffffffffffffffffffffffffffff16146111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790613f9c565b60405180910390fd5b600260075414156111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906147a5565b60405180910390fd5b6002600781905550600047905060008111611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614811565b60405180910390fd5b611240338261298d565b506001600781905550565b61126683838360405180602001604052806000815250611969565b505050565b6000611275610b5c565b82106112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad9061487d565b60405180910390fd5b819050919050565b60606112c8612329565b73ffffffffffffffffffffffffffffffffffffffff166112e6611873565b73ffffffffffffffffffffffffffffffffffffffff161461133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390613f9c565b60405180910390fd5b6000825111611380576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113779061490f565b60405180910390fd5b81600890805190602001906113969291906133cd565b50600880546113a4906140c3565b80601f01602080910402602001604051908101604052809291908181526020018280546113d0906140c3565b801561141d5780601f106113f25761010080835404028352916020019161141d565b820191906000526020600020905b81548152906001019060200180831161140057829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c9906149a1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390614a33565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61159b612329565b73ffffffffffffffffffffffffffffffffffffffff166115b9611873565b73ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690613f9c565b60405180910390fd5b6116196000612a81565b565b60026007541415611661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611658906147a5565b60405180910390fd5b600260078190555080518251146116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a4906143af565b60405180910390fd5b60005b82518110156117615760008282815181106116ce576116cd61443b565b5b602002602001015190506116e96116e3612329565b826124c0565b611728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171f9061431d565b60405180910390fd5b61174d8585848151811061173f5761173e61443b565b5b60200260200101518361259e565b50808061175990614499565b9150506116b0565b506001600781905550505050565b611777612329565b73ffffffffffffffffffffffffffffffffffffffff16611795611873565b73ffffffffffffffffffffffffffffffffffffffff16146117eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e290613f9c565b60405180910390fd5b60005b815181101561185d5781818151811061180a5761180961443b565b5b60200260200101517fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720760086040516118429190614737565b60405180910390a2808061185590614499565b9150506117ee565b5050565b606061186c82612823565b9050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118ac906140c3565b80601f01602080910402602001604051908101604052809291908181526020018280546118d8906140c3565b80156119255780601f106118fa57610100808354040283529160200191611925565b820191906000526020600020905b81548152906001019060200180831161190857829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090508060000154908060010154905082565b61196561195e612329565b8383612b47565b5050565b61197a611974612329565b836124c0565b6119b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b09061431d565b60405180910390fd5b6119c584848484612cb4565b50505050565b606060006119d98484612d10565b90506000811415611a3657600067ffffffffffffffff8111156119ff576119fe6137e7565b5b604051908082528060200260200182016040528015611a2d5781602001602082028036833780820191505090505b50915050611b70565b60008167ffffffffffffffff811115611a5257611a516137e7565b5b604051908082528060200260200182016040528015611a805781602001602082028036833780820191505090505b5090506000600b60008681526020019081526020016000206000015490506000600b600087815260200190815260200160002060010154905060008183611ac791906144e2565b90506000808490505b82811015611b6557611ae18161239b565b15611b52578973ffffffffffffffffffffffffffffffffffffffff16611b0682611429565b73ffffffffffffffffffffffffffffffffffffffff161415611b515780868381518110611b3657611b3561443b565b5b6020026020010181815250508180611b4d90614499565b9250505b5b8080611b5d90614499565b915050611ad0565b859750505050505050505b92915050565b6060611b818261239b565b611bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb790614ac5565b60405180910390fd5b6000611bca612de1565b90506000815111611bea5760405180602001604052806000815250611c15565b80611bf484612e73565b604051602001611c05929190614b21565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cb9612329565b73ffffffffffffffffffffffffffffffffffffffff16611cd7611873565b73ffffffffffffffffffffffffffffffffffffffff1614611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490613f9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490614bb7565b60405180910390fd5b611da681612a81565b50565b611db1612329565b73ffffffffffffffffffffffffffffffffffffffff16611dcf611873565b73ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90613f9c565b60405180910390fd5b60026007541415611e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e62906147a5565b60405180910390fd5b600260078190555060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611eae91906136de565b60206040518083038186803b158015611ec657600080fd5b505afa158015611eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efe9190614bec565b905060008373ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611f3b9190613774565b60206040518083038186803b158015611f5357600080fd5b505afa158015611f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8b9190614c2e565b905060008211611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc790614811565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461203e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203590614ca7565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166342842e0e3033866040518463ffffffff1660e01b815260040161207b93929190614cc7565b600060405180830381600087803b15801561209557600080fd5b505af11580156120a9573d6000803e3d6000fd5b50505050505060016007819055505050565b6120c3612329565b73ffffffffffffffffffffffffffffffffffffffff166120e1611873565b73ffffffffffffffffffffffffffffffffffffffff1614612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90613f9c565b60405180910390fd5b6002600754141561217d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612174906147a5565b60405180910390fd5b6002600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121bf57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016121fa91906136de565b60206040518083038186803b15801561221257600080fd5b505afa158015612226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224a9190614bec565b90506000811161228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228690614811565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016122ca929190614cfe565b602060405180830381600087803b1580156122e457600080fd5b505af11580156122f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231c9190614d3c565b5050600160078190555050565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661247a83611429565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124cb8261239b565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190614ddb565b60405180910390fd5b600061251583611429565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061258457508373ffffffffffffffffffffffffffffffffffffffff1661256c846109b9565b73ffffffffffffffffffffffffffffffffffffffff16145b8061259557506125948185611c1d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125be82611429565b73ffffffffffffffffffffffffffffffffffffffff1614612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614e6d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90614eff565b60405180910390fd5b61268f838383612fd4565b61269a600082612407565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ea9190614f1f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461274191906144e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612800838383612fd9565b505050565b61281f828260405180602001604052806000815250612fde565b5050565b60606000612830836114db565b9050600081141561288d57600067ffffffffffffffff811115612856576128556137e7565b5b6040519080825280602002602001820160405280156128845781602001602082028036833780820191505090505b50915050612988565b60008167ffffffffffffffff8111156128a9576128a86137e7565b5b6040519080825280602002602001820160405280156128d75781602001602082028036833780820191505090505b50905060006128e4610b5c565b90506000805b8281101561297f576128fb8161239b565b1561296c578673ffffffffffffffffffffffffffffffffffffffff1661292082611429565b73ffffffffffffffffffffffffffffffffffffffff16141561296b57808483815181106129505761294f61443b565b5b602002602001018181525050818061296790614499565b9250505b5b808061297790614499565b9150506128ea565b83955050505050505b919050565b804710156129d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c790614f9f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129f690614ff0565b60006040518083038185875af1925050503d8060008114612a33576040519150601f19603f3d011682016040523d82523d6000602084013e612a38565b606091505b5050905080612a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7390615077565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bad906150e3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ca7919061359a565b60405180910390a3505050565b612cbf84848461259e565b612ccb84848484613039565b612d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0190615175565b60405180910390fd5b50505050565b600080600b60008481526020019081526020016000206000015490506000600b600085815260200190815260200160002060010154905060008183612d5591906144e2565b90506000808490505b82811015612dd357612d6f8161239b565b15612dc0578773ffffffffffffffffffffffffffffffffffffffff16612d9482611429565b73ffffffffffffffffffffffffffffffffffffffff161415612dbf578180612dbb90614499565b9250505b5b8080612dcb90614499565b915050612d5e565b819550505050505092915050565b606060088054612df0906140c3565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1c906140c3565b8015612e695780601f10612e3e57610100808354040283529160200191612e69565b820191906000526020600020905b815481529060010190602001808311612e4c57829003601f168201915b5050505050905090565b60606000821415612ebb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fcf565b600082905060005b60008214612eed578080612ed690614499565b915050600a82612ee691906151c4565b9150612ec3565b60008167ffffffffffffffff811115612f0957612f086137e7565b5b6040519080825280601f01601f191660200182016040528015612f3b5781602001600182028036833780820191505090505b5090505b60008514612fc857600182612f549190614f1f565b9150600a85612f6391906151f5565b6030612f6f91906144e2565b60f81b818381518110612f8557612f8461443b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fc191906151c4565b9450612f3f565b8093505050505b919050565b505050565b505050565b612fe883836131d0565b612ff56000848484613039565b613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b90615175565b60405180910390fd5b505050565b600061305a8473ffffffffffffffffffffffffffffffffffffffff166133aa565b156131c3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613083612329565b8786866040518563ffffffff1660e01b81526004016130a5949392919061527b565b602060405180830381600087803b1580156130bf57600080fd5b505af19250505080156130f057506040513d601f19601f820116820180604052508101906130ed91906152dc565b60015b613173573d8060008114613120576040519150601f19603f3d011682016040523d82523d6000602084013e613125565b606091505b5060008151141561316b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316290615175565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c8565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323790615355565b60405180910390fd5b6132498161239b565b15613289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613280906153c1565b60405180910390fd5b61329560008383612fd4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132e591906144e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133a660008383612fd9565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546133d9906140c3565b90600052602060002090601f0160209004810192826133fb5760008555613442565b82601f1061341457805160ff1916838001178555613442565b82800160010185558215613442579182015b82811115613441578251825591602001919060010190613426565b5b50905061344f9190613453565b5090565b5b8082111561346c576000816000905550600101613454565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61349781613484565b81146134a257600080fd5b50565b6000813590506134b48161348e565b92915050565b600080604083850312156134d1576134d061347a565b5b60006134df858286016134a5565b92505060206134f0858286016134a5565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61352f816134fa565b811461353a57600080fd5b50565b60008135905061354c81613526565b92915050565b6000602082840312156135685761356761347a565b5b60006135768482850161353d565b91505092915050565b60008115159050919050565b6135948161357f565b82525050565b60006020820190506135af600083018461358b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135ef5780820151818401526020810190506135d4565b838111156135fe576000848401525b50505050565b6000601f19601f8301169050919050565b6000613620826135b5565b61362a81856135c0565b935061363a8185602086016135d1565b61364381613604565b840191505092915050565b600060208201905081810360008301526136688184613615565b905092915050565b6000602082840312156136865761368561347a565b5b6000613694848285016134a5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136c88261369d565b9050919050565b6136d8816136bd565b82525050565b60006020820190506136f360008301846136cf565b92915050565b613702816136bd565b811461370d57600080fd5b50565b60008135905061371f816136f9565b92915050565b6000806040838503121561373c5761373b61347a565b5b600061374a85828601613710565b925050602061375b858286016134a5565b9150509250929050565b61376e81613484565b82525050565b60006020820190506137896000830184613765565b92915050565b6000806000606084860312156137a8576137a761347a565b5b60006137b686828701613710565b93505060206137c786828701613710565b92505060406137d8868287016134a5565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381f82613604565b810181811067ffffffffffffffff8211171561383e5761383d6137e7565b5b80604052505050565b6000613851613470565b905061385d8282613816565b919050565b600067ffffffffffffffff82111561387d5761387c6137e7565b5b602082029050602081019050919050565b600080fd5b60006138a66138a184613862565b613847565b905080838252602082019050602084028301858111156138c9576138c861388e565b5b835b818110156138f257806138de8882613710565b8452602084019350506020810190506138cb565b5050509392505050565b600082601f830112613911576139106137e2565b5b8135613921848260208601613893565b91505092915050565b600067ffffffffffffffff821115613945576139446137e7565b5b602082029050602081019050919050565b60006139696139648461392a565b613847565b9050808382526020820190506020840283018581111561398c5761398b61388e565b5b835b818110156139b557806139a188826134a5565b84526020840193505060208101905061398e565b5050509392505050565b600082601f8301126139d4576139d36137e2565b5b81356139e4848260208601613956565b91505092915050565b600080600060608486031215613a0657613a0561347a565b5b6000613a14868287016134a5565b935050602084013567ffffffffffffffff811115613a3557613a3461347f565b5b613a41868287016138fc565b925050604084013567ffffffffffffffff811115613a6257613a6161347f565b5b613a6e868287016139bf565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613a9857613a976137e7565b5b613aa182613604565b9050602081019050919050565b82818337600083830152505050565b6000613ad0613acb84613a7d565b613847565b905082815260208101848484011115613aec57613aeb613a78565b5b613af7848285613aae565b509392505050565b600082601f830112613b1457613b136137e2565b5b8135613b24848260208601613abd565b91505092915050565b600060208284031215613b4357613b4261347a565b5b600082013567ffffffffffffffff811115613b6157613b6061347f565b5b613b6d84828501613aff565b91505092915050565b600060208284031215613b8c57613b8b61347a565b5b6000613b9a84828501613710565b91505092915050565b600080600060608486031215613bbc57613bbb61347a565b5b6000613bca86828701613710565b935050602084013567ffffffffffffffff811115613beb57613bea61347f565b5b613bf7868287016138fc565b925050604084013567ffffffffffffffff811115613c1857613c1761347f565b5b613c24868287016139bf565b9150509250925092565b600060208284031215613c4457613c4361347a565b5b600082013567ffffffffffffffff811115613c6257613c6161347f565b5b613c6e848285016139bf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cac81613484565b82525050565b6000613cbe8383613ca3565b60208301905092915050565b6000602082019050919050565b6000613ce282613c77565b613cec8185613c82565b9350613cf783613c93565b8060005b83811015613d28578151613d0f8882613cb2565b9750613d1a83613cca565b925050600181019050613cfb565b5085935050505092915050565b60006020820190508181036000830152613d4f8184613cd7565b905092915050565b6000604082019050613d6c6000830185613765565b613d796020830184613765565b9392505050565b613d898161357f565b8114613d9457600080fd5b50565b600081359050613da681613d80565b92915050565b60008060408385031215613dc357613dc261347a565b5b6000613dd185828601613710565b9250506020613de285828601613d97565b9150509250929050565b600067ffffffffffffffff821115613e0757613e066137e7565b5b613e1082613604565b9050602081019050919050565b6000613e30613e2b84613dec565b613847565b905082815260208101848484011115613e4c57613e4b613a78565b5b613e57848285613aae565b509392505050565b600082601f830112613e7457613e736137e2565b5b8135613e84848260208601613e1d565b91505092915050565b60008060008060808587031215613ea757613ea661347a565b5b6000613eb587828801613710565b9450506020613ec687828801613710565b9350506040613ed7878288016134a5565b925050606085013567ffffffffffffffff811115613ef857613ef761347f565b5b613f0487828801613e5f565b91505092959194509250565b60008060408385031215613f2757613f2661347a565b5b6000613f3585828601613710565b9250506020613f4685828601613710565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f866020836135c0565b9150613f9182613f50565b602082019050919050565b60006020820190508181036000830152613fb581613f79565b9050919050565b7f43757272656e742079656172207374696c6c206d696e74696e67000000000000600082015250565b6000613ff2601a836135c0565b9150613ffd82613fbc565b602082019050919050565b6000602082019050818103600083015261402181613fe5565b9050919050565b7f5965617220616c7265616479206d696e74656400000000000000000000000000600082015250565b600061405e6013836135c0565b915061406982614028565b602082019050919050565b6000602082019050818103600083015261408d81614051565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140db57607f821691505b602082108114156140ef576140ee614094565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614151602c836135c0565b915061415c826140f5565b604082019050919050565b6000602082019050818103600083015261418081614144565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006141e36021836135c0565b91506141ee82614187565b604082019050919050565b60006020820190508181036000830152614212816141d6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006142756038836135c0565b915061428082614219565b604082019050919050565b600060208201905081810360008301526142a481614268565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006143076031836135c0565b9150614312826142ab565b604082019050919050565b60006020820190508181036000830152614336816142fa565b9050919050565b7f4164647265737320616e64207175616e746974696573206e65656420746f206260008201527f6520657175616c206c656e677468000000000000000000000000000000000000602082015250565b6000614399602e836135c0565b91506143a48261433d565b604082019050919050565b600060208201905081810360008301526143c88161438c565b9050919050565b7f59656172206973206e6f7420616374697665206f7220636f6e66696775726564600082015250565b60006144056020836135c0565b9150614410826143cf565b602082019050919050565b60006020820190508181036000830152614434816143f8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144a482613484565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144d7576144d661446a565b5b600182019050919050565b60006144ed82613484565b91506144f883613484565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561452d5761452c61446a565b5b828201905092915050565b7f4e6f7420656e6f756768206c65667420746f206d696e74206261746368000000600082015250565b600061456e601d836135c0565b915061457982614538565b602082019050919050565b6000602082019050818103600083015261459d81614561565b9050919050565b7f4f776e657220696e646578206f7574206f6620626f756e647300000000000000600082015250565b60006145da6019836135c0565b91506145e5826145a4565b602082019050919050565b60006020820190508181036000830152614609816145cd565b9050919050565b7f556e61626c6520746f2067657420746f6b656e206f66206f776e65722062792060008201527f696e646578000000000000000000000000000000000000000000000000000000602082015250565b600061466c6025836135c0565b915061467782614610565b604082019050919050565b6000602082019050818103600083015261469b8161465f565b9050919050565b60008190508160005260206000209050919050565b600081546146c4816140c3565b6146ce81866135c0565b945060018216600081146146e957600181146146fb5761472e565b60ff198316865260208601935061472e565b614704856146a2565b60005b8381101561472657815481890152600182019150602081019050614707565b808801955050505b50505092915050565b6000602082019050818103600083015261475181846146b7565b905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061478f601f836135c0565b915061479a82614759565b602082019050919050565b600060208201905081810360008301526147be81614782565b9050919050565b7f6e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b60006147fb600a836135c0565b9150614806826147c5565b602082019050919050565b6000602082019050818103600083015261482a816147ee565b9050919050565b7f476c6f62616c20696e646578206f7574206f6620626f756e6473000000000000600082015250565b6000614867601a836135c0565b915061487282614831565b602082019050919050565b600060208201905081810360008301526148968161485a565b9050919050565b7f43616e6e6f742073657420626173652061646472657373207769746820616e2060008201527f696e76616c696420276261736555726c272e0000000000000000000000000000602082015250565b60006148f96032836135c0565b91506149048261489d565b604082019050919050565b60006020820190508181036000830152614928816148ec565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061498b6029836135c0565b91506149968261492f565b604082019050919050565b600060208201905081810360008301526149ba8161497e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614a1d602a836135c0565b9150614a28826149c1565b604082019050919050565b60006020820190508181036000830152614a4c81614a10565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614aaf602f836135c0565b9150614aba82614a53565b604082019050919050565b60006020820190508181036000830152614ade81614aa2565b9050919050565b600081905092915050565b6000614afb826135b5565b614b058185614ae5565b9350614b158185602086016135d1565b80840191505092915050565b6000614b2d8285614af0565b9150614b398284614af0565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ba16026836135c0565b9150614bac82614b45565b604082019050919050565b60006020820190508181036000830152614bd081614b94565b9050919050565b600081519050614be68161348e565b92915050565b600060208284031215614c0257614c0161347a565b5b6000614c1084828501614bd7565b91505092915050565b600081519050614c28816136f9565b92915050565b600060208284031215614c4457614c4361347a565b5b6000614c5284828501614c19565b91505092915050565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b6000614c916009836135c0565b9150614c9c82614c5b565b602082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b6000606082019050614cdc60008301866136cf565b614ce960208301856136cf565b614cf66040830184613765565b949350505050565b6000604082019050614d1360008301856136cf565b614d206020830184613765565b9392505050565b600081519050614d3681613d80565b92915050565b600060208284031215614d5257614d5161347a565b5b6000614d6084828501614d27565b91505092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614dc5602c836135c0565b9150614dd082614d69565b604082019050919050565b60006020820190508181036000830152614df481614db8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e576025836135c0565b9150614e6282614dfb565b604082019050919050565b60006020820190508181036000830152614e8681614e4a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614ee96024836135c0565b9150614ef482614e8d565b604082019050919050565b60006020820190508181036000830152614f1881614edc565b9050919050565b6000614f2a82613484565b9150614f3583613484565b925082821015614f4857614f4761446a565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614f89601d836135c0565b9150614f9482614f53565b602082019050919050565b60006020820190508181036000830152614fb881614f7c565b9050919050565b600081905092915050565b50565b6000614fda600083614fbf565b9150614fe582614fca565b600082019050919050565b6000614ffb82614fcd565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615061603a836135c0565b915061506c82615005565b604082019050919050565b6000602082019050818103600083015261509081615054565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150cd6019836135c0565b91506150d882615097565b602082019050919050565b600060208201905081810360008301526150fc816150c0565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061515f6032836135c0565b915061516a82615103565b604082019050919050565b6000602082019050818103600083015261518e81615152565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151cf82613484565b91506151da83613484565b9250826151ea576151e9615195565b5b828204905092915050565b600061520082613484565b915061520b83613484565b92508261521b5761521a615195565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061524d82615226565b6152578185615231565b93506152678185602086016135d1565b61527081613604565b840191505092915050565b600060808201905061529060008301876136cf565b61529d60208301866136cf565b6152aa6040830185613765565b81810360608301526152bc8184615242565b905095945050505050565b6000815190506152d681613526565b92915050565b6000602082840312156152f2576152f161347a565b5b6000615300848285016152c7565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061533f6020836135c0565b915061534a82615309565b602082019050919050565b6000602082019050818103600083015261536e81615332565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006153ab601c836135c0565b91506153b682615375565b602082019050919050565b600060208201905081810360008301526153da8161539e565b905091905056fea2646970667358221220fed25cca4d4ef7bd72de4834c8024a593376a4f54f78680b5c671eb79fe8c80064736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f6d657461646174612e766565667269656e64732e636f6d2f636f6c6c656374696f6e732f766565636f6e2f746f6b656e732f0000000000000000000000000000000000000000000000000000000000000000000000000006566565436f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025643000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fa5760003560e01c80636352211e1161011a578063a0d75ece116100ad578063c87b56dd1161007c578063c87b56dd146105d2578063e985e9c514610602578063f2fde38b14610632578063f3e414f81461064e578063f4f3b2001461066a576101fa565b8063a0d75ece14610539578063a22cb4651461056a578063b88d4fde14610586578063c00d9bb0146105a2576101fa565b80637ef4ce93116100e95780637ef4ce93146104b15780638462151c146104cd5780638da5cb5b146104fd57806395d89b411461051b576101fa565b80636352211e1461042b57806370a082311461045b578063715018a61461048b5780637c51498414610495576101fa565b806326a3cc7e116101925780633ccfd60b116101615780633ccfd60b146103a557806342842e0e146103af5780634f6ccce7146103cb57806355f804b3146103fb576101fa565b806326a3cc7e1461030d57806329c3e2ac1461033d5780632f745c5914610359578063385c0eb014610389576101fa565b8063095ea7b3116101ce578063095ea7b3146102995780630b5a006b146102b557806318160ddd146102d357806323b872dd146102f1576101fa565b8062915797146101ff57806301ffc9a71461021b57806306fdde031461024b578063081812fc14610269575b600080fd5b610219600480360381019061021491906134ba565b610686565b005b61023560048036038101906102309190613552565b610845565b604051610242919061359a565b60405180910390f35b610253610927565b604051610260919061364e565b60405180910390f35b610283600480360381019061027e9190613670565b6109b9565b60405161029091906136de565b60405180910390f35b6102b360048036038101906102ae9190613725565b610a3e565b005b6102bd610b56565b6040516102ca9190613774565b60405180910390f35b6102db610b5c565b6040516102e89190613774565b60405180910390f35b61030b6004803603810190610306919061378f565b610b66565b005b61032760048036038101906103229190613670565b610bc6565b6040516103349190613774565b60405180910390f35b610357600480360381019061035291906139ed565b610bde565b005b610373600480360381019061036e9190613725565b610fa7565b6040516103809190613774565b60405180910390f35b6103a3600480360381019061039e9190613670565b61106c565b005b6103ad611124565b005b6103c960048036038101906103c4919061378f565b61124b565b005b6103e560048036038101906103e09190613670565b61126b565b6040516103f29190613774565b60405180910390f35b61041560048036038101906104109190613b2d565b6112be565b604051610422919061364e565b60405180910390f35b61044560048036038101906104409190613670565b611429565b60405161045291906136de565b60405180910390f35b61047560048036038101906104709190613b76565b6114db565b6040516104829190613774565b60405180910390f35b610493611593565b005b6104af60048036038101906104aa9190613ba3565b61161b565b005b6104cb60048036038101906104c69190613c2e565b61176f565b005b6104e760048036038101906104e29190613b76565b611861565b6040516104f49190613d35565b60405180910390f35b610505611873565b60405161051291906136de565b60405180910390f35b61052361189d565b604051610530919061364e565b60405180910390f35b610553600480360381019061054e9190613670565b61192f565b604051610561929190613d57565b60405180910390f35b610584600480360381019061057f9190613dac565b611953565b005b6105a0600480360381019061059b9190613e8d565b611969565b005b6105bc60048036038101906105b79190613725565b6119cb565b6040516105c99190613d35565b60405180910390f35b6105ec60048036038101906105e79190613670565b611b76565b6040516105f9919061364e565b60405180910390f35b61061c60048036038101906106179190613f10565b611c1d565b604051610629919061359a565b60405180910390f35b61064c60048036038101906106479190613b76565b611cb1565b005b61066860048036038101906106639190613725565b611da9565b005b610684600480360381019061067f9190613b76565b6120bb565b005b61068e612329565b73ffffffffffffffffffffffffffffffffffffffff166106ac611873565b73ffffffffffffffffffffffffffffffffffffffff1614610702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f990613f9c565b60405180910390fd5b6000600a541480610714575081600a54145b8061074b5750600b6000600a54815260200190815260200160002060010154600c6000600a54815260200190815260200160002054145b61078a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078190614008565b60405180910390fd5b6000600c600084815260200190815260200160002054146107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d790614074565b60405180910390fd5b6040518060400160405280600954815260200182815250600b600084815260200190815260200160002060008201518160000155602082015181600101559050506000600c60008481526020019081526020016000208190555081600a819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610920575061091f82612331565b5b9050919050565b606060008054610936906140c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610962906140c3565b80156109af5780601f10610984576101008083540402835291602001916109af565b820191906000526020600020905b81548152906001019060200180831161099257829003601f168201915b5050505050905090565b60006109c48261239b565b610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa90614167565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4982611429565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab1906141f9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad9612329565b73ffffffffffffffffffffffffffffffffffffffff161480610b085750610b0781610b02612329565b611c1d565b5b610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e9061428b565b60405180910390fd5b610b518383612407565b505050565b600a5481565b6000600954905090565b610b77610b71612329565b826124c0565b610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad9061431d565b60405180910390fd5b610bc183838361259e565b505050565b600c6020528060005260406000206000915090505481565b610be6612329565b73ffffffffffffffffffffffffffffffffffffffff16610c04611873565b73ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190613f9c565b60405180910390fd5b600060095490508151835114610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c906143af565b60405180910390fd5b600a548414610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce09061441b565b60405180910390fd5b600080845167ffffffffffffffff811115610d0757610d066137e7565b5b604051908082528060200260200182016040528015610d3a57816020015b6060815260200190600190039081610d255790505b50905060005b8551811015610e44576000858281518110610d5e57610d5d61443b565b5b6020026020010151905060008167ffffffffffffffff811115610d8457610d836137e7565b5b604051908082528060200260200182016040528015610db25781602001602082028036833780820191505090505b50905060005b82811015610e015786828281518110610dd457610dd361443b565b5b6020026020010181815250508680610deb90614499565b9750508080610df990614499565b915050610db8565b508185610e0e91906144e2565b945080848481518110610e2457610e2361443b565b5b602002602001018190525050508080610e3c90614499565b915050610d40565b50600b60008781526020019081526020016000206001015482600c600089815260200190815260200160002054610e7b91906144e2565b1115610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb390614584565b60405180910390fd5b60005b8151811015610f6d5760005b828281518110610ede57610edd61443b565b5b602002602001015151811015610f5957610f46878381518110610f0457610f0361443b565b5b6020026020010151848481518110610f1f57610f1e61443b565b5b60200260200101518381518110610f3957610f3861443b565b5b6020026020010151612805565b8080610f5190614499565b915050610ecb565b508080610f6590614499565b915050610ebf565b5081600c60008881526020019081526020016000206000828254610f9191906144e2565b9250508190555082600981905550505050505050565b600080610fb3846114db565b9050808310610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee906145f0565b60405180910390fd5b600061100285612823565b905080518214611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103e90614682565b60405180910390fd5b80848151811061105a5761105961443b565b5b60200260200101519250505092915050565b611074612329565b73ffffffffffffffffffffffffffffffffffffffff16611092611873565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613f9c565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720760086040516111199190614737565b60405180910390a250565b61112c612329565b73ffffffffffffffffffffffffffffffffffffffff1661114a611873565b73ffffffffffffffffffffffffffffffffffffffff16146111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790613f9c565b60405180910390fd5b600260075414156111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906147a5565b60405180910390fd5b6002600781905550600047905060008111611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614811565b60405180910390fd5b611240338261298d565b506001600781905550565b61126683838360405180602001604052806000815250611969565b505050565b6000611275610b5c565b82106112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad9061487d565b60405180910390fd5b819050919050565b60606112c8612329565b73ffffffffffffffffffffffffffffffffffffffff166112e6611873565b73ffffffffffffffffffffffffffffffffffffffff161461133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390613f9c565b60405180910390fd5b6000825111611380576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113779061490f565b60405180910390fd5b81600890805190602001906113969291906133cd565b50600880546113a4906140c3565b80601f01602080910402602001604051908101604052809291908181526020018280546113d0906140c3565b801561141d5780601f106113f25761010080835404028352916020019161141d565b820191906000526020600020905b81548152906001019060200180831161140057829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c9906149a1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390614a33565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61159b612329565b73ffffffffffffffffffffffffffffffffffffffff166115b9611873565b73ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690613f9c565b60405180910390fd5b6116196000612a81565b565b60026007541415611661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611658906147a5565b60405180910390fd5b600260078190555080518251146116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a4906143af565b60405180910390fd5b60005b82518110156117615760008282815181106116ce576116cd61443b565b5b602002602001015190506116e96116e3612329565b826124c0565b611728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171f9061431d565b60405180910390fd5b61174d8585848151811061173f5761173e61443b565b5b60200260200101518361259e565b50808061175990614499565b9150506116b0565b506001600781905550505050565b611777612329565b73ffffffffffffffffffffffffffffffffffffffff16611795611873565b73ffffffffffffffffffffffffffffffffffffffff16146117eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e290613f9c565b60405180910390fd5b60005b815181101561185d5781818151811061180a5761180961443b565b5b60200260200101517fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720760086040516118429190614737565b60405180910390a2808061185590614499565b9150506117ee565b5050565b606061186c82612823565b9050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118ac906140c3565b80601f01602080910402602001604051908101604052809291908181526020018280546118d8906140c3565b80156119255780601f106118fa57610100808354040283529160200191611925565b820191906000526020600020905b81548152906001019060200180831161190857829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090508060000154908060010154905082565b61196561195e612329565b8383612b47565b5050565b61197a611974612329565b836124c0565b6119b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b09061431d565b60405180910390fd5b6119c584848484612cb4565b50505050565b606060006119d98484612d10565b90506000811415611a3657600067ffffffffffffffff8111156119ff576119fe6137e7565b5b604051908082528060200260200182016040528015611a2d5781602001602082028036833780820191505090505b50915050611b70565b60008167ffffffffffffffff811115611a5257611a516137e7565b5b604051908082528060200260200182016040528015611a805781602001602082028036833780820191505090505b5090506000600b60008681526020019081526020016000206000015490506000600b600087815260200190815260200160002060010154905060008183611ac791906144e2565b90506000808490505b82811015611b6557611ae18161239b565b15611b52578973ffffffffffffffffffffffffffffffffffffffff16611b0682611429565b73ffffffffffffffffffffffffffffffffffffffff161415611b515780868381518110611b3657611b3561443b565b5b6020026020010181815250508180611b4d90614499565b9250505b5b8080611b5d90614499565b915050611ad0565b859750505050505050505b92915050565b6060611b818261239b565b611bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb790614ac5565b60405180910390fd5b6000611bca612de1565b90506000815111611bea5760405180602001604052806000815250611c15565b80611bf484612e73565b604051602001611c05929190614b21565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cb9612329565b73ffffffffffffffffffffffffffffffffffffffff16611cd7611873565b73ffffffffffffffffffffffffffffffffffffffff1614611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490613f9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490614bb7565b60405180910390fd5b611da681612a81565b50565b611db1612329565b73ffffffffffffffffffffffffffffffffffffffff16611dcf611873565b73ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90613f9c565b60405180910390fd5b60026007541415611e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e62906147a5565b60405180910390fd5b600260078190555060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611eae91906136de565b60206040518083038186803b158015611ec657600080fd5b505afa158015611eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efe9190614bec565b905060008373ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611f3b9190613774565b60206040518083038186803b158015611f5357600080fd5b505afa158015611f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8b9190614c2e565b905060008211611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc790614811565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461203e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203590614ca7565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166342842e0e3033866040518463ffffffff1660e01b815260040161207b93929190614cc7565b600060405180830381600087803b15801561209557600080fd5b505af11580156120a9573d6000803e3d6000fd5b50505050505060016007819055505050565b6120c3612329565b73ffffffffffffffffffffffffffffffffffffffff166120e1611873565b73ffffffffffffffffffffffffffffffffffffffff1614612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90613f9c565b60405180910390fd5b6002600754141561217d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612174906147a5565b60405180910390fd5b6002600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121bf57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016121fa91906136de565b60206040518083038186803b15801561221257600080fd5b505afa158015612226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224a9190614bec565b90506000811161228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228690614811565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016122ca929190614cfe565b602060405180830381600087803b1580156122e457600080fd5b505af11580156122f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231c9190614d3c565b5050600160078190555050565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661247a83611429565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124cb8261239b565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190614ddb565b60405180910390fd5b600061251583611429565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061258457508373ffffffffffffffffffffffffffffffffffffffff1661256c846109b9565b73ffffffffffffffffffffffffffffffffffffffff16145b8061259557506125948185611c1d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125be82611429565b73ffffffffffffffffffffffffffffffffffffffff1614612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614e6d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90614eff565b60405180910390fd5b61268f838383612fd4565b61269a600082612407565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ea9190614f1f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461274191906144e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612800838383612fd9565b505050565b61281f828260405180602001604052806000815250612fde565b5050565b60606000612830836114db565b9050600081141561288d57600067ffffffffffffffff811115612856576128556137e7565b5b6040519080825280602002602001820160405280156128845781602001602082028036833780820191505090505b50915050612988565b60008167ffffffffffffffff8111156128a9576128a86137e7565b5b6040519080825280602002602001820160405280156128d75781602001602082028036833780820191505090505b50905060006128e4610b5c565b90506000805b8281101561297f576128fb8161239b565b1561296c578673ffffffffffffffffffffffffffffffffffffffff1661292082611429565b73ffffffffffffffffffffffffffffffffffffffff16141561296b57808483815181106129505761294f61443b565b5b602002602001018181525050818061296790614499565b9250505b5b808061297790614499565b9150506128ea565b83955050505050505b919050565b804710156129d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c790614f9f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129f690614ff0565b60006040518083038185875af1925050503d8060008114612a33576040519150601f19603f3d011682016040523d82523d6000602084013e612a38565b606091505b5050905080612a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7390615077565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bad906150e3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ca7919061359a565b60405180910390a3505050565b612cbf84848461259e565b612ccb84848484613039565b612d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0190615175565b60405180910390fd5b50505050565b600080600b60008481526020019081526020016000206000015490506000600b600085815260200190815260200160002060010154905060008183612d5591906144e2565b90506000808490505b82811015612dd357612d6f8161239b565b15612dc0578773ffffffffffffffffffffffffffffffffffffffff16612d9482611429565b73ffffffffffffffffffffffffffffffffffffffff161415612dbf578180612dbb90614499565b9250505b5b8080612dcb90614499565b915050612d5e565b819550505050505092915050565b606060088054612df0906140c3565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1c906140c3565b8015612e695780601f10612e3e57610100808354040283529160200191612e69565b820191906000526020600020905b815481529060010190602001808311612e4c57829003601f168201915b5050505050905090565b60606000821415612ebb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fcf565b600082905060005b60008214612eed578080612ed690614499565b915050600a82612ee691906151c4565b9150612ec3565b60008167ffffffffffffffff811115612f0957612f086137e7565b5b6040519080825280601f01601f191660200182016040528015612f3b5781602001600182028036833780820191505090505b5090505b60008514612fc857600182612f549190614f1f565b9150600a85612f6391906151f5565b6030612f6f91906144e2565b60f81b818381518110612f8557612f8461443b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fc191906151c4565b9450612f3f565b8093505050505b919050565b505050565b505050565b612fe883836131d0565b612ff56000848484613039565b613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b90615175565b60405180910390fd5b505050565b600061305a8473ffffffffffffffffffffffffffffffffffffffff166133aa565b156131c3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613083612329565b8786866040518563ffffffff1660e01b81526004016130a5949392919061527b565b602060405180830381600087803b1580156130bf57600080fd5b505af19250505080156130f057506040513d601f19601f820116820180604052508101906130ed91906152dc565b60015b613173573d8060008114613120576040519150601f19603f3d011682016040523d82523d6000602084013e613125565b606091505b5060008151141561316b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316290615175565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c8565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323790615355565b60405180910390fd5b6132498161239b565b15613289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613280906153c1565b60405180910390fd5b61329560008383612fd4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132e591906144e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133a660008383612fd9565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546133d9906140c3565b90600052602060002090601f0160209004810192826133fb5760008555613442565b82601f1061341457805160ff1916838001178555613442565b82800160010185558215613442579182015b82811115613441578251825591602001919060010190613426565b5b50905061344f9190613453565b5090565b5b8082111561346c576000816000905550600101613454565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61349781613484565b81146134a257600080fd5b50565b6000813590506134b48161348e565b92915050565b600080604083850312156134d1576134d061347a565b5b60006134df858286016134a5565b92505060206134f0858286016134a5565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61352f816134fa565b811461353a57600080fd5b50565b60008135905061354c81613526565b92915050565b6000602082840312156135685761356761347a565b5b60006135768482850161353d565b91505092915050565b60008115159050919050565b6135948161357f565b82525050565b60006020820190506135af600083018461358b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135ef5780820151818401526020810190506135d4565b838111156135fe576000848401525b50505050565b6000601f19601f8301169050919050565b6000613620826135b5565b61362a81856135c0565b935061363a8185602086016135d1565b61364381613604565b840191505092915050565b600060208201905081810360008301526136688184613615565b905092915050565b6000602082840312156136865761368561347a565b5b6000613694848285016134a5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136c88261369d565b9050919050565b6136d8816136bd565b82525050565b60006020820190506136f360008301846136cf565b92915050565b613702816136bd565b811461370d57600080fd5b50565b60008135905061371f816136f9565b92915050565b6000806040838503121561373c5761373b61347a565b5b600061374a85828601613710565b925050602061375b858286016134a5565b9150509250929050565b61376e81613484565b82525050565b60006020820190506137896000830184613765565b92915050565b6000806000606084860312156137a8576137a761347a565b5b60006137b686828701613710565b93505060206137c786828701613710565b92505060406137d8868287016134a5565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381f82613604565b810181811067ffffffffffffffff8211171561383e5761383d6137e7565b5b80604052505050565b6000613851613470565b905061385d8282613816565b919050565b600067ffffffffffffffff82111561387d5761387c6137e7565b5b602082029050602081019050919050565b600080fd5b60006138a66138a184613862565b613847565b905080838252602082019050602084028301858111156138c9576138c861388e565b5b835b818110156138f257806138de8882613710565b8452602084019350506020810190506138cb565b5050509392505050565b600082601f830112613911576139106137e2565b5b8135613921848260208601613893565b91505092915050565b600067ffffffffffffffff821115613945576139446137e7565b5b602082029050602081019050919050565b60006139696139648461392a565b613847565b9050808382526020820190506020840283018581111561398c5761398b61388e565b5b835b818110156139b557806139a188826134a5565b84526020840193505060208101905061398e565b5050509392505050565b600082601f8301126139d4576139d36137e2565b5b81356139e4848260208601613956565b91505092915050565b600080600060608486031215613a0657613a0561347a565b5b6000613a14868287016134a5565b935050602084013567ffffffffffffffff811115613a3557613a3461347f565b5b613a41868287016138fc565b925050604084013567ffffffffffffffff811115613a6257613a6161347f565b5b613a6e868287016139bf565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613a9857613a976137e7565b5b613aa182613604565b9050602081019050919050565b82818337600083830152505050565b6000613ad0613acb84613a7d565b613847565b905082815260208101848484011115613aec57613aeb613a78565b5b613af7848285613aae565b509392505050565b600082601f830112613b1457613b136137e2565b5b8135613b24848260208601613abd565b91505092915050565b600060208284031215613b4357613b4261347a565b5b600082013567ffffffffffffffff811115613b6157613b6061347f565b5b613b6d84828501613aff565b91505092915050565b600060208284031215613b8c57613b8b61347a565b5b6000613b9a84828501613710565b91505092915050565b600080600060608486031215613bbc57613bbb61347a565b5b6000613bca86828701613710565b935050602084013567ffffffffffffffff811115613beb57613bea61347f565b5b613bf7868287016138fc565b925050604084013567ffffffffffffffff811115613c1857613c1761347f565b5b613c24868287016139bf565b9150509250925092565b600060208284031215613c4457613c4361347a565b5b600082013567ffffffffffffffff811115613c6257613c6161347f565b5b613c6e848285016139bf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cac81613484565b82525050565b6000613cbe8383613ca3565b60208301905092915050565b6000602082019050919050565b6000613ce282613c77565b613cec8185613c82565b9350613cf783613c93565b8060005b83811015613d28578151613d0f8882613cb2565b9750613d1a83613cca565b925050600181019050613cfb565b5085935050505092915050565b60006020820190508181036000830152613d4f8184613cd7565b905092915050565b6000604082019050613d6c6000830185613765565b613d796020830184613765565b9392505050565b613d898161357f565b8114613d9457600080fd5b50565b600081359050613da681613d80565b92915050565b60008060408385031215613dc357613dc261347a565b5b6000613dd185828601613710565b9250506020613de285828601613d97565b9150509250929050565b600067ffffffffffffffff821115613e0757613e066137e7565b5b613e1082613604565b9050602081019050919050565b6000613e30613e2b84613dec565b613847565b905082815260208101848484011115613e4c57613e4b613a78565b5b613e57848285613aae565b509392505050565b600082601f830112613e7457613e736137e2565b5b8135613e84848260208601613e1d565b91505092915050565b60008060008060808587031215613ea757613ea661347a565b5b6000613eb587828801613710565b9450506020613ec687828801613710565b9350506040613ed7878288016134a5565b925050606085013567ffffffffffffffff811115613ef857613ef761347f565b5b613f0487828801613e5f565b91505092959194509250565b60008060408385031215613f2757613f2661347a565b5b6000613f3585828601613710565b9250506020613f4685828601613710565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f866020836135c0565b9150613f9182613f50565b602082019050919050565b60006020820190508181036000830152613fb581613f79565b9050919050565b7f43757272656e742079656172207374696c6c206d696e74696e67000000000000600082015250565b6000613ff2601a836135c0565b9150613ffd82613fbc565b602082019050919050565b6000602082019050818103600083015261402181613fe5565b9050919050565b7f5965617220616c7265616479206d696e74656400000000000000000000000000600082015250565b600061405e6013836135c0565b915061406982614028565b602082019050919050565b6000602082019050818103600083015261408d81614051565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140db57607f821691505b602082108114156140ef576140ee614094565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614151602c836135c0565b915061415c826140f5565b604082019050919050565b6000602082019050818103600083015261418081614144565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006141e36021836135c0565b91506141ee82614187565b604082019050919050565b60006020820190508181036000830152614212816141d6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006142756038836135c0565b915061428082614219565b604082019050919050565b600060208201905081810360008301526142a481614268565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006143076031836135c0565b9150614312826142ab565b604082019050919050565b60006020820190508181036000830152614336816142fa565b9050919050565b7f4164647265737320616e64207175616e746974696573206e65656420746f206260008201527f6520657175616c206c656e677468000000000000000000000000000000000000602082015250565b6000614399602e836135c0565b91506143a48261433d565b604082019050919050565b600060208201905081810360008301526143c88161438c565b9050919050565b7f59656172206973206e6f7420616374697665206f7220636f6e66696775726564600082015250565b60006144056020836135c0565b9150614410826143cf565b602082019050919050565b60006020820190508181036000830152614434816143f8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144a482613484565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144d7576144d661446a565b5b600182019050919050565b60006144ed82613484565b91506144f883613484565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561452d5761452c61446a565b5b828201905092915050565b7f4e6f7420656e6f756768206c65667420746f206d696e74206261746368000000600082015250565b600061456e601d836135c0565b915061457982614538565b602082019050919050565b6000602082019050818103600083015261459d81614561565b9050919050565b7f4f776e657220696e646578206f7574206f6620626f756e647300000000000000600082015250565b60006145da6019836135c0565b91506145e5826145a4565b602082019050919050565b60006020820190508181036000830152614609816145cd565b9050919050565b7f556e61626c6520746f2067657420746f6b656e206f66206f776e65722062792060008201527f696e646578000000000000000000000000000000000000000000000000000000602082015250565b600061466c6025836135c0565b915061467782614610565b604082019050919050565b6000602082019050818103600083015261469b8161465f565b9050919050565b60008190508160005260206000209050919050565b600081546146c4816140c3565b6146ce81866135c0565b945060018216600081146146e957600181146146fb5761472e565b60ff198316865260208601935061472e565b614704856146a2565b60005b8381101561472657815481890152600182019150602081019050614707565b808801955050505b50505092915050565b6000602082019050818103600083015261475181846146b7565b905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061478f601f836135c0565b915061479a82614759565b602082019050919050565b600060208201905081810360008301526147be81614782565b9050919050565b7f6e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b60006147fb600a836135c0565b9150614806826147c5565b602082019050919050565b6000602082019050818103600083015261482a816147ee565b9050919050565b7f476c6f62616c20696e646578206f7574206f6620626f756e6473000000000000600082015250565b6000614867601a836135c0565b915061487282614831565b602082019050919050565b600060208201905081810360008301526148968161485a565b9050919050565b7f43616e6e6f742073657420626173652061646472657373207769746820616e2060008201527f696e76616c696420276261736555726c272e0000000000000000000000000000602082015250565b60006148f96032836135c0565b91506149048261489d565b604082019050919050565b60006020820190508181036000830152614928816148ec565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061498b6029836135c0565b91506149968261492f565b604082019050919050565b600060208201905081810360008301526149ba8161497e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614a1d602a836135c0565b9150614a28826149c1565b604082019050919050565b60006020820190508181036000830152614a4c81614a10565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614aaf602f836135c0565b9150614aba82614a53565b604082019050919050565b60006020820190508181036000830152614ade81614aa2565b9050919050565b600081905092915050565b6000614afb826135b5565b614b058185614ae5565b9350614b158185602086016135d1565b80840191505092915050565b6000614b2d8285614af0565b9150614b398284614af0565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ba16026836135c0565b9150614bac82614b45565b604082019050919050565b60006020820190508181036000830152614bd081614b94565b9050919050565b600081519050614be68161348e565b92915050565b600060208284031215614c0257614c0161347a565b5b6000614c1084828501614bd7565b91505092915050565b600081519050614c28816136f9565b92915050565b600060208284031215614c4457614c4361347a565b5b6000614c5284828501614c19565b91505092915050565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b6000614c916009836135c0565b9150614c9c82614c5b565b602082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b6000606082019050614cdc60008301866136cf565b614ce960208301856136cf565b614cf66040830184613765565b949350505050565b6000604082019050614d1360008301856136cf565b614d206020830184613765565b9392505050565b600081519050614d3681613d80565b92915050565b600060208284031215614d5257614d5161347a565b5b6000614d6084828501614d27565b91505092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614dc5602c836135c0565b9150614dd082614d69565b604082019050919050565b60006020820190508181036000830152614df481614db8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e576025836135c0565b9150614e6282614dfb565b604082019050919050565b60006020820190508181036000830152614e8681614e4a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614ee96024836135c0565b9150614ef482614e8d565b604082019050919050565b60006020820190508181036000830152614f1881614edc565b9050919050565b6000614f2a82613484565b9150614f3583613484565b925082821015614f4857614f4761446a565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614f89601d836135c0565b9150614f9482614f53565b602082019050919050565b60006020820190508181036000830152614fb881614f7c565b9050919050565b600081905092915050565b50565b6000614fda600083614fbf565b9150614fe582614fca565b600082019050919050565b6000614ffb82614fcd565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615061603a836135c0565b915061506c82615005565b604082019050919050565b6000602082019050818103600083015261509081615054565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150cd6019836135c0565b91506150d882615097565b602082019050919050565b600060208201905081810360008301526150fc816150c0565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061515f6032836135c0565b915061516a82615103565b604082019050919050565b6000602082019050818103600083015261518e81615152565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151cf82613484565b91506151da83613484565b9250826151ea576151e9615195565b5b828204905092915050565b600061520082613484565b915061520b83613484565b92508261521b5761521a615195565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061524d82615226565b6152578185615231565b93506152678185602086016135d1565b61527081613604565b840191505092915050565b600060808201905061529060008301876136cf565b61529d60208301866136cf565b6152aa6040830185613765565b81810360608301526152bc8184615242565b905095945050505050565b6000815190506152d681613526565b92915050565b6000602082840312156152f2576152f161347a565b5b6000615300848285016152c7565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061533f6020836135c0565b915061534a82615309565b602082019050919050565b6000602082019050818103600083015261536e81615332565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006153ab601c836135c0565b91506153b682615375565b602082019050919050565b600060208201905081810360008301526153da8161539e565b905091905056fea2646970667358221220fed25cca4d4ef7bd72de4834c8024a593376a4f54f78680b5c671eb79fe8c80064736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f6d657461646174612e766565667269656e64732e636f6d2f636f6c6c656374696f6e732f766565636f6e2f746f6b656e732f0000000000000000000000000000000000000000000000000000000000000000000000000006566565436f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025643000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialBaseUri (string): https://metadata.veefriends.com/collections/veecon/tokens/
Arg [1] : contractName (string): VeeCon
Arg [2] : contractSymbol (string): VC

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000000000000000000000000000000000000000003a
Arg [4] : 68747470733a2f2f6d657461646174612e766565667269656e64732e636f6d2f
Arg [5] : 636f6c6c656374696f6e732f766565636f6e2f746f6b656e732f000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 566565436f6e0000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 5643000000000000000000000000000000000000000000000000000000000000


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.