ETH Price: $3,377.08 (-1.95%)
Gas: 2 Gwei

Token

Alien Punks (ALIENPUNK)
 

Overview

Max Total Supply

2,242 ALIENPUNK

Holders

339

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
inthearenatryingthings.eth
Balance
3 ALIENPUNK
0xb6d19afe6de6c1ab49b964e202ebbf6b8e590a33
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AlienPunks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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


//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 AlienPunks is ERC721, IERC2981, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;

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

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

    uint256 public constant PUBLIC_SALE_PRICE = 0.02 ether;
    uint256 public NUM_FREE_MINTS = 1000;
    bool public isPublicSaleActive = true;




    // ============ 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("Alien Punks", "ALIENPUNK") {
    }

    // ============ 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"}]

60e060405260356080818152906200238660a0398051620000299160099160209091019062000160565b50600a80546001600160a81b0319167401a5409ec958c83c3f309868babaca7c86dcb077c1179055611388600b556103e8600c55600d805460ff191660011790553480156200007757600080fd5b50604080518082018252600b81526a416c69656e2050756e6b7360a81b602080830191825283518085019094526009845268414c49454e50554e4b60b81b908401528151919291620000cc9160009162000160565b508051620000e290600190602084019062000160565b505050620000ff620000f96200010a60201b60201c565b6200010e565b600160075562000243565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016e9062000206565b90600052602060002090601f016020900481019282620001925760008555620001dd565b82601f10620001ad57805160ff1916838001178555620001dd565b82800160010185558215620001dd579182015b82811115620001dd578251825591602001919060010190620001c0565b50620001eb929150620001ef565b5090565b5b80821115620001eb5760008155600101620001f0565b600181811c908216806200021b57607f821691505b602082108114156200023d57634e487b7160e01b600052602260045260246000fd5b50919050565b61213380620002536000396000f3fe6080604052600436106101e35760003560e01c806370a0823111610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610540578063e43082f714610556578063e985e9c514610576578063f2fde38b1461059657600080fd5b8063a22cb465146104cb578063b88d4fde146104eb578063c6a91b421461050b578063c87b56dd1461052057600080fd5b80638da5cb5b116100d15780638da5cb5b1461046f57806395d89b411461048d578063982d669e146104a2578063a0712d68146104b857600080fd5b806370a0823114610425578063714c539814610445578063715018a61461045a57806383c4c00d146102e257600080fd5b806323b872dd1161017a57806342842e0e1161014957806342842e0e146103a557806349df728c146103c557806355f804b3146103e55780636352211e1461040557600080fd5b806323b872dd1461031157806328cad13d146103315780632a55205a146103515780633ccfd60b1461039057600080fd5b8063095ea7b3116101b6578063095ea7b3146102a05780630a00ae83146102c257806318160ddd146102e25780631e84c413146102f757600080fd5b806301ffc9a7146101e857806306fdde031461021d57806307e89ec01461023f578063081812fc14610268575b600080fd5b3480156101f457600080fd5b50610208610203366004611c45565b6105b6565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326105e1565b6040516102149190611e89565b34801561024b57600080fd5b5061025a66470de4df82000081565b604051908152602001610214565b34801561027457600080fd5b50610288610283366004611ce5565b610673565b6040516001600160a01b039091168152602001610214565b3480156102ac57600080fd5b506102c06102bb366004611bdf565b61070d565b005b3480156102ce57600080fd5b506102c06102dd366004611ce5565b610823565b3480156102ee57600080fd5b5061025a610852565b34801561030357600080fd5b50600d546102089060ff1681565b34801561031d57600080fd5b506102c061032c366004611af0565b610862565b34801561033d57600080fd5b506102c061034c366004611c0b565b610893565b34801561035d57600080fd5b5061037161036c366004611d17565b6108d0565b604080516001600160a01b039093168352602083019190915201610214565b34801561039c57600080fd5b506102c061094b565b3480156103b157600080fd5b506102c06103c0366004611af0565b6109a8565b3480156103d157600080fd5b506102c06103e0366004611a9a565b6109c3565b3480156103f157600080fd5b506102c0610400366004611c9c565b610aea565b34801561041157600080fd5b50610288610420366004611ce5565b610b27565b34801561043157600080fd5b5061025a610440366004611a9a565b610b9e565b34801561045157600080fd5b50610232610c25565b34801561046657600080fd5b506102c0610c34565b34801561047b57600080fd5b506006546001600160a01b0316610288565b34801561049957600080fd5b50610232610c6a565b3480156104ae57600080fd5b5061025a600c5481565b6102c06104c6366004611ce5565b610c79565b3480156104d757600080fd5b506102c06104e6366004611bb1565b610e9b565b3480156104f757600080fd5b506102c0610506366004611b31565b610ea6565b34801561051757600080fd5b5061025a601481565b34801561052c57600080fd5b5061023261053b366004611ce5565b610ede565b34801561054c57600080fd5b5061025a600b5481565b34801561056257600080fd5b506102c0610571366004611c0b565b610f6b565b34801561058257600080fd5b50610208610591366004611ab7565b610fb3565b3480156105a257600080fd5b506102c06105b1366004611a9a565b61109f565b60006001600160e01b0319821663152a902d60e11b14806105db57506105db8261113a565b92915050565b6060600080546105f090612002565b80601f016020809104026020016040519081016040528092919081815260200182805461061c90612002565b80156106695780601f1061063e57610100808354040283529160200191610669565b820191906000526020600020905b81548152906001019060200180831161064c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061071882610b27565b9050806001600160a01b0316836001600160a01b031614156107865760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e8565b336001600160a01b03821614806107a257506107a28133610fb3565b6108145760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e8565b61081e838361118a565b505050565b6006546001600160a01b0316331461084d5760405162461bcd60e51b81526004016106e890611eee565b600c55565b600061085d60085490565b905090565b61086c33826111f8565b6108885760405162461bcd60e51b81526004016106e890611f23565b61081e8383836112c7565b6006546001600160a01b031633146108bd5760405162461bcd60e51b81526004016106e890611eee565b600d805460ff1916911515919091179055565b60008281526002602052604081205481906001600160a01b031661092a5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106e8565b30610940610939856005611467565b606461147a565b915091509250929050565b6006546001600160a01b031633146109755760405162461bcd60e51b81526004016106e890611eee565b6040514790339082156108fc029083906000818181858888f193505050501580156109a4573d6000803e3d6000fd5b5050565b61081e83838360405180602001604052806000815250610ea6565b6006546001600160a01b031633146109ed5760405162461bcd60e51b81526004016106e890611eee565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cfe565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610ab257600080fd5b505af1158015610ac6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081e9190611c28565b6006546001600160a01b03163314610b145760405162461bcd60e51b81526004016106e890611eee565b80516109a490600990602084019061198b565b6000818152600260205260408120546001600160a01b0316806105db5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e8565b60006001600160a01b038216610c095760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e8565b506001600160a01b031660009081526003602052604090205490565b6060600980546105f090612002565b6006546001600160a01b03163314610c5e5760405162461bcd60e51b81526004016106e890611eee565b610c686000611486565b565b6060600180546105f090612002565b60026007541415610ccc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e8565b6002600755600c5460085466470de4df8200009183911115610d405734610cf38284611fa0565b14610d405760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106e8565b600d5460ff16610d925760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106e8565b82600b5481610da060085490565b610daa9190611f74565b1115610e035760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106e8565b836014811115610e605760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106e8565b60005b85811015610e8e57610e7c33610e776114d8565b6114ef565b80610e868161203d565b915050610e63565b5050600160075550505050565b6109a4338383611509565b610eb033836111f8565b610ecc5760405162461bcd60e51b81526004016106e890611f23565b610ed8848484846115d8565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f395760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106e8565b6009610f448361160b565b604051602001610f55929190611d81565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610f955760405162461bcd60e51b81526004016106e890611eee565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b600a546000906001600160a01b03811690600160a01b900460ff16801561105e575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561101b57600080fd5b505afa15801561102f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110539190611c7f565b6001600160a01b0316145b1561106d5760019150506105db565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b031633146110c95760405162461bcd60e51b81526004016106e890611eee565b6001600160a01b03811661112e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e8565b61113781611486565b50565b60006001600160e01b031982166380ac58cd60e01b148061116b57506001600160e01b03198216635b5e139f60e01b145b806105db57506301ffc9a760e01b6001600160e01b03198316146105db565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111bf82610b27565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166112715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b600061127c83610b27565b9050806001600160a01b0316846001600160a01b031614806112b75750836001600160a01b03166112ac84610673565b6001600160a01b0316145b8061109757506110978185610fb3565b826001600160a01b03166112da82610b27565b6001600160a01b0316146113425760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106e8565b6001600160a01b0382166113a45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e8565b6113af60008261118a565b6001600160a01b03831660009081526003602052604081208054600192906113d8908490611fbf565b90915550506001600160a01b0382166000908152600360205260408120805460019290611406908490611f74565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006114738284611fa0565b9392505050565b60006114738284611f8c565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006114e8600880546001019055565b5060085490565b6109a4828260405180602001604052806000815250611709565b816001600160a01b0316836001600160a01b0316141561156b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115e38484846112c7565b6115ef8484848461173c565b610ed85760405162461bcd60e51b81526004016106e890611e9c565b60608161162f5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561165957806116438161203d565b91506116529050600a83611f8c565b9150611633565b60008167ffffffffffffffff811115611674576116746120ae565b6040519080825280601f01601f19166020018201604052801561169e576020820181803683370190505b5090505b8415611097576116b3600183611fbf565b91506116c0600a86612058565b6116cb906030611f74565b60f81b8183815181106116e0576116e0612098565b60200101906001600160f81b031916908160001a905350611702600a86611f8c565b94506116a2565b6117138383611849565b611720600084848461173c565b61081e5760405162461bcd60e51b81526004016106e890611e9c565b60006001600160a01b0384163b1561183e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611780903390899088908890600401611e4c565b602060405180830381600087803b15801561179a57600080fd5b505af19250505080156117ca575060408051601f3d908101601f191682019092526117c791810190611c62565b60015b611824573d8080156117f8576040519150601f19603f3d011682016040523d82523d6000602084013e6117fd565b606091505b50805161181c5760405162461bcd60e51b81526004016106e890611e9c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611097565b506001949350505050565b6001600160a01b03821661189f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e8565b6000818152600260205260409020546001600160a01b0316156119045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e8565b6001600160a01b038216600090815260036020526040812080546001929061192d908490611f74565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461199790612002565b90600052602060002090601f0160209004810192826119b957600085556119ff565b82601f106119d257805160ff19168380011785556119ff565b828001600101855582156119ff579182015b828111156119ff5782518255916020019190600101906119e4565b50611a0b929150611a0f565b5090565b5b80821115611a0b5760008155600101611a10565b600067ffffffffffffffff80841115611a3f57611a3f6120ae565b604051601f8501601f19908116603f01168101908282118183101715611a6757611a676120ae565b81604052809350858152868686011115611a8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611aac57600080fd5b8135611473816120c4565b60008060408385031215611aca57600080fd5b8235611ad5816120c4565b91506020830135611ae5816120c4565b809150509250929050565b600080600060608486031215611b0557600080fd5b8335611b10816120c4565b92506020840135611b20816120c4565b929592945050506040919091013590565b60008060008060808587031215611b4757600080fd5b8435611b52816120c4565b93506020850135611b62816120c4565b925060408501359150606085013567ffffffffffffffff811115611b8557600080fd5b8501601f81018713611b9657600080fd5b611ba587823560208401611a24565b91505092959194509250565b60008060408385031215611bc457600080fd5b8235611bcf816120c4565b91506020830135611ae5816120d9565b60008060408385031215611bf257600080fd5b8235611bfd816120c4565b946020939093013593505050565b600060208284031215611c1d57600080fd5b8135611473816120d9565b600060208284031215611c3a57600080fd5b8151611473816120d9565b600060208284031215611c5757600080fd5b8135611473816120e7565b600060208284031215611c7457600080fd5b8151611473816120e7565b600060208284031215611c9157600080fd5b8151611473816120c4565b600060208284031215611cae57600080fd5b813567ffffffffffffffff811115611cc557600080fd5b8201601f81018413611cd657600080fd5b61109784823560208401611a24565b600060208284031215611cf757600080fd5b5035919050565b600060208284031215611d1057600080fd5b5051919050565b60008060408385031215611d2a57600080fd5b50508035926020909101359150565b60008151808452611d51816020860160208601611fd6565b601f01601f19169290920160200192915050565b60008151611d77818560208601611fd6565b9290920192915050565b600080845481600182811c915080831680611d9d57607f831692505b6020808410821415611dbd57634e487b7160e01b86526022600452602486fd5b818015611dd15760018114611de257611e0f565b60ff19861689528489019650611e0f565b60008b81526020902060005b86811015611e075781548b820152908501908301611dee565b505084890196505b505050505050611e43611e32611e2c83602f60f81b815260010190565b86611d65565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e7f90830184611d39565b9695505050505050565b6020815260006114736020830184611d39565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f8757611f8761206c565b500190565b600082611f9b57611f9b612082565b500490565b6000816000190483118215151615611fba57611fba61206c565b500290565b600082821015611fd157611fd161206c565b500390565b60005b83811015611ff1578181015183820152602001611fd9565b83811115610ed85750506000910152565b600181811c9082168061201657607f821691505b6020821081141561203757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120515761205161206c565b5060010190565b60008261206757612067612082565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461113757600080fd5b801515811461113757600080fd5b6001600160e01b03198116811461113757600080fdfea2646970667358221220c6a60b140930d11484bda71265a7e978271b340946e8f86ad67d6563c2ad33a564736f6c63430008070033697066733a2f2f516d634161714d525a386453787436576b514d78656f455a4b4a3848714566706864466765434161666867706468

