Token FantomGates

 

Overview

TokenID:
1670

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FantomGates

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-28
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/utils/Strings.sol



pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/utils/Context.sol



pragma solidity ^0.8.0;

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


/**
 * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/utils/Address.sol



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/token/ERC721/IERC721Receiver.sol



pragma solidity ^0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


/**
 * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.0;


/**
 * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/token/ERC721/extensions/IERC721Enumerable.sol



pragma solidity ^0.8.0;


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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/token/ERC721/ERC721.sol



pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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 {}
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.2/contracts/token/ERC721/extensions/ERC721Enumerable.sol



pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/fantomized/fantomgates.sol



pragma solidity ^0.8.0;






/*import "./ERC721.sol";




*/


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

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract with minting functionality.
 */
abstract contract ERC721Tradable is ERC721Enumerable, ReentrancyGuard, Ownable {
    using SafeMath for uint256;

    uint256 private _currentTokenId;

    uint private _maxClaim; //  = 100;
    // uint private _amountClaim = 55000000000000000;  // 0.055 - 550000000000000 0.00055
    uint private _amountClaim;
    uint private _amountClaimDiscount;

    IERC721 private constant SPECTACULARS = IERC721(0x0c8763aC45fB87cAF89c736fd7EFe11627D33622);

    uint public constant MAX_SUPPLY = 1900;

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC721(_name, _symbol) {
    }

    function setClaim(uint _max, uint _amount, uint _amountDiscount) public onlyOwner {
        require(_max <= MAX_SUPPLY, "Over supply");
        _maxClaim = _max;
        _amountClaim = _amount;
        _amountClaimDiscount = _amountDiscount;
    }

    function getClaimMax() public view returns (uint) {
        return _maxClaim;
    }

    function getClaimAmount() public view returns (uint) {
        return _amountClaim;
    }

    function getClaimAmountDiscount() public view returns (uint) {
        return _amountClaimDiscount;
    }

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function mintTo(address _to) public onlyOwner {
        require(_currentTokenId <= MAX_SUPPLY, "Over supply");
        uint256 newTokenId = _currentTokenId.add(1);
        _mint(_to, newTokenId);
        _currentTokenId++;
    }

    function mintNTo(address _to, uint256 number) public onlyOwner {
        require(_currentTokenId <= 1000, "Not allowed after 1000");  // Stop before max supply
        require(number <= 25, "25 max at once");  // Limit or likely to fail anyway
        while (number != 0) {
          _mint(_to, _currentTokenId.add(1));
          _currentTokenId++;
          number--;
        }
    }


    /**
     * @dev Function get mint eth back from the contract.
     * @param _to The address that will receive the eth.
     * @param _amount The amount of eth to send.
     *
     */
    function withdraw(address payable _to, uint _amount) public onlyOwner {
        _to.transfer(_amount);
    }


    /**
     * @dev Function to claim a token
     * @param _to The address that will receive the minted tokens.
     *
     */
    function claim(
        address _to
    ) public payable nonReentrant {
        require(_currentTokenId < _maxClaim, "Minting is over for this batch");
        require(msg.value >= _amountClaim, "Too few eth, check batch price");
        uint256 newTokenId = _currentTokenId.add(1);
        _mint(_to, newTokenId);
        _currentTokenId++;
    }

    /**
     * @dev Function to claim a token at discounted price for spectaculars holders
     * @param _to The address that will receive the minted tokens.
     *
     */
    function claimDiscount(
        address _to
    ) public payable nonReentrant {
        require(_currentTokenId < _maxClaim, "Minting is over for this batch");
        require(msg.value >= _amountClaimDiscount, "Too few eth, check batch price");
        // check balance
        require(SPECTACULARS.balanceOf(msg.sender) > 0, "No Spectacular Held");
        uint256 newTokenId = _currentTokenId.add(1);
        _mint(_to, newTokenId);
        _currentTokenId++;
    }

    function baseTokenURI() virtual public view returns (string memory);

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId), ".json"));
    }



}


/**
 * @title FantomGates
 * FantomGates
 */
