ETH Price: $3,480.61 (+1.82%)
Gas: 4.61 Gwei

Token

THORForce (THORFORCE)
 

Overview

Max Total Supply

67 THORFORCE

Holders

59

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nellybetch.eth
Balance
1 THORFORCE
0x1c03c92dc0b7dfadf1910136eea3b452f0bb56df
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
THORForce

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : THORForce.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

contract THORForce is Ownable, ERC721, ERC721Enumerable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    uint256 public constant MINT_COST = 0.45 ether;
    uint256 public constant VIP_MINT_COST = 0.405 ether;
    uint256 public constant MAX_MINT = 2;
    uint256 public constant MAX_SUPPLY = 260;
    uint256 public constant MINTABLE_MAX_SUPPLY = 222;
    uint256 private _tokenIds;
    uint256 private _whitelistTokenIds = 222;

    address public trophyAddress;
    string public claimedUri;
    string public unclaimedUri;
    string public provenance;
    bool public isMintOpen;
    bool public isClaimOpen;
    bool public isClaimEnded;

    mapping(uint256 => bool) public claimStatus;
    mapping(address => uint256) public mintCount;
    mapping(address => uint256) public whitelist;

    event SetBaseURI(string claimedUri, string unclaimedUri);
    event SetProvenance(string provenance);
    event Minted(address indexed user, uint256 entries);
    event MintByOwner(uint256 entries);
    event ToggleMint();
    event ToggleClaim();
    event ToggleClaimEnded();
    event UpdateTrophyAddress(address indexed newTrophyAddy);
    event Claimed(uint256 tokenId);
    event Whitelisted(address indexed user, uint256 entries);
    event MintWhitelisted(address indexed user, uint256 entries);
    event Withdraw(address indexed owner, uint256 amount);

    constructor(
        string memory _nftName,
        string memory _nftSymbol,
        address _trophyAddress
    ) ERC721(_nftName, _nftSymbol) {
        trophyAddress = _trophyAddress;
    }

    function setBaseURI(
        string calldata _claimedUri,
        string calldata _unclaimedUri
    ) public onlyOwner {
        claimedUri = _claimedUri;
        unclaimedUri = _unclaimedUri;

        emit SetBaseURI(claimedUri, unclaimedUri);
    }

    function setProvenance(string calldata _provenance) public onlyOwner {
        provenance = _provenance;
        emit SetProvenance(_provenance);
    }

    function mint(uint256 numOfTokens) external payable nonReentrant {
        require(isMintOpen, "Mint not started");
        require(numOfTokens <= MAX_MINT, "Mint amount exceeds max mint count.");
        require(
            mintCount[msg.sender] + numOfTokens <= MAX_MINT,
            "Mint amount exceeds max mint count."
        );
        require(
            _tokenIds + numOfTokens <= MINTABLE_MAX_SUPPLY,
            "Max mints reached"
        );

        IERC721 trophyContract = IERC721(trophyAddress);

        bool isVip = trophyContract.balanceOf(msg.sender) >= 2;

        if (msg.sender != owner()) {
            require(
                msg.value == numOfTokens * (isVip ? VIP_MINT_COST : MINT_COST),
                "Incorrect payment"
            );
        }

        mintCount[msg.sender] += numOfTokens;

        for (uint256 i = 0; i < numOfTokens; i++) {
            _tokenIds++;
            _safeMint(msg.sender, _tokenIds);
        }

        emit Minted(msg.sender, numOfTokens);
    }

    function mintWhitelist(uint256 numOfTokens) external nonReentrant {
        require(isMintOpen, "Mint not started");
        require(numOfTokens <= MAX_MINT, "Mint amount exceeds max mint count.");
        require(
            _whitelistTokenIds + numOfTokens <= MAX_SUPPLY,
            "Token amount exceeds max supply"
        );

        require(
            whitelist[msg.sender] >= numOfTokens,
            "Mint amount exceeds whitelisted count."
        );

        whitelist[msg.sender] -= numOfTokens;

        for (uint256 i = 0; i < numOfTokens; i++) {
            _whitelistTokenIds++;
            _safeMint(msg.sender, _whitelistTokenIds);
        }

        emit MintWhitelisted(msg.sender, numOfTokens);
    }

    function mintByOwner(uint256 numOfTokens) external onlyOwner {
        require(
            _whitelistTokenIds + numOfTokens <= MAX_SUPPLY,
            "Max mints reached"
        );

        for (uint256 i = 0; i < numOfTokens; i++) {
            _whitelistTokenIds++;
            _safeMint(msg.sender, _whitelistTokenIds);
        }

        emit MintByOwner(numOfTokens);
    }

    function setWhitelist(
        address[] calldata addresses,
        uint256[] calldata entries
    ) public onlyOwner {
        require(
            addresses.length == entries.length,
            "Addresses and entries are not matching."
        );

        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Cannot be zero address");

            whitelist[addresses[i]] = entries[i];

            emit Whitelisted(addresses[i], entries[i]);
        }
    }

    function claim(uint256 tokenId) external nonReentrant {
        require(ownerOf(tokenId) == msg.sender, "You can only claim your NFT");
        require(!claimStatus[tokenId], "You already claimed");
        require(isClaimOpen, "Claim paused by owner");

        claimStatus[tokenId] = true;

        emit Claimed(tokenId);
    }

    function withdraw() external onlyOwner {
        uint256 proceeds = address(this).balance;
        (bool sent, ) = msg.sender.call{value: proceeds}("");
        require(sent, "Could not send proceeds");

        emit Withdraw(msg.sender, proceeds);
    }

    function toggleMintOpen() public onlyOwner {
        isMintOpen = !isMintOpen;

        emit ToggleMint();
    }

    function toggleClaim() public onlyOwner {
        isClaimOpen = !isClaimOpen;

        emit ToggleClaim();
    }

    function toggleClaimEnded() public onlyOwner {
        isClaimEnded = !isClaimEnded;

        emit ToggleClaimEnded();
    }

    function updateTrophyAddress(address newTrophyAddy) public onlyOwner {
        trophyAddress = newTrophyAddy;

        emit UpdateTrophyAddress(newTrophyAddy);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        bool isTokenValid = tokenId <= _tokenIds ||
            (tokenId > 222 && tokenId <= _whitelistTokenIds);

        require(tokenId > 0, "Token id cannot be less than 1.");
        require(isTokenValid, "Token id is not valid.");

        if (isClaimEnded || claimStatus[tokenId])
            return
                string(
                    abi.encodePacked(claimedUri, tokenId.toString(), ".json")
                );

        return
            string(abi.encodePacked(unclaimedUri, tokenId.toString(), ".json"));
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable) {
        return super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 3 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 4 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

File 7 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 8 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 10 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 15 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 tokenId);

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

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":"_nftName","type":"string"},{"internalType":"string","name":"_nftSymbol","type":"string"},{"internalType":"address","name":"_trophyAddress","type":"address"}],"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":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"entries","type":"uint256"}],"name":"MintByOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"entries","type":"uint256"}],"name":"MintWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"entries","type":"uint256"}],"name":"Minted","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":"claimedUri","type":"string"},{"indexed":false,"internalType":"string","name":"unclaimedUri","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"provenance","type":"string"}],"name":"SetProvenance","type":"event"},{"anonymous":false,"inputs":[],"name":"ToggleClaim","type":"event"},{"anonymous":false,"inputs":[],"name":"ToggleClaimEnded","type":"event"},{"anonymous":false,"inputs":[],"name":"ToggleMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTrophyAddy","type":"address"}],"name":"UpdateTrophyAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"entries","type":"uint256"}],"name":"Whitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTABLE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VIP_MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isClaimEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isClaimOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"mintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"_claimedUri","type":"string"},{"internalType":"string","name":"_unclaimedUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"entries","type":"uint256[]"}],"name":"setWhitelist","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":[],"name":"toggleClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleClaimEnded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trophyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newTrophyAddy","type":"address"}],"name":"updateTrophyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260de600d553480156200001657600080fd5b50604051620061633803806200616383398181016040528101906200003c9190620002e9565b82826200005e62000052620000e460201b60201c565b620000ec60201b60201c565b816001908051906020019062000076929190620001b0565b5080600290805190602001906200008f929190620001b0565b5050506001600b8190555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200052f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001be906200043a565b90600052602060002090601f016020900481019282620001e257600085556200022e565b82601f10620001fd57805160ff19168380011785556200022e565b828001600101855582156200022e579182015b828111156200022d57825182559160200191906001019062000210565b5b5090506200023d919062000241565b5090565b5b808211156200025c57600081600090555060010162000242565b5090565b60006200027762000271846200039a565b62000371565b9050828152602081018484840111156200029057600080fd5b6200029d84828562000404565b509392505050565b600081519050620002b68162000515565b92915050565b600082601f830112620002ce57600080fd5b8151620002e084826020860162000260565b91505092915050565b600080600060608486031215620002ff57600080fd5b600084015167ffffffffffffffff8111156200031a57600080fd5b6200032886828701620002bc565b935050602084015167ffffffffffffffff8111156200034657600080fd5b6200035486828701620002bc565b92505060406200036786828701620002a5565b9150509250925092565b60006200037d62000390565b90506200038b828262000470565b919050565b6000604051905090565b600067ffffffffffffffff821115620003b857620003b7620004d5565b5b620003c38262000504565b9050602081019050919050565b6000620003dd82620003e4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200042457808201518184015260208101905062000407565b8381111562000434576000848401525b50505050565b600060028204905060018216806200045357607f821691505b602082108114156200046a5762000469620004a6565b5b50919050565b6200047b8262000504565b810181811067ffffffffffffffff821117156200049d576200049c620004d5565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200052081620003d0565b81146200052c57600080fd5b50565b615c24806200053f6000396000f3fe60806040526004361061027d5760003560e01c806367986daf1161014f578063aba58100116100c1578063e985e9c51161007a578063e985e9c514610955578063ed9ec88814610992578063f013e0e1146109cf578063f0292a03146109f8578063f2fde38b14610a23578063ffe630b514610a4c5761027d565b8063aba5810014610859578063b721b97214610884578063b88d4fde146108ad578063c662e481146108d6578063c87b56dd14610901578063d11297451461093e5761027d565b80638da5cb5b116101135780638da5cb5b1461075657806395d89b4114610781578063987a6187146107ac5780639b19251a146107d7578063a0712d6814610814578063a22cb465146108305761027d565b806367986daf1461068357806370a082311461069a578063715018a6146106d757806372712bb8146106ee57806383b14818146107195761027d565b80632a944b19116101f357806342842e0e116101ac57806342842e0e146105775780634618163e146105a05780634f6ccce7146105c957806351840b5a146106065780636352211e1461061d5780636790a9de1461065a5761027d565b80632a944b191461047b5780632f745c59146104a457806332cb6b0c146104e157806333a4ddcb1461050c578063379607f5146105375780633ccfd60b146105605761027d565b80630f7309e8116102455780630f7309e81461037b57806318160ddd146103a657806319908016146103d157806319ec8700146103fc57806323b872dd1461042757806324fd2652146104505761027d565b80630181deb31461028257806301ffc9a7146102ad57806306fdde03146102ea578063081812fc14610315578063095ea7b314610352575b600080fd5b34801561028e57600080fd5b50610297610a75565b6040516102a49190614f9d565b60405180910390f35b3480156102b957600080fd5b506102d460048036038101906102cf919061425a565b610a7a565b6040516102e19190614b05565b60405180910390f35b3480156102f657600080fd5b506102ff610a8c565b60405161030c9190614b44565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190614366565b610b1e565b6040516103499190614a9e565b60405180910390f35b34801561035e57600080fd5b50610379600480360381019061037491906141a9565b610ba3565b005b34801561038757600080fd5b50610390610cbb565b60405161039d9190614b44565b60405180910390f35b3480156103b257600080fd5b506103bb610d49565b6040516103c89190614f9d565b60405180910390f35b3480156103dd57600080fd5b506103e6610d56565b6040516103f39190614b05565b60405180910390f35b34801561040857600080fd5b50610411610d69565b60405161041e9190614b44565b60405180910390f35b34801561043357600080fd5b5061044e600480360381019061044991906140a3565b610df7565b005b34801561045c57600080fd5b50610465610e57565b6040516104729190614b05565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190614366565b610e6a565b005b3480156104b057600080fd5b506104cb60048036038101906104c691906141a9565b610fb5565b6040516104d89190614f9d565b60405180910390f35b3480156104ed57600080fd5b506104f661105a565b6040516105039190614f9d565b60405180910390f35b34801561051857600080fd5b50610521611060565b60405161052e9190614b44565b60405180910390f35b34801561054357600080fd5b5061055e60048036038101906105599190614366565b6110ee565b005b34801561056c57600080fd5b506105756112d0565b005b34801561058357600080fd5b5061059e600480360381019061059991906140a3565b61144f565b005b3480156105ac57600080fd5b506105c760048036038101906105c29190614366565b61146f565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190614366565b611716565b6040516105fd9190614f9d565b60405180910390f35b34801561061257600080fd5b5061061b6117ad565b005b34801561062957600080fd5b50610644600480360381019061063f9190614366565b611881565b6040516106519190614a9e565b60405180910390f35b34801561066657600080fd5b50610681600480360381019061067c91906142f1565b611933565b005b34801561068f57600080fd5b50610698611a14565b005b3480156106a657600080fd5b506106c160048036038101906106bc919061403e565b611ae8565b6040516106ce9190614f9d565b60405180910390f35b3480156106e357600080fd5b506106ec611ba0565b005b3480156106fa57600080fd5b50610703611c28565b6040516107109190614a9e565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b9190614366565b611c4e565b60405161074d9190614b05565b60405180910390f35b34801561076257600080fd5b5061076b611c6e565b6040516107789190614a9e565b60405180910390f35b34801561078d57600080fd5b50610796611c97565b6040516107a39190614b44565b60405180910390f35b3480156107b857600080fd5b506107c1611d29565b6040516107ce9190614b05565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f9919061403e565b611d3c565b60405161080b9190614f9d565b60405180910390f35b61082e60048036038101906108299190614366565b611d54565b005b34801561083c57600080fd5b506108576004803603810190610852919061416d565b612164565b005b34801561086557600080fd5b5061086e61217a565b60405161087b9190614f9d565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a6919061403e565b612186565b005b3480156108b957600080fd5b506108d460048036038101906108cf91906140f2565b612289565b005b3480156108e257600080fd5b506108eb6122eb565b6040516108f89190614f9d565b60405180910390f35b34801561090d57600080fd5b5061092860048036038101906109239190614366565b6122f7565b6040516109359190614b44565b60405180910390f35b34801561094a57600080fd5b50610953612443565b005b34801561096157600080fd5b5061097c60048036038101906109779190614067565b612517565b6040516109899190614b05565b60405180910390f35b34801561099e57600080fd5b506109b960048036038101906109b4919061403e565b6125ab565b6040516109c69190614f9d565b60405180910390f35b3480156109db57600080fd5b506109f660048036038101906109f191906141e5565b6125c3565b005b348015610a0457600080fd5b50610a0d612916565b604051610a1a9190614f9d565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a45919061403e565b61291b565b005b348015610a5857600080fd5b50610a736004803603810190610a6e91906142ac565b612a13565b005b60de81565b6000610a8582612ade565b9050919050565b606060018054610a9b9061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac79061523c565b8015610b145780601f10610ae957610100808354040283529160200191610b14565b820191906000526020600020905b815481529060010190602001808311610af757829003601f168201915b5050505050905090565b6000610b2982612b58565b610b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5f90614e5d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bae82611881565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1690614ebd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3e612bc4565b73ffffffffffffffffffffffffffffffffffffffff161480610c6d5750610c6c81610c67612bc4565b612517565b5b610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390614dbd565b60405180910390fd5b610cb68383612bcc565b505050565b60118054610cc89061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf49061523c565b8015610d415780601f10610d1657610100808354040283529160200191610d41565b820191906000526020600020905b815481529060010190602001808311610d2457829003601f168201915b505050505081565b6000600980549050905090565b601260009054906101000a900460ff1681565b600f8054610d769061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054610da29061523c565b8015610def5780601f10610dc457610100808354040283529160200191610def565b820191906000526020600020905b815481529060010190602001808311610dd257829003601f168201915b505050505081565b610e08610e02612bc4565b82612c85565b610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614f3d565b60405180910390fd5b610e52838383612d63565b505050565b601260019054906101000a900460ff1681565b610e72612bc4565b73ffffffffffffffffffffffffffffffffffffffff16610e90611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90614e7d565b60405180910390fd5b61010481600d54610ef79190615071565b1115610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90614b9d565b60405180910390fd5b60005b81811015610f7a57600d6000815480929190610f569061529f565b9190505550610f6733600d54612fbf565b8080610f729061529f565b915050610f3b565b507fc18220f800d985154a1c8620b212986c010bf47f2f4f9e38f102650f345fa4f381604051610faa9190614f9d565b60405180910390a150565b6000610fc083611ae8565b8210611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890614bfd565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61010481565b6010805461106d9061523c565b80601f01602080910402602001604051908101604052809291908181526020018280546110999061523c565b80156110e65780601f106110bb576101008083540402835291602001916110e6565b820191906000526020600020905b8154815290600101906020018083116110c957829003601f168201915b505050505081565b6002600b541415611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90614f7d565b60405180910390fd5b6002600b819055503373ffffffffffffffffffffffffffffffffffffffff1661115c82611881565b73ffffffffffffffffffffffffffffffffffffffff16146111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a990614edd565b60405180910390fd5b6013600082815260200190815260200160002060009054906101000a900460ff1615611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614cbd565b60405180910390fd5b601260019054906101000a900460ff16611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990614efd565b60405180910390fd5b60016013600083815260200190815260200160002060006101000a81548160ff0219169083151502179055507f7a355715549cfe7c1cba26304350343fbddc4b4f72d3ce3e7c27117dd20b5cb8816040516112bd9190614f9d565b60405180910390a16001600b8190555050565b6112d8612bc4565b73ffffffffffffffffffffffffffffffffffffffff166112f6611c6e565b73ffffffffffffffffffffffffffffffffffffffff161461134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614e7d565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff168260405161137790614a89565b60006040518083038185875af1925050503d80600081146113b4576040519150601f19603f3d011682016040523d82523d6000602084013e6113b9565b606091505b50509050806113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f490614c5d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516114439190614f9d565b60405180910390a25050565b61146a83838360405180602001604052806000815250612289565b505050565b6002600b5414156114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90614f7d565b60405180910390fd5b6002600b81905550601260009054906101000a900460ff1661150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390614d1d565b60405180910390fd5b6002811115611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790614c9d565b60405180910390fd5b61010481600d546115619190615071565b11156115a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159990614d5d565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161b90614bdd565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116739190615152565b9250508190555060005b818110156116bc57600d60008154809291906116989061529f565b91905055506116a933600d54612fbf565b80806116b49061529f565b91505061167d565b503373ffffffffffffffffffffffffffffffffffffffff167f526e9c1d567d6ec3b866fd06eec87d1bb095c635be90c8c6dff2c889526baae6826040516117039190614f9d565b60405180910390a26001600b8190555050565b6000611720610d49565b8210611761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175890614f5d565b60405180910390fd5b6009828154811061179b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6117b5612bc4565b73ffffffffffffffffffffffffffffffffffffffff166117d3611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614611829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182090614e7d565b60405180910390fd5b601260029054906101000a900460ff1615601260026101000a81548160ff0219169083151502179055507f8e11ea1abd1e598b9a8c3886040d5cc01006d90cb82f0b7f6b844d08b60db00160405160405180910390a1565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561192a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192190614dfd565b60405180910390fd5b80915050919050565b61193b612bc4565b73ffffffffffffffffffffffffffffffffffffffff16611959611c6e565b73ffffffffffffffffffffffffffffffffffffffff16146119af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a690614e7d565b60405180910390fd5b8383600f91906119c0929190613dd7565b508181601091906119d2929190613dd7565b507fc73341c723fd9197b17090f0c077cf2bbe4d89f2f7d71969b3a7e5c50d570a38600f6010604051611a06929190614b66565b60405180910390a150505050565b611a1c612bc4565b73ffffffffffffffffffffffffffffffffffffffff16611a3a611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8790614e7d565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff0219169083151502179055507fc4f41b181bd14f2c77ded083df345172f3c45cd93b962f20e1b6d026c5c6a28560405160405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5090614ddd565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ba8612bc4565b73ffffffffffffffffffffffffffffffffffffffff16611bc6611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1390614e7d565b60405180910390fd5b611c266000612fdd565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60136020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611ca69061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd29061523c565b8015611d1f5780601f10611cf457610100808354040283529160200191611d1f565b820191906000526020600020905b815481529060010190602001808311611d0257829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b60156020528060005260406000206000915090505481565b6002600b541415611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190614f7d565b60405180910390fd5b6002600b81905550601260009054906101000a900460ff16611df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de890614d1d565b60405180910390fd5b6002811115611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c90614c9d565b60405180910390fd5b600281601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e829190615071565b1115611ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eba90614c9d565b60405180910390fd5b60de81600c54611ed39190615071565b1115611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b90614b9d565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060028273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611f789190614a9e565b60206040518083038186803b158015611f9057600080fd5b505afa158015611fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc8919061438f565b10159050611fd4611c6e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461207057806120195767063eb89da4ed0000612023565b67059ed95aae0880005b8361202e91906150f8565b341461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690614bbd565b60405180910390fd5b5b82601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120bf9190615071565b9250508190555060005b8381101561210857600c60008154809291906120e49061529f565b91905055506120f533600c54612fbf565b80806121009061529f565b9150506120c9565b503373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8460405161214f9190614f9d565b60405180910390a250506001600b8190555050565b61217661216f612bc4565b83836130a1565b5050565b67059ed95aae08800081565b61218e612bc4565b73ffffffffffffffffffffffffffffffffffffffff166121ac611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f990614e7d565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f546d00d265ca7c243ac5923029eb45d9c50ae9abd0e3dda14a8c899d8002f6df60405160405180910390a250565b61229a612294612bc4565b83612c85565b6122d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d090614f3d565b60405180910390fd5b6122e58484848461320e565b50505050565b67063eb89da4ed000081565b60606000600c548311158061231a575060de831180156123195750600d548311155b5b90506000831161235f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235690614f1d565b60405180910390fd5b8061239f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239690614e1d565b60405180910390fd5b601260029054906101000a900460ff16806123d757506013600084815260200190815260200160002060009054906101000a900460ff165b1561240f57600f6123e78461326a565b6040516020016123f8929190614a5a565b60405160208183030381529060405291505061243e565b601061241a8461326a565b60405160200161242b929190614a5a565b6040516020818303038152906040529150505b919050565b61244b612bc4565b73ffffffffffffffffffffffffffffffffffffffff16612469611c6e565b73ffffffffffffffffffffffffffffffffffffffff16146124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b690614e7d565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff0219169083151502179055507f6c0ee6bf92ec4a77dcc684b3c6c2748c3f8edb3d86c810030414395e689f308360405160405180910390a1565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60146020528060005260406000206000915090505481565b6125cb612bc4565b73ffffffffffffffffffffffffffffffffffffffff166125e9611c6e565b73ffffffffffffffffffffffffffffffffffffffff161461263f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263690614e7d565b60405180910390fd5b818190508484905014612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90614d7d565b60405180910390fd5b60005b8484905081101561290f57600073ffffffffffffffffffffffffffffffffffffffff168585838181106126e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906126fb919061403e565b73ffffffffffffffffffffffffffffffffffffffff161415612752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274990614d9d565b60405180910390fd5b82828281811061278b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135601560008787858181106127cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906127e4919061403e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084848281811061285b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190612870919061403e565b73ffffffffffffffffffffffffffffffffffffffff167f6ea640312e182de387819fbeb13be00db3171a445412852248559054871c41998484848181106128e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040516128f49190614f9d565b60405180910390a280806129079061529f565b91505061268a565b5050505050565b600281565b612923612bc4565b73ffffffffffffffffffffffffffffffffffffffff16612941611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614612997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298e90614e7d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fe90614c3d565b60405180910390fd5b612a1081612fdd565b50565b612a1b612bc4565b73ffffffffffffffffffffffffffffffffffffffff16612a39611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614612a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8690614e7d565b60405180910390fd5b818160119190612aa0929190613dd7565b507f9a15466c5caef68c45172698c3e94fec7de42c88676fa00817bde701c8df89038282604051612ad2929190614b20565b60405180910390a15050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b515750612b5082613417565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c3f83611881565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c9082612b58565b612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc690614d3d565b60405180910390fd5b6000612cda83611881565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d4957508373ffffffffffffffffffffffffffffffffffffffff16612d3184610b1e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d5a5750612d598185612517565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d8382611881565b73ffffffffffffffffffffffffffffffffffffffff1614612dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd090614e9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4090614cdd565b60405180910390fd5b612e548383836134f9565b612e5f600082612bcc565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eaf9190615152565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f069190615071565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612fd9828260405180602001604052806000815250613509565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310790614cfd565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132019190614b05565b60405180910390a3505050565b613219848484612d63565b61322584848484613564565b613264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325b90614c1d565b60405180910390fd5b50505050565b606060008214156132b2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613412565b600082905060005b600082146132e45780806132cd9061529f565b915050600a826132dd91906150c7565b91506132ba565b60008167ffffffffffffffff811115613326577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133585781602001600182028036833780820191505090505b5090505b6000851461340b576001826133719190615152565b9150600a8561338091906152e8565b603061338c9190615071565b60f81b8183815181106133c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561340491906150c7565b945061335c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134f257506134f1826136fb565b5b9050919050565b613504838383613765565b505050565b6135138383613879565b6135206000848484613564565b61355f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355690614c1d565b60405180910390fd5b505050565b60006135858473ffffffffffffffffffffffffffffffffffffffff16613a47565b156136ee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135ae612bc4565b8786866040518563ffffffff1660e01b81526004016135d09493929190614ab9565b602060405180830381600087803b1580156135ea57600080fd5b505af192505050801561361b57506040513d601f19601f820116820180604052508101906136189190614283565b60015b61369e573d806000811461364b576040519150601f19603f3d011682016040523d82523d6000602084013e613650565b606091505b50600081511415613696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368d90614c1d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136f3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613770838383613a5a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137b3576137ae81613a5f565b6137f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137f1576137f08382613aa8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138355761383081613c15565b613874565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613873576138728282613d58565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e090614e3d565b60405180910390fd5b6138f281612b58565b15613932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392990614c7d565b60405180910390fd5b61393e600083836134f9565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461398e9190615071565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ab584611ae8565b613abf9190615152565b9050600060086000848152602001908152602001600020549050818114613ba4576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613c299190615152565b90506000600a6000848152602001908152602001600020549050600060098381548110613c7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613cc7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613d3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d6383611ae8565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613de39061523c565b90600052602060002090601f016020900481019282613e055760008555613e4c565b82601f10613e1e57803560ff1916838001178555613e4c565b82800160010185558215613e4c579182015b82811115613e4b578235825591602001919060010190613e30565b5b509050613e599190613e5d565b5090565b5b80821115613e76576000816000905550600101613e5e565b5090565b6000613e8d613e8884614fdd565b614fb8565b905082815260208101848484011115613ea557600080fd5b613eb08482856151fa565b509392505050565b600081359050613ec781615b92565b92915050565b60008083601f840112613edf57600080fd5b8235905067ffffffffffffffff811115613ef857600080fd5b602083019150836020820283011115613f1057600080fd5b9250929050565b60008083601f840112613f2957600080fd5b8235905067ffffffffffffffff811115613f4257600080fd5b602083019150836020820283011115613f5a57600080fd5b9250929050565b600081359050613f7081615ba9565b92915050565b600081359050613f8581615bc0565b92915050565b600081519050613f9a81615bc0565b92915050565b600082601f830112613fb157600080fd5b8135613fc1848260208601613e7a565b91505092915050565b60008083601f840112613fdc57600080fd5b8235905067ffffffffffffffff811115613ff557600080fd5b60208301915083600182028301111561400d57600080fd5b9250929050565b60008135905061402381615bd7565b92915050565b60008151905061403881615bd7565b92915050565b60006020828403121561405057600080fd5b600061405e84828501613eb8565b91505092915050565b6000806040838503121561407a57600080fd5b600061408885828601613eb8565b925050602061409985828601613eb8565b9150509250929050565b6000806000606084860312156140b857600080fd5b60006140c686828701613eb8565b93505060206140d786828701613eb8565b92505060406140e886828701614014565b9150509250925092565b6000806000806080858703121561410857600080fd5b600061411687828801613eb8565b945050602061412787828801613eb8565b935050604061413887828801614014565b925050606085013567ffffffffffffffff81111561415557600080fd5b61416187828801613fa0565b91505092959194509250565b6000806040838503121561418057600080fd5b600061418e85828601613eb8565b925050602061419f85828601613f61565b9150509250929050565b600080604083850312156141bc57600080fd5b60006141ca85828601613eb8565b92505060206141db85828601614014565b9150509250929050565b600080600080604085870312156141fb57600080fd5b600085013567ffffffffffffffff81111561421557600080fd5b61422187828801613ecd565b9450945050602085013567ffffffffffffffff81111561424057600080fd5b61424c87828801613f17565b925092505092959194509250565b60006020828403121561426c57600080fd5b600061427a84828501613f76565b91505092915050565b60006020828403121561429557600080fd5b60006142a384828501613f8b565b91505092915050565b600080602083850312156142bf57600080fd5b600083013567ffffffffffffffff8111156142d957600080fd5b6142e585828601613fca565b92509250509250929050565b6000806000806040858703121561430757600080fd5b600085013567ffffffffffffffff81111561432157600080fd5b61432d87828801613fca565b9450945050602085013567ffffffffffffffff81111561434c57600080fd5b61435887828801613fca565b925092505092959194509250565b60006020828403121561437857600080fd5b600061438684828501614014565b91505092915050565b6000602082840312156143a157600080fd5b60006143af84828501614029565b91505092915050565b6143c181615186565b82525050565b6143d081615198565b82525050565b60006143e182615023565b6143eb8185615039565b93506143fb818560208601615209565b614404816153d5565b840191505092915050565b600061441b8385615055565b93506144288385846151fa565b614431836153d5565b840190509392505050565b60006144478261502e565b6144518185615055565b9350614461818560208601615209565b61446a816153d5565b840191505092915050565b60006144808261502e565b61448a8185615066565b935061449a818560208601615209565b80840191505092915050565b600081546144b38161523c565b6144bd8186615055565b945060018216600081146144d857600181146144ea5761451d565b60ff198316865260208601935061451d565b6144f38561500e565b60005b83811015614515578154818901526001820191506020810190506144f6565b808801955050505b50505092915050565b600081546145338161523c565b61453d8186615066565b9450600182166000811461455857600181146145695761459c565b60ff1983168652818601935061459c565b6145728561500e565b60005b8381101561459457815481890152600182019150602081019050614575565b838801955050505b50505092915050565b60006145b2601183615055565b91506145bd826153e6565b602082019050919050565b60006145d5601183615055565b91506145e08261540f565b602082019050919050565b60006145f8602683615055565b915061460382615438565b604082019050919050565b600061461b602b83615055565b915061462682615487565b604082019050919050565b600061463e603283615055565b9150614649826154d6565b604082019050919050565b6000614661602683615055565b915061466c82615525565b604082019050919050565b6000614684601783615055565b915061468f82615574565b602082019050919050565b60006146a7601c83615055565b91506146b28261559d565b602082019050919050565b60006146ca602383615055565b91506146d5826155c6565b604082019050919050565b60006146ed601383615055565b91506146f882615615565b602082019050919050565b6000614710602483615055565b915061471b8261563e565b604082019050919050565b6000614733601983615055565b915061473e8261568d565b602082019050919050565b6000614756601083615055565b9150614761826156b6565b602082019050919050565b6000614779602c83615055565b9150614784826156df565b604082019050919050565b600061479c601f83615055565b91506147a78261572e565b602082019050919050565b60006147bf602783615055565b91506147ca82615757565b604082019050919050565b60006147e2601683615055565b91506147ed826157a6565b602082019050919050565b6000614805603883615055565b9150614810826157cf565b604082019050919050565b6000614828602a83615055565b91506148338261581e565b604082019050919050565b600061484b602983615055565b91506148568261586d565b604082019050919050565b600061486e601683615055565b9150614879826158bc565b602082019050919050565b6000614891602083615055565b915061489c826158e5565b602082019050919050565b60006148b4602c83615055565b91506148bf8261590e565b604082019050919050565b60006148d7600583615066565b91506148e28261595d565b600582019050919050565b60006148fa602083615055565b915061490582615986565b602082019050919050565b600061491d602983615055565b9150614928826159af565b604082019050919050565b6000614940602183615055565b915061494b826159fe565b604082019050919050565b6000614963601b83615055565b915061496e82615a4d565b602082019050919050565b6000614986601583615055565b915061499182615a76565b602082019050919050565b60006149a9601f83615055565b91506149b482615a9f565b602082019050919050565b60006149cc60008361504a565b91506149d782615ac8565b600082019050919050565b60006149ef603183615055565b91506149fa82615acb565b604082019050919050565b6000614a12602c83615055565b9150614a1d82615b1a565b604082019050919050565b6000614a35601f83615055565b9150614a4082615b69565b602082019050919050565b614a54816151f0565b82525050565b6000614a668285614526565b9150614a728284614475565b9150614a7d826148ca565b91508190509392505050565b6000614a94826149bf565b9150819050919050565b6000602082019050614ab360008301846143b8565b92915050565b6000608082019050614ace60008301876143b8565b614adb60208301866143b8565b614ae86040830185614a4b565b8181036060830152614afa81846143d6565b905095945050505050565b6000602082019050614b1a60008301846143c7565b92915050565b60006020820190508181036000830152614b3b81848661440f565b90509392505050565b60006020820190508181036000830152614b5e818461443c565b905092915050565b60006040820190508181036000830152614b8081856144a6565b90508181036020830152614b9481846144a6565b90509392505050565b60006020820190508181036000830152614bb6816145a5565b9050919050565b60006020820190508181036000830152614bd6816145c8565b9050919050565b60006020820190508181036000830152614bf6816145eb565b9050919050565b60006020820190508181036000830152614c168161460e565b9050919050565b60006020820190508181036000830152614c3681614631565b9050919050565b60006020820190508181036000830152614c5681614654565b9050919050565b60006020820190508181036000830152614c7681614677565b9050919050565b60006020820190508181036000830152614c968161469a565b9050919050565b60006020820190508181036000830152614cb6816146bd565b9050919050565b60006020820190508181036000830152614cd6816146e0565b9050919050565b60006020820190508181036000830152614cf681614703565b9050919050565b60006020820190508181036000830152614d1681614726565b9050919050565b60006020820190508181036000830152614d3681614749565b9050919050565b60006020820190508181036000830152614d568161476c565b9050919050565b60006020820190508181036000830152614d768161478f565b9050919050565b60006020820190508181036000830152614d96816147b2565b9050919050565b60006020820190508181036000830152614db6816147d5565b9050919050565b60006020820190508181036000830152614dd6816147f8565b9050919050565b60006020820190508181036000830152614df68161481b565b9050919050565b60006020820190508181036000830152614e168161483e565b9050919050565b60006020820190508181036000830152614e3681614861565b9050919050565b60006020820190508181036000830152614e5681614884565b9050919050565b60006020820190508181036000830152614e76816148a7565b9050919050565b60006020820190508181036000830152614e96816148ed565b9050919050565b60006020820190508181036000830152614eb681614910565b9050919050565b60006020820190508181036000830152614ed681614933565b9050919050565b60006020820190508181036000830152614ef681614956565b9050919050565b60006020820190508181036000830152614f1681614979565b9050919050565b60006020820190508181036000830152614f368161499c565b9050919050565b60006020820190508181036000830152614f56816149e2565b9050919050565b60006020820190508181036000830152614f7681614a05565b9050919050565b60006020820190508181036000830152614f9681614a28565b9050919050565b6000602082019050614fb26000830184614a4b565b92915050565b6000614fc2614fd3565b9050614fce828261526e565b919050565b6000604051905090565b600067ffffffffffffffff821115614ff857614ff76153a6565b5b615001826153d5565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061507c826151f0565b9150615087836151f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150bc576150bb615319565b5b828201905092915050565b60006150d2826151f0565b91506150dd836151f0565b9250826150ed576150ec615348565b5b828204905092915050565b6000615103826151f0565b915061510e836151f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514757615146615319565b5b828202905092915050565b600061515d826151f0565b9150615168836151f0565b92508282101561517b5761517a615319565b5b828203905092915050565b6000615191826151d0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561522757808201518184015260208101905061520c565b83811115615236576000848401525b50505050565b6000600282049050600182168061525457607f821691505b6020821081141561526857615267615377565b5b50919050565b615277826153d5565b810181811067ffffffffffffffff82111715615296576152956153a6565b5b80604052505050565b60006152aa826151f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152dd576152dc615319565b5b600182019050919050565b60006152f3826151f0565b91506152fe836151f0565b92508261530e5761530d615348565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6178206d696e74732072656163686564000000000000000000000000000000600082015250565b7f496e636f7272656374207061796d656e74000000000000000000000000000000600082015250565b7f4d696e7420616d6f756e7420657863656564732077686974656c69737465642060008201527f636f756e742e0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f756c64206e6f742073656e642070726f6365656473000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d696e7420616d6f756e742065786365656473206d6178206d696e7420636f7560008201527f6e742e0000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520616c726561647920636c61696d656400000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e74206e6f74207374617274656400000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e20616d6f756e742065786365656473206d617820737570706c7900600082015250565b7f41646472657373657320616e6420656e747269657320617265206e6f74206d6160008201527f746368696e672e00000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206265207a65726f206164647265737300000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206964206973206e6f742076616c69642e00000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e206f6e6c7920636c61696d20796f7572204e46540000000000600082015250565b7f436c61696d20706175736564206279206f776e65720000000000000000000000600082015250565b7f546f6b656e2069642063616e6e6f74206265206c657373207468616e20312e00600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615b9b81615186565b8114615ba657600080fd5b50565b615bb281615198565b8114615bbd57600080fd5b50565b615bc9816151a4565b8114615bd457600080fd5b50565b615be0816151f0565b8114615beb57600080fd5b5056fea2646970667358221220d768ecb0998c3f52df79c6b717854d541261d83cef0a1570b8808b0801912aa964736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d09828e274d7932a2414bdeb1faa3320fe019cd7000000000000000000000000000000000000000000000000000000000000000954484f52466f7263650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000954484f52464f5243450000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061027d5760003560e01c806367986daf1161014f578063aba58100116100c1578063e985e9c51161007a578063e985e9c514610955578063ed9ec88814610992578063f013e0e1146109cf578063f0292a03146109f8578063f2fde38b14610a23578063ffe630b514610a4c5761027d565b8063aba5810014610859578063b721b97214610884578063b88d4fde146108ad578063c662e481146108d6578063c87b56dd14610901578063d11297451461093e5761027d565b80638da5cb5b116101135780638da5cb5b1461075657806395d89b4114610781578063987a6187146107ac5780639b19251a146107d7578063a0712d6814610814578063a22cb465146108305761027d565b806367986daf1461068357806370a082311461069a578063715018a6146106d757806372712bb8146106ee57806383b14818146107195761027d565b80632a944b19116101f357806342842e0e116101ac57806342842e0e146105775780634618163e146105a05780634f6ccce7146105c957806351840b5a146106065780636352211e1461061d5780636790a9de1461065a5761027d565b80632a944b191461047b5780632f745c59146104a457806332cb6b0c146104e157806333a4ddcb1461050c578063379607f5146105375780633ccfd60b146105605761027d565b80630f7309e8116102455780630f7309e81461037b57806318160ddd146103a657806319908016146103d157806319ec8700146103fc57806323b872dd1461042757806324fd2652146104505761027d565b80630181deb31461028257806301ffc9a7146102ad57806306fdde03146102ea578063081812fc14610315578063095ea7b314610352575b600080fd5b34801561028e57600080fd5b50610297610a75565b6040516102a49190614f9d565b60405180910390f35b3480156102b957600080fd5b506102d460048036038101906102cf919061425a565b610a7a565b6040516102e19190614b05565b60405180910390f35b3480156102f657600080fd5b506102ff610a8c565b60405161030c9190614b44565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190614366565b610b1e565b6040516103499190614a9e565b60405180910390f35b34801561035e57600080fd5b50610379600480360381019061037491906141a9565b610ba3565b005b34801561038757600080fd5b50610390610cbb565b60405161039d9190614b44565b60405180910390f35b3480156103b257600080fd5b506103bb610d49565b6040516103c89190614f9d565b60405180910390f35b3480156103dd57600080fd5b506103e6610d56565b6040516103f39190614b05565b60405180910390f35b34801561040857600080fd5b50610411610d69565b60405161041e9190614b44565b60405180910390f35b34801561043357600080fd5b5061044e600480360381019061044991906140a3565b610df7565b005b34801561045c57600080fd5b50610465610e57565b6040516104729190614b05565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190614366565b610e6a565b005b3480156104b057600080fd5b506104cb60048036038101906104c691906141a9565b610fb5565b6040516104d89190614f9d565b60405180910390f35b3480156104ed57600080fd5b506104f661105a565b6040516105039190614f9d565b60405180910390f35b34801561051857600080fd5b50610521611060565b60405161052e9190614b44565b60405180910390f35b34801561054357600080fd5b5061055e60048036038101906105599190614366565b6110ee565b005b34801561056c57600080fd5b506105756112d0565b005b34801561058357600080fd5b5061059e600480360381019061059991906140a3565b61144f565b005b3480156105ac57600080fd5b506105c760048036038101906105c29190614366565b61146f565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190614366565b611716565b6040516105fd9190614f9d565b60405180910390f35b34801561061257600080fd5b5061061b6117ad565b005b34801561062957600080fd5b50610644600480360381019061063f9190614366565b611881565b6040516106519190614a9e565b60405180910390f35b34801561066657600080fd5b50610681600480360381019061067c91906142f1565b611933565b005b34801561068f57600080fd5b50610698611a14565b005b3480156106a657600080fd5b506106c160048036038101906106bc919061403e565b611ae8565b6040516106ce9190614f9d565b60405180910390f35b3480156106e357600080fd5b506106ec611ba0565b005b3480156106fa57600080fd5b50610703611c28565b6040516107109190614a9e565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b9190614366565b611c4e565b60405161074d9190614b05565b60405180910390f35b34801561076257600080fd5b5061076b611c6e565b6040516107789190614a9e565b60405180910390f35b34801561078d57600080fd5b50610796611c97565b6040516107a39190614b44565b60405180910390f35b3480156107b857600080fd5b506107c1611d29565b6040516107ce9190614b05565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f9919061403e565b611d3c565b60405161080b9190614f9d565b60405180910390f35b61082e60048036038101906108299190614366565b611d54565b005b34801561083c57600080fd5b506108576004803603810190610852919061416d565b612164565b005b34801561086557600080fd5b5061086e61217a565b60405161087b9190614f9d565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a6919061403e565b612186565b005b3480156108b957600080fd5b506108d460048036038101906108cf91906140f2565b612289565b005b3480156108e257600080fd5b506108eb6122eb565b6040516108f89190614f9d565b60405180910390f35b34801561090d57600080fd5b5061092860048036038101906109239190614366565b6122f7565b6040516109359190614b44565b60405180910390f35b34801561094a57600080fd5b50610953612443565b005b34801561096157600080fd5b5061097c60048036038101906109779190614067565b612517565b6040516109899190614b05565b60405180910390f35b34801561099e57600080fd5b506109b960048036038101906109b4919061403e565b6125ab565b6040516109c69190614f9d565b60405180910390f35b3480156109db57600080fd5b506109f660048036038101906109f191906141e5565b6125c3565b005b348015610a0457600080fd5b50610a0d612916565b604051610a1a9190614f9d565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a45919061403e565b61291b565b005b348015610a5857600080fd5b50610a736004803603810190610a6e91906142ac565b612a13565b005b60de81565b6000610a8582612ade565b9050919050565b606060018054610a9b9061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac79061523c565b8015610b145780601f10610ae957610100808354040283529160200191610b14565b820191906000526020600020905b815481529060010190602001808311610af757829003601f168201915b5050505050905090565b6000610b2982612b58565b610b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5f90614e5d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bae82611881565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1690614ebd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3e612bc4565b73ffffffffffffffffffffffffffffffffffffffff161480610c6d5750610c6c81610c67612bc4565b612517565b5b610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390614dbd565b60405180910390fd5b610cb68383612bcc565b505050565b60118054610cc89061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf49061523c565b8015610d415780601f10610d1657610100808354040283529160200191610d41565b820191906000526020600020905b815481529060010190602001808311610d2457829003601f168201915b505050505081565b6000600980549050905090565b601260009054906101000a900460ff1681565b600f8054610d769061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054610da29061523c565b8015610def5780601f10610dc457610100808354040283529160200191610def565b820191906000526020600020905b815481529060010190602001808311610dd257829003601f168201915b505050505081565b610e08610e02612bc4565b82612c85565b610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614f3d565b60405180910390fd5b610e52838383612d63565b505050565b601260019054906101000a900460ff1681565b610e72612bc4565b73ffffffffffffffffffffffffffffffffffffffff16610e90611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90614e7d565b60405180910390fd5b61010481600d54610ef79190615071565b1115610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90614b9d565b60405180910390fd5b60005b81811015610f7a57600d6000815480929190610f569061529f565b9190505550610f6733600d54612fbf565b8080610f729061529f565b915050610f3b565b507fc18220f800d985154a1c8620b212986c010bf47f2f4f9e38f102650f345fa4f381604051610faa9190614f9d565b60405180910390a150565b6000610fc083611ae8565b8210611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890614bfd565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61010481565b6010805461106d9061523c565b80601f01602080910402602001604051908101604052809291908181526020018280546110999061523c565b80156110e65780601f106110bb576101008083540402835291602001916110e6565b820191906000526020600020905b8154815290600101906020018083116110c957829003601f168201915b505050505081565b6002600b541415611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90614f7d565b60405180910390fd5b6002600b819055503373ffffffffffffffffffffffffffffffffffffffff1661115c82611881565b73ffffffffffffffffffffffffffffffffffffffff16146111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a990614edd565b60405180910390fd5b6013600082815260200190815260200160002060009054906101000a900460ff1615611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614cbd565b60405180910390fd5b601260019054906101000a900460ff16611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990614efd565b60405180910390fd5b60016013600083815260200190815260200160002060006101000a81548160ff0219169083151502179055507f7a355715549cfe7c1cba26304350343fbddc4b4f72d3ce3e7c27117dd20b5cb8816040516112bd9190614f9d565b60405180910390a16001600b8190555050565b6112d8612bc4565b73ffffffffffffffffffffffffffffffffffffffff166112f6611c6e565b73ffffffffffffffffffffffffffffffffffffffff161461134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614e7d565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff168260405161137790614a89565b60006040518083038185875af1925050503d80600081146113b4576040519150601f19603f3d011682016040523d82523d6000602084013e6113b9565b606091505b50509050806113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f490614c5d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516114439190614f9d565b60405180910390a25050565b61146a83838360405180602001604052806000815250612289565b505050565b6002600b5414156114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90614f7d565b60405180910390fd5b6002600b81905550601260009054906101000a900460ff1661150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390614d1d565b60405180910390fd5b6002811115611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790614c9d565b60405180910390fd5b61010481600d546115619190615071565b11156115a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159990614d5d565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161b90614bdd565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116739190615152565b9250508190555060005b818110156116bc57600d60008154809291906116989061529f565b91905055506116a933600d54612fbf565b80806116b49061529f565b91505061167d565b503373ffffffffffffffffffffffffffffffffffffffff167f526e9c1d567d6ec3b866fd06eec87d1bb095c635be90c8c6dff2c889526baae6826040516117039190614f9d565b60405180910390a26001600b8190555050565b6000611720610d49565b8210611761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175890614f5d565b60405180910390fd5b6009828154811061179b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6117b5612bc4565b73ffffffffffffffffffffffffffffffffffffffff166117d3611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614611829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182090614e7d565b60405180910390fd5b601260029054906101000a900460ff1615601260026101000a81548160ff0219169083151502179055507f8e11ea1abd1e598b9a8c3886040d5cc01006d90cb82f0b7f6b844d08b60db00160405160405180910390a1565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561192a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192190614dfd565b60405180910390fd5b80915050919050565b61193b612bc4565b73ffffffffffffffffffffffffffffffffffffffff16611959611c6e565b73ffffffffffffffffffffffffffffffffffffffff16146119af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a690614e7d565b60405180910390fd5b8383600f91906119c0929190613dd7565b508181601091906119d2929190613dd7565b507fc73341c723fd9197b17090f0c077cf2bbe4d89f2f7d71969b3a7e5c50d570a38600f6010604051611a06929190614b66565b60405180910390a150505050565b611a1c612bc4565b73ffffffffffffffffffffffffffffffffffffffff16611a3a611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8790614e7d565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff0219169083151502179055507fc4f41b181bd14f2c77ded083df345172f3c45cd93b962f20e1b6d026c5c6a28560405160405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5090614ddd565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ba8612bc4565b73ffffffffffffffffffffffffffffffffffffffff16611bc6611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1390614e7d565b60405180910390fd5b611c266000612fdd565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60136020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611ca69061523c565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd29061523c565b8015611d1f5780601f10611cf457610100808354040283529160200191611d1f565b820191906000526020600020905b815481529060010190602001808311611d0257829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b60156020528060005260406000206000915090505481565b6002600b541415611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190614f7d565b60405180910390fd5b6002600b81905550601260009054906101000a900460ff16611df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de890614d1d565b60405180910390fd5b6002811115611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c90614c9d565b60405180910390fd5b600281601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e829190615071565b1115611ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eba90614c9d565b60405180910390fd5b60de81600c54611ed39190615071565b1115611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b90614b9d565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060028273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611f789190614a9e565b60206040518083038186803b158015611f9057600080fd5b505afa158015611fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc8919061438f565b10159050611fd4611c6e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461207057806120195767063eb89da4ed0000612023565b67059ed95aae0880005b8361202e91906150f8565b341461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690614bbd565b60405180910390fd5b5b82601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120bf9190615071565b9250508190555060005b8381101561210857600c60008154809291906120e49061529f565b91905055506120f533600c54612fbf565b80806121009061529f565b9150506120c9565b503373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8460405161214f9190614f9d565b60405180910390a250506001600b8190555050565b61217661216f612bc4565b83836130a1565b5050565b67059ed95aae08800081565b61218e612bc4565b73ffffffffffffffffffffffffffffffffffffffff166121ac611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f990614e7d565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f546d00d265ca7c243ac5923029eb45d9c50ae9abd0e3dda14a8c899d8002f6df60405160405180910390a250565b61229a612294612bc4565b83612c85565b6122d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d090614f3d565b60405180910390fd5b6122e58484848461320e565b50505050565b67063eb89da4ed000081565b60606000600c548311158061231a575060de831180156123195750600d548311155b5b90506000831161235f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235690614f1d565b60405180910390fd5b8061239f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239690614e1d565b60405180910390fd5b601260029054906101000a900460ff16806123d757506013600084815260200190815260200160002060009054906101000a900460ff165b1561240f57600f6123e78461326a565b6040516020016123f8929190614a5a565b60405160208183030381529060405291505061243e565b601061241a8461326a565b60405160200161242b929190614a5a565b6040516020818303038152906040529150505b919050565b61244b612bc4565b73ffffffffffffffffffffffffffffffffffffffff16612469611c6e565b73ffffffffffffffffffffffffffffffffffffffff16146124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b690614e7d565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff0219169083151502179055507f6c0ee6bf92ec4a77dcc684b3c6c2748c3f8edb3d86c810030414395e689f308360405160405180910390a1565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60146020528060005260406000206000915090505481565b6125cb612bc4565b73ffffffffffffffffffffffffffffffffffffffff166125e9611c6e565b73ffffffffffffffffffffffffffffffffffffffff161461263f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263690614e7d565b60405180910390fd5b818190508484905014612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90614d7d565b60405180910390fd5b60005b8484905081101561290f57600073ffffffffffffffffffffffffffffffffffffffff168585838181106126e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906126fb919061403e565b73ffffffffffffffffffffffffffffffffffffffff161415612752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274990614d9d565b60405180910390fd5b82828281811061278b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135601560008787858181106127cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906127e4919061403e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084848281811061285b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190612870919061403e565b73ffffffffffffffffffffffffffffffffffffffff167f6ea640312e182de387819fbeb13be00db3171a445412852248559054871c41998484848181106128e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040516128f49190614f9d565b60405180910390a280806129079061529f565b91505061268a565b5050505050565b600281565b612923612bc4565b73ffffffffffffffffffffffffffffffffffffffff16612941611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614612997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298e90614e7d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fe90614c3d565b60405180910390fd5b612a1081612fdd565b50565b612a1b612bc4565b73ffffffffffffffffffffffffffffffffffffffff16612a39611c6e565b73ffffffffffffffffffffffffffffffffffffffff1614612a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8690614e7d565b60405180910390fd5b818160119190612aa0929190613dd7565b507f9a15466c5caef68c45172698c3e94fec7de42c88676fa00817bde701c8df89038282604051612ad2929190614b20565b60405180910390a15050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b515750612b5082613417565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c3f83611881565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c9082612b58565b612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc690614d3d565b60405180910390fd5b6000612cda83611881565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d4957508373ffffffffffffffffffffffffffffffffffffffff16612d3184610b1e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d5a5750612d598185612517565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d8382611881565b73ffffffffffffffffffffffffffffffffffffffff1614612dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd090614e9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4090614cdd565b60405180910390fd5b612e548383836134f9565b612e5f600082612bcc565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eaf9190615152565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f069190615071565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612fd9828260405180602001604052806000815250613509565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310790614cfd565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132019190614b05565b60405180910390a3505050565b613219848484612d63565b61322584848484613564565b613264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325b90614c1d565b60405180910390fd5b50505050565b606060008214156132b2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613412565b600082905060005b600082146132e45780806132cd9061529f565b915050600a826132dd91906150c7565b91506132ba565b60008167ffffffffffffffff811115613326577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133585781602001600182028036833780820191505090505b5090505b6000851461340b576001826133719190615152565b9150600a8561338091906152e8565b603061338c9190615071565b60f81b8183815181106133c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561340491906150c7565b945061335c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134f257506134f1826136fb565b5b9050919050565b613504838383613765565b505050565b6135138383613879565b6135206000848484613564565b61355f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355690614c1d565b60405180910390fd5b505050565b60006135858473ffffffffffffffffffffffffffffffffffffffff16613a47565b156136ee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135ae612bc4565b8786866040518563ffffffff1660e01b81526004016135d09493929190614ab9565b602060405180830381600087803b1580156135ea57600080fd5b505af192505050801561361b57506040513d601f19601f820116820180604052508101906136189190614283565b60015b61369e573d806000811461364b576040519150601f19603f3d011682016040523d82523d6000602084013e613650565b606091505b50600081511415613696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368d90614c1d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136f3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613770838383613a5a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137b3576137ae81613a5f565b6137f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137f1576137f08382613aa8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138355761383081613c15565b613874565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613873576138728282613d58565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e090614e3d565b60405180910390fd5b6138f281612b58565b15613932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392990614c7d565b60405180910390fd5b61393e600083836134f9565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461398e9190615071565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ab584611ae8565b613abf9190615152565b9050600060086000848152602001908152602001600020549050818114613ba4576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613c299190615152565b90506000600a6000848152602001908152602001600020549050600060098381548110613c7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613cc7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613d3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d6383611ae8565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613de39061523c565b90600052602060002090601f016020900481019282613e055760008555613e4c565b82601f10613e1e57803560ff1916838001178555613e4c565b82800160010185558215613e4c579182015b82811115613e4b578235825591602001919060010190613e30565b5b509050613e599190613e5d565b5090565b5b80821115613e76576000816000905550600101613e5e565b5090565b6000613e8d613e8884614fdd565b614fb8565b905082815260208101848484011115613ea557600080fd5b613eb08482856151fa565b509392505050565b600081359050613ec781615b92565b92915050565b60008083601f840112613edf57600080fd5b8235905067ffffffffffffffff811115613ef857600080fd5b602083019150836020820283011115613f1057600080fd5b9250929050565b60008083601f840112613f2957600080fd5b8235905067ffffffffffffffff811115613f4257600080fd5b602083019150836020820283011115613f5a57600080fd5b9250929050565b600081359050613f7081615ba9565b92915050565b600081359050613f8581615bc0565b92915050565b600081519050613f9a81615bc0565b92915050565b600082601f830112613fb157600080fd5b8135613fc1848260208601613e7a565b91505092915050565b60008083601f840112613fdc57600080fd5b8235905067ffffffffffffffff811115613ff557600080fd5b60208301915083600182028301111561400d57600080fd5b9250929050565b60008135905061402381615bd7565b92915050565b60008151905061403881615bd7565b92915050565b60006020828403121561405057600080fd5b600061405e84828501613eb8565b91505092915050565b6000806040838503121561407a57600080fd5b600061408885828601613eb8565b925050602061409985828601613eb8565b9150509250929050565b6000806000606084860312156140b857600080fd5b60006140c686828701613eb8565b93505060206140d786828701613eb8565b92505060406140e886828701614014565b9150509250925092565b6000806000806080858703121561410857600080fd5b600061411687828801613eb8565b945050602061412787828801613eb8565b935050604061413887828801614014565b925050606085013567ffffffffffffffff81111561415557600080fd5b61416187828801613fa0565b91505092959194509250565b6000806040838503121561418057600080fd5b600061418e85828601613eb8565b925050602061419f85828601613f61565b9150509250929050565b600080604083850312156141bc57600080fd5b60006141ca85828601613eb8565b92505060206141db85828601614014565b9150509250929050565b600080600080604085870312156141fb57600080fd5b600085013567ffffffffffffffff81111561421557600080fd5b61422187828801613ecd565b9450945050602085013567ffffffffffffffff81111561424057600080fd5b61424c87828801613f17565b925092505092959194509250565b60006020828403121561426c57600080fd5b600061427a84828501613f76565b91505092915050565b60006020828403121561429557600080fd5b60006142a384828501613f8b565b91505092915050565b600080602083850312156142bf57600080fd5b600083013567ffffffffffffffff8111156142d957600080fd5b6142e585828601613fca565b92509250509250929050565b6000806000806040858703121561430757600080fd5b600085013567ffffffffffffffff81111561432157600080fd5b61432d87828801613fca565b9450945050602085013567ffffffffffffffff81111561434c57600080fd5b61435887828801613fca565b925092505092959194509250565b60006020828403121561437857600080fd5b600061438684828501614014565b91505092915050565b6000602082840312156143a157600080fd5b60006143af84828501614029565b91505092915050565b6143c181615186565b82525050565b6143d081615198565b82525050565b60006143e182615023565b6143eb8185615039565b93506143fb818560208601615209565b614404816153d5565b840191505092915050565b600061441b8385615055565b93506144288385846151fa565b614431836153d5565b840190509392505050565b60006144478261502e565b6144518185615055565b9350614461818560208601615209565b61446a816153d5565b840191505092915050565b60006144808261502e565b61448a8185615066565b935061449a818560208601615209565b80840191505092915050565b600081546144b38161523c565b6144bd8186615055565b945060018216600081146144d857600181146144ea5761451d565b60ff198316865260208601935061451d565b6144f38561500e565b60005b83811015614515578154818901526001820191506020810190506144f6565b808801955050505b50505092915050565b600081546145338161523c565b61453d8186615066565b9450600182166000811461455857600181146145695761459c565b60ff1983168652818601935061459c565b6145728561500e565b60005b8381101561459457815481890152600182019150602081019050614575565b838801955050505b50505092915050565b60006145b2601183615055565b91506145bd826153e6565b602082019050919050565b60006145d5601183615055565b91506145e08261540f565b602082019050919050565b60006145f8602683615055565b915061460382615438565b604082019050919050565b600061461b602b83615055565b915061462682615487565b604082019050919050565b600061463e603283615055565b9150614649826154d6565b604082019050919050565b6000614661602683615055565b915061466c82615525565b604082019050919050565b6000614684601783615055565b915061468f82615574565b602082019050919050565b60006146a7601c83615055565b91506146b28261559d565b602082019050919050565b60006146ca602383615055565b91506146d5826155c6565b604082019050919050565b60006146ed601383615055565b91506146f882615615565b602082019050919050565b6000614710602483615055565b915061471b8261563e565b604082019050919050565b6000614733601983615055565b915061473e8261568d565b602082019050919050565b6000614756601083615055565b9150614761826156b6565b602082019050919050565b6000614779602c83615055565b9150614784826156df565b604082019050919050565b600061479c601f83615055565b91506147a78261572e565b602082019050919050565b60006147bf602783615055565b91506147ca82615757565b604082019050919050565b60006147e2601683615055565b91506147ed826157a6565b602082019050919050565b6000614805603883615055565b9150614810826157cf565b604082019050919050565b6000614828602a83615055565b91506148338261581e565b604082019050919050565b600061484b602983615055565b91506148568261586d565b604082019050919050565b600061486e601683615055565b9150614879826158bc565b602082019050919050565b6000614891602083615055565b915061489c826158e5565b602082019050919050565b60006148b4602c83615055565b91506148bf8261590e565b604082019050919050565b60006148d7600583615066565b91506148e28261595d565b600582019050919050565b60006148fa602083615055565b915061490582615986565b602082019050919050565b600061491d602983615055565b9150614928826159af565b604082019050919050565b6000614940602183615055565b915061494b826159fe565b604082019050919050565b6000614963601b83615055565b915061496e82615a4d565b602082019050919050565b6000614986601583615055565b915061499182615a76565b602082019050919050565b60006149a9601f83615055565b91506149b482615a9f565b602082019050919050565b60006149cc60008361504a565b91506149d782615ac8565b600082019050919050565b60006149ef603183615055565b91506149fa82615acb565b604082019050919050565b6000614a12602c83615055565b9150614a1d82615b1a565b604082019050919050565b6000614a35601f83615055565b9150614a4082615b69565b602082019050919050565b614a54816151f0565b82525050565b6000614a668285614526565b9150614a728284614475565b9150614a7d826148ca565b91508190509392505050565b6000614a94826149bf565b9150819050919050565b6000602082019050614ab360008301846143b8565b92915050565b6000608082019050614ace60008301876143b8565b614adb60208301866143b8565b614ae86040830185614a4b565b8181036060830152614afa81846143d6565b905095945050505050565b6000602082019050614b1a60008301846143c7565b92915050565b60006020820190508181036000830152614b3b81848661440f565b90509392505050565b60006020820190508181036000830152614b5e818461443c565b905092915050565b60006040820190508181036000830152614b8081856144a6565b90508181036020830152614b9481846144a6565b90509392505050565b60006020820190508181036000830152614bb6816145a5565b9050919050565b60006020820190508181036000830152614bd6816145c8565b9050919050565b60006020820190508181036000830152614bf6816145eb565b9050919050565b60006020820190508181036000830152614c168161460e565b9050919050565b60006020820190508181036000830152614c3681614631565b9050919050565b60006020820190508181036000830152614c5681614654565b9050919050565b60006020820190508181036000830152614c7681614677565b9050919050565b60006020820190508181036000830152614c968161469a565b9050919050565b60006020820190508181036000830152614cb6816146bd565b9050919050565b60006020820190508181036000830152614cd6816146e0565b9050919050565b60006020820190508181036000830152614cf681614703565b9050919050565b60006020820190508181036000830152614d1681614726565b9050919050565b60006020820190508181036000830152614d3681614749565b9050919050565b60006020820190508181036000830152614d568161476c565b9050919050565b60006020820190508181036000830152614d768161478f565b9050919050565b60006020820190508181036000830152614d96816147b2565b9050919050565b60006020820190508181036000830152614db6816147d5565b9050919050565b60006020820190508181036000830152614dd6816147f8565b9050919050565b60006020820190508181036000830152614df68161481b565b9050919050565b60006020820190508181036000830152614e168161483e565b9050919050565b60006020820190508181036000830152614e3681614861565b9050919050565b60006020820190508181036000830152614e5681614884565b9050919050565b60006020820190508181036000830152614e76816148a7565b9050919050565b60006020820190508181036000830152614e96816148ed565b9050919050565b60006020820190508181036000830152614eb681614910565b9050919050565b60006020820190508181036000830152614ed681614933565b9050919050565b60006020820190508181036000830152614ef681614956565b9050919050565b60006020820190508181036000830152614f1681614979565b9050919050565b60006020820190508181036000830152614f368161499c565b9050919050565b60006020820190508181036000830152614f56816149e2565b9050919050565b60006020820190508181036000830152614f7681614a05565b9050919050565b60006020820190508181036000830152614f9681614a28565b9050919050565b6000602082019050614fb26000830184614a4b565b92915050565b6000614fc2614fd3565b9050614fce828261526e565b919050565b6000604051905090565b600067ffffffffffffffff821115614ff857614ff76153a6565b5b615001826153d5565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061507c826151f0565b9150615087836151f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150bc576150bb615319565b5b828201905092915050565b60006150d2826151f0565b91506150dd836151f0565b9250826150ed576150ec615348565b5b828204905092915050565b6000615103826151f0565b915061510e836151f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514757615146615319565b5b828202905092915050565b600061515d826151f0565b9150615168836151f0565b92508282101561517b5761517a615319565b5b828203905092915050565b6000615191826151d0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561522757808201518184015260208101905061520c565b83811115615236576000848401525b50505050565b6000600282049050600182168061525457607f821691505b6020821081141561526857615267615377565b5b50919050565b615277826153d5565b810181811067ffffffffffffffff82111715615296576152956153a6565b5b80604052505050565b60006152aa826151f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152dd576152dc615319565b5b600182019050919050565b60006152f3826151f0565b91506152fe836151f0565b92508261530e5761530d615348565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6178206d696e74732072656163686564000000000000000000000000000000600082015250565b7f496e636f7272656374207061796d656e74000000000000000000000000000000600082015250565b7f4d696e7420616d6f756e7420657863656564732077686974656c69737465642060008201527f636f756e742e0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f756c64206e6f742073656e642070726f6365656473000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d696e7420616d6f756e742065786365656473206d6178206d696e7420636f7560008201527f6e742e0000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520616c726561647920636c61696d656400000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e74206e6f74207374617274656400000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e20616d6f756e742065786365656473206d617820737570706c7900600082015250565b7f41646472657373657320616e6420656e747269657320617265206e6f74206d6160008201527f746368696e672e00000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206265207a65726f206164647265737300000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206964206973206e6f742076616c69642e00000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e206f6e6c7920636c61696d20796f7572204e46540000000000600082015250565b7f436c61696d20706175736564206279206f776e65720000000000000000000000600082015250565b7f546f6b656e2069642063616e6e6f74206265206c657373207468616e20312e00600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615b9b81615186565b8114615ba657600080fd5b50565b615bb281615198565b8114615bbd57600080fd5b50565b615bc9816151a4565b8114615bd457600080fd5b50565b615be0816151f0565b8114615beb57600080fd5b5056fea2646970667358221220d768ecb0998c3f52df79c6b717854d541261d83cef0a1570b8808b0801912aa964736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d09828e274d7932a2414bdeb1faa3320fe019cd7000000000000000000000000000000000000000000000000000000000000000954484f52466f7263650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000954484f52464f5243450000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _nftName (string): THORForce
Arg [1] : _nftSymbol (string): THORFORCE
Arg [2] : _trophyAddress (address): 0xD09828E274D7932A2414bDeb1faA3320fE019cd7

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000d09828e274d7932a2414bdeb1faa3320fe019cd7
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 54484f52466f7263650000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 54484f52464f5243450000000000000000000000000000000000000000000000


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.