ETH Price: $3,463.60 (+0.35%)

Token

Goblin Vikings (GB)
 

Overview

Max Total Supply

6,848 GB

Holders

852

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 GB
0xd0228a931f3ed5a9dd3aa6b9b74ec4de88a3b0ce
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:
NFT

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-26
*/

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

/// @title Viking
/// @author Viking

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 NFT is ERC721A, Ownable {
    
    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;
        
    //cost of mints depending on state of sale    
    uint private mintCost_; 

    //max amount of mints a user can have
    uint public maxMint;

    //max amount of mints a user can execute per tx
    uint public maxMintPerTX;
    
    //the amount of reserved mints that have currently been executed by creator and giveaways
    uint private _reservedMints;

    //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('Goblin Vikings', 'GB') {
        _currentBaseURI = "ipfs://QmPMBiXpcjMwPg36r9BiixuhJ8W9BY6YqPBK6FHhQnEz2K/";
        maxTotalTokens = 8000;
        mintCost_ = 0.003 ether;
        maxMint = 20;
        maxMintPerTX = 5;
    }
    
    //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_;
    }

    //open and close the sale
    function toggleSale() public onlyOwner {
        if (saleState_ == State.NoSale) {
            saleState_ = State.OpenSale;
        }
        else {
            saleState_ = State.NoSale;
        }
    }
    
    //mint a @param number of NFTs in presale
    function mint(uint256 number) public payable {
        require(saleState_ != State.NoSale, "Sale is not open yet!");
        require(totalSupply() + number <= maxTotalTokens, "Not enough NFTs left to mint..");
        require(number <= maxMintPerTX, "Max Mints per TX exceeded!");
        require(mintsPerAddress[msg.sender] + number <= maxMint, "Max mints per address exceeded!");
        require(msg.value >= mintCost() * number, "Not sufficient Ether to mint this amount of NFTs");
        
        _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");
        

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId_.toString(), ".json")) : "";
            
    }
    
    //reserved NFTs for creator
    function reservedMint(uint number, address recipient) public onlyOwner {
        require(totalSupply() + number <= maxTotalTokens, "Not enough Reserved NFTs left to mint..");

        _safeMint(recipient, number);
        mintsPerAddress[recipient] += number;
        _reservedMints += number; 
        
    }


    
    //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(owner()), 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");
    }
    
    //see current state of sale
    //see the current state of the sale
    function saleState() public view returns(State){
        return saleState_;
    }
    
    //gets the cost of current mint
    function mintCost() public view returns(uint) {
        return mintCost_;
    }

    //change the mint cost
    function changeMintCost(uint256 newMintCost) public onlyOwner {
        mintCost_ = newMintCost;
    }

    //change the max mints
    function changeMaxMint(uint256 newMaxMint) public onlyOwner {
        maxMint = newMaxMint;
    }

    //change the max mints per tx
    function changeMaxMintPerTX(uint256 newMaxMintPerTX) public onlyOwner {
        maxMintPerTX = newMaxMintPerTX;
    }
   
}

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":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMint","type":"uint256"}],"name":"changeMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMintPerTX","type":"uint256"}],"name":"changeMaxMintPerTX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintCost","type":"uint256"}],"name":"changeMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"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 NFT.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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604080518082018252600e81526d476f626c696e2056696b696e677360901b60208083019182528351808501909452600284526123a160f11b90840152815191929162000062916001916200013d565b508051620000789060029060208401906200013d565b505050620000956200008f620000e760201b60201c565b620000eb565b604051806060016040528060368152602001620024c9603691398051620000c5916009916020909101906200013d565b50611f40600855660aa87bee538000600a556014600b556005600c5562000220565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014b90620001e3565b90600052602060002090601f0160209004810192826200016f5760008555620001ba565b82601f106200018a57805160ff1916838001178555620001ba565b82800160010185558215620001ba579182015b82811115620001ba5782518255916020019190600101906200019d565b50620001c8929150620001cc565b5090565b5b80821115620001c85760008155600101620001cd565b600181811c90821680620001f857607f821691505b602082108114156200021a57634e487b7160e01b600052602260045260246000fd5b50919050565b61229980620002306000396000f3fe6080604052600436106101f25760003560e01c8063603f4d521161010d57806395d89b41116100a0578063b88d4fde1161006f578063b88d4fde14610561578063bdb4b84814610581578063c87b56dd14610596578063e985e9c5146105b6578063f2fde38b146105ff57600080fd5b806395d89b4114610504578063a0712d6814610519578063a22cb4651461052c578063b0a1c1c41461054c57600080fd5b80637501f741116100dc5780637501f7411461049b5780637d8966e4146104b15780637f1921ef146104c65780638da5cb5b146104e657600080fd5b8063603f4d52146104265780636352211e1461044657806370a0823114610466578063715018a61461048657600080fd5b806323b872dd116101855780633ccfd60b116101545780633ccfd60b146103bb57806342842e0e146103d05780634f6ccce7146103f0578063553f241e1461041057600080fd5b806323b872dd1461032e5780632f745c591461034e5780633023eba61461036e57806339a0c6f91461039b57600080fd5b806318160ddd116101c157806318160ddd146102af57806318df6403146102ce57806320c63e3b146102ee578063214584d51461030e57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d57600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b5061021e610219366004611cd5565b61061f565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861068c565b60405161022a9190611d4a565b34801561026157600080fd5b50610275610270366004611d5d565b61071e565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611d92565b6107ae565b005b3480156102bb57600080fd5b506000545b60405190815260200161022a565b3480156102da57600080fd5b506102ad6102e9366004611dbc565b6108c6565b3480156102fa57600080fd5b506102ad610309366004611d5d565b6109b9565b34801561031a57600080fd5b506102ad610329366004611d5d565b6109e8565b34801561033a57600080fd5b506102ad610349366004611de8565b610a17565b34801561035a57600080fd5b506102c0610369366004611d92565b610a22565b34801561037a57600080fd5b506102c0610389366004611e24565b600e6020526000908152604090205481565b3480156103a757600080fd5b506102ad6103b6366004611ecb565b610b7f565b3480156103c757600080fd5b506102ad610bc0565b3480156103dc57600080fd5b506102ad6103eb366004611de8565b610c6f565b3480156103fc57600080fd5b506102c061040b366004611d5d565b610c8a565b34801561041c57600080fd5b506102c0600c5481565b34801561043257600080fd5b50600f5460ff1660405161022a9190611f2a565b34801561045257600080fd5b50610275610461366004611d5d565b610cec565b34801561047257600080fd5b506102c0610481366004611e24565b610cfe565b34801561049257600080fd5b506102ad610d8f565b3480156104a757600080fd5b506102c0600b5481565b3480156104bd57600080fd5b506102ad610dc5565b3480156104d257600080fd5b506102ad6104e1366004611d5d565b610e29565b3480156104f257600080fd5b506007546001600160a01b0316610275565b34801561051057600080fd5b50610248610e58565b6102ad610527366004611d5d565b610e67565b34801561053857600080fd5b506102ad610547366004611f52565b611096565b34801561055857600080fd5b506102c061115b565b34801561056d57600080fd5b506102ad61057c366004611f8e565b61118d565b34801561058d57600080fd5b50600a546102c0565b3480156105a257600080fd5b506102486105b1366004611d5d565b6111c6565b3480156105c257600080fd5b5061021e6105d136600461200a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561060b57600080fd5b506102ad61061a366004611e24565b611293565b60006001600160e01b031982166380ac58cd60e01b148061065057506001600160e01b03198216635b5e139f60e01b145b8061066b57506001600160e01b0319821663780e9d6360e01b145b8061068657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461069b90612034565b80601f01602080910402602001604051908101604052809291908181526020018280546106c790612034565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b600061072b826000541190565b6107925760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107b982610cec565b9050806001600160a01b0316836001600160a01b031614156108285760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610789565b336001600160a01b0382161480610844575061084481336105d1565b6108b65760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610789565b6108c183838361132b565b505050565b6007546001600160a01b031633146108f05760405162461bcd60e51b81526004016107899061206f565b600854826108fd60005490565b61090791906120ba565b11156109655760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b6064820152608401610789565b61096f8183611387565b6001600160a01b0381166000908152600e6020526040812080548492906109979084906120ba565b9250508190555081600d60008282546109b091906120ba565b90915550505050565b6007546001600160a01b031633146109e35760405162461bcd60e51b81526004016107899061206f565b600b55565b6007546001600160a01b03163314610a125760405162461bcd60e51b81526004016107899061206f565b600c55565b6108c18383836113a1565b6000610a2d83610cfe565b8210610a865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610789565b600080549080805b83811015610b1f576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610ae157805192505b876001600160a01b0316836001600160a01b03161415610b165786841415610b0f5750935061068692505050565b6001909301925b50600101610a8e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610789565b6007546001600160a01b03163314610ba95760405162461bcd60e51b81526004016107899061206f565b8051610bbc906009906020840190611c2f565b5050565b6007546001600160a01b03163314610bea5760405162461bcd60e51b81526004016107899061206f565b6000610bf461115b565b905060008111610c515760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610789565b610c6c610c666007546001600160a01b031690565b82611686565b50565b6108c18383836040518060200160405280600081525061118d565b600080548210610ce85760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610789565b5090565b6000610cf782611720565b5192915050565b60006001600160a01b038216610d6a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610789565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610db95760405162461bcd60e51b81526004016107899061206f565b610dc360006117f7565b565b6007546001600160a01b03163314610def5760405162461bcd60e51b81526004016107899061206f565b6000600f5460ff166001811115610e0857610e08611f14565b1415610e1d57600f805460ff19166001179055565b600f805460ff19169055565b6007546001600160a01b03163314610e535760405162461bcd60e51b81526004016107899061206f565b600a55565b60606002805461069b90612034565b6000600f5460ff166001811115610e8057610e80611f14565b1415610ec65760405162461bcd60e51b815260206004820152601560248201527453616c65206973206e6f74206f70656e207965742160581b6044820152606401610789565b60085481610ed360005490565b610edd91906120ba565b1115610f2b5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e00006044820152606401610789565b600c54811115610f7d5760405162461bcd60e51b815260206004820152601a60248201527f4d6178204d696e747320706572205458206578636565646564210000000000006044820152606401610789565b600b54336000908152600e6020526040902054610f9b9083906120ba565b1115610fe95760405162461bcd60e51b815260206004820152601f60248201527f4d6178206d696e747320706572206164647265737320657863656564656421006044820152606401610789565b80610ff3600a5490565b610ffd91906120d2565b3410156110655760405162461bcd60e51b815260206004820152603060248201527f4e6f742073756666696369656e7420457468657220746f206d696e742074686960448201526f7320616d6f756e74206f66204e46547360801b6064820152608401610789565b61106f3382611387565b336000908152600e60205260408120805483929061108e9084906120ba565b909155505050565b6001600160a01b0382163314156110ef5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610789565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546000906001600160a01b031633146111885760405162461bcd60e51b81526004016107899061206f565b504790565b6111988484846113a1565b6111a484848484611849565b6111c05760405162461bcd60e51b8152600401610789906120f1565b50505050565b60606111d3826000541190565b6112375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610789565b6000611241611957565b90506000815111611261576040518060200160405280600081525061128c565b8061126b84611966565b60405160200161127c929190612144565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146112bd5760405162461bcd60e51b81526004016107899061206f565b6001600160a01b0381166113225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610789565b610c6c816117f7565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bbc828260405180602001604052806000815250611a64565b60006113ac82611720565b80519091506000906001600160a01b0316336001600160a01b031614806113e35750336113d88461071e565b6001600160a01b0316145b806113f5575081516113f590336105d1565b90508061145f5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610789565b846001600160a01b031682600001516001600160a01b0316146114d35760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610789565b6001600160a01b0384166115375760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610789565b611547600084846000015161132b565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff160217905590860180835291205490911661163c576115ef816000541190565b1561163c578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146116d3576040519150601f19603f3d011682016040523d82523d6000602084013e6116d8565b606091505b50509050806108c15760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610789565b604080518082019091526000808252602082015261173f826000541190565b61179e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610789565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156117ed579392505050565b50600019016117a0565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561194b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061188d903390899088908890600401612183565b602060405180830381600087803b1580156118a757600080fd5b505af19250505080156118d7575060408051601f3d908101601f191682019092526118d4918101906121c0565b60015b611931573d808015611905576040519150601f19603f3d011682016040523d82523d6000602084013e61190a565b606091505b5080516119295760405162461bcd60e51b8152600401610789906120f1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061194f565b5060015b949350505050565b60606009805461069b90612034565b60608161198a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119b4578061199e816121dd565b91506119ad9050600a8361220e565b915061198e565b60008167ffffffffffffffff8111156119cf576119cf611e3f565b6040519080825280601f01601f1916602001820160405280156119f9576020820181803683370190505b5090505b841561194f57611a0e600183612222565b9150611a1b600a86612239565b611a269060306120ba565b60f81b818381518110611a3b57611a3b61224d565b60200101906001600160f81b031916908160001a905350611a5d600a8661220e565b94506119fd565b6108c183838360016000546001600160a01b038516611acf5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610789565b83611b2d5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610789565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611c265760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611c1a57611bfe6000888488611849565b611c1a5760405162461bcd60e51b8152600401610789906120f1565b60019182019101611bab565b5060005561167f565b828054611c3b90612034565b90600052602060002090601f016020900481019282611c5d5760008555611ca3565b82601f10611c7657805160ff1916838001178555611ca3565b82800160010185558215611ca3579182015b82811115611ca3578251825591602001919060010190611c88565b50610ce89291505b80821115610ce85760008155600101611cab565b6001600160e01b031981168114610c6c57600080fd5b600060208284031215611ce757600080fd5b813561128c81611cbf565b60005b83811015611d0d578181015183820152602001611cf5565b838111156111c05750506000910152565b60008151808452611d36816020860160208601611cf2565b601f01601f19169290920160200192915050565b60208152600061128c6020830184611d1e565b600060208284031215611d6f57600080fd5b5035919050565b80356001600160a01b0381168114611d8d57600080fd5b919050565b60008060408385031215611da557600080fd5b611dae83611d76565b946020939093013593505050565b60008060408385031215611dcf57600080fd5b82359150611ddf60208401611d76565b90509250929050565b600080600060608486031215611dfd57600080fd5b611e0684611d76565b9250611e1460208501611d76565b9150604084013590509250925092565b600060208284031215611e3657600080fd5b61128c82611d76565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e7057611e70611e3f565b604051601f8501601f19908116603f01168101908282118183101715611e9857611e98611e3f565b81604052809350858152868686011115611eb157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611edd57600080fd5b813567ffffffffffffffff811115611ef457600080fd5b8201601f81018413611f0557600080fd5b61194f84823560208401611e55565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611f4c57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611f6557600080fd5b611f6e83611d76565b915060208301358015158114611f8357600080fd5b809150509250929050565b60008060008060808587031215611fa457600080fd5b611fad85611d76565b9350611fbb60208601611d76565b925060408501359150606085013567ffffffffffffffff811115611fde57600080fd5b8501601f81018713611fef57600080fd5b611ffe87823560208401611e55565b91505092959194509250565b6000806040838503121561201d57600080fd5b61202683611d76565b9150611ddf60208401611d76565b600181811c9082168061204857607f821691505b6020821081141561206957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120cd576120cd6120a4565b500190565b60008160001904831182151516156120ec576120ec6120a4565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612156818460208801611cf2565b83519083019061216a818360208801611cf2565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121b690830184611d1e565b9695505050505050565b6000602082840312156121d257600080fd5b815161128c81611cbf565b60006000198214156121f1576121f16120a4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261221d5761221d6121f8565b500490565b600082821015612234576122346120a4565b500390565b600082612248576122486121f8565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220ea219fb9aa99cc236b3eefc94f2aeda1255fb27b9f0d91188afb6a1498b1523364736f6c63430008090033697066733a2f2f516d504d42695870636a4d775067333672394269697875684a385739425936597150424b36464868516e457a324b2f

