ETH Price: $3,484.92 (+3.36%)
Gas: 3 Gwei

Token

Wing Wars (WW)
 

Overview

Max Total Supply

5,000 WW

Holders

546

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
WingWars

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-12
*/

// SPDX-License-Identifier: GPL-3.0
// File: @openzeppelin/contracts/utils/Strings.sol

/// @title WingWars
/// @author André Costa @ Terratecc


pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/utils/Context.sol



pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.9;


/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.9;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.9;


/**
 * @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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.9;


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


pragma solidity >=0.8.9;
// to enable certain compiler features



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;
    
    //Mapping para atribuirle un URI para cada token
    mapping(uint256 => string) internal id_to_URI;

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

    /**
     * @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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //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 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 {}
}

pragma solidity ^0.8.9;

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


pragma solidity ^0.8.9;

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

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

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


// Creator: Chiru Labs

pragma solidity ^0.8.9;

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), 'ERC721A: balance query for the zero address');
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: approve to caller');

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)


contract WingWars is ERC721A, Ownable, ReentrancyGuard {
    
    using Strings for uint256;
    
    //declares the maximum amount of tokens that can be minted, total and in presale
    uint256 private maxTotalTokens;
    
    //initial part of the URI for the metadata
    string private _currentBaseURI;
    
    //the amount of reserved mints that have currently been executed by creator and giveaways
    uint private _reservedMints;
    
    //the maximum amount of reserved mints allowed for creator and giveaways
    uint private maxReservedMints = 100;

    //amount of mints that each address has executed
    mapping(address => uint256) public mintsPerAddress;
    
    //current state os sale
    enum State {NoSale, OpenSale}

    State private saleState_;
    
    //declaring initial values for variables
    constructor() ERC721A('Wing Wars', 'WW') {
        maxTotalTokens = 5000;

        _currentBaseURI = "ipfs://.../";
    }
    
    //in case somebody accidentaly sends funds or transaction to contract
    receive() payable external {}
    fallback() payable external {
        revert();
    }
    
    //visualize baseURI
    function _baseURI() internal view virtual override returns (string memory) {
        return _currentBaseURI;
    }
    
    //change baseURI in case needed for IPFS
    function changeBaseURI(string memory baseURI_) public onlyOwner {
        _currentBaseURI = baseURI_;
    }

    function setSaleState(uint newSaleState) public onlyOwner {
        require(newSaleState < 2, "Invalid Sale State!");
        if (newSaleState == 0) {
            saleState_ = State.NoSale;
        }
        else {
            saleState_ = State.OpenSale;
        }
    }

    //mint a @param number of NFTs in public sale
    function mint(uint number) public nonReentrant {
        require(msg.sender == tx.origin, "Sender is not the same as origin!");
        require(saleState_ == State.OpenSale, "Sale in not open yet!");
        require(totalSupply() < maxTotalTokens - (maxReservedMints - _reservedMints), "Not enough NFTs left to mint..");
        require(mintsPerAddress[msg.sender] + number <= 10, "Exceeds Mint Limit!");

        _safeMint(msg.sender, number);
        mintsPerAddress[msg.sender] += number;
    }
    
    function tokenURI(uint256 tokenId_) public view virtual override returns (string memory) {
        require(_exists(tokenId_), "ERC721Metadata: URI query for nonexistent token");

        tokenId_ += 1;
        string memory baseURI = _baseURI();
        return string(abi.encodePacked(baseURI, tokenId_.toString(), ".json")); 
    }
    
    //reserved NFTs for creator
    function reservedMint(uint number, address recipient) public onlyOwner {
        require(_reservedMints + number <= maxReservedMints, "Not enough Reserved NFTs left to mint..");

        _safeMint(recipient, number);
        mintsPerAddress[recipient] += number;
        _reservedMints += number; 
        
    }
    
    //burn the tokens that have not been sold yet
    function burnTokens() public onlyOwner {
        maxTotalTokens = totalSupply();
    }
    
    //se the current account balance
    function accountBalance() public onlyOwner view returns(uint) {
        return address(this).balance;
    }
    
    //retrieve all funds recieved from minting
    function withdraw() public onlyOwner {
        uint256 balance = accountBalance();
        require(balance > 0, 'No Funds to withdraw, Balance is 0');

        _withdraw(payable(msg.sender), balance); 
    }
    
    //send the percentage of funds to a shareholder´s wallet
    function _withdraw(address payable account, uint256 amount) internal {
        (bool sent, ) = account.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }
    
    //to see the total amount of reserved mints left 
    function reservedMintsLeft() public onlyOwner view returns(uint) {
        return maxReservedMints - _reservedMints;
    }
    
    //see current state of sale
    //see the current state of the sale
    function saleState() public view returns(State){
        return saleState_;
    }
    
   
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"accountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"reservedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedMintsLeft","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum WingWars.State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSaleState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526064600c553480156200001657600080fd5b50604080518082018252600981526857696e67205761727360b81b602080830191825283518085019094526002845261575760f01b908401528151919291620000629160019162000131565b5080516200007890600290602084019062000131565b505050620000956200008f620000db60201b60201c565b620000df565b600160085561138860095560408051808201909152600b8082526a697066733a2f2f2e2e2e2f60a81b6020909201918252620000d491600a9162000131565b5062000214565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013f90620001d7565b90600052602060002090601f016020900481019282620001635760008555620001ae565b82601f106200017e57805160ff1916838001178555620001ae565b82800160010185558215620001ae579182015b82811115620001ae57825182559160200191906001019062000191565b50620001bc929150620001c0565b5090565b5b80821115620001bc5760008155600101620001c1565b600181811c90821680620001ec57607f821691505b602082108114156200020e57634e487b7160e01b600052602260045260246000fd5b50919050565b6121ca80620002246000396000f3fe6080604052600436106101c65760003560e01c80634520e916116100f757806395d89b4111610095578063b88d4fde11610064578063b88d4fde146104eb578063c87b56dd1461050b578063e985e9c51461052b578063f2fde38b1461057457600080fd5b806395d89b4114610481578063a0712d6814610496578063a22cb465146104b6578063b0a1c1c4146104d657600080fd5b80636352211e116100d15780636352211e1461040e57806370a082311461042e578063715018a61461044e5780638da5cb5b1461046357600080fd5b80634520e916146103b95780634f6ccce7146103ce578063603f4d52146103ee57600080fd5b806318df6403116101645780633023eba61161013e5780633023eba61461033757806339a0c6f9146103645780633ccfd60b1461038457806342842e0e1461039957600080fd5b806318df6403146102d757806323b872dd146102f75780632f745c591461031757600080fd5b8063081812fc116101a0578063081812fc14610240578063084c408814610278578063095ea7b31461029857806318160ddd146102b857600080fd5b806301ffc9a7146101d257806306fdde031461020757806308003f781461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed366004611c1e565b610594565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610601565b6040516101fe9190611c9a565b34801561023557600080fd5b5061023e610693565b005b34801561024c57600080fd5b5061026061025b366004611cad565b6106ce565b6040516001600160a01b0390911681526020016101fe565b34801561028457600080fd5b5061023e610293366004611cad565b610759565b3480156102a457600080fd5b5061023e6102b3366004611ce2565b6107ec565b3480156102c457600080fd5b506000545b6040519081526020016101fe565b3480156102e357600080fd5b5061023e6102f2366004611d0c565b610904565b34801561030357600080fd5b5061023e610312366004611d38565b6109f1565b34801561032357600080fd5b506102c9610332366004611ce2565b6109fc565b34801561034357600080fd5b506102c9610352366004611d74565b600d6020526000908152604090205481565b34801561037057600080fd5b5061023e61037f366004611e1b565b610b59565b34801561039057600080fd5b5061023e610b9a565b3480156103a557600080fd5b5061023e6103b4366004611d38565b610c35565b3480156103c557600080fd5b506102c9610c50565b3480156103da57600080fd5b506102c96103e9366004611cad565b610c92565b3480156103fa57600080fd5b50600e5460ff166040516101fe9190611e7a565b34801561041a57600080fd5b50610260610429366004611cad565b610cf4565b34801561043a57600080fd5b506102c9610449366004611d74565b610d06565b34801561045a57600080fd5b5061023e610d97565b34801561046f57600080fd5b506007546001600160a01b0316610260565b34801561048d57600080fd5b5061021c610dcd565b3480156104a257600080fd5b5061023e6104b1366004611cad565b610ddc565b3480156104c257600080fd5b5061023e6104d1366004611ea2565b610ff0565b3480156104e257600080fd5b506102c96110b5565b3480156104f757600080fd5b5061023e610506366004611ede565b6110e7565b34801561051757600080fd5b5061021c610526366004611cad565b611120565b34801561053757600080fd5b506101f2610546366004611f5a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561058057600080fd5b5061023e61058f366004611d74565b6111dc565b60006001600160e01b031982166380ac58cd60e01b14806105c557506001600160e01b03198216635b5e139f60e01b145b806105e057506001600160e01b0319821663780e9d6360e01b145b806105fb57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461061090611f84565b80601f016020809104026020016040519081016040528092919081815260200182805461063c90611f84565b80156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b5050505050905090565b6007546001600160a01b031633146106c65760405162461bcd60e51b81526004016106bd90611fbf565b60405180910390fd5b600054600955565b60006106db826000541190565b61073d5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084016106bd565b506000908152600560205260409020546001600160a01b031690565b6007546001600160a01b031633146107835760405162461bcd60e51b81526004016106bd90611fbf565b600281106107c95760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642053616c652053746174652160681b60448201526064016106bd565b806107db5750600e805460ff19169055565b600e805460ff191660011790555b50565b60006107f782610cf4565b9050806001600160a01b0316836001600160a01b031614156108665760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106bd565b336001600160a01b038216148061088257506108828133610546565b6108f45760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106bd565b6108ff838383611274565b505050565b6007546001600160a01b0316331461092e5760405162461bcd60e51b81526004016106bd90611fbf565b600c5482600b5461093f919061200a565b111561099d5760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b60648201526084016106bd565b6109a781836112d0565b6001600160a01b0381166000908152600d6020526040812080548492906109cf90849061200a565b9250508190555081600b60008282546109e8919061200a565b90915550505050565b6108ff8383836112ea565b6000610a0783610d06565b8210610a605760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106bd565b600080549080805b83811015610af9576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610abb57805192505b876001600160a01b0316836001600160a01b03161415610af05786841415610ae9575093506105fb92505050565b6001909301925b50600101610a68565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106bd565b6007546001600160a01b03163314610b835760405162461bcd60e51b81526004016106bd90611fbf565b8051610b9690600a906020840190611b78565b5050565b6007546001600160a01b03163314610bc45760405162461bcd60e51b81526004016106bd90611fbf565b6000610bce6110b5565b905060008111610c2b5760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b60648201526084016106bd565b6107e933826115cf565b6108ff838383604051806020016040528060008152506110e7565b6007546000906001600160a01b03163314610c7d5760405162461bcd60e51b81526004016106bd90611fbf565b600b54600c54610c8d9190612022565b905090565b600080548210610cf05760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106bd565b5090565b6000610cff82611669565b5192915050565b60006001600160a01b038216610d725760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106bd565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610dc15760405162461bcd60e51b81526004016106bd90611fbf565b610dcb6000611740565b565b60606002805461061090611f84565b60026008541415610e2f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bd565b6002600855333214610e8d5760405162461bcd60e51b815260206004820152602160248201527f53656e646572206973206e6f74207468652073616d65206173206f726967696e6044820152602160f81b60648201526084016106bd565b6001600e5460ff166001811115610ea657610ea6611e64565b14610eeb5760405162461bcd60e51b815260206004820152601560248201527453616c6520696e206e6f74206f70656e207965742160581b60448201526064016106bd565b600b54600c54610efb9190612022565b600954610f089190612022565b60005410610f585760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e000060448201526064016106bd565b336000908152600d6020526040902054600a90610f7690839061200a565b1115610fba5760405162461bcd60e51b815260206004820152601360248201527245786365656473204d696e74204c696d69742160681b60448201526064016106bd565b610fc433826112d0565b336000908152600d602052604081208054839290610fe390849061200a565b9091555050600160085550565b6001600160a01b0382163314156110495760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106bd565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546000906001600160a01b031633146110e25760405162461bcd60e51b81526004016106bd90611fbf565b504790565b6110f28484846112ea565b6110fe84848484611792565b61111a5760405162461bcd60e51b81526004016106bd90612039565b50505050565b606061112d826000541190565b6111915760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106bd565b61119c60018361200a565b915060006111a86118a0565b9050806111b4846118af565b6040516020016111c592919061208c565b604051602081830303815290604052915050919050565b6007546001600160a01b031633146112065760405162461bcd60e51b81526004016106bd90611fbf565b6001600160a01b03811661126b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b6107e981611740565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b968282604051806020016040528060008152506119ad565b60006112f582611669565b80519091506000906001600160a01b0316336001600160a01b0316148061132c575033611321846106ce565b6001600160a01b0316145b8061133e5750815161133e9033610546565b9050806113a85760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106bd565b846001600160a01b031682600001516001600160a01b03161461141c5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106bd565b6001600160a01b0384166114805760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106bd565b6114906000848460000151611274565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff160217905590860180835291205490911661158557611538816000541190565b15611585578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461161c576040519150601f19603f3d011682016040523d82523d6000602084013e611621565b606091505b50509050806108ff5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016106bd565b6040805180820190915260008082526020820152611688826000541190565b6116e75760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106bd565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611736579392505050565b50600019016116e9565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561189457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117d69033908990889088906004016120cb565b602060405180830381600087803b1580156117f057600080fd5b505af1925050508015611820575060408051601f3d908101601f1916820190925261181d91810190612108565b60015b61187a573d80801561184e576040519150601f19603f3d011682016040523d82523d6000602084013e611853565b606091505b5080516118725760405162461bcd60e51b81526004016106bd90612039565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611898565b5060015b949350505050565b6060600a805461061090611f84565b6060816118d35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118fd57806118e781612125565b91506118f69050600a83612156565b91506118d7565b60008167ffffffffffffffff81111561191857611918611d8f565b6040519080825280601f01601f191660200182016040528015611942576020820181803683370190505b5090505b841561189857611957600183612022565b9150611964600a8661216a565b61196f90603061200a565b60f81b8183815181106119845761198461217e565b60200101906001600160f81b031916908160001a9053506119a6600a86612156565b9450611946565b6108ff83838360016000546001600160a01b038516611a185760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106bd565b83611a765760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016106bd565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611b6f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611b6357611b476000888488611792565b611b635760405162461bcd60e51b81526004016106bd90612039565b60019182019101611af4565b506000556115c8565b828054611b8490611f84565b90600052602060002090601f016020900481019282611ba65760008555611bec565b82601f10611bbf57805160ff1916838001178555611bec565b82800160010185558215611bec579182015b82811115611bec578251825591602001919060010190611bd1565b50610cf09291505b80821115610cf05760008155600101611bf4565b6001600160e01b0319811681146107e957600080fd5b600060208284031215611c3057600080fd5b8135611c3b81611c08565b9392505050565b60005b83811015611c5d578181015183820152602001611c45565b8381111561111a5750506000910152565b60008151808452611c86816020860160208601611c42565b601f01601f19169290920160200192915050565b602081526000611c3b6020830184611c6e565b600060208284031215611cbf57600080fd5b5035919050565b80356001600160a01b0381168114611cdd57600080fd5b919050565b60008060408385031215611cf557600080fd5b611cfe83611cc6565b946020939093013593505050565b60008060408385031215611d1f57600080fd5b82359150611d2f60208401611cc6565b90509250929050565b600080600060608486031215611d4d57600080fd5b611d5684611cc6565b9250611d6460208501611cc6565b9150604084013590509250925092565b600060208284031215611d8657600080fd5b611c3b82611cc6565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611dc057611dc0611d8f565b604051601f8501601f19908116603f01168101908282118183101715611de857611de8611d8f565b81604052809350858152868686011115611e0157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e2d57600080fd5b813567ffffffffffffffff811115611e4457600080fd5b8201601f81018413611e5557600080fd5b61189884823560208401611da5565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611e9c57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611eb557600080fd5b611ebe83611cc6565b915060208301358015158114611ed357600080fd5b809150509250929050565b60008060008060808587031215611ef457600080fd5b611efd85611cc6565b9350611f0b60208601611cc6565b925060408501359150606085013567ffffffffffffffff811115611f2e57600080fd5b8501601f81018713611f3f57600080fd5b611f4e87823560208401611da5565b91505092959194509250565b60008060408385031215611f6d57600080fd5b611f7683611cc6565b9150611d2f60208401611cc6565b600181811c90821680611f9857607f821691505b60208210811415611fb957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561201d5761201d611ff4565b500190565b60008282101561203457612034611ff4565b500390565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000835161209e818460208801611c42565b8351908301906120b2818360208801611c42565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120fe90830184611c6e565b9695505050505050565b60006020828403121561211a57600080fd5b8151611c3b81611c08565b600060001982141561213957612139611ff4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261216557612165612140565b500490565b60008261217957612179612140565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220bd7dbecbd359a6a3d36656fbe40ab4073b2e0fda41363d92da217ee7aa7ae23864736f6c63430008090033

Deployed Bytecode

0x6080604052600436106101c65760003560e01c80634520e916116100f757806395d89b4111610095578063b88d4fde11610064578063b88d4fde146104eb578063c87b56dd1461050b578063e985e9c51461052b578063f2fde38b1461057457600080fd5b806395d89b4114610481578063a0712d6814610496578063a22cb465146104b6578063b0a1c1c4146104d657600080fd5b80636352211e116100d15780636352211e1461040e57806370a082311461042e578063715018a61461044e5780638da5cb5b1461046357600080fd5b80634520e916146103b95780634f6ccce7146103ce578063603f4d52146103ee57600080fd5b806318df6403116101645780633023eba61161013e5780633023eba61461033757806339a0c6f9146103645780633ccfd60b1461038457806342842e0e1461039957600080fd5b806318df6403146102d757806323b872dd146102f75780632f745c591461031757600080fd5b8063081812fc116101a0578063081812fc14610240578063084c408814610278578063095ea7b31461029857806318160ddd146102b857600080fd5b806301ffc9a7146101d257806306fdde031461020757806308003f781461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed366004611c1e565b610594565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610601565b6040516101fe9190611c9a565b34801561023557600080fd5b5061023e610693565b005b34801561024c57600080fd5b5061026061025b366004611cad565b6106ce565b6040516001600160a01b0390911681526020016101fe565b34801561028457600080fd5b5061023e610293366004611cad565b610759565b3480156102a457600080fd5b5061023e6102b3366004611ce2565b6107ec565b3480156102c457600080fd5b506000545b6040519081526020016101fe565b3480156102e357600080fd5b5061023e6102f2366004611d0c565b610904565b34801561030357600080fd5b5061023e610312366004611d38565b6109f1565b34801561032357600080fd5b506102c9610332366004611ce2565b6109fc565b34801561034357600080fd5b506102c9610352366004611d74565b600d6020526000908152604090205481565b34801561037057600080fd5b5061023e61037f366004611e1b565b610b59565b34801561039057600080fd5b5061023e610b9a565b3480156103a557600080fd5b5061023e6103b4366004611d38565b610c35565b3480156103c557600080fd5b506102c9610c50565b3480156103da57600080fd5b506102c96103e9366004611cad565b610c92565b3480156103fa57600080fd5b50600e5460ff166040516101fe9190611e7a565b34801561041a57600080fd5b50610260610429366004611cad565b610cf4565b34801561043a57600080fd5b506102c9610449366004611d74565b610d06565b34801561045a57600080fd5b5061023e610d97565b34801561046f57600080fd5b506007546001600160a01b0316610260565b34801561048d57600080fd5b5061021c610dcd565b3480156104a257600080fd5b5061023e6104b1366004611cad565b610ddc565b3480156104c257600080fd5b5061023e6104d1366004611ea2565b610ff0565b3480156104e257600080fd5b506102c96110b5565b3480156104f757600080fd5b5061023e610506366004611ede565b6110e7565b34801561051757600080fd5b5061021c610526366004611cad565b611120565b34801561053757600080fd5b506101f2610546366004611f5a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561058057600080fd5b5061023e61058f366004611d74565b6111dc565b60006001600160e01b031982166380ac58cd60e01b14806105c557506001600160e01b03198216635b5e139f60e01b145b806105e057506001600160e01b0319821663780e9d6360e01b145b806105fb57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461061090611f84565b80601f016020809104026020016040519081016040528092919081815260200182805461063c90611f84565b80156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b5050505050905090565b6007546001600160a01b031633146106c65760405162461bcd60e51b81526004016106bd90611fbf565b60405180910390fd5b600054600955565b60006106db826000541190565b61073d5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084016106bd565b506000908152600560205260409020546001600160a01b031690565b6007546001600160a01b031633146107835760405162461bcd60e51b81526004016106bd90611fbf565b600281106107c95760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642053616c652053746174652160681b60448201526064016106bd565b806107db5750600e805460ff19169055565b600e805460ff191660011790555b50565b60006107f782610cf4565b9050806001600160a01b0316836001600160a01b031614156108665760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106bd565b336001600160a01b038216148061088257506108828133610546565b6108f45760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106bd565b6108ff838383611274565b505050565b6007546001600160a01b0316331461092e5760405162461bcd60e51b81526004016106bd90611fbf565b600c5482600b5461093f919061200a565b111561099d5760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b60648201526084016106bd565b6109a781836112d0565b6001600160a01b0381166000908152600d6020526040812080548492906109cf90849061200a565b9250508190555081600b60008282546109e8919061200a565b90915550505050565b6108ff8383836112ea565b6000610a0783610d06565b8210610a605760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106bd565b600080549080805b83811015610af9576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610abb57805192505b876001600160a01b0316836001600160a01b03161415610af05786841415610ae9575093506105fb92505050565b6001909301925b50600101610a68565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106bd565b6007546001600160a01b03163314610b835760405162461bcd60e51b81526004016106bd90611fbf565b8051610b9690600a906020840190611b78565b5050565b6007546001600160a01b03163314610bc45760405162461bcd60e51b81526004016106bd90611fbf565b6000610bce6110b5565b905060008111610c2b5760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b60648201526084016106bd565b6107e933826115cf565b6108ff838383604051806020016040528060008152506110e7565b6007546000906001600160a01b03163314610c7d5760405162461bcd60e51b81526004016106bd90611fbf565b600b54600c54610c8d9190612022565b905090565b600080548210610cf05760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106bd565b5090565b6000610cff82611669565b5192915050565b60006001600160a01b038216610d725760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106bd565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610dc15760405162461bcd60e51b81526004016106bd90611fbf565b610dcb6000611740565b565b60606002805461061090611f84565b60026008541415610e2f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bd565b6002600855333214610e8d5760405162461bcd60e51b815260206004820152602160248201527f53656e646572206973206e6f74207468652073616d65206173206f726967696e6044820152602160f81b60648201526084016106bd565b6001600e5460ff166001811115610ea657610ea6611e64565b14610eeb5760405162461bcd60e51b815260206004820152601560248201527453616c6520696e206e6f74206f70656e207965742160581b60448201526064016106bd565b600b54600c54610efb9190612022565b600954610f089190612022565b60005410610f585760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e000060448201526064016106bd565b336000908152600d6020526040902054600a90610f7690839061200a565b1115610fba5760405162461bcd60e51b815260206004820152601360248201527245786365656473204d696e74204c696d69742160681b60448201526064016106bd565b610fc433826112d0565b336000908152600d602052604081208054839290610fe390849061200a565b9091555050600160085550565b6001600160a01b0382163314156110495760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106bd565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546000906001600160a01b031633146110e25760405162461bcd60e51b81526004016106bd90611fbf565b504790565b6110f28484846112ea565b6110fe84848484611792565b61111a5760405162461bcd60e51b81526004016106bd90612039565b50505050565b606061112d826000541190565b6111915760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106bd565b61119c60018361200a565b915060006111a86118a0565b9050806111b4846118af565b6040516020016111c592919061208c565b604051602081830303815290604052915050919050565b6007546001600160a01b031633146112065760405162461bcd60e51b81526004016106bd90611fbf565b6001600160a01b03811661126b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b6107e981611740565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b968282604051806020016040528060008152506119ad565b60006112f582611669565b80519091506000906001600160a01b0316336001600160a01b0316148061132c575033611321846106ce565b6001600160a01b0316145b8061133e5750815161133e9033610546565b9050806113a85760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106bd565b846001600160a01b031682600001516001600160a01b03161461141c5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106bd565b6001600160a01b0384166114805760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106bd565b6114906000848460000151611274565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff160217905590860180835291205490911661158557611538816000541190565b15611585578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461161c576040519150601f19603f3d011682016040523d82523d6000602084013e611621565b606091505b50509050806108ff5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016106bd565b6040805180820190915260008082526020820152611688826000541190565b6116e75760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106bd565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611736579392505050565b50600019016116e9565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561189457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117d69033908990889088906004016120cb565b602060405180830381600087803b1580156117f057600080fd5b505af1925050508015611820575060408051601f3d908101601f1916820190925261181d91810190612108565b60015b61187a573d80801561184e576040519150601f19603f3d011682016040523d82523d6000602084013e611853565b606091505b5080516118725760405162461bcd60e51b81526004016106bd90612039565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611898565b5060015b949350505050565b6060600a805461061090611f84565b6060816118d35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118fd57806118e781612125565b91506118f69050600a83612156565b91506118d7565b60008167ffffffffffffffff81111561191857611918611d8f565b6040519080825280601f01601f191660200182016040528015611942576020820181803683370190505b5090505b841561189857611957600183612022565b9150611964600a8661216a565b61196f90603061200a565b60f81b8183815181106119845761198461217e565b60200101906001600160f81b031916908160001a9053506119a6600a86612156565b9450611946565b6108ff83838360016000546001600160a01b038516611a185760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106bd565b83611a765760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016106bd565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611b6f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611b6357611b476000888488611792565b611b635760405162461bcd60e51b81526004016106bd90612039565b60019182019101611af4565b506000556115c8565b828054611b8490611f84565b90600052602060002090601f016020900481019282611ba65760008555611bec565b82601f10611bbf57805160ff1916838001178555611bec565b82800160010185558215611bec579182015b82811115611bec578251825591602001919060010190611bd1565b50610cf09291505b80821115610cf05760008155600101611bf4565b6001600160e01b0319811681146107e957600080fd5b600060208284031215611c3057600080fd5b8135611c3b81611c08565b9392505050565b60005b83811015611c5d578181015183820152602001611c45565b8381111561111a5750506000910152565b60008151808452611c86816020860160208601611c42565b601f01601f19169290920160200192915050565b602081526000611c3b6020830184611c6e565b600060208284031215611cbf57600080fd5b5035919050565b80356001600160a01b0381168114611cdd57600080fd5b919050565b60008060408385031215611cf557600080fd5b611cfe83611cc6565b946020939093013593505050565b60008060408385031215611d1f57600080fd5b82359150611d2f60208401611cc6565b90509250929050565b600080600060608486031215611d4d57600080fd5b611d5684611cc6565b9250611d6460208501611cc6565b9150604084013590509250925092565b600060208284031215611d8657600080fd5b611c3b82611cc6565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611dc057611dc0611d8f565b604051601f8501601f19908116603f01168101908282118183101715611de857611de8611d8f565b81604052809350858152868686011115611e0157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e2d57600080fd5b813567ffffffffffffffff811115611e4457600080fd5b8201601f81018413611e5557600080fd5b61189884823560208401611da5565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611e9c57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611eb557600080fd5b611ebe83611cc6565b915060208301358015158114611ed357600080fd5b809150509250929050565b60008060008060808587031215611ef457600080fd5b611efd85611cc6565b9350611f0b60208601611cc6565b925060408501359150606085013567ffffffffffffffff811115611f2e57600080fd5b8501601f81018713611f3f57600080fd5b611f4e87823560208401611da5565b91505092959194509250565b60008060408385031215611f6d57600080fd5b611f7683611cc6565b9150611d2f60208401611cc6565b600181811c90821680611f9857607f821691505b60208210811415611fb957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561201d5761201d611ff4565b500190565b60008282101561203457612034611ff4565b500390565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000835161209e818460208801611c42565b8351908301906120b2818360208801611c42565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120fe90830184611c6e565b9695505050505050565b60006020828403121561211a57600080fd5b8151611c3b81611c08565b600060001982141561213957612139611ff4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261216557612165612140565b500490565b60008261217957612179612140565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220bd7dbecbd359a6a3d36656fbe40ab4073b2e0fda41363d92da217ee7aa7ae23864736f6c63430008090033

Deployed Bytecode Sourcemap

55012:4250:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;;;;;;;;;;;56147:8;;;55012:4250;;;;;;56147:8;;;41773:372;;;;;;;;;;-1:-1:-1;41773:372:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41773:372:0;;;;;;;;43659:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;58111:88::-;;;;;;;;;;;;;:::i;:::-;;45221:214;;;;;;;;;;-1:-1:-1;45221:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;45221:214:0;1528:203:1;56491:279:0;;;;;;;;;;-1:-1:-1;56491:279:0;;;;;:::i;:::-;;:::i;44742:413::-;;;;;;;;;;-1:-1:-1;44742:413:0;;;;;:::i;:::-;;:::i;40022:108::-;;;;;;;;;;-1:-1:-1;40083:7:0;40110:12;40022:108;;;2319:25:1;;;2307:2;2292:18;40022:108:0;2173:177:1;57729:319:0;;;;;;;;;;-1:-1:-1;57729:319:0;;;;;:::i;:::-;;:::i;46097:170::-;;;;;;;;;;-1:-1:-1;46097:170:0;;;;;:::i;:::-;;:::i;40694:1007::-;;;;;;;;;;-1:-1:-1;40694:1007:0;;;;;:::i;:::-;;:::i;55649:50::-;;;;;;;;;;-1:-1:-1;55649:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;56374:109;;;;;;;;;;-1:-1:-1;56374:109:0;;;;;:::i;:::-;;:::i;58418:212::-;;;;;;;;;;;;;:::i;46338:185::-;;;;;;;;;;-1:-1:-1;46338:185:0;;;;;:::i;:::-;;:::i;58955:124::-;;;;;;;;;;;;;:::i;40207:187::-;;;;;;;;;;-1:-1:-1;40207:187:0;;;;;:::i;:::-;;:::i;59165:83::-;;;;;;;;;;-1:-1:-1;59230:10:0;;;;59165:83;;;;;;:::i;43468:124::-;;;;;;;;;;-1:-1:-1;43468:124:0;;;;;:::i;:::-;;:::i;42209:221::-;;;;;;;;;;-1:-1:-1;42209:221:0;;;;;:::i;:::-;;:::i;4654:94::-;;;;;;;;;;;;;:::i;4003:87::-;;;;;;;;;;-1:-1:-1;4076:6:0;;-1:-1:-1;;;;;4076:6:0;4003:87;;43828:104;;;;;;;;;;;;;:::i;56829:505::-;;;;;;;;;;-1:-1:-1;56829:505:0;;;;;:::i;:::-;;:::i;45507:288::-;;;;;;;;;;-1:-1:-1;45507:288:0;;;;;:::i;:::-;;:::i;58249:109::-;;;;;;;;;;;;;:::i;46594:355::-;;;;;;;;;;-1:-1:-1;46594:355:0;;;;;:::i;:::-;;:::i;57346:338::-;;;;;;;;;;-1:-1:-1;57346:338:0;;;;;:::i;:::-;;:::i;45866:164::-;;;;;;;;;;-1:-1:-1;45866:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45987:25:0;;;45963:4;45987:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45866:164;4903:192;;;;;;;;;;-1:-1:-1;4903:192:0;;;;;:::i;:::-;;:::i;41773:372::-;41875:4;-1:-1:-1;;;;;;41912:40:0;;-1:-1:-1;;;41912:40:0;;:105;;-1:-1:-1;;;;;;;41969:48:0;;-1:-1:-1;;;41969:48:0;41912:105;:172;;;-1:-1:-1;;;;;;;42034:50:0;;-1:-1:-1;;;42034:50:0;41912:172;:225;;;-1:-1:-1;;;;;;;;;;16094:40:0;;;42101:36;41892:245;41773:372;-1:-1:-1;;41773:372:0:o;43659:100::-;43713:13;43746:5;43739:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43659:100;:::o;58111:88::-;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;;;;;;;;;40083:7;40110:12;58161:14:::1;:30:::0;58111:88::o;45221:214::-;45289:7;45317:16;45325:7;47261:4;47295:12;-1:-1:-1;47285:22:0;47204:111;45317:16;45309:74;;;;-1:-1:-1;;;45309:74:0;;7075:2:1;45309:74:0;;;7057:21:1;7114:2;7094:18;;;7087:30;7153:34;7133:18;;;7126:62;-1:-1:-1;;;7204:18:1;;;7197:43;7257:19;;45309:74:0;6873:409:1;45309:74:0;-1:-1:-1;45403:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45403:24:0;;45221:214::o;56491:279::-;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;56583:1:::1;56568:12;:16;56560:48;;;::::0;-1:-1:-1;;;56560:48:0;;7489:2:1;56560:48:0::1;::::0;::::1;7471:21:1::0;7528:2;7508:18;;;7501:30;-1:-1:-1;;;7547:18:1;;;7540:49;7606:18;;56560:48:0::1;7287:343:1::0;56560:48:0::1;56623:17:::0;56619:144:::1;;-1:-1:-1::0;56657:10:0::1;:25:::0;;-1:-1:-1;;56657:25:0::1;::::0;;56491:279::o;56619:144::-:1;56724:10;:27:::0;;-1:-1:-1;;56724:27:0::1;56737:14;56724:27;::::0;;56619:144:::1;56491:279:::0;:::o;44742:413::-;44815:13;44831:24;44847:7;44831:15;:24::i;:::-;44815:40;;44880:5;-1:-1:-1;;;;;44874:11:0;:2;-1:-1:-1;;;;;44874:11:0;;;44866:58;;;;-1:-1:-1;;;44866:58:0;;7837:2:1;44866:58:0;;;7819:21:1;7876:2;7856:18;;;7849:30;7915:34;7895:18;;;7888:62;-1:-1:-1;;;7966:18:1;;;7959:32;8008:19;;44866:58:0;7635:398:1;44866:58:0;2871:10;-1:-1:-1;;;;;44959:21:0;;;;:62;;-1:-1:-1;44984:37:0;45001:5;2871:10;45866:164;:::i;44984:37::-;44937:169;;;;-1:-1:-1;;;44937:169:0;;8240:2:1;44937:169:0;;;8222:21:1;8279:2;8259:18;;;8252:30;8318:34;8298:18;;;8291:62;8389:27;8369:18;;;8362:55;8434:19;;44937:169:0;8038:421:1;44937:169:0;45119:28;45128:2;45132:7;45141:5;45119:8;:28::i;:::-;44804:351;44742:413;;:::o;57729:319::-;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;57846:16:::1;;57836:6;57819:14;;:23;;;;:::i;:::-;:43;;57811:95;;;::::0;-1:-1:-1;;;57811:95:0;;8931:2:1;57811:95:0::1;::::0;::::1;8913:21:1::0;8970:2;8950:18;;;8943:30;9009:34;8989:18;;;8982:62;-1:-1:-1;;;9060:18:1;;;9053:37;9107:19;;57811:95:0::1;8729:403:1::0;57811:95:0::1;57919:28;57929:9;57940:6;57919:9;:28::i;:::-;-1:-1:-1::0;;;;;57958:26:0;::::1;;::::0;;;:15:::1;:26;::::0;;;;:36;;57988:6;;57958:26;:36:::1;::::0;57988:6;;57958:36:::1;:::i;:::-;;;;;;;;58023:6;58005:14;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;57729:319:0:o;46097:170::-;46231:28;46241:4;46247:2;46251:7;46231:9;:28::i;40694:1007::-;40783:7;40819:16;40829:5;40819:9;:16::i;:::-;40811:5;:24;40803:71;;;;-1:-1:-1;;;40803:71:0;;9339:2:1;40803:71:0;;;9321:21:1;9378:2;9358:18;;;9351:30;9417:34;9397:18;;;9390:62;-1:-1:-1;;;9468:18:1;;;9461:32;9510:19;;40803:71:0;9137:398:1;40803:71:0;40885:22;40110:12;;;40885:22;;41148:466;41168:14;41164:1;:18;41148:466;;;41208:31;41242:14;;;:11;:14;;;;;;;;;41208:48;;;;;;;;;-1:-1:-1;;;;;41208:48:0;;;;;-1:-1:-1;;;41208:48:0;;;;;;;;;;;;41279:28;41275:111;;41352:14;;;-1:-1:-1;41275:111:0;41429:5;-1:-1:-1;;;;;41408:26:0;:17;-1:-1:-1;;;;;41408:26:0;;41404:195;;;41478:5;41463:11;:20;41459:85;;;-1:-1:-1;41519:1:0;-1:-1:-1;41512:8:0;;-1:-1:-1;;;41512:8:0;41459:85;41566:13;;;;;41404:195;-1:-1:-1;41184:3:0;;41148:466;;;-1:-1:-1;41637:56:0;;-1:-1:-1;;;41637:56:0;;9742:2:1;41637:56:0;;;9724:21:1;9781:2;9761:18;;;9754:30;9820:34;9800:18;;;9793:62;-1:-1:-1;;;9871:18:1;;;9864:44;9925:19;;41637:56:0;9540:410:1;56374:109:0;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;56449:26;;::::1;::::0;:15:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;:::-;;56374:109:::0;:::o;58418:212::-;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;58466:15:::1;58484:16;:14;:16::i;:::-;58466:34;;58529:1;58519:7;:11;58511:58;;;::::0;-1:-1:-1;;;58511:58:0;;10157:2:1;58511:58:0::1;::::0;::::1;10139:21:1::0;10196:2;10176:18;;;10169:30;10235:34;10215:18;;;10208:62;-1:-1:-1;;;10286:18:1;;;10279:32;10328:19;;58511:58:0::1;9955:398:1::0;58511:58:0::1;58582:39;58600:10;58613:7;58582:9;:39::i;46338:185::-:0;46476:39;46493:4;46499:2;46503:7;46476:39;;;;;;;;;;;;:16;:39::i;58955:124::-;4076:6;;59014:4;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;59057:14:::1;;59038:16;;:33;;;;:::i;:::-;59031:40;;58955:124:::0;:::o;40207:187::-;40274:7;40110:12;;40302:5;:21;40294:69;;;;-1:-1:-1;;;40294:69:0;;10690:2:1;40294:69:0;;;10672:21:1;10729:2;10709:18;;;10702:30;10768:34;10748:18;;;10741:62;-1:-1:-1;;;10819:18:1;;;10812:33;10862:19;;40294:69:0;10488:399:1;40294:69:0;-1:-1:-1;40381:5:0;40207:187::o;43468:124::-;43532:7;43559:20;43571:7;43559:11;:20::i;:::-;:25;;43468:124;-1:-1:-1;;43468:124:0:o;42209:221::-;42273:7;-1:-1:-1;;;;;42301:19:0;;42293:75;;;;-1:-1:-1;;;42293:75:0;;11094:2:1;42293:75:0;;;11076:21:1;11133:2;11113:18;;;11106:30;11172:34;11152:18;;;11145:62;-1:-1:-1;;;11223:18:1;;;11216:41;11274:19;;42293:75:0;10892:407:1;42293:75:0;-1:-1:-1;;;;;;42394:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42394:27:0;;42209:221::o;4654:94::-;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;4719:21:::1;4737:1;4719:9;:21::i;:::-;4654:94::o:0;43828:104::-;43884:13;43917:7;43910:14;;;;;:::i;56829:505::-;36415:1;37013:7;;:19;;37005:63;;;;-1:-1:-1;;;37005:63:0;;11506:2:1;37005:63:0;;;11488:21:1;11545:2;11525:18;;;11518:30;11584:33;11564:18;;;11557:61;11635:18;;37005:63:0;11304:355:1;37005:63:0;36415:1;37146:7;:18;56895:10:::1;56909:9;56895:23;56887:69;;;::::0;-1:-1:-1;;;56887:69:0;;11866:2:1;56887:69:0::1;::::0;::::1;11848:21:1::0;11905:2;11885:18;;;11878:30;11944:34;11924:18;;;11917:62;-1:-1:-1;;;11995:18:1;;;11988:31;12036:19;;56887:69:0::1;11664:397:1::0;56887:69:0::1;56989:14;56975:10;::::0;::::1;;::::0;:28;::::1;;;;;;:::i;:::-;;56967:62;;;::::0;-1:-1:-1;;;56967:62:0;;12268:2:1;56967:62:0::1;::::0;::::1;12250:21:1::0;12307:2;12287:18;;;12280:30;-1:-1:-1;;;12326:18:1;;;12319:51;12387:18;;56967:62:0::1;12066:345:1::0;56967:62:0::1;57101:14;;57082:16;;:33;;;;:::i;:::-;57064:14;;:52;;;;:::i;:::-;40083:7:::0;40110:12;57048:68:::1;57040:111;;;::::0;-1:-1:-1;;;57040:111:0;;12618:2:1;57040:111:0::1;::::0;::::1;12600:21:1::0;12657:2;12637:18;;;12630:30;12696:32;12676:18;;;12669:60;12746:18;;57040:111:0::1;12416:354:1::0;57040:111:0::1;57186:10;57170:27;::::0;;;:15:::1;:27;::::0;;;;;57210:2:::1;::::0;57170:36:::1;::::0;57200:6;;57170:36:::1;:::i;:::-;:42;;57162:74;;;::::0;-1:-1:-1;;;57162:74:0;;12977:2:1;57162:74:0::1;::::0;::::1;12959:21:1::0;13016:2;12996:18;;;12989:30;-1:-1:-1;;;13035:18:1;;;13028:49;13094:18;;57162:74:0::1;12775:343:1::0;57162:74:0::1;57249:29;57259:10;57271:6;57249:9;:29::i;:::-;57305:10;57289:27;::::0;;;:15:::1;:27;::::0;;;;:37;;57320:6;;57289:27;:37:::1;::::0;57320:6;;57289:37:::1;:::i;:::-;::::0;;;-1:-1:-1;;36371:1:0;37325:7;:22;-1:-1:-1;56829:505:0:o;45507:288::-;-1:-1:-1;;;;;45602:24:0;;2871:10;45602:24;;45594:63;;;;-1:-1:-1;;;45594:63:0;;13325:2:1;45594:63:0;;;13307:21:1;13364:2;13344:18;;;13337:30;13403:28;13383:18;;;13376:56;13449:18;;45594:63:0;13123:350:1;45594:63:0;2871:10;45670:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45670:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45670:53:0;;;;;;;;;;45739:48;;540:41:1;;;45670:42:0;;2871:10;45739:48;;513:18:1;45739:48:0;;;;;;;45507:288;;:::o;58249:109::-;4076:6;;58305:4;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;-1:-1:-1;58329:21:0::1;58249:109:::0;:::o;46594:355::-;46753:28;46763:4;46769:2;46773:7;46753:9;:28::i;:::-;46814:48;46837:4;46843:2;46847:7;46856:5;46814:22;:48::i;:::-;46792:149;;;;-1:-1:-1;;;46792:149:0;;;;;;;:::i;:::-;46594:355;;;;:::o;57346:338::-;57420:13;57454:17;57462:8;47261:4;47295:12;-1:-1:-1;47285:22:0;47204:111;57454:17;57446:77;;;;-1:-1:-1;;;57446:77:0;;14100:2:1;57446:77:0;;;14082:21:1;14139:2;14119:18;;;14112:30;14178:34;14158:18;;;14151:62;-1:-1:-1;;;14229:18:1;;;14222:45;14284:19;;57446:77:0;13898:411:1;57446:77:0;57536:13;57548:1;57536:13;;:::i;:::-;;;57560:21;57584:10;:8;:10::i;:::-;57560:34;;57636:7;57645:19;:8;:17;:19::i;:::-;57619:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57605:70;;;57346:338;;;:::o;4903:192::-;4076:6;;-1:-1:-1;;;;;4076:6:0;2871:10;4223:23;4215:68;;;;-1:-1:-1;;;4215:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4992:22:0;::::1;4984:73;;;::::0;-1:-1:-1;;;4984:73:0;;15158:2:1;4984:73:0::1;::::0;::::1;15140:21:1::0;15197:2;15177:18;;;15170:30;15236:34;15216:18;;;15209:62;-1:-1:-1;;;15287:18:1;;;15280:36;15333:19;;4984:73:0::1;14956:402:1::0;4984:73:0::1;5068:19;5078:8;5068:9;:19::i;52124:196::-:0;52239:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;52239:29:0;-1:-1:-1;;;;;52239:29:0;;;;;;;;;52284:28;;52239:24;;52284:28;;;;;;;52124:196;;;:::o;47323:104::-;47392:27;47402:2;47406:8;47392:27;;;;;;;;;;;;:9;:27::i;50004:2002::-;50119:35;50157:20;50169:7;50157:11;:20::i;:::-;50232:18;;50119:58;;-1:-1:-1;50190:22:0;;-1:-1:-1;;;;;50216:34:0;2871:10;-1:-1:-1;;;;;50216:34:0;;:87;;;-1:-1:-1;2871:10:0;50267:20;50279:7;50267:11;:20::i;:::-;-1:-1:-1;;;;;50267:36:0;;50216:87;:154;;;-1:-1:-1;50337:18:0;;50320:50;;2871:10;45866:164;:::i;50320:50::-;50190:181;;50392:17;50384:80;;;;-1:-1:-1;;;50384:80:0;;15565:2:1;50384:80:0;;;15547:21:1;15604:2;15584:18;;;15577:30;15643:34;15623:18;;;15616:62;-1:-1:-1;;;15694:18:1;;;15687:48;15752:19;;50384:80:0;15363:414:1;50384:80:0;50507:4;-1:-1:-1;;;;;50485:26:0;:13;:18;;;-1:-1:-1;;;;;50485:26:0;;50477:77;;;;-1:-1:-1;;;50477:77:0;;15984:2:1;50477:77:0;;;15966:21:1;16023:2;16003:18;;;15996:30;16062:34;16042:18;;;16035:62;-1:-1:-1;;;16113:18:1;;;16106:36;16159:19;;50477:77:0;15782:402:1;50477:77:0;-1:-1:-1;;;;;50573:16:0;;50565:66;;;;-1:-1:-1;;;50565:66:0;;16391:2:1;50565:66:0;;;16373:21:1;16430:2;16410:18;;;16403:30;16469:34;16449:18;;;16442:62;-1:-1:-1;;;16520:18:1;;;16513:35;16565:19;;50565:66:0;16189:401:1;50565:66:0;50752:49;50769:1;50773:7;50782:13;:18;;;50752:8;:49::i;:::-;-1:-1:-1;;;;;51097:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;51097:31:0;;;-1:-1:-1;;;;;51097:31:0;;;-1:-1:-1;;51097:31:0;;;;;;;51143:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;51143:29:0;;;;;;;;;;;;;51189:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;51234:61:0;;;;-1:-1:-1;;;51279:15:0;51234:61;;;;;;51569:11;;;51599:24;;;;;:29;51569:11;;51599:29;51595:295;;51667:20;51675:11;47261:4;47295:12;-1:-1:-1;47285:22:0;47204:111;51667:20;51663:212;;;51744:18;;;51712:24;;;:11;:24;;;;;;;;:50;;51827:28;;;;51785:70;;-1:-1:-1;;;51785:70:0;-1:-1:-1;;;;;;51785:70:0;;;-1:-1:-1;;;;;51712:50:0;;;51785:70;;;;;;;51663:212;51072:829;51937:7;51933:2;-1:-1:-1;;;;;51918:27:0;51927:4;-1:-1:-1;;;;;51918:27:0;;;;;;;;;;;51956:42;50108:1898;;50004:2002;;;:::o;58705:183::-;58786:9;58801:7;-1:-1:-1;;;;;58801:12:0;58821:6;58801:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58785:47;;;58851:4;58843:37;;;;-1:-1:-1;;;58843:37:0;;17007:2:1;58843:37:0;;;16989:21:1;17046:2;17026:18;;;17019:30;-1:-1:-1;;;17065:18:1;;;17058:50;17125:18;;58843:37:0;16805:344:1;42869:537:0;-1:-1:-1;;;;;;;;;;;;;;;;;42972:16:0;42980:7;47261:4;47295:12;-1:-1:-1;47285:22:0;47204:111;42972:16;42964:71;;;;-1:-1:-1;;;42964:71:0;;17356:2:1;42964:71:0;;;17338:21:1;17395:2;17375:18;;;17368:30;17434:34;17414:18;;;17407:62;-1:-1:-1;;;17485:18:1;;;17478:40;17535:19;;42964:71:0;17154:406:1;42964:71:0;43093:7;43073:245;43140:31;43174:17;;;:11;:17;;;;;;;;;43140:51;;;;;;;;;-1:-1:-1;;;;;43140:51:0;;;;;-1:-1:-1;;;43140:51:0;;;;;;;;;;;;43214:28;43210:93;;43274:9;42869:537;-1:-1:-1;;;42869:537:0:o;43210:93::-;-1:-1:-1;;;43113:6:0;43073:245;;5103:173;5178:6;;;-1:-1:-1;;;;;5195:17:0;;;-1:-1:-1;;;;;;5195:17:0;;;;;;;5228:40;;5178:6;;;5195:17;5178:6;;5228:40;;5159:16;;5228:40;5148:128;5103:173;:::o;52885:804::-;53040:4;-1:-1:-1;;;;;53061:13:0;;6372:20;6420:8;53057:625;;53097:72;;-1:-1:-1;;;53097:72:0;;-1:-1:-1;;;;;53097:36:0;;;;;:72;;2871:10;;53148:4;;53154:7;;53163:5;;53097:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53097:72:0;;;;;;;;-1:-1:-1;;53097:72:0;;;;;;;;;;;;:::i;:::-;;;53093:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53343:13:0;;53339:273;;53386:61;;-1:-1:-1;;;53386:61:0;;;;;;;:::i;53339:273::-;53562:6;53556:13;53547:6;53543:2;53539:15;53532:38;53093:534;-1:-1:-1;;;;;;53220:55:0;-1:-1:-1;;;53220:55:0;;-1:-1:-1;53213:62:0;;53057:625;-1:-1:-1;53666:4:0;53057:625;52885:804;;;;;;:::o;56200:116::-;56260:13;56293:15;56286:22;;;;;:::i;407:723::-;463:13;684:10;680:53;;-1:-1:-1;;711:10:0;;;;;;;;;;;;-1:-1:-1;;;711:10:0;;;;;407:723::o;680:53::-;758:5;743:12;799:78;806:9;;799:78;;832:8;;;;:::i;:::-;;-1:-1:-1;855:10:0;;-1:-1:-1;863:2:0;855:10;;:::i;:::-;;;799:78;;;887:19;919:6;909:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:17:0;;887:39;;937:154;944:10;;937:154;;971:11;981:1;971:11;;:::i;:::-;;-1:-1:-1;1040:10:0;1048:2;1040:5;:10;:::i;:::-;1027:24;;:2;:24;:::i;:::-;1014:39;;997:6;1004;997:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;997:56:0;;;;;;;;-1:-1:-1;1068:11:0;1077:2;1068:11;;:::i;:::-;;;937:154;;47790:163;47913:32;47919:2;47923:8;47933:5;47940:4;48351:20;48374:12;-1:-1:-1;;;;;48405:16:0;;48397:62;;;;-1:-1:-1;;;48397:62:0;;19577:2:1;48397:62:0;;;19559:21:1;19616:2;19596:18;;;19589:30;19655:34;19635:18;;;19628:62;-1:-1:-1;;;19706:18:1;;;19699:31;19747:19;;48397:62:0;19375:397:1;48397:62:0;48478:13;48470:66;;;;-1:-1:-1;;;48470:66:0;;19979:2:1;48470:66:0;;;19961:21:1;20018:2;19998:18;;;19991:30;20057:34;20037:18;;;20030:62;-1:-1:-1;;;20108:18:1;;;20101:38;20156:19;;48470:66:0;19777:404:1;48470:66:0;-1:-1:-1;;;;;48888:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;48888:45:0;;-1:-1:-1;;;;;48888:45:0;;;;;;;;;;48948:50;;;;;;;;;;;;;;49015:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;49065:66:0;;;;-1:-1:-1;;;49115:15:0;49065:66;;;;;;;49015:25;;49200:415;49220:8;49216:1;:12;49200:415;;;49259:38;;49284:12;;-1:-1:-1;;;;;49259:38:0;;;49276:1;;49259:38;;49276:1;;49259:38;49320:4;49316:249;;;49383:59;49414:1;49418:2;49422:12;49436:5;49383:22;:59::i;:::-;49349:196;;;;-1:-1:-1;;;49349:196:0;;;;;;;:::i;:::-;49585:14;;;;;49230:3;49200:415;;;-1:-1:-1;49631:12:0;:27;49682:60;46594:355;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:::-;2423:6;2431;2484:2;2472:9;2463:7;2459:23;2455:32;2452:52;;;2500:1;2497;2490:12;2452:52;2536:9;2523:23;2513:33;;2565:38;2599:2;2588:9;2584:18;2565:38;:::i;:::-;2555:48;;2355:254;;;;;:::o;2614:328::-;2691:6;2699;2707;2760:2;2748:9;2739:7;2735:23;2731:32;2728:52;;;2776:1;2773;2766:12;2728:52;2799:29;2818:9;2799:29;:::i;:::-;2789:39;;2847:38;2881:2;2870:9;2866:18;2847:38;:::i;:::-;2837:48;;2932:2;2921:9;2917:18;2904:32;2894:42;;2614:328;;;;;:::o;2947:186::-;3006:6;3059:2;3047:9;3038:7;3034:23;3030:32;3027:52;;;3075:1;3072;3065:12;3027:52;3098:29;3117:9;3098:29;:::i;3138:127::-;3199:10;3194:3;3190:20;3187:1;3180:31;3230:4;3227:1;3220:15;3254:4;3251:1;3244:15;3270:632;3335:5;3365:18;3406:2;3398:6;3395:14;3392:40;;;3412:18;;:::i;:::-;3487:2;3481:9;3455:2;3541:15;;-1:-1:-1;;3537:24:1;;;3563:2;3533:33;3529:42;3517:55;;;3587:18;;;3607:22;;;3584:46;3581:72;;;3633:18;;:::i;:::-;3673:10;3669:2;3662:22;3702:6;3693:15;;3732:6;3724;3717:22;3772:3;3763:6;3758:3;3754:16;3751:25;3748:45;;;3789:1;3786;3779:12;3748:45;3839:6;3834:3;3827:4;3819:6;3815:17;3802:44;3894:1;3887:4;3878:6;3870;3866:19;3862:30;3855:41;;;;3270:632;;;;;:::o;3907:451::-;3976:6;4029:2;4017:9;4008:7;4004:23;4000:32;3997:52;;;4045:1;4042;4035:12;3997:52;4085:9;4072:23;4118:18;4110:6;4107:30;4104:50;;;4150:1;4147;4140:12;4104:50;4173:22;;4226:4;4218:13;;4214:27;-1:-1:-1;4204:55:1;;4255:1;4252;4245:12;4204:55;4278:74;4344:7;4339:2;4326:16;4321:2;4317;4313:11;4278:74;:::i;4363:127::-;4424:10;4419:3;4415:20;4412:1;4405:31;4455:4;4452:1;4445:15;4479:4;4476:1;4469:15;4495:338;4637:2;4622:18;;4670:1;4659:13;;4649:144;;4715:10;4710:3;4706:20;4703:1;4696:31;4750:4;4747:1;4740:15;4778:4;4775:1;4768:15;4649:144;4802:25;;;4495:338;:::o;4838:347::-;4903:6;4911;4964:2;4952:9;4943:7;4939:23;4935:32;4932:52;;;4980:1;4977;4970:12;4932:52;5003:29;5022:9;5003:29;:::i;:::-;4993:39;;5082:2;5071:9;5067:18;5054:32;5129:5;5122:13;5115:21;5108:5;5105:32;5095:60;;5151:1;5148;5141:12;5095:60;5174:5;5164:15;;;4838:347;;;;;:::o;5190:667::-;5285:6;5293;5301;5309;5362:3;5350:9;5341:7;5337:23;5333:33;5330:53;;;5379:1;5376;5369:12;5330:53;5402:29;5421:9;5402:29;:::i;:::-;5392:39;;5450:38;5484:2;5473:9;5469:18;5450:38;:::i;:::-;5440:48;;5535:2;5524:9;5520:18;5507:32;5497:42;;5590:2;5579:9;5575:18;5562:32;5617:18;5609:6;5606:30;5603:50;;;5649:1;5646;5639:12;5603:50;5672:22;;5725:4;5717:13;;5713:27;-1:-1:-1;5703:55:1;;5754:1;5751;5744:12;5703:55;5777:74;5843:7;5838:2;5825:16;5820:2;5816;5812:11;5777:74;:::i;:::-;5767:84;;;5190:667;;;;;;;:::o;5862:260::-;5930:6;5938;5991:2;5979:9;5970:7;5966:23;5962:32;5959:52;;;6007:1;6004;5997:12;5959:52;6030:29;6049:9;6030:29;:::i;:::-;6020:39;;6078:38;6112:2;6101:9;6097:18;6078:38;:::i;6127:380::-;6206:1;6202:12;;;;6249;;;6270:61;;6324:4;6316:6;6312:17;6302:27;;6270:61;6377:2;6369:6;6366:14;6346:18;6343:38;6340:161;;;6423:10;6418:3;6414:20;6411:1;6404:31;6458:4;6455:1;6448:15;6486:4;6483:1;6476:15;6340:161;;6127:380;;;:::o;6512:356::-;6714:2;6696:21;;;6733:18;;;6726:30;6792:34;6787:2;6772:18;;6765:62;6859:2;6844:18;;6512:356::o;8464:127::-;8525:10;8520:3;8516:20;8513:1;8506:31;8556:4;8553:1;8546:15;8580:4;8577:1;8570:15;8596:128;8636:3;8667:1;8663:6;8660:1;8657:13;8654:39;;;8673:18;;:::i;:::-;-1:-1:-1;8709:9:1;;8596:128::o;10358:125::-;10398:4;10426:1;10423;10420:8;10417:34;;;10431:18;;:::i;:::-;-1:-1:-1;10468:9:1;;10358:125::o;13478:415::-;13680:2;13662:21;;;13719:2;13699:18;;;13692:30;13758:34;13753:2;13738:18;;13731:62;-1:-1:-1;;;13824:2:1;13809:18;;13802:49;13883:3;13868:19;;13478:415::o;14314:637::-;14594:3;14632:6;14626:13;14648:53;14694:6;14689:3;14682:4;14674:6;14670:17;14648:53;:::i;:::-;14764:13;;14723:16;;;;14786:57;14764:13;14723:16;14820:4;14808:17;;14786:57;:::i;:::-;-1:-1:-1;;;14865:20:1;;14894:22;;;14943:1;14932:13;;14314:637;-1:-1:-1;;;;14314:637:1:o;17981:489::-;-1:-1:-1;;;;;18250:15:1;;;18232:34;;18302:15;;18297:2;18282:18;;18275:43;18349:2;18334:18;;18327:34;;;18397:3;18392:2;18377:18;;18370:31;;;18175:4;;18418:46;;18444:19;;18436:6;18418:46;:::i;:::-;18410:54;17981:489;-1:-1:-1;;;;;;17981:489:1:o;18475:249::-;18544:6;18597:2;18585:9;18576:7;18572:23;18568:32;18565:52;;;18613:1;18610;18603:12;18565:52;18645:9;18639:16;18664:30;18688:5;18664:30;:::i;18729:135::-;18768:3;-1:-1:-1;;18789:17:1;;18786:43;;;18809:18;;:::i;:::-;-1:-1:-1;18856:1:1;18845:13;;18729:135::o;18869:127::-;18930:10;18925:3;18921:20;18918:1;18911:31;18961:4;18958:1;18951:15;18985:4;18982:1;18975:15;19001:120;19041:1;19067;19057:35;;19072:18;;:::i;:::-;-1:-1:-1;19106:9:1;;19001:120::o;19126:112::-;19158:1;19184;19174:35;;19189:18;;:::i;:::-;-1:-1:-1;19223:9:1;;19126:112::o;19243:127::-;19304:10;19299:3;19295:20;19292:1;19285:31;19335:4;19332:1;19325:15;19359:4;19356:1;19349:15

Swarm Source

ipfs://bd7dbecbd359a6a3d36656fbe40ab4073b2e0fda41363d92da217ee7aa7ae238
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.