contract FantomGates is ERC721Tradable {


    string _baseUrl="ipfs://QmZQBrLtVDiwMmoddDSSWWis5Cc2VdxgPSoytsAcE6R3ua/";

    constructor()
        ERC721Tradable("FantomGates", "FGATE")
    {}


    function baseTokenURI() override public view returns (string memory) {
        return _baseUrl;
    }


    function updateBase(string memory newBase) public onlyOwner {
        // Needed to add extra properties and future use in metaverse
        _baseUrl = newBase;
    }



}

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"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"claimDiscount","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimAmountDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"number","type":"uint256"}],"name":"mintNTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_amountDiscount","type":"uint256"}],"name":"setClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBase","type":"string"}],"name":"updateBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526036608081815290620023ec60a039805162000029916010916020909101906200010f565b503480156200003757600080fd5b50604080518082018252600b81526a46616e746f6d476174657360a81b602080830191825283518085019094526005845264464741544560d81b908401528151919291839183916200008c916000916200010f565b508051620000a29060019060208401906200010f565b50506001600a5550620000b533620000bd565b5050620001f2565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011d90620001b5565b90600052602060002090601f0160209004810192826200014157600085556200018c565b82601f106200015c57805160ff19168380011785556200018c565b828001600101855582156200018c579182015b828111156200018c5782518255916020019190600101906200016f565b506200019a9291506200019e565b5090565b5b808211156200019a57600081556001016200019f565b600181811c90821680620001ca57607f821691505b60208210811415620001ec57634e487b7160e01b600052602260045260246000fd5b50919050565b6121ea80620002026000396000f3fe6080604052600436106101985760003560e01c806371127ed2116100e2578063c87b56dd11610085578063c87b56dd1461045d578063cb2c78c61461047d578063cc1bab3f14610492578063d547cfb7146104a7578063e495544a146104bc578063e985e9c5146104dc578063f2fde38b146104fc578063f3fef3a31461051c57600080fd5b806371127ed214610389578063715018a61461039e578063755edd17146103b35780637823cf90146103d35780638da5cb5b146103f357806395d89b4114610408578063a22cb4651461041d578063b88d4fde1461043d57600080fd5b80631e83409a1161014a5780631e83409a146102a057806323b872dd146102b35780632f745c59146102d357806332cb6b0c146102f357806342842e0e146103095780634f6ccce7146103295780636352211e1461034957806370a082311461036957600080fd5b806301ffc9a71461019d57806306fdde03146101d2578063081812fc146101f4578063095ea7b31461022c5780630deb562f1461024e5780630f77282a1461026157806318160ddd14610281575b600080fd5b3480156101a957600080fd5b506101bd6101b8366004611ced565b61053c565b60405190151581526020015b60405180910390f35b3480156101de57600080fd5b506101e7610567565b6040516101c99190611e76565b34801561020057600080fd5b5061021461020f366004611d70565b6105f9565b6040516001600160a01b0390911681526020016101c9565b34801561023857600080fd5b5061024c610247366004611b94565b610686565b005b61024c61025c366004611b77565b610797565b34801561026d57600080fd5b5061024c61027c366004611d27565b610907565b34801561028d57600080fd5b506008545b6040519081526020016101c9565b61024c6102ae366004611b77565b61094d565b3480156102bf57600080fd5b5061024c6102ce366004611bf9565b6109ba565b3480156102df57600080fd5b506102926102ee366004611b94565b6109eb565b3480156102ff57600080fd5b5061029261076c81565b34801561031557600080fd5b5061024c610324366004611bf9565b610a81565b34801561033557600080fd5b50610292610344366004611d70565b610a9c565b34801561035557600080fd5b50610214610364366004611d70565b610b2f565b34801561037557600080fd5b50610292610384366004611b77565b610ba6565b34801561039557600080fd5b50600e54610292565b3480156103aa57600080fd5b5061024c610c2d565b3480156103bf57600080fd5b5061024c6103ce366004611b77565b610c68565b3480156103df57600080fd5b5061024c6103ee366004611b94565b610cf1565b3480156103ff57600080fd5b50610214610dfc565b34801561041457600080fd5b506101e7610e0b565b34801561042957600080fd5b5061024c610438366004611cba565b610e1a565b34801561044957600080fd5b5061024c610458366004611c3a565b610edb565b34801561046957600080fd5b506101e7610478366004611d70565b610f13565b34801561048957600080fd5b50600d54610292565b34801561049e57600080fd5b50600f54610292565b3480156104b357600080fd5b506101e7610f4d565b3480156104c857600080fd5b5061024c6104d7366004611da2565b610f5c565b3480156104e857600080fd5b506101bd6104f7366004611bc0565b610fbb565b34801561050857600080fd5b5061024c610517366004611b77565b610fe9565b34801561052857600080fd5b5061024c610537366004611b94565b611089565b60006001600160e01b0319821663780e9d6360e01b14806105615750610561826110ee565b92915050565b606060008054610576906120b1565b80601f01602080910402602001604051908101604052809291908181526020018280546105a2906120b1565b80156105ef5780601f106105c4576101008083540402835291602001916105ef565b820191906000526020600020905b8154815290600101906020018083116105d257829003601f168201915b5050505050905090565b60006106048261113e565b61066a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069182610b2f565b9050806001600160a01b0316836001600160a01b031614156106ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610661565b336001600160a01b038216148061071b575061071b8133610fbb565b6107885760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610661565b610792838361115b565b505050565b6002600a5414156107ba5760405162461bcd60e51b815260040161066190611ff4565b6002600a55600d54600c54106107e25760405162461bcd60e51b815260040161066190611edb565b600f543410156108045760405162461bcd60e51b815260040161066190611f6c565b6040516370a0823160e01b8152336004820152600090730c8763ac45fb87caf89c736fd7efe11627d33622906370a082319060240160206040518083038186803b15801561085157600080fd5b505afa158015610865573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108899190611d89565b116108cc5760405162461bcd60e51b8152602060048201526013602482015272139bc814dc1958dd1858dd5b185c8812195b19606a1b6044820152606401610661565b600c546000906108dd9060016111c9565b90506108e982826111dc565b600c80549060006108f9836120ec565b90915550506001600a555050565b33610910610dfc565b6001600160a01b0316146109365760405162461bcd60e51b815260040161066190611f12565b8051610949906010906020840190611a68565b5050565b6002600a5414156109705760405162461bcd60e51b815260040161066190611ff4565b6002600a55600d54600c54106109985760405162461bcd60e51b815260040161066190611edb565b600e543410156108cc5760405162461bcd60e51b815260040161066190611f6c565b6109c4338261131b565b6109e05760405162461bcd60e51b815260040161066190611fa3565b6107928383836113e5565b60006109f683610ba6565b8210610a585760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610661565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61079283838360405180602001604052806000815250610edb565b6000610aa760085490565b8210610b0a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610661565b60088281548110610b1d57610b1d61215d565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105615760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610661565b60006001600160a01b038216610c115760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610661565b506001600160a01b031660009081526003602052604090205490565b33610c36610dfc565b6001600160a01b031614610c5c5760405162461bcd60e51b815260040161066190611f12565b610c666000611590565b565b33610c71610dfc565b6001600160a01b031614610c975760405162461bcd60e51b815260040161066190611f12565b61076c600c541115610cbb5760405162461bcd60e51b815260040161066190611f47565b600c54600090610ccc9060016111c9565b9050610cd882826111dc565b600c8054906000610ce8836120ec565b91905055505050565b33610cfa610dfc565b6001600160a01b031614610d205760405162461bcd60e51b815260040161066190611f12565b6103e8600c541115610d6d5760405162461bcd60e51b815260206004820152601660248201527504e6f7420616c6c6f77656420616674657220313030360541b6044820152606401610661565b6019811115610daf5760405162461bcd60e51b815260206004820152600e60248201526d3235206d6178206174206f6e636560901b6044820152606401610661565b801561094957610dd482610dcf6001600c546111c990919063ffffffff16565b6111dc565b600c8054906000610de4836120ec565b91905055508080610df49061209a565b915050610daf565b600b546001600160a01b031690565b606060018054610576906120b1565b6001600160a01b038216331415610e6f5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610661565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ee5338361131b565b610f015760405162461bcd60e51b815260040161066190611fa3565b610f0d848484846115e2565b50505050565b6060610f1d610f4d565b610f2683611615565b604051602001610f37929190611dfa565b6040516020818303038152906040529050919050565b606060108054610576906120b1565b33610f65610dfc565b6001600160a01b031614610f8b5760405162461bcd60e51b815260040161066190611f12565b61076c831115610fad5760405162461bcd60e51b815260040161066190611f47565b600d92909255600e55600f55565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33610ff2610dfc565b6001600160a01b0316146110185760405162461bcd60e51b815260040161066190611f12565b6001600160a01b03811661107d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610661565b61108681611590565b50565b33611092610dfc565b6001600160a01b0316146110b85760405162461bcd60e51b815260040161066190611f12565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610792573d6000803e3d6000fd5b60006001600160e01b031982166380ac58cd60e01b148061111f57506001600160e01b03198216635b5e139f60e01b145b8061056157506301ffc9a760e01b6001600160e01b0319831614610561565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061119082610b2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111d5828461202b565b9392505050565b6001600160a01b0382166112325760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610661565b61123b8161113e565b156112885760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610661565b61129460008383611713565b6001600160a01b03821660009081526003602052604081208054600192906112bd90849061202b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006113268261113e565b6113875760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610661565b600061139283610b2f565b9050806001600160a01b0316846001600160a01b031614806113cd5750836001600160a01b03166113c2846105f9565b6001600160a01b0316145b806113dd57506113dd8185610fbb565b949350505050565b826001600160a01b03166113f882610b2f565b6001600160a01b0316146114605760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610661565b6001600160a01b0382166114c25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610661565b6114cd838383611713565b6114d860008261115b565b6001600160a01b0383166000908152600360205260408120805460019290611501908490612057565b90915550506001600160a01b038216600090815260036020526040812080546001929061152f90849061202b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6115ed8484846113e5565b6115f9848484846117cb565b610f0d5760405162461bcd60e51b815260040161066190611e89565b6060816116395750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611663578061164d816120ec565b915061165c9050600a83612043565b915061163d565b60008167ffffffffffffffff81111561167e5761167e612173565b6040519080825280601f01601f1916602001820160405280156116a8576020820181803683370190505b5090505b84156113dd576116bd600183612057565b91506116ca600a86612107565b6116d590603061202b565b60f81b8183815181106116ea576116ea61215d565b60200101906001600160f81b031916908160001a90535061170c600a86612043565b94506116ac565b6001600160a01b03831661176e5761176981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611791565b816001600160a01b0316836001600160a01b0316146117915761179183826118d8565b6001600160a01b0382166117a85761079281611975565b826001600160a01b0316826001600160a01b031614610792576107928282611a24565b60006001600160a01b0384163b156118cd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061180f903390899088908890600401611e39565b602060405180830381600087803b15801561182957600080fd5b505af1925050508015611859575060408051601f3d908101601f1916820190925261185691810190611d0a565b60015b6118b3573d808015611887576040519150601f19603f3d011682016040523d82523d6000602084013e61188c565b606091505b5080516118ab5760405162461bcd60e51b815260040161066190611e89565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113dd565b506001949350505050565b600060016118e584610ba6565b6118ef9190612057565b600083815260076020526040902054909150808214611942576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061198790600190612057565b600083815260096020526040812054600880549394509092849081106119af576119af61215d565b9060005260206000200154905080600883815481106119d0576119d061215d565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611a0857611a08612147565b6001900381819060005260206000200160009055905550505050565b6000611a2f83610ba6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a74906120b1565b90600052602060002090601f016020900481019282611a965760008555611adc565b82601f10611aaf57805160ff1916838001178555611adc565b82800160010185558215611adc579182015b82811115611adc578251825591602001919060010190611ac1565b50611ae8929150611aec565b5090565b5b80821115611ae85760008155600101611aed565b600067ffffffffffffffff80841115611b1c57611b1c612173565b604051601f8501601f19908116603f01168101908282118183101715611b4457611b44612173565b81604052809350858152868686011115611b5d57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b8957600080fd5b81356111d581612189565b60008060408385031215611ba757600080fd5b8235611bb281612189565b946020939093013593505050565b60008060408385031215611bd357600080fd5b8235611bde81612189565b91506020830135611bee81612189565b809150509250929050565b600080600060608486031215611c0e57600080fd5b8335611c1981612189565b92506020840135611c2981612189565b929592945050506040919091013590565b60008060008060808587031215611c5057600080fd5b8435611c5b81612189565b93506020850135611c6b81612189565b925060408501359150606085013567ffffffffffffffff811115611c8e57600080fd5b8501601f81018713611c9f57600080fd5b611cae87823560208401611b01565b91505092959194509250565b60008060408385031215611ccd57600080fd5b8235611cd881612189565b915060208301358015158114611bee57600080fd5b600060208284031215611cff57600080fd5b81356111d58161219e565b600060208284031215611d1c57600080fd5b81516111d58161219e565b600060208284031215611d3957600080fd5b813567ffffffffffffffff811115611d5057600080fd5b8201601f81018413611d6157600080fd5b6113dd84823560208401611b01565b600060208284031215611d8257600080fd5b5035919050565b600060208284031215611d9b57600080fd5b5051919050565b600080600060608486031215611db757600080fd5b505081359360208301359350604090920135919050565b60008151808452611de681602086016020860161206e565b601f01601f19169290920160200192915050565b60008351611e0c81846020880161206e565b835190830190611e2081836020880161206e565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6c90830184611dce565b9695505050505050565b6020815260006111d56020830184611dce565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601e908201527f4d696e74696e67206973206f76657220666f7220746869732062617463680000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a4f76657220737570706c7960a81b604082015260600190565b6020808252601e908201527f546f6f20666577206574682c20636865636b2062617463682070726963650000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561203e5761203e61211b565b500190565b60008261205257612052612131565b500490565b6000828210156120695761206961211b565b500390565b60005b83811015612089578181015183820152602001612071565b83811115610f0d5750506000910152565b6000816120a9576120a961211b565b506000190190565b600181811c908216806120c557607f821691505b602082108114156120e657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121005761210061211b565b5060010190565b60008261211657612116612131565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461108657600080fd5b6001600160e01b03198116811461108657600080fdfea264697066735822122020d2d5ec1e6e917349c520eeaf5b02e3ebeba5f53755981755a895b64b0ec6a164736f6c63430008070033697066733a2f2f516d5a5142724c74564469774d6d6f646444535357576973354363325664786750536f79747341634536523375612f