Deployed Bytecode

0x6080604052600436106101e35760003560e01c806370a0823111610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610540578063e43082f714610556578063e985e9c514610576578063f2fde38b1461059657600080fd5b8063a22cb465146104cb578063b88d4fde146104eb578063c6a91b421461050b578063c87b56dd1461052057600080fd5b80638da5cb5b116100d15780638da5cb5b1461046f57806395d89b411461048d578063982d669e146104a2578063a0712d68146104b857600080fd5b806370a0823114610425578063714c539814610445578063715018a61461045a57806383c4c00d146102e257600080fd5b806323b872dd1161017a57806342842e0e1161014957806342842e0e146103a557806349df728c146103c557806355f804b3146103e55780636352211e1461040557600080fd5b806323b872dd1461031157806328cad13d146103315780632a55205a146103515780633ccfd60b1461039057600080fd5b8063095ea7b3116101b6578063095ea7b3146102a05780630a00ae83146102c257806318160ddd146102e25780631e84c413146102f757600080fd5b806301ffc9a7146101e857806306fdde031461021d57806307e89ec01461023f578063081812fc14610268575b600080fd5b3480156101f457600080fd5b50610208610203366004611c45565b6105b6565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326105e1565b6040516102149190611e89565b34801561024b57600080fd5b5061025a66470de4df82000081565b604051908152602001610214565b34801561027457600080fd5b50610288610283366004611ce5565b610673565b6040516001600160a01b039091168152602001610214565b3480156102ac57600080fd5b506102c06102bb366004611bdf565b61070d565b005b3480156102ce57600080fd5b506102c06102dd366004611ce5565b610823565b3480156102ee57600080fd5b5061025a610852565b34801561030357600080fd5b50600d546102089060ff1681565b34801561031d57600080fd5b506102c061032c366004611af0565b610862565b34801561033d57600080fd5b506102c061034c366004611c0b565b610893565b34801561035d57600080fd5b5061037161036c366004611d17565b6108d0565b604080516001600160a01b039093168352602083019190915201610214565b34801561039c57600080fd5b506102c061094b565b3480156103b157600080fd5b506102c06103c0366004611af0565b6109a8565b3480156103d157600080fd5b506102c06103e0366004611a9a565b6109c3565b3480156103f157600080fd5b506102c0610400366004611c9c565b610aea565b34801561041157600080fd5b50610288610420366004611ce5565b610b27565b34801561043157600080fd5b5061025a610440366004611a9a565b610b9e565b34801561045157600080fd5b50610232610c25565b34801561046657600080fd5b506102c0610c34565b34801561047b57600080fd5b506006546001600160a01b0316610288565b34801561049957600080fd5b50610232610c6a565b3480156104ae57600080fd5b5061025a600c5481565b6102c06104c6366004611ce5565b610c79565b3480156104d757600080fd5b506102c06104e6366004611bb1565b610e9b565b3480156104f757600080fd5b506102c0610506366004611b31565b610ea6565b34801561051757600080fd5b5061025a601481565b34801561052c57600080fd5b5061023261053b366004611ce5565b610ede565b34801561054c57600080fd5b5061025a600b5481565b34801561056257600080fd5b506102c0610571366004611c0b565b610f6b565b34801561058257600080fd5b50610208610591366004611ab7565b610fb3565b3480156105a257600080fd5b506102c06105b1366004611a9a565b61109f565b60006001600160e01b0319821663152a902d60e11b14806105db57506105db8261113a565b92915050565b6060600080546105f090612002565b80601f016020809104026020016040519081016040528092919081815260200182805461061c90612002565b80156106695780601f1061063e57610100808354040283529160200191610669565b820191906000526020600020905b81548152906001019060200180831161064c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061071882610b27565b9050806001600160a01b0316836001600160a01b031614156107865760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e8565b336001600160a01b03821614806107a257506107a28133610fb3565b6108145760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e8565b61081e838361118a565b505050565b6006546001600160a01b0316331461084d5760405162461bcd60e51b81526004016106e890611eee565b600c55565b600061085d60085490565b905090565b61086c33826111f8565b6108885760405162461bcd60e51b81526004016106e890611f23565b61081e8383836112c7565b6006546001600160a01b031633146108bd5760405162461bcd60e51b81526004016106e890611eee565b600d805460ff1916911515919091179055565b60008281526002602052604081205481906001600160a01b031661092a5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106e8565b30610940610939856005611467565b606461147a565b915091509250929050565b6006546001600160a01b031633146109755760405162461bcd60e51b81526004016106e890611eee565b6040514790339082156108fc029083906000818181858888f193505050501580156109a4573d6000803e3d6000fd5b5050565b61081e83838360405180602001604052806000815250610ea6565b6006546001600160a01b031633146109ed5760405162461bcd60e51b81526004016106e890611eee565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cfe565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610ab257600080fd5b505af1158015610ac6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081e9190611c28565b6006546001600160a01b03163314610b145760405162461bcd60e51b81526004016106e890611eee565b80516109a490600990602084019061198b565b6000818152600260205260408120546001600160a01b0316806105db5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e8565b60006001600160a01b038216610c095760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e8565b506001600160a01b031660009081526003602052604090205490565b6060600980546105f090612002565b6006546001600160a01b03163314610c5e5760405162461bcd60e51b81526004016106e890611eee565b610c686000611486565b565b6060600180546105f090612002565b60026007541415610ccc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e8565b6002600755600c5460085466470de4df8200009183911115610d405734610cf38284611fa0565b14610d405760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106e8565b600d5460ff16610d925760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106e8565b82600b5481610da060085490565b610daa9190611f74565b1115610e035760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106e8565b836014811115610e605760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106e8565b60005b85811015610e8e57610e7c33610e776114d8565b6114ef565b80610e868161203d565b915050610e63565b5050600160075550505050565b6109a4338383611509565b610eb033836111f8565b610ecc5760405162461bcd60e51b81526004016106e890611f23565b610ed8848484846115d8565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f395760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106e8565b6009610f448361160b565b604051602001610f55929190611d81565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610f955760405162461bcd60e51b81526004016106e890611eee565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b600a546000906001600160a01b03811690600160a01b900460ff16801561105e575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561101b57600080fd5b505afa15801561102f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110539190611c7f565b6001600160a01b0316145b1561106d5760019150506105db565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b031633146110c95760405162461bcd60e51b81526004016106e890611eee565b6001600160a01b03811661112e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e8565b61113781611486565b50565b60006001600160e01b031982166380ac58cd60e01b148061116b57506001600160e01b03198216635b5e139f60e01b145b806105db57506301ffc9a760e01b6001600160e01b03198316146105db565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111bf82610b27565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166112715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b600061127c83610b27565b9050806001600160a01b0316846001600160a01b031614806112b75750836001600160a01b03166112ac84610673565b6001600160a01b0316145b8061109757506110978185610fb3565b826001600160a01b03166112da82610b27565b6001600160a01b0316146113425760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106e8565b6001600160a01b0382166113a45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e8565b6113af60008261118a565b6001600160a01b03831660009081526003602052604081208054600192906113d8908490611fbf565b90915550506001600160a01b0382166000908152600360205260408120805460019290611406908490611f74565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006114738284611fa0565b9392505050565b60006114738284611f8c565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006114e8600880546001019055565b5060085490565b6109a4828260405180602001604052806000815250611709565b816001600160a01b0316836001600160a01b0316141561156b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115e38484846112c7565b6115ef8484848461173c565b610ed85760405162461bcd60e51b81526004016106e890611e9c565b60608161162f5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561165957806116438161203d565b91506116529050600a83611f8c565b9150611633565b60008167ffffffffffffffff811115611674576116746120ae565b6040519080825280601f01601f19166020018201604052801561169e576020820181803683370190505b5090505b8415611097576116b3600183611fbf565b91506116c0600a86612058565b6116cb906030611f74565b60f81b8183815181106116e0576116e0612098565b60200101906001600160f81b031916908160001a905350611702600a86611f8c565b94506116a2565b6117138383611849565b611720600084848461173c565b61081e5760405162461bcd60e51b81526004016106e890611e9c565b60006001600160a01b0384163b1561183e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611780903390899088908890600401611e4c565b602060405180830381600087803b15801561179a57600080fd5b505af19250505080156117ca575060408051601f3d908101601f191682019092526117c791810190611c62565b60015b611824573d8080156117f8576040519150601f19603f3d011682016040523d82523d6000602084013e6117fd565b606091505b50805161181c5760405162461bcd60e51b81526004016106e890611e9c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611097565b506001949350505050565b6001600160a01b03821661189f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e8565b6000818152600260205260409020546001600160a01b0316156119045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e8565b6001600160a01b038216600090815260036020526040812080546001929061192d908490611f74565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461199790612002565b90600052602060002090601f0160209004810192826119b957600085556119ff565b82601f106119d257805160ff19168380011785556119ff565b828001600101855582156119ff579182015b828111156119ff5782518255916020019190600101906119e4565b50611a0b929150611a0f565b5090565b5b80821115611a0b5760008155600101611a10565b600067ffffffffffffffff80841115611a3f57611a3f6120ae565b604051601f8501601f19908116603f01168101908282118183101715611a6757611a676120ae565b81604052809350858152868686011115611a8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611aac57600080fd5b8135611473816120c4565b60008060408385031215611aca57600080fd5b8235611ad5816120c4565b91506020830135611ae5816120c4565b809150509250929050565b600080600060608486031215611b0557600080fd5b8335611b10816120c4565b92506020840135611b20816120c4565b929592945050506040919091013590565b60008060008060808587031215611b4757600080fd5b8435611b52816120c4565b93506020850135611b62816120c4565b925060408501359150606085013567ffffffffffffffff811115611b8557600080fd5b8501601f81018713611b9657600080fd5b611ba587823560208401611a24565b91505092959194509250565b60008060408385031215611bc457600080fd5b8235611bcf816120c4565b91506020830135611ae5816120d9565b60008060408385031215611bf257600080fd5b8235611bfd816120c4565b946020939093013593505050565b600060208284031215611c1d57600080fd5b8135611473816120d9565b600060208284031215611c3a57600080fd5b8151611473816120d9565b600060208284031215611c5757600080fd5b8135611473816120e7565b600060208284031215611c7457600080fd5b8151611473816120e7565b600060208284031215611c9157600080fd5b8151611473816120c4565b600060208284031215611cae57600080fd5b813567ffffffffffffffff811115611cc557600080fd5b8201601f81018413611cd657600080fd5b61109784823560208401611a24565b600060208284031215611cf757600080fd5b5035919050565b600060208284031215611d1057600080fd5b5051919050565b60008060408385031215611d2a57600080fd5b50508035926020909101359150565b60008151808452611d51816020860160208601611fd6565b601f01601f19169290920160200192915050565b60008151611d77818560208601611fd6565b9290920192915050565b600080845481600182811c915080831680611d9d57607f831692505b6020808410821415611dbd57634e487b7160e01b86526022600452602486fd5b818015611dd15760018114611de257611e0f565b60ff19861689528489019650611e0f565b60008b81526020902060005b86811015611e075781548b820152908501908301611dee565b505084890196505b505050505050611e43611e32611e2c83602f60f81b815260010190565b86611d65565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e7f90830184611d39565b9695505050505050565b6020815260006114736020830184611d39565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f8757611f8761206c565b500190565b600082611f9b57611f9b612082565b500490565b6000816000190483118215151615611fba57611fba61206c565b500290565b600082821015611fd157611fd161206c565b500390565b60005b83811015611ff1578181015183820152602001611fd9565b83811115610ed85750506000910152565b600181811c9082168061201657607f821691505b6020821081141561203757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120515761205161206c565b5060010190565b60008261206757612067612082565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461113757600080fd5b801515811461113757600080fd5b6001600160e01b03198116811461113757600080fdfea2646970667358221220c6a60b140930d11484bda71265a7e978271b340946e8f86ad67d6563c2ad33a564736f6c63430008070033

