APE Price: $1.17 (-13.98%)

Ape Chain Yacht Club (ACYC)

Overview

TokenID

16

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
ApeChainYachtClub

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-10-22
*/

/**
 *Submitted for verification at Etherscan.io on 2022-01-27
*/

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/interfaces/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;


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


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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


// OpenZeppelin Contracts v4.4.1 (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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/interfaces/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;


// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts v4.4.1 (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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

// File: coven/vapes.sol

//SPDX-License-Identifier: MIT
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)

pragma solidity ^0.8.0;









contract ApeChainYachtClub is ERC721, IERC2981, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;

    string private baseURI = "ipfs://QmRkx5HF8Qt6Y63ed3Lztxd68PcBTq9i5VJAhQdbtfXYyi";
    address private openSeaProxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    bool private isOpenSeaProxyActive = true;

    uint256 public constant MAX_MINTS_PER_TX = 10;
    uint256 public maxSupply = 5000;

    uint256 public constant PUBLIC_SALE_PRICE = 5 ether;
    uint256 public NUM_FREE_MINTS = 1;
    bool public isPublicSaleActive = false;




    // ============ ACCESS CONTROL/SANITY MODIFIERS ============

    modifier publicSaleActive() {
        require(isPublicSaleActive, "Public sale is not open");
        _;
    }



    modifier maxMintsPerTX(uint256 numberOfTokens) {
        require(
            numberOfTokens <= MAX_MINTS_PER_TX,
            "Max mints per transaction exceeded"
        );
        _;
    }

    modifier canMintNFTs(uint256 numberOfTokens) {
        require(
            tokenCounter.current() + numberOfTokens <=
                maxSupply,
            "Not enough mints remaining to mint"
        );
        _;
    }



    modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
        if(tokenCounter.current()>NUM_FREE_MINTS){
        require(
            (price * numberOfTokens) == msg.value,
            "Incorrect ETH value sent"
        );
        }
        _;
    }


    constructor(
    ) ERC721("Ape Chain Yacht Club", "ACYC") {
    }

    // ============ PUBLIC FUNCTIONS FOR MINTING ============

    function mint(uint256 numberOfTokens)
        external
        payable
        nonReentrant
        isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens)
        publicSaleActive
        canMintNFTs(numberOfTokens)
        maxMintsPerTX(numberOfTokens)
    {
        //require(numberOfTokens <= MAX_MINTS_PER_TX);
        //if(tokenCounter.current()>NUM_FREE_MINTS){
        //    require((PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value);
        //}
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }




    // ============ PUBLIC READ-ONLY FUNCTIONS ============

    function getBaseURI() external view returns (string memory) {
        return baseURI;
    }

    function getLastTokenId() external view returns (uint256) {
        return tokenCounter.current();
    }

    function totalSupply() external view returns (uint256) {
        return tokenCounter.current();
    }

    // ============ OWNER-ONLY ADMIN FUNCTIONS ============

    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    // function to disable gasless listings for security in case
    // opensea ever shuts down or is compromised
    function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive)
        external
        onlyOwner
    {
        isOpenSeaProxyActive = _isOpenSeaProxyActive;
    }

    function setIsPublicSaleActive(bool _isPublicSaleActive)
        external
        onlyOwner
    {
        isPublicSaleActive = _isPublicSaleActive;
    }

    function setNumFreeMints(uint256 _numfreemints)
        external
        onlyOwner
    {
        NUM_FREE_MINTS = _numfreemints;
    }


    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawTokens(IERC20 token) public onlyOwner {
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }



    // ============ SUPPORTING FUNCTIONS ============

    function nextTokenId() private returns (uint256) {
        tokenCounter.increment();
        return tokenCounter.current();
    }

    // ============ FUNCTION OVERRIDES ============

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        // Get a reference to OpenSea's proxy registry contract by instantiating
        // the contract using the already existing address.
        ProxyRegistry proxyRegistry = ProxyRegistry(
            openSeaProxyRegistryAddress
        );
        if (
            isOpenSeaProxyActive &&
            address(proxyRegistry.proxies(owner)) == operator
        ) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

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

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

    /**
     * @dev See {IERC165-royaltyInfo}.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(this), SafeMath.div(SafeMath.mul(salePrice, 5), 100));
    }
}

// These contract definitions are used to create a reference to the OpenSea
// ProxyRegistry contract by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {

}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

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_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","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":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260356080818152906122e760a03960099061001f90826101e6565b50600a80546001600160a81b0319167401a5409ec958c83c3f309868babaca7c86dcb077c1179055611388600b556001600c55600d805460ff19169055348015610067575f5ffd5b506040518060400160405280601481526020017f41706520436861696e20596163687420436c7562000000000000000000000000815250604051806040016040528060048152602001634143594360e01b815250815f90816100c991906101e6565b5060016100d682826101e6565b5050506100ef6100ea6100f960201b60201c565b6100fd565b60016007556102a0565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061017657607f821691505b60208210810361019457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101e157805f5260205f20601f840160051c810160208510156101bf5750805b601f840160051c820191505b818110156101de575f81556001016101cb565b50505b505050565b81516001600160401b038111156101ff576101ff61014e565b6102138161020d8454610162565b8461019a565b6020601f821160018114610245575f831561022e5750848201515b5f19600385901b1c1916600184901b1784556101de565b5f84815260208120601f198516915b828110156102745787850151825560209485019460019092019101610254565b508482101561029157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b61203a806102ad5f395ff3fe6080604052600436106101db575f3560e01c806370a08231116100fd578063a22cb46511610092578063d5abeb0111610062578063d5abeb011461051e578063e43082f714610533578063e985e9c514610552578063f2fde38b14610571575f5ffd5b8063a22cb465146104ad578063b88d4fde146104cc578063c6a91b42146104eb578063c87b56dd146104ff575f5ffd5b80638da5cb5b116100cd5780638da5cb5b1461045457806395d89b4114610471578063982d669e14610485578063a0712d681461049a575f5ffd5b806370a082311461040d578063714c53981461042c578063715018a61461044057806383c4c00d146102d4575f5ffd5b806323b872dd1161017357806342842e0e1161014357806342842e0e1461039157806349df728c146103b057806355f804b3146103cf5780636352211e146103ee575f5ffd5b806323b872dd1461030157806328cad13d146103205780632a55205a1461033f5780633ccfd60b1461037d575f5ffd5b8063095ea7b3116101ae578063095ea7b3146102945780630a00ae83146102b557806318160ddd146102d45780631e84c413146102e8575f5ffd5b806301ffc9a7146101df57806306fdde031461021357806307e89ec014610234578063081812fc1461025d575b5f5ffd5b3480156101ea575f5ffd5b506101fe6101f93660046118fa565b610590565b60405190151581526020015b60405180910390f35b34801561021e575f5ffd5b506102276105ba565b60405161020a9190611943565b34801561023f575f5ffd5b5061024f674563918244f4000081565b60405190815260200161020a565b348015610268575f5ffd5b5061027c610277366004611955565b610649565b6040516001600160a01b03909116815260200161020a565b34801561029f575f5ffd5b506102b36102ae366004611980565b6106e1565b005b3480156102c0575f5ffd5b506102b36102cf366004611955565b6107f5565b3480156102df575f5ffd5b5061024f610824565b3480156102f3575f5ffd5b50600d546101fe9060ff1681565b34801561030c575f5ffd5b506102b361031b3660046119aa565b610833565b34801561032b575f5ffd5b506102b361033a3660046119f5565b610864565b34801561034a575f5ffd5b5061035e610359366004611a10565b6108a1565b604080516001600160a01b03909316835260208301919091520161020a565b348015610388575f5ffd5b506102b361091b565b34801561039c575f5ffd5b506102b36103ab3660046119aa565b610975565b3480156103bb575f5ffd5b506102b36103ca366004611a30565b61098f565b3480156103da575f5ffd5b506102b36103e9366004611ad6565b610a92565b3480156103f9575f5ffd5b5061027c610408366004611955565b610ac8565b348015610418575f5ffd5b5061024f610427366004611a30565b610b3e565b348015610437575f5ffd5b50610227610bc3565b34801561044b575f5ffd5b506102b3610bd2565b34801561045f575f5ffd5b506006546001600160a01b031661027c565b34801561047c575f5ffd5b50610227610c07565b348015610490575f5ffd5b5061024f600c5481565b6102b36104a8366004611955565b610c16565b3480156104b8575f5ffd5b506102b36104c7366004611b1b565b610e2d565b3480156104d7575f5ffd5b506102b36104e6366004611b52565b610e38565b3480156104f6575f5ffd5b5061024f600a81565b34801561050a575f5ffd5b50610227610519366004611955565b610e70565b348015610529575f5ffd5b5061024f600b5481565b34801561053e575f5ffd5b506102b361054d3660046119f5565b610efc565b34801561055d575f5ffd5b506101fe61056c366004611bcd565b610f44565b34801561057c575f5ffd5b506102b361058b366004611a30565b61101d565b5f6001600160e01b0319821663152a902d60e11b14806105b457506105b4826110b8565b92915050565b60605f80546105c890611bf9565b80601f01602080910402602001604051908101604052809291908181526020018280546105f490611bf9565b801561063f5780601f106106165761010080835404028352916020019161063f565b820191905f5260205f20905b81548152906001019060200180831161062257829003601f168201915b5050505050905090565b5f818152600260205260408120546001600160a01b03166106c65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b505f908152600460205260409020546001600160a01b031690565b5f6106eb82610ac8565b9050806001600160a01b0316836001600160a01b0316036107585760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106bd565b336001600160a01b038216148061077457506107748133610f44565b6107e65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106bd565b6107f08383611107565b505050565b6006546001600160a01b0316331461081f5760405162461bcd60e51b81526004016106bd90611c31565b600c55565b5f61082e60085490565b905090565b61083d3382611174565b6108595760405162461bcd60e51b81526004016106bd90611c66565b6107f0838383611241565b6006546001600160a01b0316331461088e5760405162461bcd60e51b81526004016106bd90611c31565b600d805460ff1916911515919091179055565b5f8281526002602052604081205481906001600160a01b03166108fa5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106bd565b306109106109098560056113dd565b60646113ef565b915091509250929050565b6006546001600160a01b031633146109455760405162461bcd60e51b81526004016106bd90611c31565b6040514790339082156108fc029083905f818181858888f19350505050158015610971573d5f5f3e3d5ffd5b5050565b6107f083838360405180602001604052805f815250610e38565b6006546001600160a01b031633146109b95760405162461bcd60e51b81526004016106bd90611c31565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109fd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a219190611cb7565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015610a6e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f09190611cce565b6006546001600160a01b03163314610abc5760405162461bcd60e51b81526004016106bd90611c31565b60096109718282611d34565b5f818152600260205260408120546001600160a01b0316806105b45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106bd565b5f6001600160a01b038216610ba85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106bd565b506001600160a01b03165f9081526003602052604090205490565b6060600980546105c890611bf9565b6006546001600160a01b03163314610bfc5760405162461bcd60e51b81526004016106bd90611c31565b610c055f6113fa565b565b6060600180546105c890611bf9565b600260075403610c685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bd565b6002600755600c54600854674563918244f400009183911115610cdd5734610c908284611e03565b14610cdd5760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106bd565b600d5460ff16610d2f5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106bd565b82600b5481610d3d60085490565b610d479190611e1a565b1115610da05760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106bd565b83600a811115610dfd5760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106bd565b5f5b85811015610e2057610e1833610e1361144b565b611461565b600101610dff565b5050600160075550505050565b61097133838361147a565b610e423383611174565b610e5e5760405162461bcd60e51b81526004016106bd90611c66565b610e6a84848484611547565b50505050565b5f818152600260205260409020546060906001600160a01b0316610eca5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106bd565b6009610ed58361157a565b604051602001610ee6929190611e2d565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610f265760405162461bcd60e51b81526004016106bd90611c31565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b600a545f906001600160a01b03811690600160a01b900460ff168015610fdd575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015610fae573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd29190611ec7565b6001600160a01b0316145b15610fec5760019150506105b4565b6001600160a01b038085165f9081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b031633146110475760405162461bcd60e51b81526004016106bd90611c31565b6001600160a01b0381166110ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b6110b5816113fa565b50565b5f6001600160e01b031982166380ac58cd60e01b14806110e857506001600160e01b03198216635b5e139f60e01b145b806105b457506301ffc9a760e01b6001600160e01b03198316146105b4565b5f81815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113b82610ac8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f818152600260205260408120546001600160a01b03166111ec5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106bd565b5f6111f683610ac8565b9050806001600160a01b0316846001600160a01b031614806112315750836001600160a01b031661122684610649565b6001600160a01b0316145b8061101557506110158185610f44565b826001600160a01b031661125482610ac8565b6001600160a01b0316146112bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106bd565b6001600160a01b03821661131e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106bd565b6113285f82611107565b6001600160a01b0383165f908152600360205260408120805460019290611350908490611ee2565b90915550506001600160a01b0382165f90815260036020526040812080546001929061137d908490611e1a565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b5f6113e88284611e03565b9392505050565b5f6113e88284611f09565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f61145a600880546001019055565b5060085490565b610971828260405180602001604052805f815250611677565b816001600160a01b0316836001600160a01b0316036114db5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106bd565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611552848484611241565b61155e848484846116a9565b610e6a5760405162461bcd60e51b81526004016106bd90611f1c565b6060815f036115a05750506040805180820190915260018152600360fc1b602082015290565b815f5b81156115c957806115b381611f6e565b91506115c29050600a83611f09565b91506115a3565b5f8167ffffffffffffffff8111156115e3576115e3611a4b565b6040519080825280601f01601f19166020018201604052801561160d576020820181803683370190505b5090505b841561101557611622600183611ee2565b915061162f600a86611f86565b61163a906030611e1a565b60f81b81838151811061164f5761164f611f99565b60200101906001600160f81b03191690815f1a905350611670600a86611f09565b9450611611565b61168183836117a6565b61168d5f8484846116a9565b6107f05760405162461bcd60e51b81526004016106bd90611f1c565b5f6001600160a01b0384163b1561179b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116ec903390899088908890600401611fad565b6020604051808303815f875af1925050508015611726575060408051601f3d908101601f1916820190925261172391810190611fe9565b60015b611781573d808015611753576040519150601f19603f3d011682016040523d82523d5f602084013e611758565b606091505b5080515f036117795760405162461bcd60e51b81526004016106bd90611f1c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611015565b506001949350505050565b6001600160a01b0382166117fc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106bd565b5f818152600260205260409020546001600160a01b0316156118605760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106bd565b6001600160a01b0382165f908152600360205260408120805460019290611888908490611e1a565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b0319811681146110b5575f5ffd5b5f6020828403121561190a575f5ffd5b81356113e8816118e5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6113e86020830184611915565b5f60208284031215611965575f5ffd5b5035919050565b6001600160a01b03811681146110b5575f5ffd5b5f5f60408385031215611991575f5ffd5b823561199c8161196c565b946020939093013593505050565b5f5f5f606084860312156119bc575f5ffd5b83356119c78161196c565b925060208401356119d78161196c565b929592945050506040919091013590565b80151581146110b5575f5ffd5b5f60208284031215611a05575f5ffd5b81356113e8816119e8565b5f5f60408385031215611a21575f5ffd5b50508035926020909101359150565b5f60208284031215611a40575f5ffd5b81356113e88161196c565b634e487b7160e01b5f52604160045260245ffd5b5f5f67ffffffffffffffff841115611a7957611a79611a4b565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff82111715611aa857611aa8611a4b565b604052838152905080828401851015611abf575f5ffd5b838360208301375f60208583010152509392505050565b5f60208284031215611ae6575f5ffd5b813567ffffffffffffffff811115611afc575f5ffd5b8201601f81018413611b0c575f5ffd5b61101584823560208401611a5f565b5f5f60408385031215611b2c575f5ffd5b8235611b378161196c565b91506020830135611b47816119e8565b809150509250929050565b5f5f5f5f60808587031215611b65575f5ffd5b8435611b708161196c565b93506020850135611b808161196c565b925060408501359150606085013567ffffffffffffffff811115611ba2575f5ffd5b8501601f81018713611bb2575f5ffd5b611bc187823560208401611a5f565b91505092959194509250565b5f5f60408385031215611bde575f5ffd5b8235611be98161196c565b91506020830135611b478161196c565b600181811c90821680611c0d57607f821691505b602082108103611c2b57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b5f60208284031215611cc7575f5ffd5b5051919050565b5f60208284031215611cde575f5ffd5b81516113e8816119e8565b601f8211156107f057805f5260205f20601f840160051c81016020851015611d0e5750805b601f840160051c820191505b81811015611d2d575f8155600101611d1a565b5050505050565b815167ffffffffffffffff811115611d4e57611d4e611a4b565b611d6281611d5c8454611bf9565b84611ce9565b6020601f821160018114611d94575f8315611d7d5750848201515b5f19600385901b1c1916600184901b178455611d2d565b5f84815260208120601f198516915b82811015611dc35787850151825560209485019460019092019101611da3565b5084821015611de057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105b4576105b4611def565b808201808211156105b4576105b4611def565b5f5f8454611e3a81611bf9565b600182168015611e515760018114611e6657611e93565b60ff1983168652811515820286019350611e93565b875f5260205f205f5b83811015611e8b57815488820152600190910190602001611e6f565b505081860193505b505050602f60f81b815283518060208601600184015e64173539b7b760d91b91016001810191825260060195945050505050565b5f60208284031215611ed7575f5ffd5b81516113e88161196c565b818103818111156105b4576105b4611def565b634e487b7160e01b5f52601260045260245ffd5b5f82611f1757611f17611ef5565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b5f60018201611f7f57611f7f611def565b5060010190565b5f82611f9457611f94611ef5565b500690565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611fdf90830184611915565b9695505050505050565b5f60208284031215611ff9575f5ffd5b81516113e8816118e556fea26469706673582212209e4810b304b121e90d15bb1c2ee280d95e267aec7759f6926fea412ccfb12d8064736f6c634300081b0033697066733a2f2f516d526b78354846385174365936336564334c7a74786436385063425471396935564a4168516462746658597969

Deployed Bytecode

0x6080604052600436106101db575f3560e01c806370a08231116100fd578063a22cb46511610092578063d5abeb0111610062578063d5abeb011461051e578063e43082f714610533578063e985e9c514610552578063f2fde38b14610571575f5ffd5b8063a22cb465146104ad578063b88d4fde146104cc578063c6a91b42146104eb578063c87b56dd146104ff575f5ffd5b80638da5cb5b116100cd5780638da5cb5b1461045457806395d89b4114610471578063982d669e14610485578063a0712d681461049a575f5ffd5b806370a082311461040d578063714c53981461042c578063715018a61461044057806383c4c00d146102d4575f5ffd5b806323b872dd1161017357806342842e0e1161014357806342842e0e1461039157806349df728c146103b057806355f804b3146103cf5780636352211e146103ee575f5ffd5b806323b872dd1461030157806328cad13d146103205780632a55205a1461033f5780633ccfd60b1461037d575f5ffd5b8063095ea7b3116101ae578063095ea7b3146102945780630a00ae83146102b557806318160ddd146102d45780631e84c413146102e8575f5ffd5b806301ffc9a7146101df57806306fdde031461021357806307e89ec014610234578063081812fc1461025d575b5f5ffd5b3480156101ea575f5ffd5b506101fe6101f93660046118fa565b610590565b60405190151581526020015b60405180910390f35b34801561021e575f5ffd5b506102276105ba565b60405161020a9190611943565b34801561023f575f5ffd5b5061024f674563918244f4000081565b60405190815260200161020a565b348015610268575f5ffd5b5061027c610277366004611955565b610649565b6040516001600160a01b03909116815260200161020a565b34801561029f575f5ffd5b506102b36102ae366004611980565b6106e1565b005b3480156102c0575f5ffd5b506102b36102cf366004611955565b6107f5565b3480156102df575f5ffd5b5061024f610824565b3480156102f3575f5ffd5b50600d546101fe9060ff1681565b34801561030c575f5ffd5b506102b361031b3660046119aa565b610833565b34801561032b575f5ffd5b506102b361033a3660046119f5565b610864565b34801561034a575f5ffd5b5061035e610359366004611a10565b6108a1565b604080516001600160a01b03909316835260208301919091520161020a565b348015610388575f5ffd5b506102b361091b565b34801561039c575f5ffd5b506102b36103ab3660046119aa565b610975565b3480156103bb575f5ffd5b506102b36103ca366004611a30565b61098f565b3480156103da575f5ffd5b506102b36103e9366004611ad6565b610a92565b3480156103f9575f5ffd5b5061027c610408366004611955565b610ac8565b348015610418575f5ffd5b5061024f610427366004611a30565b610b3e565b348015610437575f5ffd5b50610227610bc3565b34801561044b575f5ffd5b506102b3610bd2565b34801561045f575f5ffd5b506006546001600160a01b031661027c565b34801561047c575f5ffd5b50610227610c07565b348015610490575f5ffd5b5061024f600c5481565b6102b36104a8366004611955565b610c16565b3480156104b8575f5ffd5b506102b36104c7366004611b1b565b610e2d565b3480156104d7575f5ffd5b506102b36104e6366004611b52565b610e38565b3480156104f6575f5ffd5b5061024f600a81565b34801561050a575f5ffd5b50610227610519366004611955565b610e70565b348015610529575f5ffd5b5061024f600b5481565b34801561053e575f5ffd5b506102b361054d3660046119f5565b610efc565b34801561055d575f5ffd5b506101fe61056c366004611bcd565b610f44565b34801561057c575f5ffd5b506102b361058b366004611a30565b61101d565b5f6001600160e01b0319821663152a902d60e11b14806105b457506105b4826110b8565b92915050565b60605f80546105c890611bf9565b80601f01602080910402602001604051908101604052809291908181526020018280546105f490611bf9565b801561063f5780601f106106165761010080835404028352916020019161063f565b820191905f5260205f20905b81548152906001019060200180831161062257829003601f168201915b5050505050905090565b5f818152600260205260408120546001600160a01b03166106c65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b505f908152600460205260409020546001600160a01b031690565b5f6106eb82610ac8565b9050806001600160a01b0316836001600160a01b0316036107585760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106bd565b336001600160a01b038216148061077457506107748133610f44565b6107e65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106bd565b6107f08383611107565b505050565b6006546001600160a01b0316331461081f5760405162461bcd60e51b81526004016106bd90611c31565b600c55565b5f61082e60085490565b905090565b61083d3382611174565b6108595760405162461bcd60e51b81526004016106bd90611c66565b6107f0838383611241565b6006546001600160a01b0316331461088e5760405162461bcd60e51b81526004016106bd90611c31565b600d805460ff1916911515919091179055565b5f8281526002602052604081205481906001600160a01b03166108fa5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106bd565b306109106109098560056113dd565b60646113ef565b915091509250929050565b6006546001600160a01b031633146109455760405162461bcd60e51b81526004016106bd90611c31565b6040514790339082156108fc029083905f818181858888f19350505050158015610971573d5f5f3e3d5ffd5b5050565b6107f083838360405180602001604052805f815250610e38565b6006546001600160a01b031633146109b95760405162461bcd60e51b81526004016106bd90611c31565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109fd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a219190611cb7565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015610a6e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f09190611cce565b6006546001600160a01b03163314610abc5760405162461bcd60e51b81526004016106bd90611c31565b60096109718282611d34565b5f818152600260205260408120546001600160a01b0316806105b45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106bd565b5f6001600160a01b038216610ba85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106bd565b506001600160a01b03165f9081526003602052604090205490565b6060600980546105c890611bf9565b6006546001600160a01b03163314610bfc5760405162461bcd60e51b81526004016106bd90611c31565b610c055f6113fa565b565b6060600180546105c890611bf9565b600260075403610c685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bd565b6002600755600c54600854674563918244f400009183911115610cdd5734610c908284611e03565b14610cdd5760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106bd565b600d5460ff16610d2f5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106bd565b82600b5481610d3d60085490565b610d479190611e1a565b1115610da05760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106bd565b83600a811115610dfd5760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106bd565b5f5b85811015610e2057610e1833610e1361144b565b611461565b600101610dff565b5050600160075550505050565b61097133838361147a565b610e423383611174565b610e5e5760405162461bcd60e51b81526004016106bd90611c66565b610e6a84848484611547565b50505050565b5f818152600260205260409020546060906001600160a01b0316610eca5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106bd565b6009610ed58361157a565b604051602001610ee6929190611e2d565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610f265760405162461bcd60e51b81526004016106bd90611c31565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b600a545f906001600160a01b03811690600160a01b900460ff168015610fdd575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015610fae573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd29190611ec7565b6001600160a01b0316145b15610fec5760019150506105b4565b6001600160a01b038085165f9081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b031633146110475760405162461bcd60e51b81526004016106bd90611c31565b6001600160a01b0381166110ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b6110b5816113fa565b50565b5f6001600160e01b031982166380ac58cd60e01b14806110e857506001600160e01b03198216635b5e139f60e01b145b806105b457506301ffc9a760e01b6001600160e01b03198316146105b4565b5f81815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113b82610ac8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f818152600260205260408120546001600160a01b03166111ec5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106bd565b5f6111f683610ac8565b9050806001600160a01b0316846001600160a01b031614806112315750836001600160a01b031661122684610649565b6001600160a01b0316145b8061101557506110158185610f44565b826001600160a01b031661125482610ac8565b6001600160a01b0316146112bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106bd565b6001600160a01b03821661131e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106bd565b6113285f82611107565b6001600160a01b0383165f908152600360205260408120805460019290611350908490611ee2565b90915550506001600160a01b0382165f90815260036020526040812080546001929061137d908490611e1a565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b5f6113e88284611e03565b9392505050565b5f6113e88284611f09565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f61145a600880546001019055565b5060085490565b610971828260405180602001604052805f815250611677565b816001600160a01b0316836001600160a01b0316036114db5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106bd565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611552848484611241565b61155e848484846116a9565b610e6a5760405162461bcd60e51b81526004016106bd90611f1c565b6060815f036115a05750506040805180820190915260018152600360fc1b602082015290565b815f5b81156115c957806115b381611f6e565b91506115c29050600a83611f09565b91506115a3565b5f8167ffffffffffffffff8111156115e3576115e3611a4b565b6040519080825280601f01601f19166020018201604052801561160d576020820181803683370190505b5090505b841561101557611622600183611ee2565b915061162f600a86611f86565b61163a906030611e1a565b60f81b81838151811061164f5761164f611f99565b60200101906001600160f81b03191690815f1a905350611670600a86611f09565b9450611611565b61168183836117a6565b61168d5f8484846116a9565b6107f05760405162461bcd60e51b81526004016106bd90611f1c565b5f6001600160a01b0384163b1561179b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116ec903390899088908890600401611fad565b6020604051808303815f875af1925050508015611726575060408051601f3d908101601f1916820190925261172391810190611fe9565b60015b611781573d808015611753576040519150601f19603f3d011682016040523d82523d5f602084013e611758565b606091505b5080515f036117795760405162461bcd60e51b81526004016106bd90611f1c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611015565b506001949350505050565b6001600160a01b0382166117fc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106bd565b5f818152600260205260409020546001600160a01b0316156118605760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106bd565b6001600160a01b0382165f908152600360205260408120805460019290611888908490611e1a565b90915550505f8181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b0319811681146110b5575f5ffd5b5f6020828403121561190a575f5ffd5b81356113e8816118e5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6113e86020830184611915565b5f60208284031215611965575f5ffd5b5035919050565b6001600160a01b03811681146110b5575f5ffd5b5f5f60408385031215611991575f5ffd5b823561199c8161196c565b946020939093013593505050565b5f5f5f606084860312156119bc575f5ffd5b83356119c78161196c565b925060208401356119d78161196c565b929592945050506040919091013590565b80151581146110b5575f5ffd5b5f60208284031215611a05575f5ffd5b81356113e8816119e8565b5f5f60408385031215611a21575f5ffd5b50508035926020909101359150565b5f60208284031215611a40575f5ffd5b81356113e88161196c565b634e487b7160e01b5f52604160045260245ffd5b5f5f67ffffffffffffffff841115611a7957611a79611a4b565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff82111715611aa857611aa8611a4b565b604052838152905080828401851015611abf575f5ffd5b838360208301375f60208583010152509392505050565b5f60208284031215611ae6575f5ffd5b813567ffffffffffffffff811115611afc575f5ffd5b8201601f81018413611b0c575f5ffd5b61101584823560208401611a5f565b5f5f60408385031215611b2c575f5ffd5b8235611b378161196c565b91506020830135611b47816119e8565b809150509250929050565b5f5f5f5f60808587031215611b65575f5ffd5b8435611b708161196c565b93506020850135611b808161196c565b925060408501359150606085013567ffffffffffffffff811115611ba2575f5ffd5b8501601f81018713611bb2575f5ffd5b611bc187823560208401611a5f565b91505092959194509250565b5f5f60408385031215611bde575f5ffd5b8235611be98161196c565b91506020830135611b478161196c565b600181811c90821680611c0d57607f821691505b602082108103611c2b57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b5f60208284031215611cc7575f5ffd5b5051919050565b5f60208284031215611cde575f5ffd5b81516113e8816119e8565b601f8211156107f057805f5260205f20601f840160051c81016020851015611d0e5750805b601f840160051c820191505b81811015611d2d575f8155600101611d1a565b5050505050565b815167ffffffffffffffff811115611d4e57611d4e611a4b565b611d6281611d5c8454611bf9565b84611ce9565b6020601f821160018114611d94575f8315611d7d5750848201515b5f19600385901b1c1916600184901b178455611d2d565b5f84815260208120601f198516915b82811015611dc35787850151825560209485019460019092019101611da3565b5084821015611de057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105b4576105b4611def565b808201808211156105b4576105b4611def565b5f5f8454611e3a81611bf9565b600182168015611e515760018114611e6657611e93565b60ff1983168652811515820286019350611e93565b875f5260205f205f5b83811015611e8b57815488820152600190910190602001611e6f565b505081860193505b505050602f60f81b815283518060208601600184015e64173539b7b760d91b91016001810191825260060195945050505050565b5f60208284031215611ed7575f5ffd5b81516113e88161196c565b818103818111156105b4576105b4611def565b634e487b7160e01b5f52601260045260245ffd5b5f82611f1757611f17611ef5565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b5f60018201611f7f57611f7f611def565b5060010190565b5f82611f9457611f94611ef5565b500690565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611fdf90830184611915565b9695505050505050565b5f60208284031215611ff9575f5ffd5b81516113e8816118e556fea26469706673582212209e4810b304b121e90d15bb1c2ee280d95e267aec7759f6926fea412ccfb12d8064736f6c634300081b0033

Deployed Bytecode Sourcemap

51748:5889:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55831:291;;;;;;;;;;-1:-1:-1;55831:291:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;55831:291:0;;;;;;;;40022:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;52273:51::-;;;;;;;;;;;;52317:7;52273:51;;;;;1257:25:1;;;1245:2;1230:18;52273:51:0;1111:177:1;41581:221:0;;;;;;;;;;-1:-1:-1;41581:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1688:32:1;;;1670:51;;1658:2;1643:18;41581:221:0;1524:203:1;41104:411:0;;;;;;;;;;-1:-1:-1;41104:411:0;;;;;:::i;:::-;;:::i;:::-;;55099:139;;;;;;;;;;-1:-1:-1;55099:139:0;;;;;:::i;:::-;;:::i;54361:103::-;;;;;;;;;;;;;:::i;52371:38::-;;;;;;;;;;-1:-1:-1;52371:38:0;;;;;;;;42331:339;;;;;;;;;;-1:-1:-1;42331:339:0;;;;;:::i;:::-;;:::i;54933:158::-;;;;;;;;;;-1:-1:-1;54933:158:0;;;;;:::i;:::-;;:::i;57316:318::-;;;;;;;;;;-1:-1:-1;57316:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3665:32:1;;;3647:51;;3729:2;3714:18;;3707:34;;;;3620:18;57316:318:0;3473:274:1;55248:143:0;;;;;;;;;;;;;:::i;42741:185::-;;;;;;;;;;-1:-1:-1;42741:185:0;;;;;:::i;:::-;;:::i;55399:168::-;;;;;;;;;;-1:-1:-1;55399:168:0;;;;;:::i;:::-;;:::i;54535:100::-;;;;;;;;;;-1:-1:-1;54535:100:0;;;;;:::i;:::-;;:::i;39716:239::-;;;;;;;;;;-1:-1:-1;39716:239:0;;;;;:::i;:::-;;:::i;39446:208::-;;;;;;;;;;-1:-1:-1;39446:208:0;;;;;:::i;:::-;;:::i;54146:93::-;;;;;;;;;;;;;:::i;19097:103::-;;;;;;;;;;;;;:::i;18446:87::-;;;;;;;;;;-1:-1:-1;18519:6:0;;-1:-1:-1;;;;;18519:6:0;18446:87;;40191:104;;;;;;;;;;;;;:::i;52331:33::-;;;;;;;;;;;;;;;;53482:587;;;;;;:::i;:::-;;:::i;41874:155::-;;;;;;;;;;-1:-1:-1;41874:155:0;;;;;:::i;:::-;;:::i;42997:328::-;;;;;;;;;;-1:-1:-1;42997:328:0;;;;;:::i;:::-;;:::i;52181:45::-;;;;;;;;;;;;52224:2;52181:45;;56947:303;;;;;;;;;;-1:-1:-1;56947:303:0;;;;;:::i;:::-;;:::i;52233:31::-;;;;;;;;;;;;;;;;54759:166;;;;;;;;;;-1:-1:-1;54759:166:0;;;;;:::i;:::-;;:::i;56259:617::-;;;;;;;;;;-1:-1:-1;56259:617:0;;;;;:::i;:::-;;:::i;19355:201::-;;;;;;;;;;-1:-1:-1;19355:201:0;;;;;:::i;:::-;;:::i;55831:291::-;55978:4;-1:-1:-1;;;;;;56020:41:0;;-1:-1:-1;;;56020:41:0;;:94;;;56078:36;56102:11;56078:23;:36::i;:::-;56000:114;55831:291;-1:-1:-1;;55831:291:0:o;40022:100::-;40076:13;40109:5;40102:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40022:100;:::o;41581:221::-;41657:7;44924:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44924:16:0;41677:73;;;;-1:-1:-1;;;41677:73:0;;7798:2:1;41677:73:0;;;7780:21:1;7837:2;7817:18;;;7810:30;7876:34;7856:18;;;7849:62;-1:-1:-1;;;7927:18:1;;;7920:42;7979:19;;41677:73:0;;;;;;;;;-1:-1:-1;41770:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41770:24:0;;41581:221::o;41104:411::-;41185:13;41201:23;41216:7;41201:14;:23::i;:::-;41185:39;;41249:5;-1:-1:-1;;;;;41243:11:0;:2;-1:-1:-1;;;;;41243:11:0;;41235:57;;;;-1:-1:-1;;;41235:57:0;;8211:2:1;41235:57:0;;;8193:21:1;8250:2;8230:18;;;8223:30;8289:34;8269:18;;;8262:62;-1:-1:-1;;;8340:18:1;;;8333:31;8381:19;;41235:57:0;8009:397:1;41235:57:0;17250:10;-1:-1:-1;;;;;41327:21:0;;;;:62;;-1:-1:-1;41352:37:0;41369:5;17250:10;56259:617;:::i;41352:37::-;41305:168;;;;-1:-1:-1;;;41305:168:0;;8613:2:1;41305:168:0;;;8595:21:1;8652:2;8632:18;;;8625:30;8691:34;8671:18;;;8664:62;8762:26;8742:18;;;8735:54;8806:19;;41305:168:0;8411:420:1;41305:168:0;41486:21;41495:2;41499:7;41486:8;:21::i;:::-;41174:341;41104:411;;:::o;55099:139::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;55200:14:::1;:30:::0;55099:139::o;54361:103::-;54407:7;54434:22;:12;8062:14;;7970:114;54434:22;54427:29;;54361:103;:::o;42331:339::-;42526:41;17250:10;42559:7;42526:18;:41::i;:::-;42518:103;;;;-1:-1:-1;;;42518:103:0;;;;;;;:::i;:::-;42634:28;42644:4;42650:2;42654:7;42634:9;:28::i;54933:158::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;55043:18:::1;:40:::0;;-1:-1:-1;;55043:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54933:158::o;57316:318::-;57441:16;44924;;;:7;:16;;;;;;57441;;-1:-1:-1;;;;;44924:16:0;57498:46;;;;-1:-1:-1;;;57498:46:0;;9817:2:1;57498:46:0;;;9799:21:1;9856:2;9836:18;;;9829:30;-1:-1:-1;;;9875:18:1;;;9868:47;9932:18;;57498:46:0;9615:341:1;57498:46:0;57573:4;57580:45;57593:26;57606:9;57617:1;57593:12;:26::i;:::-;57621:3;57580:12;:45::i;:::-;57557:69;;;;57316:318;;;;;:::o;55248:143::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;55346:37:::1;::::0;55314:21:::1;::::0;55354:10:::1;::::0;55346:37;::::1;;;::::0;55314:21;;55296:15:::1;55346:37:::0;55296:15;55346:37;55314:21;55354:10;55346:37;::::1;;;;;;;;;;;;;;;;;;;;55285:106;55248:143::o:0;42741:185::-;42879:39;42896:4;42902:2;42906:7;42879:39;;;;;;;;;;;;:16;:39::i;55399:168::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;55483:30:::1;::::0;-1:-1:-1;;;55483:30:0;;55507:4:::1;55483:30;::::0;::::1;1670:51:1::0;55465:15:0::1;::::0;-1:-1:-1;;;;;55483:15:0;::::1;::::0;::::1;::::0;1643:18:1;;55483:30:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55524:35;::::0;-1:-1:-1;;;55524:35:0;;55539:10:::1;55524:35;::::0;::::1;3647:51:1::0;3714:18;;;3707:34;;;55465:48:0;;-1:-1:-1;;;;;;55524:14:0;::::1;::::0;::::1;::::0;3620:18:1;;55524:35:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;54535:100::-:0;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;54609:7:::1;:18;54619:8:::0;54609:7;:18:::1;:::i;39716:239::-:0;39788:7;39824:16;;;:7;:16;;;;;;-1:-1:-1;;;;;39824:16:0;;39851:73;;;;-1:-1:-1;;;39851:73:0;;12726:2:1;39851:73:0;;;12708:21:1;12765:2;12745:18;;;12738:30;12804:34;12784:18;;;12777:62;-1:-1:-1;;;12855:18:1;;;12848:39;12904:19;;39851:73:0;12524:405:1;39446:208:0;39518:7;-1:-1:-1;;;;;39546:19:0;;39538:74;;;;-1:-1:-1;;;39538:74:0;;13136:2:1;39538:74:0;;;13118:21:1;13175:2;13155:18;;;13148:30;13214:34;13194:18;;;13187:62;-1:-1:-1;;;13265:18:1;;;13258:40;13315:19;;39538:74:0;12934:406:1;39538:74:0;-1:-1:-1;;;;;;39630:16:0;;;;;:9;:16;;;;;;;39446:208::o;54146:93::-;54191:13;54224:7;54217:14;;;;;:::i;19097:103::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;19162:30:::1;19189:1;19162:18;:30::i;:::-;19097:103::o:0;40191:104::-;40247:13;40280:7;40273:14;;;;;:::i;53482:587::-;10375:1;10973:7;;:19;10965:63;;;;-1:-1:-1;;;10965:63:0;;13547:2:1;10965:63:0;;;13529:21:1;13586:2;13566:18;;;13559:30;13625:33;13605:18;;;13598:61;13676:18;;10965:63:0;13345:355:1;10965:63:0;10375:1;11106:7;:18;53164:14:::1;::::0;53141:12:::1;8062:14:::0;52317:7:::1;::::0;53622:14;;53141:37:::1;53138:175;;;53240:9;53213:22;53221:14:::0;53213:5;:22:::1;:::i;:::-;53212:37;53190:111;;;::::0;-1:-1:-1;;;53190:111:0;;14212:2:1;53190:111:0::1;::::0;::::1;14194:21:1::0;14251:2;14231:18;;;14224:30;14290:26;14270:18;;;14263:54;14334:18;;53190:111:0::1;14010:348:1::0;53190:111:0::1;52539:18:::2;::::0;::::2;;52531:54;;;::::0;-1:-1:-1;;;52531:54:0;;14565:2:1;52531:54:0::2;::::0;::::2;14547:21:1::0;14604:2;14584:18;;;14577:30;14643:25;14623:18;;;14616:53;14686:18;;52531:54:0::2;14363:347:1::0;52531:54:0::2;53685:14:::3;52959:9;;52924:14;52899:22;:12;8062:14:::0;;7970:114;52899:22:::3;:39;;;;:::i;:::-;:69;;52877:153;;;::::0;-1:-1:-1;;;52877:153:0;;15047:2:1;52877:153:0::3;::::0;::::3;15029:21:1::0;15086:2;15066:18;;;15059:30;15125:34;15105:18;;;15098:62;-1:-1:-1;;;15176:18:1;;;15169:32;15218:19;;52877:153:0::3;14845:398:1::0;52877:153:0::3;53724:14:::4;52224:2;52697:14;:34;;52675:118;;;::::0;-1:-1:-1;;;52675:118:0;;15450:2:1;52675:118:0::4;::::0;::::4;15432:21:1::0;15489:2;15469:18;;;15462:30;15528:34;15508:18;;;15501:62;-1:-1:-1;;;15579:18:1;;;15572:32;15621:19;;52675:118:0::4;15248:398:1::0;52675:118:0::4;53959:9:::5;53954:108;53978:14;53974:1;:18;53954:108;;;54014:36;54024:10;54036:13;:11;:13::i;:::-;54014:9;:36::i;:::-;53994:3;;53954:108;;;-1:-1:-1::0;;10331:1:0;11285:7;:22;-1:-1:-1;;;;53482:587:0:o;41874:155::-;41969:52;17250:10;42002:8;42012;41969:18;:52::i;42997:328::-;43172:41;17250:10;43205:7;43172:18;:41::i;:::-;43164:103;;;;-1:-1:-1;;;43164:103:0;;;;;;;:::i;:::-;43278:39;43292:4;43298:2;43302:7;43311:5;43278:13;:39::i;:::-;42997:328;;;;:::o;56947:303::-;44900:4;44924:16;;;:7;:16;;;;;;57065:13;;-1:-1:-1;;;;;44924:16:0;57096:46;;;;-1:-1:-1;;;57096:46:0;;9817:2:1;57096:46:0;;;9799:21:1;9856:2;9836:18;;;9829:30;-1:-1:-1;;;9875:18:1;;;9868:47;9932:18;;57096:46:0;9615:341:1;57096:46:0;57199:7;57213:18;:7;:16;:18::i;:::-;57182:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57155:87;;56947:303;;;:::o;54759:166::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;54873:20:::1;:44:::0;;;::::1;;-1:-1:-1::0;;;54873:44:0::1;-1:-1:-1::0;;;;54873:44:0;;::::1;::::0;;;::::1;::::0;;54759:166::o;56259:617::-;56607:27;;56384:4;;-1:-1:-1;;;;;56607:27:0;;;-1:-1:-1;;;56674:20:0;;;;:86;;;;-1:-1:-1;56719:28:0;;-1:-1:-1;;;56719:28:0;;-1:-1:-1;;;;;1688:32:1;;;56719:28:0;;;1670:51:1;56711:49:0;;;;56719:21;;;;;;1643:18:1;;56719:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;56711:49:0;;56674:86;56656:154;;;56794:4;56787:11;;;;;56656:154;-1:-1:-1;;;;;42221:25:0;;;42197:4;42221:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;56829:39;56822:46;56259:617;-1:-1:-1;;;;56259:617:0:o;19355:201::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19444:22:0;::::1;19436:73;;;::::0;-1:-1:-1;;;19436:73:0;;17519:2:1;19436:73:0::1;::::0;::::1;17501:21:1::0;17558:2;17538:18;;;17531:30;17597:34;17577:18;;;17570:62;-1:-1:-1;;;17648:18:1;;;17641:36;17694:19;;19436:73:0::1;17317:402:1::0;19436:73:0::1;19520:28;19539:8;19520:18;:28::i;:::-;19355:201:::0;:::o;39077:305::-;39179:4;-1:-1:-1;;;;;;39216:40:0;;-1:-1:-1;;;39216:40:0;;:105;;-1:-1:-1;;;;;;;39273:48:0;;-1:-1:-1;;;39273:48:0;39216:105;:158;;;-1:-1:-1;;;;;;;;;;31955:40:0;;;39338:36;31846:157;48817:174;48892:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;48892:29:0;-1:-1:-1;;;;;48892:29:0;;;;;;;;:24;;48946:23;48892:24;48946:14;:23::i;:::-;-1:-1:-1;;;;;48937:46:0;;;;;;;;;;;48817:174;;:::o;45129:348::-;45222:4;44924:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44924:16:0;45239:73;;;;-1:-1:-1;;;45239:73:0;;17926:2:1;45239:73:0;;;17908:21:1;17965:2;17945:18;;;17938:30;18004:34;17984:18;;;17977:62;-1:-1:-1;;;18055:18:1;;;18048:42;18107:19;;45239:73:0;17724:408:1;45239:73:0;45323:13;45339:23;45354:7;45339:14;:23::i;:::-;45323:39;;45392:5;-1:-1:-1;;;;;45381:16:0;:7;-1:-1:-1;;;;;45381:16:0;;:51;;;;45425:7;-1:-1:-1;;;;;45401:31:0;:20;45413:7;45401:11;:20::i;:::-;-1:-1:-1;;;;;45401:31:0;;45381:51;:87;;;;45436:32;45453:5;45460:7;45436:16;:32::i;48121:578::-;48280:4;-1:-1:-1;;;;;48253:31:0;:23;48268:7;48253:14;:23::i;:::-;-1:-1:-1;;;;;48253:31:0;;48245:85;;;;-1:-1:-1;;;48245:85:0;;18339:2:1;48245:85:0;;;18321:21:1;18378:2;18358:18;;;18351:30;18417:34;18397:18;;;18390:62;-1:-1:-1;;;18468:18:1;;;18461:39;18517:19;;48245:85:0;18137:405:1;48245:85:0;-1:-1:-1;;;;;48349:16:0;;48341:65;;;;-1:-1:-1;;;48341:65:0;;18749:2:1;48341:65:0;;;18731:21:1;18788:2;18768:18;;;18761:30;18827:34;18807:18;;;18800:62;-1:-1:-1;;;18878:18:1;;;18871:34;18922:19;;48341:65:0;18547:400:1;48341:65:0;48523:29;48540:1;48544:7;48523:8;:29::i;:::-;-1:-1:-1;;;;;48565:15:0;;;;;;:9;:15;;;;;:20;;48584:1;;48565:15;:20;;48584:1;;48565:20;:::i;:::-;;;;-1:-1:-1;;;;;;;48596:13:0;;;;;;:9;:13;;;;;:18;;48613:1;;48596:13;:18;;48613:1;;48596:18;:::i;:::-;;;;-1:-1:-1;;48625:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;48625:21:0;-1:-1:-1;;;;;48625:21:0;;;;;;;;;48664:27;;48625:16;;48664:27;;;;;;;48121:578;;;:::o;3671:98::-;3729:7;3756:5;3760:1;3756;:5;:::i;:::-;3749:12;3671:98;-1:-1:-1;;;3671:98:0:o;4070:::-;4128:7;4155:5;4159:1;4155;:5;:::i;19716:191::-;19809:6;;;-1:-1:-1;;;;;19826:17:0;;;-1:-1:-1;;;;;;19826:17:0;;;;;;;19859:40;;19809:6;;;19826:17;19809:6;;19859:40;;19790:16;;19859:40;19779:128;19716:191;:::o;55636:132::-;55676:7;55696:24;:12;8181:19;;8199:1;8181:19;;;8092:127;55696:24;-1:-1:-1;55738:12:0;8062:14;;54361:103::o;45819:110::-;45895:26;45905:2;45909:7;45895:26;;;;;;;;;;;;:9;:26::i;49133:315::-;49288:8;-1:-1:-1;;;;;49279:17:0;:5;-1:-1:-1;;;;;49279:17:0;;49271:55;;;;-1:-1:-1;;;49271:55:0;;19544:2:1;49271:55:0;;;19526:21:1;19583:2;19563:18;;;19556:30;19622:27;19602:18;;;19595:55;19667:18;;49271:55:0;19342:349:1;49271:55:0;-1:-1:-1;;;;;49337:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;49337:46:0;;;;;;;;;;49399:41;;540::1;;;49399::0;;513:18:1;49399:41:0;;;;;;;49133:315;;;:::o;44207:::-;44364:28;44374:4;44380:2;44384:7;44364:9;:28::i;:::-;44411:48;44434:4;44440:2;44444:7;44453:5;44411:22;:48::i;:::-;44403:111;;;;-1:-1:-1;;;44403:111:0;;;;;;;:::i;14732:723::-;14788:13;15009:5;15018:1;15009:10;15005:53;;-1:-1:-1;;15036:10:0;;;;;;;;;;;;-1:-1:-1;;;15036:10:0;;;;;14732:723::o;15005:53::-;15083:5;15068:12;15124:78;15131:9;;15124:78;;15157:8;;;;:::i;:::-;;-1:-1:-1;15180:10:0;;-1:-1:-1;15188:2:0;15180:10;;:::i;:::-;;;15124:78;;;15212:19;15244:6;15234:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15234:17:0;;15212:39;;15262:154;15269:10;;15262:154;;15296:11;15306:1;15296:11;;:::i;:::-;;-1:-1:-1;15365:10:0;15373:2;15365:5;:10;:::i;:::-;15352:24;;:2;:24;:::i;:::-;15339:39;;15322:6;15329;15322:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;15322:56:0;;;;;;;;-1:-1:-1;15393:11:0;15402:2;15393:11;;:::i;:::-;;;15262:154;;46156:321;46286:18;46292:2;46296:7;46286:5;:18::i;:::-;46337:54;46368:1;46372:2;46376:7;46385:5;46337:22;:54::i;:::-;46315:154;;;;-1:-1:-1;;;46315:154:0;;;;;;;:::i;50013:799::-;50168:4;-1:-1:-1;;;;;50189:13:0;;21057:20;21105:8;50185:620;;50225:72;;-1:-1:-1;;;50225:72:0;;-1:-1:-1;;;;;50225:36:0;;;;;:72;;17250:10;;50276:4;;50282:7;;50291:5;;50225:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50225:72:0;;;;;;;;-1:-1:-1;;50225:72:0;;;;;;;;;;;;:::i;:::-;;;50221:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50467:6;:13;50484:1;50467:18;50463:272;;50510:60;;-1:-1:-1;;;50510:60:0;;;;;;;:::i;50463:272::-;50685:6;50679:13;50670:6;50666:2;50662:15;50655:38;50221:529;-1:-1:-1;;;;;;50348:51:0;-1:-1:-1;;;50348:51:0;;-1:-1:-1;50341:58:0;;50185:620;-1:-1:-1;50789:4:0;50013:799;;;;;;:::o;46813:382::-;-1:-1:-1;;;;;46893:16:0;;46885:61;;;;-1:-1:-1;;;46885:61:0;;21450:2:1;46885:61:0;;;21432:21:1;;;21469:18;;;21462:30;21528:34;21508:18;;;21501:62;21580:18;;46885:61:0;21248:356:1;46885:61:0;44900:4;44924:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44924:16:0;:30;46957:58;;;;-1:-1:-1;;;46957:58:0;;21811:2:1;46957:58:0;;;21793:21:1;21850:2;21830:18;;;21823:30;21889;21869:18;;;21862:58;21937:18;;46957:58:0;21609:352:1;46957:58:0;-1:-1:-1;;;;;47086:13:0;;;;;;:9;:13;;;;;:18;;47103:1;;47086:13;:18;;47103:1;;47086:18;:::i;:::-;;;;-1:-1:-1;;47115:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;47115:21:0;-1:-1:-1;;;;;47115:21:0;;;;;;;;47154:33;;47115:16;;;47154:33;;47115:16;;47154:33;46813:382;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:289::-;634:3;672:5;666:12;699:6;694:3;687:19;755:6;748:4;741:5;737:16;730:4;725:3;721:14;715:47;807:1;800:4;791:6;786:3;782:16;778:27;771:38;870:4;863:2;859:7;854:2;846:6;842:15;838:29;833:3;829:39;825:50;818:57;;;592:289;;;;:::o;886:220::-;1035:2;1024:9;1017:21;998:4;1055:45;1096:2;1085:9;1081:18;1073:6;1055:45;:::i;1293:226::-;1352:6;1405:2;1393:9;1384:7;1380:23;1376:32;1373:52;;;1421:1;1418;1411:12;1373:52;-1:-1:-1;1466:23:1;;1293:226;-1:-1:-1;1293:226:1:o;1732:131::-;-1:-1:-1;;;;;1807:31:1;;1797:42;;1787:70;;1853:1;1850;1843:12;1868:367;1936:6;1944;1997:2;1985:9;1976:7;1972:23;1968:32;1965:52;;;2013:1;2010;2003:12;1965:52;2052:9;2039:23;2071:31;2096:5;2071:31;:::i;:::-;2121:5;2199:2;2184:18;;;;2171:32;;-1:-1:-1;;;1868:367:1:o;2240:508::-;2317:6;2325;2333;2386:2;2374:9;2365:7;2361:23;2357:32;2354:52;;;2402:1;2399;2392:12;2354:52;2441:9;2428:23;2460:31;2485:5;2460:31;:::i;:::-;2510:5;-1:-1:-1;2567:2:1;2552:18;;2539:32;2580:33;2539:32;2580:33;:::i;:::-;2240:508;;2632:7;;-1:-1:-1;;;2712:2:1;2697:18;;;;2684:32;;2240:508::o;2753:118::-;2839:5;2832:13;2825:21;2818:5;2815:32;2805:60;;2861:1;2858;2851:12;2876:241;2932:6;2985:2;2973:9;2964:7;2960:23;2956:32;2953:52;;;3001:1;2998;2991:12;2953:52;3040:9;3027:23;3059:28;3081:5;3059:28;:::i;3122:346::-;3190:6;3198;3251:2;3239:9;3230:7;3226:23;3222:32;3219:52;;;3267:1;3264;3257:12;3219:52;-1:-1:-1;;3312:23:1;;;3432:2;3417:18;;;3404:32;;-1:-1:-1;3122:346:1:o;3752:261::-;3825:6;3878:2;3866:9;3857:7;3853:23;3849:32;3846:52;;;3894:1;3891;3884:12;3846:52;3933:9;3920:23;3952:31;3977:5;3952:31;:::i;4018:127::-;4079:10;4074:3;4070:20;4067:1;4060:31;4110:4;4107:1;4100:15;4134:4;4131:1;4124:15;4150:716;4215:5;4247:1;4271:18;4263:6;4260:30;4257:56;;;4293:18;;:::i;:::-;-1:-1:-1;4448:2:1;4442:9;-1:-1:-1;;4361:2:1;4340:15;;4336:29;;4506:2;4494:15;4490:29;4478:42;;4571:22;;;4550:18;4535:34;;4532:62;4529:88;;;4597:18;;:::i;:::-;4633:2;4626:22;4681;;;4666:6;-1:-1:-1;4666:6:1;4718:16;;;4715:25;-1:-1:-1;4712:45:1;;;4753:1;4750;4743:12;4712:45;4803:6;4798:3;4791:4;4783:6;4779:17;4766:44;4858:1;4851:4;4842:6;4834;4830:19;4826:30;4819:41;;4150:716;;;;;:::o;4871:451::-;4940:6;4993:2;4981:9;4972:7;4968:23;4964:32;4961:52;;;5009:1;5006;4999:12;4961:52;5049:9;5036:23;5082:18;5074:6;5071:30;5068:50;;;5114:1;5111;5104:12;5068:50;5137:22;;5190:4;5182:13;;5178:27;-1:-1:-1;5168:55:1;;5219:1;5216;5209:12;5168:55;5242:74;5308:7;5303:2;5290:16;5285:2;5281;5277:11;5242:74;:::i;5579:382::-;5644:6;5652;5705:2;5693:9;5684:7;5680:23;5676:32;5673:52;;;5721:1;5718;5711:12;5673:52;5760:9;5747:23;5779:31;5804:5;5779:31;:::i;:::-;5829:5;-1:-1:-1;5886:2:1;5871:18;;5858:32;5899:30;5858:32;5899:30;:::i;:::-;5948:7;5938:17;;;5579:382;;;;;:::o;5966:847::-;6061:6;6069;6077;6085;6138:3;6126:9;6117:7;6113:23;6109:33;6106:53;;;6155:1;6152;6145:12;6106:53;6194:9;6181:23;6213:31;6238:5;6213:31;:::i;:::-;6263:5;-1:-1:-1;6320:2:1;6305:18;;6292:32;6333:33;6292:32;6333:33;:::i;:::-;6385:7;-1:-1:-1;6465:2:1;6450:18;;6437:32;;-1:-1:-1;6546:2:1;6531:18;;6518:32;6573:18;6562:30;;6559:50;;;6605:1;6602;6595:12;6559:50;6628:22;;6681:4;6673:13;;6669:27;-1:-1:-1;6659:55:1;;6710:1;6707;6700:12;6659:55;6733:74;6799:7;6794:2;6781:16;6776:2;6772;6768:11;6733:74;:::i;:::-;6723:84;;;5966:847;;;;;;;:::o;6818:388::-;6886:6;6894;6947:2;6935:9;6926:7;6922:23;6918:32;6915:52;;;6963:1;6960;6953:12;6915:52;7002:9;6989:23;7021:31;7046:5;7021:31;:::i;:::-;7071:5;-1:-1:-1;7128:2:1;7113:18;;7100:32;7141:33;7100:32;7141:33;:::i;7211:380::-;7290:1;7286:12;;;;7333;;;7354:61;;7408:4;7400:6;7396:17;7386:27;;7354:61;7461:2;7453:6;7450:14;7430:18;7427:38;7424:161;;7507:10;7502:3;7498:20;7495:1;7488:31;7542:4;7539:1;7532:15;7570:4;7567:1;7560:15;7424:161;;7211:380;;;:::o;8836:356::-;9038:2;9020:21;;;9057:18;;;9050:30;9116:34;9111:2;9096:18;;9089:62;9183:2;9168:18;;8836:356::o;9197:413::-;9399:2;9381:21;;;9438:2;9418:18;;;9411:30;9477:34;9472:2;9457:18;;9450:62;-1:-1:-1;;;9543:2:1;9528:18;;9521:47;9600:3;9585:19;;9197:413::o;9961:184::-;10031:6;10084:2;10072:9;10063:7;10059:23;10055:32;10052:52;;;10100:1;10097;10090:12;10052:52;-1:-1:-1;10123:16:1;;9961:184;-1:-1:-1;9961:184:1:o;10150:245::-;10217:6;10270:2;10258:9;10249:7;10245:23;10241:32;10238:52;;;10286:1;10283;10276:12;10238:52;10318:9;10312:16;10337:28;10359:5;10337:28;:::i;10526:518::-;10628:2;10623:3;10620:11;10617:421;;;10664:5;10661:1;10654:16;10708:4;10705:1;10695:18;10778:2;10766:10;10762:19;10759:1;10755:27;10749:4;10745:38;10814:4;10802:10;10799:20;10796:47;;;-1:-1:-1;10837:4:1;10796:47;10892:2;10887:3;10883:12;10880:1;10876:20;10870:4;10866:31;10856:41;;10947:81;10965:2;10958:5;10955:13;10947:81;;;11024:1;11010:16;;10991:1;10980:13;10947:81;;;10951:3;;10526:518;;;:::o;11220:1299::-;11346:3;11340:10;11373:18;11365:6;11362:30;11359:56;;;11395:18;;:::i;:::-;11424:97;11514:6;11474:38;11506:4;11500:11;11474:38;:::i;:::-;11468:4;11424:97;:::i;:::-;11570:4;11601:2;11590:14;;11618:1;11613:649;;;;12306:1;12323:6;12320:89;;;-1:-1:-1;12375:19:1;;;12369:26;12320:89;-1:-1:-1;;11177:1:1;11173:11;;;11169:24;11165:29;11155:40;11201:1;11197:11;;;11152:57;12422:81;;11583:930;;11613:649;10473:1;10466:14;;;10510:4;10497:18;;-1:-1:-1;;11649:20:1;;;11767:222;11781:7;11778:1;11775:14;11767:222;;;11863:19;;;11857:26;11842:42;;11970:4;11955:20;;;;11923:1;11911:14;;;;11797:12;11767:222;;;11771:3;12017:6;12008:7;12005:19;12002:201;;;12078:19;;;12072:26;-1:-1:-1;;12161:1:1;12157:14;;;12173:3;12153:24;12149:37;12145:42;12130:58;12115:74;;12002:201;-1:-1:-1;;;;12249:1:1;12233:14;;;12229:22;12216:36;;-1:-1:-1;11220:1299:1:o;13705:127::-;13766:10;13761:3;13757:20;13754:1;13747:31;13797:4;13794:1;13787:15;13821:4;13818:1;13811:15;13837:168;13910:9;;;13941;;13958:15;;;13952:22;;13938:37;13928:71;;13979:18;;:::i;14715:125::-;14780:9;;;14801:10;;;14798:36;;;14814:18;;:::i;15769:1258::-;16147:3;16176:1;16209:6;16203:13;16239:36;16265:9;16239:36;:::i;:::-;16306:1;16291:17;;16317:133;;;;16464:1;16459:332;;;;16284:507;;16317:133;-1:-1:-1;;16350:24:1;;16338:37;;16423:14;;16416:22;16404:35;;16395:45;;;-1:-1:-1;16317:133:1;;16459:332;16490:6;16487:1;16480:17;16538:4;16535:1;16525:18;16565:1;16579:166;16593:6;16590:1;16587:13;16579:166;;;16673:14;;16660:11;;;16653:35;16729:1;16716:15;;;;16615:4;16608:12;16579:166;;;16583:3;;16774:6;16769:3;16765:16;16758:23;;16284:507;;;;-1:-1:-1;;;16807:3:1;16800:16;16847:6;16841:13;16901:8;16894:4;16886:6;16882:17;16878:1;16873:3;16869:11;16863:47;-1:-1:-1;;;16933:18:1;;16953:1;16929:26;;15711:20;;;15747:11;;16986:35;15769:1258;-1:-1:-1;;;;;15769:1258:1:o;17032:280::-;17131:6;17184:2;17172:9;17163:7;17159:23;17155:32;17152:52;;;17200:1;17197;17190:12;17152:52;17232:9;17226:16;17251:31;17276:5;17251:31;:::i;18952:128::-;19019:9;;;19040:11;;;19037:37;;;19054:18;;:::i;19085:127::-;19146:10;19141:3;19137:20;19134:1;19127:31;19177:4;19174:1;19167:15;19201:4;19198:1;19191:15;19217:120;19257:1;19283;19273:35;;19288:18;;:::i;:::-;-1:-1:-1;19322:9:1;;19217:120::o;19696:414::-;19898:2;19880:21;;;19937:2;19917:18;;;19910:30;19976:34;19971:2;19956:18;;19949:62;-1:-1:-1;;;20042:2:1;20027:18;;20020:48;20100:3;20085:19;;19696:414::o;20115:135::-;20154:3;20175:17;;;20172:43;;20195:18;;:::i;:::-;-1:-1:-1;20242:1:1;20231:13;;20115:135::o;20255:112::-;20287:1;20313;20303:35;;20318:18;;:::i;:::-;-1:-1:-1;20352:9:1;;20255:112::o;20372:127::-;20433:10;20428:3;20424:20;20421:1;20414:31;20464:4;20461:1;20454:15;20488:4;20485:1;20478:15;20504:485;-1:-1:-1;;;;;20735:32:1;;;20717:51;;20804:32;;20799:2;20784:18;;20777:60;20868:2;20853:18;;20846:34;;;20916:3;20911:2;20896:18;;20889:31;;;-1:-1:-1;;20937:46:1;;20963:19;;20955:6;20937:46;:::i;:::-;20929:54;20504:485;-1:-1:-1;;;;;;20504:485:1:o;20994:249::-;21063:6;21116:2;21104:9;21095:7;21091:23;21087:32;21084:52;;;21132:1;21129;21122:12;21084:52;21164:9;21158:16;21183:30;21207:5;21183:30;:::i

Swarm Source

ipfs://9e4810b304b121e90d15bb1c2ee280d95e267aec7759f6926fea412ccfb12d80
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.