Deployed Bytecode

0x6080604052600436106101f25760003560e01c8063603f4d521161010d57806395d89b41116100a0578063b88d4fde1161006f578063b88d4fde14610561578063bdb4b84814610581578063c87b56dd14610596578063e985e9c5146105b6578063f2fde38b146105ff57600080fd5b806395d89b4114610504578063a0712d6814610519578063a22cb4651461052c578063b0a1c1c41461054c57600080fd5b80637501f741116100dc5780637501f7411461049b5780637d8966e4146104b15780637f1921ef146104c65780638da5cb5b146104e657600080fd5b8063603f4d52146104265780636352211e1461044657806370a0823114610466578063715018a61461048657600080fd5b806323b872dd116101855780633ccfd60b116101545780633ccfd60b146103bb57806342842e0e146103d05780634f6ccce7146103f0578063553f241e1461041057600080fd5b806323b872dd1461032e5780632f745c591461034e5780633023eba61461036e57806339a0c6f91461039b57600080fd5b806318160ddd116101c157806318160ddd146102af57806318df6403146102ce57806320c63e3b146102ee578063214584d51461030e57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d57600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b5061021e610219366004611cd5565b61061f565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861068c565b60405161022a9190611d4a565b34801561026157600080fd5b50610275610270366004611d5d565b61071e565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611d92565b6107ae565b005b3480156102bb57600080fd5b506000545b60405190815260200161022a565b3480156102da57600080fd5b506102ad6102e9366004611dbc565b6108c6565b3480156102fa57600080fd5b506102ad610309366004611d5d565b6109b9565b34801561031a57600080fd5b506102ad610329366004611d5d565b6109e8565b34801561033a57600080fd5b506102ad610349366004611de8565b610a17565b34801561035a57600080fd5b506102c0610369366004611d92565b610a22565b34801561037a57600080fd5b506102c0610389366004611e24565b600e6020526000908152604090205481565b3480156103a757600080fd5b506102ad6103b6366004611ecb565b610b7f565b3480156103c757600080fd5b506102ad610bc0565b3480156103dc57600080fd5b506102ad6103eb366004611de8565b610c6f565b3480156103fc57600080fd5b506102c061040b366004611d5d565b610c8a565b34801561041c57600080fd5b506102c0600c5481565b34801561043257600080fd5b50600f5460ff1660405161022a9190611f2a565b34801561045257600080fd5b50610275610461366004611d5d565b610cec565b34801561047257600080fd5b506102c0610481366004611e24565b610cfe565b34801561049257600080fd5b506102ad610d8f565b3480156104a757600080fd5b506102c0600b5481565b3480156104bd57600080fd5b506102ad610dc5565b3480156104d257600080fd5b506102ad6104e1366004611d5d565b610e29565b3480156104f257600080fd5b506007546001600160a01b0316610275565b34801561051057600080fd5b50610248610e58565b6102ad610527366004611d5d565b610e67565b34801561053857600080fd5b506102ad610547366004611f52565b611096565b34801561055857600080fd5b506102c061115b565b34801561056d57600080fd5b506102ad61057c366004611f8e565b61118d565b34801561058d57600080fd5b50600a546102c0565b3480156105a257600080fd5b506102486105b1366004611d5d565b6111c6565b3480156105c257600080fd5b5061021e6105d136600461200a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561060b57600080fd5b506102ad61061a366004611e24565b611293565b60006001600160e01b031982166380ac58cd60e01b148061065057506001600160e01b03198216635b5e139f60e01b145b8061066b57506001600160e01b0319821663780e9d6360e01b145b8061068657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461069b90612034565b80601f01602080910402602001604051908101604052809291908181526020018280546106c790612034565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b600061072b826000541190565b6107925760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107b982610cec565b9050806001600160a01b0316836001600160a01b031614156108285760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610789565b336001600160a01b0382161480610844575061084481336105d1565b6108b65760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610789565b6108c183838361132b565b505050565b6007546001600160a01b031633146108f05760405162461bcd60e51b81526004016107899061206f565b600854826108fd60005490565b61090791906120ba565b11156109655760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b6064820152608401610789565b61096f8183611387565b6001600160a01b0381166000908152600e6020526040812080548492906109979084906120ba565b9250508190555081600d60008282546109b091906120ba565b90915550505050565b6007546001600160a01b031633146109e35760405162461bcd60e51b81526004016107899061206f565b600b55565b6007546001600160a01b03163314610a125760405162461bcd60e51b81526004016107899061206f565b600c55565b6108c18383836113a1565b6000610a2d83610cfe565b8210610a865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610789565b600080549080805b83811015610b1f576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610ae157805192505b876001600160a01b0316836001600160a01b03161415610b165786841415610b0f5750935061068692505050565b6001909301925b50600101610a8e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610789565b6007546001600160a01b03163314610ba95760405162461bcd60e51b81526004016107899061206f565b8051610bbc906009906020840190611c2f565b5050565b6007546001600160a01b03163314610bea5760405162461bcd60e51b81526004016107899061206f565b6000610bf461115b565b905060008111610c515760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610789565b610c6c610c666007546001600160a01b031690565b82611686565b50565b6108c18383836040518060200160405280600081525061118d565b600080548210610ce85760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610789565b5090565b6000610cf782611720565b5192915050565b60006001600160a01b038216610d6a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610789565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610db95760405162461bcd60e51b81526004016107899061206f565b610dc360006117f7565b565b6007546001600160a01b03163314610def5760405162461bcd60e51b81526004016107899061206f565b6000600f5460ff166001811115610e0857610e08611f14565b1415610e1d57600f805460ff19166001179055565b600f805460ff19169055565b6007546001600160a01b03163314610e535760405162461bcd60e51b81526004016107899061206f565b600a55565b60606002805461069b90612034565b6000600f5460ff166001811115610e8057610e80611f14565b1415610ec65760405162461bcd60e51b815260206004820152601560248201527453616c65206973206e6f74206f70656e207965742160581b6044820152606401610789565b60085481610ed360005490565b610edd91906120ba565b1115610f2b5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e00006044820152606401610789565b600c54811115610f7d5760405162461bcd60e51b815260206004820152601a60248201527f4d6178204d696e747320706572205458206578636565646564210000000000006044820152606401610789565b600b54336000908152600e6020526040902054610f9b9083906120ba565b1115610fe95760405162461bcd60e51b815260206004820152601f60248201527f4d6178206d696e747320706572206164647265737320657863656564656421006044820152606401610789565b80610ff3600a5490565b610ffd91906120d2565b3410156110655760405162461bcd60e51b815260206004820152603060248201527f4e6f742073756666696369656e7420457468657220746f206d696e742074686960448201526f7320616d6f756e74206f66204e46547360801b6064820152608401610789565b61106f3382611387565b336000908152600e60205260408120805483929061108e9084906120ba565b909155505050565b6001600160a01b0382163314156110ef5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610789565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546000906001600160a01b031633146111885760405162461bcd60e51b81526004016107899061206f565b504790565b6111988484846113a1565b6111a484848484611849565b6111c05760405162461bcd60e51b8152600401610789906120f1565b50505050565b60606111d3826000541190565b6112375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610789565b6000611241611957565b90506000815111611261576040518060200160405280600081525061128c565b8061126b84611966565b60405160200161127c929190612144565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146112bd5760405162461bcd60e51b81526004016107899061206f565b6001600160a01b0381166113225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610789565b610c6c816117f7565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bbc828260405180602001604052806000815250611a64565b60006113ac82611720565b80519091506000906001600160a01b0316336001600160a01b031614806113e35750336113d88461071e565b6001600160a01b0316145b806113f5575081516113f590336105d1565b90508061145f5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610789565b846001600160a01b031682600001516001600160a01b0316146114d35760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610789565b6001600160a01b0384166115375760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610789565b611547600084846000015161132b565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff160217905590860180835291205490911661163c576115ef816000541190565b1561163c578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146116d3576040519150601f19603f3d011682016040523d82523d6000602084013e6116d8565b606091505b50509050806108c15760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610789565b604080518082019091526000808252602082015261173f826000541190565b61179e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610789565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156117ed579392505050565b50600019016117a0565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561194b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061188d903390899088908890600401612183565b602060405180830381600087803b1580156118a757600080fd5b505af19250505080156118d7575060408051601f3d908101601f191682019092526118d4918101906121c0565b60015b611931573d808015611905576040519150601f19603f3d011682016040523d82523d6000602084013e61190a565b606091505b5080516119295760405162461bcd60e51b8152600401610789906120f1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061194f565b5060015b949350505050565b60606009805461069b90612034565b60608161198a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119b4578061199e816121dd565b91506119ad9050600a8361220e565b915061198e565b60008167ffffffffffffffff8111156119cf576119cf611e3f565b6040519080825280601f01601f1916602001820160405280156119f9576020820181803683370190505b5090505b841561194f57611a0e600183612222565b9150611a1b600a86612239565b611a269060306120ba565b60f81b818381518110611a3b57611a3b61224d565b60200101906001600160f81b031916908160001a905350611a5d600a8661220e565b94506119fd565b6108c183838360016000546001600160a01b038516611acf5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610789565b83611b2d5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610789565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611c265760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611c1a57611bfe6000888488611849565b611c1a5760405162461bcd60e51b8152600401610789906120f1565b60019182019101611bab565b5060005561167f565b828054611c3b90612034565b90600052602060002090601f016020900481019282611c5d5760008555611ca3565b82601f10611c7657805160ff1916838001178555611ca3565b82800160010185558215611ca3579182015b82811115611ca3578251825591602001919060010190611c88565b50610ce89291505b80821115610ce85760008155600101611cab565b6001600160e01b031981168114610c6c57600080fd5b600060208284031215611ce757600080fd5b813561128c81611cbf565b60005b83811015611d0d578181015183820152602001611cf5565b838111156111c05750506000910152565b60008151808452611d36816020860160208601611cf2565b601f01601f19169290920160200192915050565b60208152600061128c6020830184611d1e565b600060208284031215611d6f57600080fd5b5035919050565b80356001600160a01b0381168114611d8d57600080fd5b919050565b60008060408385031215611da557600080fd5b611dae83611d76565b946020939093013593505050565b60008060408385031215611dcf57600080fd5b82359150611ddf60208401611d76565b90509250929050565b600080600060608486031215611dfd57600080fd5b611e0684611d76565b9250611e1460208501611d76565b9150604084013590509250925092565b600060208284031215611e3657600080fd5b61128c82611d76565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e7057611e70611e3f565b604051601f8501601f19908116603f01168101908282118183101715611e9857611e98611e3f565b81604052809350858152868686011115611eb157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611edd57600080fd5b813567ffffffffffffffff811115611ef457600080fd5b8201601f81018413611f0557600080fd5b61194f84823560208401611e55565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611f4c57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611f6557600080fd5b611f6e83611d76565b915060208301358015158114611f8357600080fd5b809150509250929050565b60008060008060808587031215611fa457600080fd5b611fad85611d76565b9350611fbb60208601611d76565b925060408501359150606085013567ffffffffffffffff811115611fde57600080fd5b8501601f81018713611fef57600080fd5b611ffe87823560208401611e55565b91505092959194509250565b6000806040838503121561201d57600080fd5b61202683611d76565b9150611ddf60208401611d76565b600181811c9082168061204857607f821691505b6020821081141561206957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120cd576120cd6120a4565b500190565b60008160001904831182151516156120ec576120ec6120a4565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612156818460208801611cf2565b83519083019061216a818360208801611cf2565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121b690830184611d1e565b9695505050505050565b6000602082840312156121d257600080fd5b815161128c81611cbf565b60006000198214156121f1576121f16120a4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261221d5761221d6121f8565b500490565b600082821015612234576122346120a4565b500390565b600082612248576122486121f8565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220ea219fb9aa99cc236b3eefc94f2aeda1255fb27b9f0d91188afb6a1498b1523364736f6c63430008090033