Deployed Bytecode Sourcemap

51651:5883:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55728:291;;;;;;;;;;-1:-1:-1;55728:291:0;;;;;:::i;:::-;;:::i;:::-;;;9167:14:1;;9160:22;9142:41;;9130:2;9115:18;55728:291:0;;;;;;;;39951:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;52169:54::-;;;;;;;;;;;;52213:10;52169:54;;;;;17747:25:1;;;17735:2;17720:18;52169:54:0;17601:177:1;41510:221:0;;;;;;;;;;-1:-1:-1;41510:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8186:32:1;;;8168:51;;8156:2;8141:18;41510:221:0;8022:203:1;41033:411:0;;;;;;;;;;-1:-1:-1;41033:411:0;;;;;:::i;:::-;;:::i;:::-;;54996:139;;;;;;;;;;-1:-1:-1;54996:139:0;;;;;:::i;:::-;;:::i;54258:103::-;;;;;;;;;;;;;:::i;52273:37::-;;;;;;;;;;-1:-1:-1;52273:37:0;;;;;;;;42260:339;;;;;;;;;;-1:-1:-1;42260:339:0;;;;;:::i;:::-;;:::i;54830:158::-;;;;;;;;;;-1:-1:-1;54830:158:0;;;;;:::i;:::-;;:::i;57213:318::-;;;;;;;;;;-1:-1:-1;57213:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8915:32:1;;;8897:51;;8979:2;8964:18;;8957:34;;;;8870:18;57213:318:0;8723:274:1;55145:143:0;;;;;;;;;;;;;:::i;42670:185::-;;;;;;;;;;-1:-1:-1;42670:185:0;;;;;:::i;:::-;;:::i;55296:168::-;;;;;;;;;;-1:-1:-1;55296:168:0;;;;;:::i;:::-;;:::i;54432:100::-;;;;;;;;;;-1:-1:-1;54432:100:0;;;;;:::i;:::-;;:::i;39645:239::-;;;;;;;;;;-1:-1:-1;39645:239:0;;;;;:::i;:::-;;:::i;39375:208::-;;;;;;;;;;-1:-1:-1;39375:208:0;;;;;:::i;:::-;;:::i;54043:93::-;;;;;;;;;;;;;:::i;19026:103::-;;;;;;;;;;;;;:::i;18375:87::-;;;;;;;;;;-1:-1:-1;18448:6:0;;-1:-1:-1;;;;;18448:6:0;18375:87;;40120:104;;;;;;;;;;;;;:::i;52230:36::-;;;;;;;;;;;;;;;;53379:587;;;;;;:::i;:::-;;:::i;41803:155::-;;;;;;;;;;-1:-1:-1;41803:155:0;;;;;:::i;:::-;;:::i;42926:328::-;;;;;;;;;;-1:-1:-1;42926:328:0;;;;;:::i;:::-;;:::i;52077:45::-;;;;;;;;;;;;52120:2;52077:45;;56844:303;;;;;;;;;;-1:-1:-1;56844:303:0;;;;;:::i;:::-;;:::i;52129:31::-;;;;;;;;;;;;;;;;54656:166;;;;;;;;;;-1:-1:-1;54656:166:0;;;;;:::i;:::-;;:::i;56156:617::-;;;;;;;;;;-1:-1:-1;56156:617:0;;;;;:::i;:::-;;:::i;19284:201::-;;;;;;;;;;-1:-1:-1;19284:201:0;;;;;:::i;:::-;;:::i;55728:291::-;55875:4;-1:-1:-1;;;;;;55917:41:0;;-1:-1:-1;;;55917:41:0;;:94;;;55975:36;55999:11;55975:23;:36::i;:::-;55897:114;55728:291;-1:-1:-1;;55728:291:0:o;39951:100::-;40005:13;40038:5;40031:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39951:100;:::o;41510:221::-;41586:7;44853:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44853:16:0;41606:73;;;;-1:-1:-1;;;41606:73:0;;14734:2:1;41606:73:0;;;14716:21:1;14773:2;14753:18;;;14746:30;14812:34;14792:18;;;14785:62;-1:-1:-1;;;14863:18:1;;;14856:42;14915:19;;41606:73:0;;;;;;;;;-1:-1:-1;41699:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41699:24:0;;41510:221::o;41033:411::-;41114:13;41130:23;41145:7;41130:14;:23::i;:::-;41114:39;;41178:5;-1:-1:-1;;;;;41172:11:0;:2;-1:-1:-1;;;;;41172:11:0;;;41164:57;;;;-1:-1:-1;;;41164:57:0;;15918:2:1;41164:57:0;;;15900:21:1;15957:2;15937:18;;;15930:30;15996:34;15976:18;;;15969:62;-1:-1:-1;;;16047:18:1;;;16040:31;16088:19;;41164:57:0;15716:397:1;41164:57:0;17179:10;-1:-1:-1;;;;;41256:21:0;;;;:62;;-1:-1:-1;41281:37:0;41298:5;17179:10;56156:617;:::i;41281:37::-;41234:168;;;;-1:-1:-1;;;41234:168:0;;12781:2:1;41234:168:0;;;12763:21:1;12820:2;12800:18;;;12793:30;12859:34;12839:18;;;12832:62;12930:26;12910:18;;;12903:54;12974:19;;41234:168:0;12579:420:1;41234:168:0;41415:21;41424:2;41428:7;41415:8;:21::i;:::-;41103:341;41033:411;;:::o;54996:139::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;55097:14:::1;:30:::0;54996:139::o;54258:103::-;54304:7;54331:22;:12;7991:14;;7899:114;54331:22;54324:29;;54258:103;:::o;42260:339::-;42455:41;17179:10;42488:7;42455:18;:41::i;:::-;42447:103;;;;-1:-1:-1;;;42447:103:0;;;;;;;:::i;:::-;42563:28;42573:4;42579:2;42583:7;42563:9;:28::i;54830:158::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;54940:18:::1;:40:::0;;-1:-1:-1;;54940:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54830:158::o;57213:318::-;57338:16;44853;;;:7;:16;;;;;;57338;;-1:-1:-1;;;;;44853:16:0;57395:46;;;;-1:-1:-1;;;57395:46:0;;13206:2:1;57395:46:0;;;13188:21:1;13245:2;13225:18;;;13218:30;-1:-1:-1;;;13264:18:1;;;13257:47;13321:18;;57395:46:0;13004:341:1;57395:46:0;57470:4;57477:45;57490:26;57503:9;57514:1;57490:12;:26::i;:::-;57518:3;57477:12;:45::i;:::-;57454:69;;;;57213:318;;;;;:::o;55145:143::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;55243:37:::1;::::0;55211:21:::1;::::0;55251:10:::1;::::0;55243:37;::::1;;;::::0;55211:21;;55193:15:::1;55243:37:::0;55193:15;55243:37;55211:21;55251:10;55243:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;55182:106;55145:143::o:0;42670:185::-;42808:39;42825:4;42831:2;42835:7;42808:39;;;;;;;;;;;;:16;:39::i;55296:168::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;55380:30:::1;::::0;-1:-1:-1;;;55380:30:0;;55404:4:::1;55380:30;::::0;::::1;8168:51:1::0;55362:15:0::1;::::0;-1:-1:-1;;;;;55380:15:0;::::1;::::0;::::1;::::0;8141:18:1;;55380:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55421:35;::::0;-1:-1:-1;;;55421:35:0;;55436:10:::1;55421:35;::::0;::::1;8897:51:1::0;8964:18;;;8957:34;;;55362:48:0;;-1:-1:-1;;;;;;55421:14:0;::::1;::::0;::::1;::::0;8870:18:1;;55421:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;54432:100::-:0;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;54506:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;39645:239::-:0;39717:7;39753:16;;;:7;:16;;;;;;-1:-1:-1;;;;;39753:16:0;39788:19;39780:73;;;;-1:-1:-1;;;39780:73:0;;13963:2:1;39780:73:0;;;13945:21:1;14002:2;13982:18;;;13975:30;14041:34;14021:18;;;14014:62;-1:-1:-1;;;14092:18:1;;;14085:39;14141:19;;39780:73:0;13761:405:1;39375:208:0;39447:7;-1:-1:-1;;;;;39475:19:0;;39467:74;;;;-1:-1:-1;;;39467:74:0;;13552:2:1;39467:74:0;;;13534:21:1;13591:2;13571:18;;;13564:30;13630:34;13610:18;;;13603:62;-1:-1:-1;;;13681:18:1;;;13674:40;13731:19;;39467:74:0;13350:406:1;39467:74:0;-1:-1:-1;;;;;;39559:16:0;;;;;:9;:16;;;;;;;39375:208::o;54043:93::-;54088:13;54121:7;54114:14;;;;;:::i;19026:103::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;19091:30:::1;19118:1;19091:18;:30::i;:::-;19026:103::o:0;40120:104::-;40176:13;40209:7;40202:14;;;;;:::i;53379:587::-;10304:1;10902:7;;:19;;10894:63;;;;-1:-1:-1;;;10894:63:0;;17091:2:1;10894:63:0;;;17073:21:1;17130:2;17110:18;;;17103:30;17169:33;17149:18;;;17142:61;17220:18;;10894:63:0;16889:355:1;10894:63:0;10304:1;11035:7;:18;53065:14:::1;::::0;53042:12:::1;7991:14:::0;52213:10:::1;::::0;53519:14;;53042:37:::1;53039:175;;;53141:9;53114:22;53122:14:::0;53114:5;:22:::1;:::i;:::-;53113:37;53091:111;;;::::0;-1:-1:-1;;;53091:111:0;;16738:2:1;53091:111:0::1;::::0;::::1;16720:21:1::0;16777:2;16757:18;;;16750:30;16816:26;16796:18;;;16789:54;16860:18;;53091:111:0::1;16536:348:1::0;53091:111:0::1;52440:18:::2;::::0;::::2;;52432:54;;;::::0;-1:-1:-1;;;52432:54:0;;17451:2:1;52432:54:0::2;::::0;::::2;17433:21:1::0;17490:2;17470:18;;;17463:30;17529:25;17509:18;;;17502:53;17572:18;;52432:54:0::2;17249:347:1::0;52432:54:0::2;53582:14:::3;52860:9;;52825:14;52800:22;:12;7991:14:::0;;7899:114;52800:22:::3;:39;;;;:::i;:::-;:69;;52778:153;;;::::0;-1:-1:-1;;;52778:153:0;;10803:2:1;52778:153:0::3;::::0;::::3;10785:21:1::0;10842:2;10822:18;;;10815:30;10881:34;10861:18;;;10854:62;-1:-1:-1;;;10932:18:1;;;10925:32;10974:19;;52778:153:0::3;10601:398:1::0;52778:153:0::3;53621:14:::4;52120:2;52598:14;:34;;52576:118;;;::::0;-1:-1:-1;;;52576:118:0;;12378:2:1;52576:118:0::4;::::0;::::4;12360:21:1::0;12417:2;12397:18;;;12390:30;12456:34;12436:18;;;12429:62;-1:-1:-1;;;12507:18:1;;;12500:32;12549:19;;52576:118:0::4;12176:398:1::0;52576:118:0::4;53856:9:::5;53851:108;53875:14;53871:1;:18;53851:108;;;53911:36;53921:10;53933:13;:11;:13::i;:::-;53911:9;:36::i;:::-;53891:3:::0;::::5;::::0;::::5;:::i;:::-;;;;53851:108;;;-1:-1:-1::0;;10260:1:0;11214:7;:22;-1:-1:-1;;;;53379:587:0:o;41803:155::-;41898:52;17179:10;41931:8;41941;41898:18;:52::i;42926:328::-;43101:41;17179:10;43134:7;43101:18;:41::i;:::-;43093:103;;;;-1:-1:-1;;;43093:103:0;;;;;;;:::i;:::-;43207:39;43221:4;43227:2;43231:7;43240:5;43207:13;:39::i;:::-;42926:328;;;;:::o;56844:303::-;44829:4;44853:16;;;:7;:16;;;;;;56962:13;;-1:-1:-1;;;;;44853:16:0;56993:46;;;;-1:-1:-1;;;56993:46:0;;13206:2:1;56993:46:0;;;13188:21:1;13245:2;13225:18;;;13218:30;-1:-1:-1;;;13264:18:1;;;13257:47;13321:18;;56993:46:0;13004:341:1;56993:46:0;57096:7;57110:18;:7;:16;:18::i;:::-;57079:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57052:87;;56844:303;;;:::o;54656:166::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;54770:20:::1;:44:::0;;;::::1;;-1:-1:-1::0;;;54770:44:0::1;-1:-1:-1::0;;;;54770:44:0;;::::1;::::0;;;::::1;::::0;;54656:166::o;56156:617::-;56504:27;;56281:4;;-1:-1:-1;;;;;56504:27:0;;;-1:-1:-1;;;56571:20:0;;;;:86;;;;-1:-1:-1;56616:28:0;;-1:-1:-1;;;56616:28:0;;-1:-1:-1;;;;;8186:32:1;;;56616:28:0;;;8168:51:1;56608:49:0;;;;56616:21;;;;;;8141:18:1;;56616:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;56608:49:0;;56571:86;56553:154;;;56691:4;56684:11;;;;;56553:154;-1:-1:-1;;;;;42150:25:0;;;42126:4;42150:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;56726:39;56719:46;56156:617;-1:-1:-1;;;;56156:617:0:o;19284:201::-;18448:6;;-1:-1:-1;;;;;18448:6:0;17179:10;18595:23;18587:68;;;;-1:-1:-1;;;18587:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19373:22:0;::::1;19365:73;;;::::0;-1:-1:-1;;;19365:73:0;;10039:2:1;19365:73:0::1;::::0;::::1;10021:21:1::0;10078:2;10058:18;;;10051:30;10117:34;10097:18;;;10090:62;-1:-1:-1;;;10168:18:1;;;10161:36;10214:19;;19365:73:0::1;9837:402:1::0;19365:73:0::1;19449:28;19468:8;19449:18;:28::i;:::-;19284:201:::0;:::o;39006:305::-;39108:4;-1:-1:-1;;;;;;39145:40:0;;-1:-1:-1;;;39145:40:0;;:105;;-1:-1:-1;;;;;;;39202:48:0;;-1:-1:-1;;;39202:48:0;39145:105;:158;;;-1:-1:-1;;;;;;;;;;31884:40:0;;;39267:36;31775:157;48746:174;48821:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;48821:29:0;-1:-1:-1;;;;;48821:29:0;;;;;;;;:24;;48875:23;48821:24;48875:14;:23::i;:::-;-1:-1:-1;;;;;48866:46:0;;;;;;;;;;;48746:174;;:::o;45058:348::-;45151:4;44853:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44853:16:0;45168:73;;;;-1:-1:-1;;;45168:73:0;;11965:2:1;45168:73:0;;;11947:21:1;12004:2;11984:18;;;11977:30;12043:34;12023:18;;;12016:62;-1:-1:-1;;;12094:18:1;;;12087:42;12146:19;;45168:73:0;11763:408:1;45168:73:0;45252:13;45268:23;45283:7;45268:14;:23::i;:::-;45252:39;;45321:5;-1:-1:-1;;;;;45310:16:0;:7;-1:-1:-1;;;;;45310:16:0;;:51;;;;45354:7;-1:-1:-1;;;;;45330:31:0;:20;45342:7;45330:11;:20::i;:::-;-1:-1:-1;;;;;45330:31:0;;45310:51;:87;;;;45365:32;45382:5;45389:7;45365:16;:32::i;48050:578::-;48209:4;-1:-1:-1;;;;;48182:31:0;:23;48197:7;48182:14;:23::i;:::-;-1:-1:-1;;;;;48182:31:0;;48174:85;;;;-1:-1:-1;;;48174:85:0;;15508:2:1;48174:85:0;;;15490:21:1;15547:2;15527:18;;;15520:30;15586:34;15566:18;;;15559:62;-1:-1:-1;;;15637:18:1;;;15630:39;15686:19;;48174:85:0;15306:405:1;48174:85:0;-1:-1:-1;;;;;48278:16:0;;48270:65;;;;-1:-1:-1;;;48270:65:0;;11206:2:1;48270:65:0;;;11188:21:1;11245:2;11225:18;;;11218:30;11284:34;11264:18;;;11257:62;-1:-1:-1;;;11335:18:1;;;11328:34;11379:19;;48270:65:0;11004:400:1;48270:65:0;48452:29;48469:1;48473:7;48452:8;:29::i;:::-;-1:-1:-1;;;;;48494:15:0;;;;;;:9;:15;;;;;:20;;48513:1;;48494:15;:20;;48513:1;;48494:20;:::i;:::-;;;;-1:-1:-1;;;;;;;48525:13:0;;;;;;:9;:13;;;;;:18;;48542:1;;48525:13;:18;;48542:1;;48525:18;:::i;:::-;;;;-1:-1:-1;;48554:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;48554:21:0;-1:-1:-1;;;;;48554:21:0;;;;;;;;;48593:27;;48554:16;;48593:27;;;;;;;48050:578;;;:::o;3600:98::-;3658:7;3685:5;3689:1;3685;:5;:::i;:::-;3678:12;3600:98;-1:-1:-1;;;3600:98:0:o;3999:::-;4057:7;4084:5;4088:1;4084;:5;:::i;19645:191::-;19738:6;;;-1:-1:-1;;;;;19755:17:0;;;-1:-1:-1;;;;;;19755:17:0;;;;;;;19788:40;;19738:6;;;19755:17;19738:6;;19788:40;;19719:16;;19788:40;19708:128;19645:191;:::o;55533:132::-;55573:7;55593:24;:12;8110:19;;8128:1;8110:19;;;8021:127;55593:24;-1:-1:-1;55635:12:0;7991:14;;54258:103::o;45748:110::-;45824:26;45834:2;45838:7;45824:26;;;;;;;;;;;;:9;:26::i;49062:315::-;49217:8;-1:-1:-1;;;;;49208:17:0;:5;-1:-1:-1;;;;;49208:17:0;;;49200:55;;;;-1:-1:-1;;;49200:55:0;;11611:2:1;49200:55:0;;;11593:21:1;11650:2;11630:18;;;11623:30;11689:27;11669:18;;;11662:55;11734:18;;49200:55:0;11409:349:1;49200:55:0;-1:-1:-1;;;;;49266:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;49266:46:0;;;;;;;;;;49328:41;;9142::1;;;49328::0;;9115:18:1;49328:41:0;;;;;;;49062:315;;;:::o;44136:::-;44293:28;44303:4;44309:2;44313:7;44293:9;:28::i;:::-;44340:48;44363:4;44369:2;44373:7;44382:5;44340:22;:48::i;:::-;44332:111;;;;-1:-1:-1;;;44332:111:0;;;;;;;:::i;14661:723::-;14717:13;14938:10;14934:53;;-1:-1:-1;;14965:10:0;;;;;;;;;;;;-1:-1:-1;;;14965:10:0;;;;;14661:723::o;14934:53::-;15012:5;14997:12;15053:78;15060:9;;15053:78;;15086:8;;;;:::i;:::-;;-1:-1:-1;15109:10:0;;-1:-1:-1;15117:2:0;15109:10;;:::i;:::-;;;15053:78;;;15141:19;15173:6;15163:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15163:17:0;;15141:39;;15191:154;15198:10;;15191:154;;15225:11;15235:1;15225:11;;:::i;:::-;;-1:-1:-1;15294:10:0;15302:2;15294:5;:10;:::i;:::-;15281:24;;:2;:24;:::i;:::-;15268:39;;15251:6;15258;15251:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;15251:56:0;;;;;;;;-1:-1:-1;15322:11:0;15331:2;15322:11;;:::i;:::-;;;15191:154;;46085:321;46215:18;46221:2;46225:7;46215:5;:18::i;:::-;46266:54;46297:1;46301:2;46305:7;46314:5;46266:22;:54::i;:::-;46244:154;;;;-1:-1:-1;;;46244:154:0;;;;;;;:::i;49942:799::-;50097:4;-1:-1:-1;;;;;50118:13:0;;20986:20;21034:8;50114:620;;50154:72;;-1:-1:-1;;;50154:72:0;;-1:-1:-1;;;;;50154:36:0;;;;;:72;;17179:10;;50205:4;;50211:7;;50220:5;;50154:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50154:72:0;;;;;;;;-1:-1:-1;;50154:72:0;;;;;;;;;;;;:::i;:::-;;;50150:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50396:13:0;;50392:272;;50439:60;;-1:-1:-1;;;50439:60:0;;;;;;;:::i;50392:272::-;50614:6;50608:13;50599:6;50595:2;50591:15;50584:38;50150:529;-1:-1:-1;;;;;;50277:51:0;-1:-1:-1;;;50277:51:0;;-1:-1:-1;50270:58:0;;50114:620;-1:-1:-1;50718:4:0;49942:799;;;;;;:::o;46742:382::-;-1:-1:-1;;;;;46822:16:0;;46814:61;;;;-1:-1:-1;;;46814:61:0;;14373:2:1;46814:61:0;;;14355:21:1;;;14392:18;;;14385:30;14451:34;14431:18;;;14424:62;14503:18;;46814:61:0;14171:356:1;46814:61:0;44829:4;44853:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44853:16:0;:30;46886:58;;;;-1:-1:-1;;;46886:58:0;;10446:2:1;46886:58:0;;;10428:21:1;10485:2;10465:18;;;10458:30;10524;10504:18;;;10497:58;10572:18;;46886:58:0;10244:352:1;46886:58:0;-1:-1:-1;;;;;47015:13:0;;;;;;:9;:13;;;;;:18;;47032:1;;47015:13;:18;;47032:1;;47015:18;:::i;:::-;;;;-1:-1:-1;;47044:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;47044:21:0;-1:-1:-1;;;;;47044:21:0;;;;;;;;47083:33;;47044:16;;;47083:33;;47044:16;;47083:33;46742:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;902:388::-;970:6;978;1031:2;1019:9;1010:7;1006:23;1002:32;999:52;;;1047:1;1044;1037:12;999:52;1086:9;1073:23;1105:31;1130:5;1105:31;:::i;:::-;1155:5;-1:-1:-1;1212:2:1;1197:18;;1184:32;1225:33;1184:32;1225:33;:::i;:::-;1277:7;1267:17;;;902:388;;;;;:::o;1295:456::-;1372:6;1380;1388;1441:2;1429:9;1420:7;1416:23;1412:32;1409:52;;;1457:1;1454;1447:12;1409:52;1496:9;1483:23;1515:31;1540:5;1515:31;:::i;:::-;1565:5;-1:-1:-1;1622:2:1;1607:18;;1594:32;1635:33;1594:32;1635:33;:::i;:::-;1295:456;;1687:7;;-1:-1:-1;;;1741:2:1;1726:18;;;;1713:32;;1295:456::o;1756:794::-;1851:6;1859;1867;1875;1928:3;1916:9;1907:7;1903:23;1899:33;1896:53;;;1945:1;1942;1935:12;1896:53;1984:9;1971:23;2003:31;2028:5;2003:31;:::i;:::-;2053:5;-1:-1:-1;2110:2:1;2095:18;;2082:32;2123:33;2082:32;2123:33;:::i;:::-;2175:7;-1:-1:-1;2229:2:1;2214:18;;2201:32;;-1:-1:-1;2284:2:1;2269:18;;2256:32;2311:18;2300:30;;2297:50;;;2343:1;2340;2333:12;2297:50;2366:22;;2419:4;2411:13;;2407:27;-1:-1:-1;2397:55:1;;2448:1;2445;2438:12;2397:55;2471:73;2536:7;2531:2;2518:16;2513:2;2509;2505:11;2471:73;:::i;:::-;2461:83;;;1756:794;;;;;;;:::o;2555:382::-;2620:6;2628;2681:2;2669:9;2660:7;2656:23;2652:32;2649:52;;;2697:1;2694;2687:12;2649:52;2736:9;2723:23;2755:31;2780:5;2755:31;:::i;:::-;2805:5;-1:-1:-1;2862:2:1;2847:18;;2834:32;2875:30;2834:32;2875:30;:::i;2942:315::-;3010:6;3018;3071:2;3059:9;3050:7;3046:23;3042:32;3039:52;;;3087:1;3084;3077:12;3039:52;3126:9;3113:23;3145:31;3170:5;3145:31;:::i;:::-;3195:5;3247:2;3232:18;;;;3219:32;;-1:-1:-1;;;2942:315:1:o;3262:241::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:52;;;3387:1;3384;3377:12;3339:52;3426:9;3413:23;3445:28;3467:5;3445:28;:::i;3508:245::-;3575:6;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;3676:9;3670:16;3695:28;3717:5;3695:28;:::i;3758:245::-;3816:6;3869:2;3857:9;3848:7;3844:23;3840:32;3837:52;;;3885:1;3882;3875:12;3837:52;3924:9;3911:23;3943:30;3967:5;3943:30;:::i;4008:249::-;4077:6;4130:2;4118:9;4109:7;4105:23;4101:32;4098:52;;;4146:1;4143;4136:12;4098:52;4178:9;4172:16;4197:30;4221:5;4197:30;:::i;4528:280::-;4627:6;4680:2;4668:9;4659:7;4655:23;4651:32;4648:52;;;4696:1;4693;4686:12;4648:52;4728:9;4722:16;4747:31;4772:5;4747:31;:::i;4813:450::-;4882:6;4935:2;4923:9;4914:7;4910:23;4906:32;4903:52;;;4951:1;4948;4941:12;4903:52;4991:9;4978:23;5024:18;5016:6;5013:30;5010:50;;;5056:1;5053;5046:12;5010:50;5079:22;;5132:4;5124:13;;5120:27;-1:-1:-1;5110:55:1;;5161:1;5158;5151:12;5110:55;5184:73;5249:7;5244:2;5231:16;5226:2;5222;5218:11;5184:73;:::i;5268:180::-;5327:6;5380:2;5368:9;5359:7;5355:23;5351:32;5348:52;;;5396:1;5393;5386:12;5348:52;-1:-1:-1;5419:23:1;;5268:180;-1:-1:-1;5268:180:1:o;5453:184::-;5523:6;5576:2;5564:9;5555:7;5551:23;5547:32;5544:52;;;5592:1;5589;5582:12;5544:52;-1:-1:-1;5615:16:1;;5453:184;-1:-1:-1;5453:184:1:o;5642:248::-;5710:6;5718;5771:2;5759:9;5750:7;5746:23;5742:32;5739:52;;;5787:1;5784;5777:12;5739:52;-1:-1:-1;;5810:23:1;;;5880:2;5865:18;;;5852:32;;-1:-1:-1;5642:248:1:o;5895:257::-;5936:3;5974:5;5968:12;6001:6;5996:3;5989:19;6017:63;6073:6;6066:4;6061:3;6057:14;6050:4;6043:5;6039:16;6017:63;:::i;:::-;6134:2;6113:15;-1:-1:-1;;6109:29:1;6100:39;;;;6141:4;6096:50;;5895:257;-1:-1:-1;;5895:257:1:o;6157:185::-;6199:3;6237:5;6231:12;6252:52;6297:6;6292:3;6285:4;6278:5;6274:16;6252:52;:::i;:::-;6320:16;;;;;6157:185;-1:-1:-1;;6157:185:1:o;6584:1433::-;6962:3;6991:1;7024:6;7018:13;7054:3;7076:1;7104:9;7100:2;7096:18;7086:28;;7164:2;7153:9;7149:18;7186;7176:61;;7230:4;7222:6;7218:17;7208:27;;7176:61;7256:2;7304;7296:6;7293:14;7273:18;7270:38;7267:165;;;-1:-1:-1;;;7331:33:1;;7387:4;7384:1;7377:15;7417:4;7338:3;7405:17;7267:165;7448:18;7475:104;;;;7593:1;7588:320;;;;7441:467;;7475:104;-1:-1:-1;;7508:24:1;;7496:37;;7553:16;;;;-1:-1:-1;7475:104:1;;7588:320;17856:1;17849:14;;;17893:4;17880:18;;7683:1;7697:165;7711:6;7708:1;7705:13;7697:165;;;7789:14;;7776:11;;;7769:35;7832:16;;;;7726:10;;7697:165;;;7701:3;;7891:6;7886:3;7882:16;7875:23;;7441:467;;;;;;;7924:87;7949:61;7975:34;8005:3;-1:-1:-1;;;6530:16:1;;6571:1;6562:11;;6465:114;7975:34;7967:6;7949:61;:::i;:::-;-1:-1:-1;;;6407:20:1;;6452:1;6443:11;;6347:113;7924:87;7917:94;6584:1433;-1:-1:-1;;;;;6584:1433:1:o;8230:488::-;-1:-1:-1;;;;;8499:15:1;;;8481:34;;8551:15;;8546:2;8531:18;;8524:43;8598:2;8583:18;;8576:34;;;8646:3;8641:2;8626:18;;8619:31;;;8424:4;;8667:45;;8692:19;;8684:6;8667:45;:::i;:::-;8659:53;8230:488;-1:-1:-1;;;;;;8230:488:1:o;9194:219::-;9343:2;9332:9;9325:21;9306:4;9363:44;9403:2;9392:9;9388:18;9380:6;9363:44;:::i;9418:414::-;9620:2;9602:21;;;9659:2;9639:18;;;9632:30;9698:34;9693:2;9678:18;;9671:62;-1:-1:-1;;;9764:2:1;9749:18;;9742:48;9822:3;9807:19;;9418:414::o;14945:356::-;15147:2;15129:21;;;15166:18;;;15159:30;15225:34;15220:2;15205:18;;15198:62;15292:2;15277:18;;14945:356::o;16118:413::-;16320:2;16302:21;;;16359:2;16339:18;;;16332:30;16398:34;16393:2;16378:18;;16371:62;-1:-1:-1;;;16464:2:1;16449:18;;16442:47;16521:3;16506:19;;16118:413::o;17909:128::-;17949:3;17980:1;17976:6;17973:1;17970:13;17967:39;;;17986:18;;:::i;:::-;-1:-1:-1;18022:9:1;;17909:128::o;18042:120::-;18082:1;18108;18098:35;;18113:18;;:::i;:::-;-1:-1:-1;18147:9:1;;18042:120::o;18167:168::-;18207:7;18273:1;18269;18265:6;18261:14;18258:1;18255:21;18250:1;18243:9;18236:17;18232:45;18229:71;;;18280:18;;:::i;:::-;-1:-1:-1;18320:9:1;;18167:168::o;18340:125::-;18380:4;18408:1;18405;18402:8;18399:34;;;18413:18;;:::i;:::-;-1:-1:-1;18450:9:1;;18340:125::o;18470:258::-;18542:1;18552:113;18566:6;18563:1;18560:13;18552:113;;;18642:11;;;18636:18;18623:11;;;18616:39;18588:2;18581:10;18552:113;;;18683:6;18680:1;18677:13;18674:48;;;-1:-1:-1;;18718:1:1;18700:16;;18693:27;18470:258::o;18733:380::-;18812:1;18808:12;;;;18855;;;18876:61;;18930:4;18922:6;18918:17;18908:27;;18876:61;18983:2;18975:6;18972:14;18952:18;18949:38;18946:161;;;19029:10;19024:3;19020:20;19017:1;19010:31;19064:4;19061:1;19054:15;19092:4;19089:1;19082:15;18946:161;;18733:380;;;:::o;19118:135::-;19157:3;-1:-1:-1;;19178:17:1;;19175:43;;;19198:18;;:::i;:::-;-1:-1:-1;19245:1:1;19234:13;;19118:135::o;19258:112::-;19290:1;19316;19306:35;;19321:18;;:::i;:::-;-1:-1:-1;19355:9:1;;19258:112::o;19375:127::-;19436:10;19431:3;19427:20;19424:1;19417:31;19467:4;19464:1;19457:15;19491:4;19488:1;19481:15;19507:127;19568:10;19563:3;19559:20;19556:1;19549:31;19599:4;19596:1;19589:15;19623:4;19620:1;19613:15;19639:127;19700:10;19695:3;19691:20;19688:1;19681:31;19731:4;19728:1;19721:15;19755:4;19752:1;19745:15;19771:127;19832:10;19827:3;19823:20;19820:1;19813:31;19863:4;19860:1;19853:15;19887:4;19884:1;19877:15;19903:131;-1:-1:-1;;;;;19978:31:1;;19968:42;;19958:70;;20024:1;20021;20014:12;20039:118;20125:5;20118:13;20111:21;20104:5;20101:32;20091:60;;20147:1;20144;20137:12;20162:131;-1:-1:-1;;;;;;20236:32:1;;20226:43;;20216:71;;20283:1;20280;20273:12

Swarm Source

ipfs://c6a60b140930d11484bda71265a7e978271b340946e8f86ad67d6563c2ad33a5
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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