Deployed ByteCode Sourcemap

57278:500:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44531:224;;;;;;;;;;-1:-1:-1;44531:224:0;;;;;:::i;:::-;;:::i;:::-;;;7048:14:1;;7041:22;7023:41;;7011:2;6996:18;44531:224:0;;;;;;;;32370:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33929:221::-;;;;;;;;;;-1:-1:-1;33929:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6346:32:1;;;6328:51;;6316:2;6301:18;33929:221:0;6182:203:1;33452:411:0;;;;;;;;;;-1:-1:-1;33452:411:0;;;;;:::i;:::-;;:::i;:::-;;56468:478;;;;;;:::i;:::-;;:::i;57601:168::-;;;;;;;;;;-1:-1:-1;57601:168:0;;;;;:::i;:::-;;:::i;45171:113::-;;;;;;;;;;-1:-1:-1;45259:10:0;:17;45171:113;;;16696:25:1;;;16684:2;16669:18;45171:113:0;16550:177:1;55927:355:0;;;;;;:::i;:::-;;:::i;34819:339::-;;;;;;;;;;-1:-1:-1;34819:339:0;;;;;:::i;:::-;;:::i;44839:256::-;;;;;;;;;;-1:-1:-1;44839:256:0;;;;;:::i;:::-;;:::i;53968:38::-;;;;;;;;;;;;54002:4;53968:38;;35229:185;;;;;;;;;;-1:-1:-1;35229:185:0;;;;;:::i;:::-;;:::i;45361:233::-;;;;;;;;;;-1:-1:-1;45361:233:0;;;;;:::i;:::-;;:::i;32064:239::-;;;;;;;;;;-1:-1:-1;32064:239:0;;;;;:::i;:::-;;:::i;31794:208::-;;;;;;;;;;-1:-1:-1;31794:208:0;;;;;:::i;:::-;;:::i;54488:91::-;;;;;;;;;;-1:-1:-1;54559:12:0;;54488:91;;11645:94;;;;;;;;;;;;;:::i;54838:233::-;;;;;;;;;;-1:-1:-1;54838:233:0;;;;;:::i;:::-;;:::i;55079:392::-;;;;;;;;;;-1:-1:-1;55079:392:0;;;;;:::i;:::-;;:::i;10994:87::-;;;;;;;;;;;;;:::i;32539:104::-;;;;;;;;;;;;;:::i;34222:295::-;;;;;;;;;;-1:-1:-1;34222:295:0;;;;;:::i;:::-;;:::i;35485:328::-;;;;;;;;;;-1:-1:-1;35485:328:0;;;;;:::i;:::-;;:::i;57030:184::-;;;;;;;;;;-1:-1:-1;57030:184:0;;;;;:::i;:::-;;:::i;54395:85::-;;;;;;;;;;-1:-1:-1;54463:9:0;;54395:85;;54587:107;;;;;;;;;;-1:-1:-1;54666:20:0;;54587:107;;57488:103;;;;;;;;;;;;;:::i;54135:252::-;;;;;;;;;;-1:-1:-1;54135:252:0;;;;;:::i;:::-;;:::i;34588:164::-;;;;;;;;;;-1:-1:-1;34588:164:0;;;;;:::i;:::-;;:::i;11894:192::-;;;;;;;;;;-1:-1:-1;11894:192:0;;;;;:::i;:::-;;:::i;55674:110::-;;;;;;;;;;-1:-1:-1;55674:110:0;;;;;:::i;:::-;;:::i;44531:224::-;44633:4;-1:-1:-1;;;;;;44657:50:0;;-1:-1:-1;;;44657:50:0;;:90;;;44711:36;44735:11;44711:23;:36::i;:::-;44650:97;44531:224;-1:-1:-1;;44531:224:0:o;32370:100::-;32424:13;32457:5;32450:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32370:100;:::o;33929:221::-;34005:7;34033:16;34041:7;34033;:16::i;:::-;34025:73;;;;-1:-1:-1;;;34025:73:0;;13276:2:1;34025:73:0;;;13258:21:1;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;-1:-1:-1;;;13405:18:1;;;13398:42;13457:19;;34025:73:0;;;;;;;;;-1:-1:-1;34118:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34118:24:0;;33929:221::o;33452:411::-;33533:13;33549:23;33564:7;33549:14;:23::i;:::-;33533:39;;33597:5;-1:-1:-1;;;;;33591:11:0;:2;-1:-1:-1;;;;;33591:11:0;;;33583:57;;;;-1:-1:-1;;;33583:57:0;;14460:2:1;33583:57:0;;;14442:21:1;14499:2;14479:18;;;14472:30;14538:34;14518:18;;;14511:62;-1:-1:-1;;;14589:18:1;;;14582:31;14630:19;;33583:57:0;14258:397:1;33583:57:0;9809:10;-1:-1:-1;;;;;33675:21:0;;;;:62;;-1:-1:-1;33700:37:0;33717:5;9809:10;34588:164;:::i;33700:37::-;33653:168;;;;-1:-1:-1;;;33653:168:0;;11669:2:1;33653:168:0;;;11651:21:1;11708:2;11688:18;;;11681:30;11747:34;11727:18;;;11720:62;-1:-1:-1;;;11798:18:1;;;11791:54;11862:19;;33653:168:0;11467:420:1;33653:168:0;33834:21;33843:2;33847:7;33834:8;:21::i;:::-;33522:341;33452:411;;:::o;56468:478::-;52462:1;53058:7;;:19;;53050:63;;;;-1:-1:-1;;;53050:63:0;;;;;;;:::i;:::-;52462:1;53189:7;:18;56585:9:::1;::::0;56567:15:::1;::::0;:27:::1;56559:70;;;;-1:-1:-1::0;;;56559:70:0::1;;;;;;;:::i;:::-;56661:20;;56648:9;:33;;56640:76;;;;-1:-1:-1::0;;;56640:76:0::1;;;;;;;:::i;:::-;56761:34;::::0;-1:-1:-1;;;56761:34:0;;56784:10:::1;56761:34;::::0;::::1;6328:51:1::0;56798:1:0::1;::::0;53916:42:::1;::::0;56761:22:::1;::::0;6301:18:1;;56761:34:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;56753:70;;;::::0;-1:-1:-1;;;56753:70:0;;9798:2:1;56753:70:0::1;::::0;::::1;9780:21:1::0;9837:2;9817:18;;;9810:30;-1:-1:-1;;;9856:18:1;;;9849:49;9915:18;;56753:70:0::1;9596:343:1::0;56753:70:0::1;56855:15;::::0;56834:18:::1;::::0;56855:22:::1;::::0;56875:1:::1;56855:19;:22::i;:::-;56834:43;;56888:22;56894:3;56899:10;56888:5;:22::i;:::-;56921:15;:17:::0;;;:15:::1;:17;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;52418:1:0;53364:7;:22;-1:-1:-1;;56468:478:0:o;57601:168::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;57743:18;;::::1;::::0;:8:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57601:168:::0;:::o;55927:355::-;52462:1;53058:7;;:19;;53050:63;;;;-1:-1:-1;;;53050:63:0;;;;;;;:::i;:::-;52462:1;53189:7;:18;56036:9:::1;::::0;56018:15:::1;::::0;:27:::1;56010:70;;;;-1:-1:-1::0;;;56010:70:0::1;;;;;;;:::i;:::-;56112:12;;56099:9;:25;;56091:68;;;;-1:-1:-1::0;;;56091:68:0::1;;;;;;;:::i;34819:339::-:0;35014:41;9809:10;35047:7;35014:18;:41::i;:::-;35006:103;;;;-1:-1:-1;;;35006:103:0;;;;;;;:::i;:::-;35122:28;35132:4;35138:2;35142:7;35122:9;:28::i;44839:256::-;44936:7;44972:23;44989:5;44972:16;:23::i;:::-;44964:5;:31;44956:87;;;;-1:-1:-1;;;44956:87:0;;7501:2:1;44956:87:0;;;7483:21:1;7540:2;7520:18;;;7513:30;7579:34;7559:18;;;7552:62;-1:-1:-1;;;7630:18:1;;;7623:41;7681:19;;44956:87:0;7299:407:1;44956:87:0;-1:-1:-1;;;;;;45061:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;44839:256::o;35229:185::-;35367:39;35384:4;35390:2;35394:7;35367:39;;;;;;;;;;;;:16;:39::i;45361:233::-;45436:7;45472:30;45259:10;:17;;45171:113;45472:30;45464:5;:38;45456:95;;;;-1:-1:-1;;;45456:95:0;;15979:2:1;45456:95:0;;;15961:21:1;16018:2;15998:18;;;15991:30;16057:34;16037:18;;;16030:62;-1:-1:-1;;;16108:18:1;;;16101:42;16160:19;;45456:95:0;15777:408:1;45456:95:0;45569:10;45580:5;45569:17;;;;;;;;:::i;:::-;;;;;;;;;45562:24;;45361:233;;;:::o;32064:239::-;32136:7;32172:16;;;:7;:16;;;;;;-1:-1:-1;;;;;32172:16:0;32207:19;32199:73;;;;-1:-1:-1;;;32199:73:0;;12505:2:1;32199:73:0;;;12487:21:1;12544:2;12524:18;;;12517:30;12583:34;12563:18;;;12556:62;-1:-1:-1;;;12634:18:1;;;12627:39;12683:19;;32199:73:0;12303:405:1;31794:208:0;31866:7;-1:-1:-1;;;;;31894:19:0;;31886:74;;;;-1:-1:-1;;;31886:74:0;;12094:2:1;31886:74:0;;;12076:21:1;12133:2;12113:18;;;12106:30;12172:34;12152:18;;;12145:62;-1:-1:-1;;;12223:18:1;;;12216:40;12273:19;;31886:74:0;11892:406:1;31886:74:0;-1:-1:-1;;;;;;31978:16:0;;;;;:9;:16;;;;;;;31794:208::o;11645:94::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;11710:21:::1;11728:1;11710:9;:21::i;:::-;11645:94::o:0;54838:233::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;54002:4:::1;54903:15;;:29;;54895:53;;;;-1:-1:-1::0;;;54895:53:0::1;;;;;;;:::i;:::-;54980:15;::::0;54959:18:::1;::::0;54980:22:::1;::::0;55000:1:::1;54980:19;:22::i;:::-;54959:43;;55013:22;55019:3;55024:10;55013:5;:22::i;:::-;55046:15;:17:::0;;;:15:::1;:17;::::0;::::1;:::i;:::-;;;;;;54884:187;54838:233:::0;:::o;55079:392::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;55180:4:::1;55161:15;;:23;;55153:58;;;::::0;-1:-1:-1;;;55153:58:0;;11318:2:1;55153:58:0::1;::::0;::::1;11300:21:1::0;11357:2;11337:18;;;11330:30;-1:-1:-1;;;11376:18:1;;;11369:52;11438:18;;55153:58:0::1;11116:346:1::0;55153:58:0::1;55267:2;55257:6;:12;;55249:39;;;::::0;-1:-1:-1;;;55249:39:0;;7913:2:1;55249:39:0::1;::::0;::::1;7895:21:1::0;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:44;8025:18;;55249:39:0::1;7711:338:1::0;55249:39:0::1;55341:11:::0;;55334:130:::1;;55367:34;55373:3;55378:22;55398:1;55378:15;;:19;;:22;;;;:::i;:::-;55367:5;:34::i;:::-;55414:15;:17:::0;;;:15:::1;:17;::::0;::::1;:::i;:::-;;;;;;55444:8;;;;;:::i;:::-;;;;55334:130;;10994:87:::0;11067:6;;-1:-1:-1;;;;;11067:6:0;;10994:87::o;32539:104::-;32595:13;32628:7;32621:14;;;;;:::i;34222:295::-;-1:-1:-1;;;;;34325:24:0;;9809:10;34325:24;;34317:62;;;;-1:-1:-1;;;34317:62:0;;10551:2:1;34317:62:0;;;10533:21:1;10590:2;10570:18;;;10563:30;-1:-1:-1;;;10609:18:1;;;10602:55;10674:18;;34317:62:0;10349:349:1;34317:62:0;9809:10;34392:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34392:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34392:53:0;;;;;;;;;;34461:48;;7023:41:1;;;34392:42:0;;9809:10;34461:48;;6996:18:1;34461:48:0;;;;;;;34222:295;;:::o;35485:328::-;35660:41;9809:10;35693:7;35660:18;:41::i;:::-;35652:103;;;;-1:-1:-1;;;35652:103:0;;;;;;;:::i;:::-;35766:39;35780:4;35786:2;35790:7;35799:5;35766:13;:39::i;:::-;35485:328;;;;:::o;57030:184::-;57096:13;57153:14;:12;:14::i;:::-;57169:26;57186:8;57169:16;:26::i;:::-;57136:69;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57122:84;;57030:184;;;:::o;57488:103::-;57542:13;57575:8;57568:15;;;;;:::i;54135:252::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;54002:4:::1;54236;:18;;54228:42;;;;-1:-1:-1::0;;;54228:42:0::1;;;;;;;:::i;:::-;54281:9;:16:::0;;;;54308:12:::1;:22:::0;54341:20:::1;:38:::0;54135:252::o;34588:164::-;-1:-1:-1;;;;;34709:25:0;;;34685:4;34709:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34588:164::o;11894:192::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11983:22:0;::::1;11975:73;;;::::0;-1:-1:-1;;;11975:73:0;;8675:2:1;11975:73:0::1;::::0;::::1;8657:21:1::0;8714:2;8694:18;;;8687:30;8753:34;8733:18;;;8726:62;-1:-1:-1;;;8804:18:1;;;8797:36;8850:19;;11975:73:0::1;8473:402:1::0;11975:73:0::1;12059:19;12069:8;12059:9;:19::i;:::-;11894:192:::0;:::o;55674:110::-;9809:10;11214:7;:5;:7::i;:::-;-1:-1:-1;;;;;11214:23:0;;11206:68;;;;-1:-1:-1;;;11206:68:0;;;;;;;:::i;:::-;55755:21:::1;::::0;-1:-1:-1;;;;;55755:12:0;::::1;::::0;:21;::::1;;;::::0;55768:7;;55755:21:::1;::::0;;;55768:7;55755:12;:21;::::1;;;;;;;;;;;;;::::0;::::1;;;;31425:305:::0;31527:4;-1:-1:-1;;;;;;31564:40:0;;-1:-1:-1;;;31564:40:0;;:105;;-1:-1:-1;;;;;;;31621:48:0;;-1:-1:-1;;;31621:48:0;31564:105;:158;;;-1:-1:-1;;;;;;;;;;23301:40:0;;;31686:36;23192:157;37323:127;37388:4;37412:16;;;:7;:16;;;;;;-1:-1:-1;;;;;37412:16:0;:30;;;37323:127::o;41305:174::-;41380:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;41380:29:0;-1:-1:-1;;;;;41380:29:0;;;;;;;;:24;;41434:23;41380:24;41434:14;:23::i;:::-;-1:-1:-1;;;;;41425:46:0;;;;;;;;;;;41305:174;;:::o;2763:98::-;2821:7;2848:5;2852:1;2848;:5;:::i;:::-;2841:12;2763:98;-1:-1:-1;;;2763:98:0:o;39301:382::-;-1:-1:-1;;;;;39381:16:0;;39373:61;;;;-1:-1:-1;;;39373:61:0;;12915:2:1;39373:61:0;;;12897:21:1;;;12934:18;;;12927:30;12993:34;12973:18;;;12966:62;13045:18;;39373:61:0;12713:356:1;39373:61:0;39454:16;39462:7;39454;:16::i;:::-;39453:17;39445:58;;;;-1:-1:-1;;;39445:58:0;;9082:2:1;39445:58:0;;;9064:21:1;9121:2;9101:18;;;9094:30;9160;9140:18;;;9133:58;9208:18;;39445:58:0;8880:352:1;39445:58:0;39516:45;39545:1;39549:2;39553:7;39516:20;:45::i;:::-;-1:-1:-1;;;;;39574:13:0;;;;;;:9;:13;;;;;:18;;39591:1;;39574:13;:18;;39591:1;;39574:18;:::i;:::-;;;;-1:-1:-1;;39603:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;39603:21:0;-1:-1:-1;;;;;39603:21:0;;;;;;;;39642:33;;39603:16;;;39642:33;;39603:16;;39642:33;39301:382;;:::o;37617:348::-;37710:4;37735:16;37743:7;37735;:16::i;:::-;37727:73;;;;-1:-1:-1;;;37727:73:0;;10905:2:1;37727:73:0;;;10887:21:1;10944:2;10924:18;;;10917:30;10983:34;10963:18;;;10956:62;-1:-1:-1;;;11034:18:1;;;11027:42;11086:19;;37727:73:0;10703:408:1;37727:73:0;37811:13;37827:23;37842:7;37827:14;:23::i;:::-;37811:39;;37880:5;-1:-1:-1;;;;;37869:16:0;:7;-1:-1:-1;;;;;37869:16:0;;:51;;;;37913:7;-1:-1:-1;;;;;37889:31:0;:20;37901:7;37889:11;:20::i;:::-;-1:-1:-1;;;;;37889:31:0;;37869:51;:87;;;;37924:32;37941:5;37948:7;37924:16;:32::i;:::-;37861:96;37617:348;-1:-1:-1;;;;37617:348:0:o;40609:578::-;40768:4;-1:-1:-1;;;;;40741:31:0;:23;40756:7;40741:14;:23::i;:::-;-1:-1:-1;;;;;40741:31:0;;40733:85;;;;-1:-1:-1;;;40733:85:0;;14050:2:1;40733:85:0;;;14032:21:1;14089:2;14069:18;;;14062:30;14128:34;14108:18;;;14101:62;-1:-1:-1;;;14179:18:1;;;14172:39;14228:19;;40733:85:0;13848:405:1;40733:85:0;-1:-1:-1;;;;;40837:16:0;;40829:65;;;;-1:-1:-1;;;40829:65:0;;10146:2:1;40829:65:0;;;10128:21:1;10185:2;10165:18;;;10158:30;10224:34;10204:18;;;10197:62;-1:-1:-1;;;10275:18:1;;;10268:34;10319:19;;40829:65:0;9944:400:1;40829:65:0;40907:39;40928:4;40934:2;40938:7;40907:20;:39::i;:::-;41011:29;41028:1;41032:7;41011:8;:29::i;:::-;-1:-1:-1;;;;;41053:15:0;;;;;;:9;:15;;;;;:20;;41072:1;;41053:15;:20;;41072:1;;41053:20;:::i;:::-;;;;-1:-1:-1;;;;;;;41084:13:0;;;;;;:9;:13;;;;;:18;;41101:1;;41084:13;:18;;41101:1;;41084:18;:::i;:::-;;;;-1:-1:-1;;41113:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;41113:21:0;-1:-1:-1;;;;;41113:21:0;;;;;;;;;41152:27;;41113:16;;41152:27;;;;;;;40609:578;;;:::o;12094:173::-;12169:6;;;-1:-1:-1;;;;;12186:17:0;;;-1:-1:-1;;;;;;12186:17:0;;;;;;;12219:40;;12169:6;;;12186:17;12169:6;;12219:40;;12150:16;;12219:40;12139:128;12094:173;:::o;36695:315::-;36852:28;36862:4;36868:2;36872:7;36852:9;:28::i;:::-;36899:48;36922:4;36928:2;36932:7;36941:5;36899:22;:48::i;:::-;36891:111;;;;-1:-1:-1;;;36891:111:0;;;;;;;:::i;7292:723::-;7348:13;7569:10;7565:53;;-1:-1:-1;;7596:10:0;;;;;;;;;;;;-1:-1:-1;;;7596:10:0;;;;;7292:723::o;7565:53::-;7643:5;7628:12;7684:78;7691:9;;7684:78;;7717:8;;;;:::i;:::-;;-1:-1:-1;7740:10:0;;-1:-1:-1;7748:2:0;7740:10;;:::i;:::-;;;7684:78;;;7772:19;7804:6;7794:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7794:17:0;;7772:39;;7822:154;7829:10;;7822:154;;7856:11;7866:1;7856:11;;:::i;:::-;;-1:-1:-1;7925:10:0;7933:2;7925:5;:10;:::i;:::-;7912:24;;:2;:24;:::i;:::-;7899:39;;7882:6;7889;7882:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7882:56:0;;;;;;;;-1:-1:-1;7953:11:0;7962:2;7953:11;;:::i;:::-;;;7822:154;;46207:589;-1:-1:-1;;;;;46413:18:0;;46409:187;;46448:40;46480:7;47623:10;:17;;47596:24;;;;:15;:24;;;;;:44;;;47651:24;;;;;;;;;;;;47519:164;46448:40;46409:187;;;46518:2;-1:-1:-1;;;;;46510:10:0;:4;-1:-1:-1;;;;;46510:10:0;;46506:90;;46537:47;46570:4;46576:7;46537:32;:47::i;:::-;-1:-1:-1;;;;;46610:16:0;;46606:183;;46643:45;46680:7;46643:36;:45::i;46606:183::-;46716:4;-1:-1:-1;;;;;46710:10:0;:2;-1:-1:-1;;;;;46710:10:0;;46706:83;;46737:40;46765:2;46769:7;46737:27;:40::i;42044:799::-;42199:4;-1:-1:-1;;;;;42220:13:0;;13416:20;13464:8;42216:620;;42256:72;;-1:-1:-1;;;42256:72:0;;-1:-1:-1;;;;;42256:36:0;;;;;:72;;9809:10;;42307:4;;42313:7;;42322:5;;42256:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42256:72:0;;;;;;;;-1:-1:-1;;42256:72:0;;;;;;;;;;;;:::i;:::-;;;42252:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42498:13:0;;42494:272;;42541:60;;-1:-1:-1;;;42541:60:0;;;;;;;:::i;42494:272::-;42716:6;42710:13;42701:6;42697:2;42693:15;42686:38;42252:529;-1:-1:-1;;;;;;42379:51:0;-1:-1:-1;;;42379:51:0;;-1:-1:-1;42372:58:0;;42216:620;-1:-1:-1;42820:4:0;42044:799;;;;;;:::o;48310:988::-;48576:22;48626:1;48601:22;48618:4;48601:16;:22::i;:::-;:26;;;;:::i;:::-;48638:18;48659:26;;;:17;:26;;;;;;48576:51;;-1:-1:-1;48792:28:0;;;48788:328;;-1:-1:-1;;;;;48859:18:0;;48837:19;48859:18;;;:12;:18;;;;;;;;:34;;;;;;;;;48910:30;;;;;;:44;;;49027:30;;:17;:30;;;;;:43;;;48788:328;-1:-1:-1;49212:26:0;;;;:17;:26;;;;;;;;49205:33;;;-1:-1:-1;;;;;49256:18:0;;;;;:12;:18;;;;;:34;;;;;;;49249:41;48310:988::o;49593:1079::-;49871:10;:17;49846:22;;49871:21;;49891:1;;49871:21;:::i;:::-;49903:18;49924:24;;;:15;:24;;;;;;50297:10;:26;;49846:46;;-1:-1:-1;49924:24:0;;49846:46;;50297:26;;;;;;:::i;:::-;;;;;;;;;50275:48;;50361:11;50336:10;50347;50336:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;50441:28;;;:15;:28;;;;;;;:41;;;50613:24;;;;;50606:31;50648:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;49664:1008;;;49593:1079;:::o;47097:221::-;47182:14;47199:20;47216:2;47199:16;:20::i;:::-;-1:-1:-1;;;;;47230:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;47275:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;47097:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;902:323::-;978:6;986;1039:2;1027:9;1018:7;1014:23;1010:32;1007:52;;;1055:1;1052;1045:12;1007:52;1094:9;1081:23;1113:31;1138:5;1113:31;:::i;:::-;1163:5;1215:2;1200:18;;;;1187:32;;-1:-1:-1;;;902:323:1:o;1230:388::-;1298:6;1306;1359:2;1347:9;1338:7;1334:23;1330:32;1327:52;;;1375:1;1372;1365:12;1327:52;1414:9;1401:23;1433:31;1458:5;1433:31;:::i;:::-;1483:5;-1:-1:-1;1540:2:1;1525:18;;1512:32;1553:33;1512:32;1553:33;:::i;:::-;1605:7;1595:17;;;1230:388;;;;;:::o;1623:456::-;1700:6;1708;1716;1769:2;1757:9;1748:7;1744:23;1740:32;1737:52;;;1785:1;1782;1775:12;1737:52;1824:9;1811:23;1843:31;1868:5;1843:31;:::i;:::-;1893:5;-1:-1:-1;1950:2:1;1935:18;;1922:32;1963:33;1922:32;1963:33;:::i;:::-;1623:456;;2015:7;;-1:-1:-1;;;2069:2:1;2054:18;;;;2041:32;;1623:456::o;2084:794::-;2179:6;2187;2195;2203;2256:3;2244:9;2235:7;2231:23;2227:33;2224:53;;;2273:1;2270;2263:12;2224:53;2312:9;2299:23;2331:31;2356:5;2331:31;:::i;:::-;2381:5;-1:-1:-1;2438:2:1;2423:18;;2410:32;2451:33;2410:32;2451:33;:::i;:::-;2503:7;-1:-1:-1;2557:2:1;2542:18;;2529:32;;-1:-1:-1;2612:2:1;2597:18;;2584:32;2639:18;2628:30;;2625:50;;;2671:1;2668;2661:12;2625:50;2694:22;;2747:4;2739:13;;2735:27;-1:-1:-1;2725:55:1;;2776:1;2773;2766:12;2725:55;2799:73;2864:7;2859:2;2846:16;2841:2;2837;2833:11;2799:73;:::i;:::-;2789:83;;;2084:794;;;;;;;:::o;2883:416::-;2948:6;2956;3009:2;2997:9;2988:7;2984:23;2980:32;2977:52;;;3025:1;3022;3015:12;2977:52;3064:9;3051:23;3083:31;3108:5;3083:31;:::i;:::-;3133:5;-1:-1:-1;3190:2:1;3175:18;;3162:32;3232:15;;3225:23;3213:36;;3203:64;;3263:1;3260;3253:12;3624:245;3682:6;3735:2;3723:9;3714:7;3710:23;3706:32;3703:52;;;3751:1;3748;3741:12;3703:52;3790:9;3777:23;3809:30;3833:5;3809:30;:::i;3874:249::-;3943:6;3996:2;3984:9;3975:7;3971:23;3967:32;3964:52;;;4012:1;4009;4002:12;3964:52;4044:9;4038:16;4063:30;4087:5;4063:30;:::i;4128:450::-;4197:6;4250:2;4238:9;4229:7;4225:23;4221:32;4218:52;;;4266:1;4263;4256:12;4218:52;4306:9;4293:23;4339:18;4331:6;4328:30;4325:50;;;4371:1;4368;4361:12;4325:50;4394:22;;4447:4;4439:13;;4435:27;-1:-1:-1;4425:55:1;;4476:1;4473;4466:12;4425:55;4499:73;4564:7;4559:2;4546:16;4541:2;4537;4533:11;4499:73;:::i;4583:180::-;4642:6;4695:2;4683:9;4674:7;4670:23;4666:32;4663:52;;;4711:1;4708;4701:12;4663:52;-1:-1:-1;4734:23:1;;4583:180;-1:-1:-1;4583:180:1:o;4768:184::-;4838:6;4891:2;4879:9;4870:7;4866:23;4862:32;4859:52;;;4907:1;4904;4897:12;4859:52;-1:-1:-1;4930:16:1;;4768:184;-1:-1:-1;4768:184:1:o;4957:316::-;5034:6;5042;5050;5103:2;5091:9;5082:7;5078:23;5074:32;5071:52;;;5119:1;5116;5109:12;5071:52;-1:-1:-1;;5142:23:1;;;5212:2;5197:18;;5184:32;;-1:-1:-1;5263:2:1;5248:18;;;5235:32;;4957:316;-1:-1:-1;4957:316:1:o;5278:257::-;5319:3;5357:5;5351:12;5384:6;5379:3;5372:19;5400:63;5456:6;5449:4;5444:3;5440:14;5433:4;5426:5;5422:16;5400:63;:::i;:::-;5517:2;5496:15;-1:-1:-1;;5492:29:1;5483:39;;;;5524:4;5479:50;;5278:257;-1:-1:-1;;5278:257:1:o;5540:637::-;5820:3;5858:6;5852:13;5874:53;5920:6;5915:3;5908:4;5900:6;5896:17;5874:53;:::i;:::-;5990:13;;5949:16;;;;6012:57;5990:13;5949:16;6046:4;6034:17;;6012:57;:::i;:::-;-1:-1:-1;;;6091:20:1;;6120:22;;;6169:1;6158:13;;5540:637;-1:-1:-1;;;;5540:637:1:o;6390:488::-;-1:-1:-1;;;;;6659:15:1;;;6641:34;;6711:15;;6706:2;6691:18;;6684:43;6758:2;6743:18;;6736:34;;;6806:3;6801:2;6786:18;;6779:31;;;6584:4;;6827:45;;6852:19;;6844:6;6827:45;:::i;:::-;6819:53;6390:488;-1:-1:-1;;;;;;6390:488:1:o;7075:219::-;7224:2;7213:9;7206:21;7187:4;7244:44;7284:2;7273:9;7269:18;7261:6;7244:44;:::i;8054:414::-;8256:2;8238:21;;;8295:2;8275:18;;;8268:30;8334:34;8329:2;8314:18;;8307:62;-1:-1:-1;;;8400:2:1;8385:18;;8378:48;8458:3;8443:19;;8054:414::o;9237:354::-;9439:2;9421:21;;;9478:2;9458:18;;;9451:30;9517:32;9512:2;9497:18;;9490:60;9582:2;9567:18;;9237:354::o;13487:356::-;13689:2;13671:21;;;13708:18;;;13701:30;13767:34;13762:2;13747:18;;13740:62;13834:2;13819:18;;13487:356::o;14660:335::-;14862:2;14844:21;;;14901:2;14881:18;;;14874:30;-1:-1:-1;;;14935:2:1;14920:18;;14913:41;14986:2;14971:18;;14660:335::o;15000:354::-;15202:2;15184:21;;;15241:2;15221:18;;;15214:30;15280:32;15275:2;15260:18;;15253:60;15345:2;15330:18;;15000:354::o;15359:413::-;15561:2;15543:21;;;15600:2;15580:18;;;15573:30;15639:34;15634:2;15619:18;;15612:62;-1:-1:-1;;;15705:2:1;15690:18;;15683:47;15762:3;15747:19;;15359:413::o;16190:355::-;16392:2;16374:21;;;16431:2;16411:18;;;16404:30;16470:33;16465:2;16450:18;;16443:61;16536:2;16521:18;;16190:355::o;16732:128::-;16772:3;16803:1;16799:6;16796:1;16793:13;16790:39;;;16809:18;;:::i;:::-;-1:-1:-1;16845:9:1;;16732:128::o;16865:120::-;16905:1;16931;16921:35;;16936:18;;:::i;:::-;-1:-1:-1;16970:9:1;;16865:120::o;16990:125::-;17030:4;17058:1;17055;17052:8;17049:34;;;17063:18;;:::i;:::-;-1:-1:-1;17100:9:1;;16990:125::o;17120:258::-;17192:1;17202:113;17216:6;17213:1;17210:13;17202:113;;;17292:11;;;17286:18;17273:11;;;17266:39;17238:2;17231:10;17202:113;;;17333:6;17330:1;17327:13;17324:48;;;-1:-1:-1;;17368:1:1;17350:16;;17343:27;17120:258::o;17383:136::-;17422:3;17450:5;17440:39;;17459:18;;:::i;:::-;-1:-1:-1;;;17495:18:1;;17383:136::o;17524:380::-;17603:1;17599:12;;;;17646;;;17667:61;;17721:4;17713:6;17709:17;17699:27;;17667:61;17774:2;17766:6;17763:14;17743:18;17740:38;17737:161;;;17820:10;17815:3;17811:20;17808:1;17801:31;17855:4;17852:1;17845:15;17883:4;17880:1;17873:15;17737:161;;17524:380;;;:::o;17909:135::-;17948:3;-1:-1:-1;;17969:17:1;;17966:43;;;17989:18;;:::i;:::-;-1:-1:-1;18036:1:1;18025:13;;17909:135::o;18049:112::-;18081:1;18107;18097:35;;18112:18;;:::i;:::-;-1:-1:-1;18146:9:1;;18049:112::o;18166:127::-;18227:10;18222:3;18218:20;18215:1;18208:31;18258:4;18255:1;18248:15;18282:4;18279:1;18272:15;18298:127;18359:10;18354:3;18350:20;18347:1;18340:31;18390:4;18387:1;18380:15;18414:4;18411:1;18404:15;18430:127;18491:10;18486:3;18482:20;18479:1;18472:31;18522:4;18519:1;18512:15;18546:4;18543:1;18536:15;18562:127;18623:10;18618:3;18614:20;18611:1;18604:31;18654:4;18651:1;18644:15;18678:4;18675:1;18668:15;18694:127;18755:10;18750:3;18746:20;18743:1;18736:31;18786:4;18783:1;18776:15;18810:4;18807:1;18800:15;18826:131;-1:-1:-1;;;;;18901:31:1;;18891:42;;18881:70;;18947:1;18944;18937:12;18962:131;-1:-1:-1;;;;;;19036:32:1;;19026:43;;19016:71;;19083:1;19080;19073:12

Swarm Source

ipfs://20d2d5ec1e6e917349c520eeaf5b02e3ebeba5f53755981755a895b64b0ec6a1
Loading