Deployed Bytecode Sourcemap

54990:4781:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;;;;;;;;;;;;;;;;56354:8;;;54990:4781;;;;;;56354:8;;;41751:372;;;;;;;;;;-1:-1:-1;41751:372:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41751:372:0;;;;;;;;43637:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45199:214::-;;;;;;;;;;-1:-1:-1;45199:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;45199:214:0;1528:203:1;44720:413:0;;;;;;;;;;-1:-1:-1;44720:413:0;;;;;:::i;:::-;;:::i;:::-;;40000:108;;;;;;;;;;-1:-1:-1;40061:7:0;40088:12;40000:108;;;2319:25:1;;;2307:2;2292:18;40000:108:0;2173:177:1;58021:316:0;;;;;;;;;;-1:-1:-1;58021:316:0;;;;;:::i;:::-;;:::i;59502:99::-;;;;;;;;;;-1:-1:-1;59502:99:0;;;;;:::i;:::-;;:::i;59644:119::-;;;;;;;;;;-1:-1:-1;59644:119:0;;;;;:::i;:::-;;:::i;46075:170::-;;;;;;;;;;-1:-1:-1;46075:170:0;;;;;:::i;:::-;;:::i;40672:1007::-;;;;;;;;;;-1:-1:-1;40672:1007:0;;;;;:::i;:::-;;:::i;55728:50::-;;;;;;;;;;-1:-1:-1;55728:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;56581:109;;;;;;;;;;-1:-1:-1;56581:109:0;;;;;:::i;:::-;;:::i;58560:209::-;;;;;;;;;;;;;:::i;46316:185::-;;;;;;;;;;-1:-1:-1;46316:185:0;;;;;:::i;:::-;;:::i;40185:187::-;;;;;;;;;;-1:-1:-1;40185:187:0;;;;;:::i;:::-;;:::i;55506:24::-;;;;;;;;;;;;;;;;59113:83;;;;;;;;;;-1:-1:-1;59178:10:0;;;;59113:83;;;;;;:::i;43446:124::-;;;;;;;;;;-1:-1:-1;43446:124:0;;;;;:::i;:::-;;:::i;42187:221::-;;;;;;;;;;-1:-1:-1;42187:221:0;;;;;:::i;:::-;;:::i;4632:94::-;;;;;;;;;;;;;:::i;55425:19::-;;;;;;;;;;;;;;;;56729:210;;;;;;;;;;;;;:::i;59362:104::-;;;;;;;;;;-1:-1:-1;59362:104:0;;;;;:::i;:::-;;:::i;3981:87::-;;;;;;;;;;-1:-1:-1;4054:6:0;;-1:-1:-1;;;;;4054:6:0;3981:87;;43806:104;;;;;;;;;;;;;:::i;56998:596::-;;;;;;:::i;:::-;;:::i;45485:288::-;;;;;;;;;;-1:-1:-1;45485:288:0;;;;;:::i;:::-;;:::i;58391:109::-;;;;;;;;;;;;;:::i;46572:355::-;;;;;;;;;;-1:-1:-1;46572:355:0;;;;;:::i;:::-;;:::i;59245:81::-;;;;;;;;;;-1:-1:-1;59309:9:0;;59245:81;;57606:370;;;;;;;;;;-1:-1:-1;57606:370:0;;;;;:::i;:::-;;:::i;45844:164::-;;;;;;;;;;-1:-1:-1;45844:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45965:25:0;;;45941:4;45965:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45844:164;4881:192;;;;;;;;;;-1:-1:-1;4881:192:0;;;;;:::i;:::-;;:::i;41751:372::-;41853:4;-1:-1:-1;;;;;;41890:40:0;;-1:-1:-1;;;41890:40:0;;:105;;-1:-1:-1;;;;;;;41947:48:0;;-1:-1:-1;;;41947:48:0;41890:105;:172;;;-1:-1:-1;;;;;;;42012:50:0;;-1:-1:-1;;;42012:50:0;41890:172;:225;;;-1:-1:-1;;;;;;;;;;16072:40:0;;;42079:36;41870:245;41751:372;-1:-1:-1;;41751:372:0:o;43637:100::-;43691:13;43724:5;43717:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43637:100;:::o;45199:214::-;45267:7;45295:16;45303:7;47239:4;47273:12;-1:-1:-1;47263:22:0;47182:111;45295:16;45287:74;;;;-1:-1:-1;;;45287:74:0;;6714:2:1;45287:74:0;;;6696:21:1;6753:2;6733:18;;;6726:30;6792:34;6772:18;;;6765:62;-1:-1:-1;;;6843:18:1;;;6836:43;6896:19;;45287:74:0;;;;;;;;;-1:-1:-1;45381:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45381:24:0;;45199:214::o;44720:413::-;44793:13;44809:24;44825:7;44809:15;:24::i;:::-;44793:40;;44858:5;-1:-1:-1;;;;;44852:11:0;:2;-1:-1:-1;;;;;44852:11:0;;;44844:58;;;;-1:-1:-1;;;44844:58:0;;7128:2:1;44844:58:0;;;7110:21:1;7167:2;7147:18;;;7140:30;7206:34;7186:18;;;7179:62;-1:-1:-1;;;7257:18:1;;;7250:32;7299:19;;44844:58:0;6926:398:1;44844:58:0;2849:10;-1:-1:-1;;;;;44937:21:0;;;;:62;;-1:-1:-1;44962:37:0;44979:5;2849:10;45844:164;:::i;44962:37::-;44915:169;;;;-1:-1:-1;;;44915:169:0;;7531:2:1;44915:169:0;;;7513:21:1;7570:2;7550:18;;;7543:30;7609:34;7589:18;;;7582:62;7680:27;7660:18;;;7653:55;7725:19;;44915:169:0;7329:421:1;44915:169:0;45097:28;45106:2;45110:7;45119:5;45097:8;:28::i;:::-;44782:351;44720:413;;:::o;58021:316::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;58137:14:::1;;58127:6;58111:13;40061:7:::0;40088:12;;40000:108;58111:13:::1;:22;;;;:::i;:::-;:40;;58103:92;;;::::0;-1:-1:-1;;;58103:92:0;;8583:2:1;58103:92:0::1;::::0;::::1;8565:21:1::0;8622:2;8602:18;;;8595:30;8661:34;8641:18;;;8634:62;-1:-1:-1;;;8712:18:1;;;8705:37;8759:19;;58103:92:0::1;8381:403:1::0;58103:92:0::1;58208:28;58218:9;58229:6;58208:9;:28::i;:::-;-1:-1:-1::0;;;;;58247:26:0;::::1;;::::0;;;:15:::1;:26;::::0;;;;:36;;58277:6;;58247:26;:36:::1;::::0;58277:6;;58247:36:::1;:::i;:::-;;;;;;;;58312:6;58294:14;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;58021:316:0:o;59502:99::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;59573:7:::1;:20:::0;59502:99::o;59644:119::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;59725:12:::1;:30:::0;59644:119::o;46075:170::-;46209:28;46219:4;46225:2;46229:7;46209:9;:28::i;40672:1007::-;40761:7;40797:16;40807:5;40797:9;:16::i;:::-;40789:5;:24;40781:71;;;;-1:-1:-1;;;40781:71:0;;8991:2:1;40781:71:0;;;8973:21:1;9030:2;9010:18;;;9003:30;9069:34;9049:18;;;9042:62;-1:-1:-1;;;9120:18:1;;;9113:32;9162:19;;40781:71:0;8789:398:1;40781:71:0;40863:22;40088:12;;;40863:22;;41126:466;41146:14;41142:1;:18;41126:466;;;41186:31;41220:14;;;:11;:14;;;;;;;;;41186:48;;;;;;;;;-1:-1:-1;;;;;41186:48:0;;;;;-1:-1:-1;;;41186:48:0;;;;;;;;;;;;41257:28;41253:111;;41330:14;;;-1:-1:-1;41253:111:0;41407:5;-1:-1:-1;;;;;41386:26:0;:17;-1:-1:-1;;;;;41386:26:0;;41382:195;;;41456:5;41441:11;:20;41437:85;;;-1:-1:-1;41497:1:0;-1:-1:-1;41490:8:0;;-1:-1:-1;;;41490:8:0;41437:85;41544:13;;;;;41382:195;-1:-1:-1;41162:3:0;;41126:466;;;-1:-1:-1;41615:56:0;;-1:-1:-1;;;41615:56:0;;9394:2:1;41615:56:0;;;9376:21:1;9433:2;9413:18;;;9406:30;9472:34;9452:18;;;9445:62;-1:-1:-1;;;9523:18:1;;;9516:44;9577:19;;41615:56:0;9192:410:1;56581:109:0;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;56656:26;;::::1;::::0;:15:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;:::-;;56581:109:::0;:::o;58560:209::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;58608:15:::1;58626:16;:14;:16::i;:::-;58608:34;;58671:1;58661:7;:11;58653:58;;;::::0;-1:-1:-1;;;58653:58:0;;9809:2:1;58653:58:0::1;::::0;::::1;9791:21:1::0;9848:2;9828:18;;;9821:30;9887:34;9867:18;;;9860:62;-1:-1:-1;;;9938:18:1;;;9931:32;9980:19;;58653:58:0::1;9607:398:1::0;58653:58:0::1;58724:36;58742:7;4054:6:::0;;-1:-1:-1;;;;;4054:6:0;;3981:87;58742:7:::1;58752;58724:9;:36::i;:::-;58597:172;58560:209::o:0;46316:185::-;46454:39;46471:4;46477:2;46481:7;46454:39;;;;;;;;;;;;:16;:39::i;40185:187::-;40252:7;40088:12;;40280:5;:21;40272:69;;;;-1:-1:-1;;;40272:69:0;;10212:2:1;40272:69:0;;;10194:21:1;10251:2;10231:18;;;10224:30;10290:34;10270:18;;;10263:62;-1:-1:-1;;;10341:18:1;;;10334:33;10384:19;;40272:69:0;10010:399:1;40272:69:0;-1:-1:-1;40359:5:0;40185:187::o;43446:124::-;43510:7;43537:20;43549:7;43537:11;:20::i;:::-;:25;;43446:124;-1:-1:-1;;43446:124:0:o;42187:221::-;42251:7;-1:-1:-1;;;;;42279:19:0;;42271:75;;;;-1:-1:-1;;;42271:75:0;;10616:2:1;42271:75:0;;;10598:21:1;10655:2;10635:18;;;10628:30;10694:34;10674:18;;;10667:62;-1:-1:-1;;;10745:18:1;;;10738:41;10796:19;;42271:75:0;10414:407:1;42271:75:0;-1:-1:-1;;;;;;42372:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42372:27:0;;42187:221::o;4632:94::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;4697:21:::1;4715:1;4697:9;:21::i;:::-;4632:94::o:0;56729:210::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;56797:12:::1;56783:10;::::0;::::1;;::::0;:26;::::1;;;;;;:::i;:::-;;56779:153;;;56826:10;:27:::0;;-1:-1:-1;;56826:27:0::1;56839:14;56826:27;::::0;;4632:94::o;56779:153::-:1;56895:10;:25:::0;;-1:-1:-1;;56895:25:0::1;::::0;;56729:210::o;59362:104::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;59435:9:::1;:23:::0;59362:104::o;43806:::-;43862:13;43895:7;43888:14;;;;;:::i;56998:596::-;57076:12;57062:10;;;;;:26;;;;;;;:::i;:::-;;;57054:60;;;;-1:-1:-1;;;57054:60:0;;11028:2:1;57054:60:0;;;11010:21:1;11067:2;11047:18;;;11040:30;-1:-1:-1;;;11086:18:1;;;11079:51;11147:18;;57054:60:0;10826:345:1;57054:60:0;57159:14;;57149:6;57133:13;40061:7;40088:12;;40000:108;57133:13;:22;;;;:::i;:::-;:40;;57125:83;;;;-1:-1:-1;;;57125:83:0;;11378:2:1;57125:83:0;;;11360:21:1;11417:2;11397:18;;;11390:30;11456:32;11436:18;;;11429:60;11506:18;;57125:83:0;11176:354:1;57125:83:0;57237:12;;57227:6;:22;;57219:61;;;;-1:-1:-1;;;57219:61:0;;11737:2:1;57219:61:0;;;11719:21:1;11776:2;11756:18;;;11749:30;11815:28;11795:18;;;11788:56;11861:18;;57219:61:0;11535:350:1;57219:61:0;57339:7;;57315:10;57299:27;;;;:15;:27;;;;;;:36;;57329:6;;57299:36;:::i;:::-;:47;;57291:91;;;;-1:-1:-1;;;57291:91:0;;12092:2:1;57291:91:0;;;12074:21:1;12131:2;12111:18;;;12104:30;12170:33;12150:18;;;12143:61;12221:18;;57291:91:0;11890:355:1;57291:91:0;57427:6;57414:10;59309:9;;;59245:81;57414:10;:19;;;;:::i;:::-;57401:9;:32;;57393:93;;;;-1:-1:-1;;;57393:93:0;;12625:2:1;57393:93:0;;;12607:21:1;12664:2;12644:18;;;12637:30;12703:34;12683:18;;;12676:62;-1:-1:-1;;;12754:18:1;;;12747:46;12810:19;;57393:93:0;12423:412:1;57393:93:0;57507:29;57517:10;57529:6;57507:9;:29::i;:::-;57563:10;57547:27;;;;:15;:27;;;;;:37;;57578:6;;57547:27;:37;;57578:6;;57547:37;:::i;:::-;;;;-1:-1:-1;;;56998:596:0:o;45485:288::-;-1:-1:-1;;;;;45580:24:0;;2849:10;45580:24;;45572:63;;;;-1:-1:-1;;;45572:63:0;;13042:2:1;45572:63:0;;;13024:21:1;13081:2;13061:18;;;13054:30;13120:28;13100:18;;;13093:56;13166:18;;45572:63:0;12840:350:1;45572:63:0;2849:10;45648:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45648:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45648:53:0;;;;;;;;;;45717:48;;540:41:1;;;45648:42:0;;2849:10;45717:48;;513:18:1;45717:48:0;;;;;;;45485:288;;:::o;58391:109::-;4054:6;;58447:4;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;-1:-1:-1;58471:21:0::1;58391:109:::0;:::o;46572:355::-;46731:28;46741:4;46747:2;46751:7;46731:9;:28::i;:::-;46792:48;46815:4;46821:2;46825:7;46834:5;46792:22;:48::i;:::-;46770:149;;;;-1:-1:-1;;;46770:149:0;;;;;;;:::i;:::-;46572:355;;;;:::o;57606:370::-;57680:13;57714:17;57722:8;47239:4;47273:12;-1:-1:-1;47263:22:0;47182:111;57714:17;57706:77;;;;-1:-1:-1;;;57706:77:0;;13817:2:1;57706:77:0;;;13799:21:1;13856:2;13836:18;;;13829:30;13895:34;13875:18;;;13868:62;-1:-1:-1;;;13946:18:1;;;13939:45;14001:19;;57706:77:0;13615:411:1;57706:77:0;57806:21;57830:10;:8;:10::i;:::-;57806:34;;57882:1;57864:7;57858:21;:25;:96;;;;;;;;;;;;;;;;;57910:7;57919:19;:8;:17;:19::i;:::-;57893:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57858:96;57851:103;57606:370;-1:-1:-1;;;57606:370:0:o;4881:192::-;4054:6;;-1:-1:-1;;;;;4054:6:0;2849:10;4201:23;4193:68;;;;-1:-1:-1;;;4193:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4970:22:0;::::1;4962:73;;;::::0;-1:-1:-1;;;4962:73:0;;14875:2:1;4962:73:0::1;::::0;::::1;14857:21:1::0;14914:2;14894:18;;;14887:30;14953:34;14933:18;;;14926:62;-1:-1:-1;;;15004:18:1;;;14997:36;15050:19;;4962:73:0::1;14673:402:1::0;4962:73:0::1;5046:19;5056:8;5046:9;:19::i;52102:196::-:0;52217:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;52217:29:0;-1:-1:-1;;;;;52217:29:0;;;;;;;;;52262:28;;52217:24;;52262:28;;;;;;;52102:196;;;:::o;47301:104::-;47370:27;47380:2;47384:8;47370:27;;;;;;;;;;;;:9;:27::i;49982:2002::-;50097:35;50135:20;50147:7;50135:11;:20::i;:::-;50210:18;;50097:58;;-1:-1:-1;50168:22:0;;-1:-1:-1;;;;;50194:34:0;2849:10;-1:-1:-1;;;;;50194:34:0;;:87;;;-1:-1:-1;2849:10:0;50245:20;50257:7;50245:11;:20::i;:::-;-1:-1:-1;;;;;50245:36:0;;50194:87;:154;;;-1:-1:-1;50315:18:0;;50298:50;;2849:10;45844:164;:::i;50298:50::-;50168:181;;50370:17;50362:80;;;;-1:-1:-1;;;50362:80:0;;15282:2:1;50362:80:0;;;15264:21:1;15321:2;15301:18;;;15294:30;15360:34;15340:18;;;15333:62;-1:-1:-1;;;15411:18:1;;;15404:48;15469:19;;50362:80:0;15080:414:1;50362:80:0;50485:4;-1:-1:-1;;;;;50463:26:0;:13;:18;;;-1:-1:-1;;;;;50463:26:0;;50455:77;;;;-1:-1:-1;;;50455:77:0;;15701:2:1;50455:77:0;;;15683:21:1;15740:2;15720:18;;;15713:30;15779:34;15759:18;;;15752:62;-1:-1:-1;;;15830:18:1;;;15823:36;15876:19;;50455:77:0;15499:402:1;50455:77:0;-1:-1:-1;;;;;50551:16:0;;50543:66;;;;-1:-1:-1;;;50543:66:0;;16108:2:1;50543:66:0;;;16090:21:1;16147:2;16127:18;;;16120:30;16186:34;16166:18;;;16159:62;-1:-1:-1;;;16237:18:1;;;16230:35;16282:19;;50543:66:0;15906:401:1;50543:66:0;50730:49;50747:1;50751:7;50760:13;:18;;;50730:8;:49::i;:::-;-1:-1:-1;;;;;51075:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;51075:31:0;;;-1:-1:-1;;;;;51075:31:0;;;-1:-1:-1;;51075:31:0;;;;;;;51121:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;51121:29:0;;;;;;;;;;;;;51167:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;51212:61:0;;;;-1:-1:-1;;;51257:15:0;51212:61;;;;;;51547:11;;;51577:24;;;;;:29;51547:11;;51577:29;51573:295;;51645:20;51653:11;47239:4;47273:12;-1:-1:-1;47263:22:0;47182:111;51645:20;51641:212;;;51722:18;;;51690:24;;;:11;:24;;;;;;;;:50;;51805:28;;;;51763:70;;-1:-1:-1;;;51763:70:0;-1:-1:-1;;;;;;51763:70:0;;;-1:-1:-1;;;;;51690:50:0;;;51763:70;;;;;;;51641:212;51050:829;51915:7;51911:2;-1:-1:-1;;;;;51896:27:0;51905:4;-1:-1:-1;;;;;51896:27:0;;;;;;;;;;;51934:42;50086:1898;;49982:2002;;;:::o;58844:183::-;58925:9;58940:7;-1:-1:-1;;;;;58940:12:0;58960:6;58940:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58924:47;;;58990:4;58982:37;;;;-1:-1:-1;;;58982:37:0;;16724:2:1;58982:37:0;;;16706:21:1;16763:2;16743:18;;;16736:30;-1:-1:-1;;;16782:18:1;;;16775:50;16842:18;;58982:37:0;16522:344:1;42847:537:0;-1:-1:-1;;;;;;;;;;;;;;;;;42950:16:0;42958:7;47239:4;47273:12;-1:-1:-1;47263:22:0;47182:111;42950:16;42942:71;;;;-1:-1:-1;;;42942:71:0;;17073:2:1;42942:71:0;;;17055:21:1;17112:2;17092:18;;;17085:30;17151:34;17131:18;;;17124:62;-1:-1:-1;;;17202:18:1;;;17195:40;17252:19;;42942:71:0;16871:406:1;42942:71:0;43071:7;43051:245;43118:31;43152:17;;;:11;:17;;;;;;;;;43118:51;;;;;;;;;-1:-1:-1;;;;;43118:51:0;;;;;-1:-1:-1;;;43118:51:0;;;;;;;;;;;;43192:28;43188:93;;43252:9;42847:537;-1:-1:-1;;;42847:537:0:o;43188:93::-;-1:-1:-1;;;43091:6:0;43051:245;;5081:173;5156:6;;;-1:-1:-1;;;;;5173:17:0;;;-1:-1:-1;;;;;;5173:17:0;;;;;;;5206:40;;5156:6;;;5173:17;5156:6;;5206:40;;5137:16;;5206:40;5126:128;5081:173;:::o;52863:804::-;53018:4;-1:-1:-1;;;;;53039:13:0;;6350:20;6398:8;53035:625;;53075:72;;-1:-1:-1;;;53075:72:0;;-1:-1:-1;;;;;53075:36:0;;;;;:72;;2849:10;;53126:4;;53132:7;;53141:5;;53075:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53075:72:0;;;;;;;;-1:-1:-1;;53075:72:0;;;;;;;;;;;;:::i;:::-;;;53071:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53321:13:0;;53317:273;;53364:61;;-1:-1:-1;;;53364:61:0;;;;;;;:::i;53317:273::-;53540:6;53534:13;53525:6;53521:2;53517:15;53510:38;53071:534;-1:-1:-1;;;;;;53198:55:0;-1:-1:-1;;;53198:55:0;;-1:-1:-1;53191:62:0;;53035:625;-1:-1:-1;53644:4:0;53035:625;52863:804;;;;;;:::o;56407:116::-;56467:13;56500:15;56493:22;;;;;:::i;385:723::-;441:13;662:10;658:53;;-1:-1:-1;;689:10:0;;;;;;;;;;;;-1:-1:-1;;;689:10:0;;;;;385:723::o;658:53::-;736:5;721:12;777:78;784:9;;777:78;;810:8;;;;:::i;:::-;;-1:-1:-1;833:10:0;;-1:-1:-1;841:2:0;833:10;;:::i;:::-;;;777:78;;;865:19;897:6;887:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;887:17:0;;865:39;;915:154;922:10;;915:154;;949:11;959:1;949:11;;:::i;:::-;;-1:-1:-1;1018:10:0;1026:2;1018:5;:10;:::i;:::-;1005:24;;:2;:24;:::i;:::-;992:39;;975:6;982;975:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;975:56:0;;;;;;;;-1:-1:-1;1046:11:0;1055:2;1046:11;;:::i;:::-;;;915:154;;47768:163;47891:32;47897:2;47901:8;47911:5;47918:4;48329:20;48352:12;-1:-1:-1;;;;;48383:16:0;;48375:62;;;;-1:-1:-1;;;48375:62:0;;19424:2:1;48375:62:0;;;19406:21:1;19463:2;19443:18;;;19436:30;19502:34;19482:18;;;19475:62;-1:-1:-1;;;19553:18:1;;;19546:31;19594:19;;48375:62:0;19222:397:1;48375:62:0;48456:13;48448:66;;;;-1:-1:-1;;;48448:66:0;;19826:2:1;48448:66:0;;;19808:21:1;19865:2;19845:18;;;19838:30;19904:34;19884:18;;;19877:62;-1:-1:-1;;;19955:18:1;;;19948:38;20003:19;;48448:66:0;19624:404:1;48448:66:0;-1:-1:-1;;;;;48866:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;48866:45:0;;-1:-1:-1;;;;;48866:45:0;;;;;;;;;;48926:50;;;;;;;;;;;;;;48993:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;49043:66:0;;;;-1:-1:-1;;;49093:15:0;49043:66;;;;;;;48993:25;;49178:415;49198:8;49194:1;:12;49178:415;;;49237:38;;49262:12;;-1:-1:-1;;;;;49237:38:0;;;49254:1;;49237:38;;49254:1;;49237:38;49298:4;49294:249;;;49361:59;49392:1;49396:2;49400:12;49414:5;49361:22;:59::i;:::-;49327:196;;;;-1:-1:-1;;;49327:196:0;;;;;;;:::i;:::-;49563:14;;;;;49208:3;49178:415;;;-1:-1:-1;49609:12:0;:27;49660:60;46572: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;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;7755:356::-;7957:2;7939:21;;;7976:18;;;7969:30;8035:34;8030:2;8015:18;;8008:62;8102:2;8087:18;;7755:356::o;8116:127::-;8177:10;8172:3;8168:20;8165:1;8158:31;8208:4;8205:1;8198:15;8232:4;8229:1;8222:15;8248:128;8288:3;8319:1;8315:6;8312:1;8309:13;8306:39;;;8325:18;;:::i;:::-;-1:-1:-1;8361:9:1;;8248:128::o;12250:168::-;12290:7;12356:1;12352;12348:6;12344:14;12341:1;12338:21;12333:1;12326:9;12319:17;12315:45;12312:71;;;12363:18;;:::i;:::-;-1:-1:-1;12403:9:1;;12250:168::o;13195:415::-;13397:2;13379:21;;;13436:2;13416:18;;;13409:30;13475:34;13470:2;13455:18;;13448:62;-1:-1:-1;;;13541:2:1;13526:18;;13519:49;13600:3;13585:19;;13195:415::o;14031:637::-;14311:3;14349:6;14343:13;14365:53;14411:6;14406:3;14399:4;14391:6;14387:17;14365:53;:::i;:::-;14481:13;;14440:16;;;;14503:57;14481:13;14440:16;14537:4;14525:17;;14503:57;:::i;:::-;-1:-1:-1;;;14582:20:1;;14611:22;;;14660:1;14649:13;;14031:637;-1:-1:-1;;;;14031:637:1:o;17698:489::-;-1:-1:-1;;;;;17967:15:1;;;17949:34;;18019:15;;18014:2;17999:18;;17992:43;18066:2;18051:18;;18044:34;;;18114:3;18109:2;18094:18;;18087:31;;;17892:4;;18135:46;;18161:19;;18153:6;18135:46;:::i;:::-;18127:54;17698:489;-1:-1:-1;;;;;;17698:489:1:o;18192:249::-;18261:6;18314:2;18302:9;18293:7;18289:23;18285:32;18282:52;;;18330:1;18327;18320:12;18282:52;18362:9;18356:16;18381:30;18405:5;18381:30;:::i;18446:135::-;18485:3;-1:-1:-1;;18506:17:1;;18503:43;;;18526:18;;:::i;:::-;-1:-1:-1;18573:1:1;18562:13;;18446:135::o;18586:127::-;18647:10;18642:3;18638:20;18635:1;18628:31;18678:4;18675:1;18668:15;18702:4;18699:1;18692:15;18718:120;18758:1;18784;18774:35;;18789:18;;:::i;:::-;-1:-1:-1;18823:9:1;;18718:120::o;18843:125::-;18883:4;18911:1;18908;18905:8;18902:34;;;18916:18;;:::i;:::-;-1:-1:-1;18953:9:1;;18843:125::o;18973:112::-;19005:1;19031;19021:35;;19036:18;;:::i;:::-;-1:-1:-1;19070:9:1;;18973:112::o;19090:127::-;19151:10;19146:3;19142:20;19139:1;19132:31;19182:4;19179:1;19172:15;19206:4;19203:1;19196:15

Swarm Source

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