ETH Price: $3,228.61 (-3.79%)

Token

CosmicCowboys (CCB)
 

Overview

Max Total Supply

3,215 CCB

Holders

1,280

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
wakenblaziken.eth
Balance
2 CCB
0x58246575CE4F96D7e85D2697900a68FCbE29eCa9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Cosmic Cowboys is a collection of 6,969 randomly generated space cowboy NFTs on the Ethereum blockchain. The Cosmic Cowboys collection embraces three prominent themes: cowboys, space, and anime.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CosmicCowboys

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 14 : CosmicCowboys.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721.sol";
import "./WithdrawFairlyCowboys.sol";

contract CosmicCowboys is ERC721, Ownable, WithdrawFairlyCowboys {

    uint256 public constant MAX_SUPPLY = 6969;
    uint256 public constant MAX_PER_TX = 20;
    uint256 public constant START_AT = 1;

    mapping (uint256 => bool) private cosmicCowgirlClaimed;
    bool public paused = false;
    uint256 public claimTracker = 0;
    uint256 public burnedTracker = 0;

    string public baseTokenURI;

    event ClaimCosmicCowboy(uint256 indexed _tokenId);

    IERC721 public cosmicCowGirls;
    constructor(string memory baseURI, address _cosmicCowGirls) ERC721("CosmicCowboys", "CCB") {
        setBaseURI(baseURI);
        setCosmicCowgirls(_cosmicCowGirls);
    }

    //******************************************************//
    //                     Modifier                         //
    //******************************************************//
    modifier claimIsOpen {
        require(!paused, "Claim paused");
        _;
    }

    //******************************************************//
    //                     Claim                            //
    //******************************************************//
    function claim(uint256[] memory _tokensId) public claimIsOpen {
        require(_tokensId.length <= MAX_PER_TX, "Exceeds number");

        for (uint256 i = 0; i < _tokensId.length; i++) {

            require(canClaim( _tokensId[i] ) && cosmicCowGirls.ownerOf( _tokensId[i] ) == _msgSender(), "Bad owner!");
            cosmicCowgirlClaimed[_tokensId[i]] = true;

            _mintToken(_msgSender(), _tokensId[i]);

        }
    }
    function canClaim(uint256 _tokenId) public view returns(bool) {
        return cosmicCowgirlClaimed[_tokenId] == false;
    }
    function _mintToken(address _wallet, uint256 _tokenId) private {
        claimTracker += 1;
        _safeMint(_wallet, _tokenId);
        emit ClaimCosmicCowboy(_tokenId);
    }

    //******************************************************//
    //                      Getters                         //
    //******************************************************//
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }
    function totalSupply() public view returns(uint256){
        return claimTracker - burnedTracker;
    }
    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);

        if(tokenCount == 0){
            return tokensId;
        }

        uint256 key = 0;
        for (uint256 i = START_AT; i <= MAX_SUPPLY; i++) {
            if(rawOwnerOf(i) == _owner){
                tokensId[key] = i;
                key++;
                if(key == tokenCount){break;}
            }
        }
        return tokensId;
    }
    
    //******************************************************//
    //                      Setters                         //
    //******************************************************//
    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }
    function setPause(bool _toggle) public onlyOwner {
        paused = _toggle;
    }
    function setCosmicCowgirls(address _cosmicCowGirls) public onlyOwner {
        cosmicCowGirls = IERC721(_cosmicCowGirls);
    }

    //******************************************************//
    //                      Burn                            //
    //******************************************************//
    function burn(uint256 _tokenId) public virtual {
        require(_isApprovedOrOwner(_msgSender(), _tokenId), "Not owner nor approved");
        burnedTracker += 1;
        _burn(_tokenId);
    }
}

File 2 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// 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 3 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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 4 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// 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 6 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// 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 7 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// 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 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// 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 10 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @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 11 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// 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 12 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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 13 of 14 : WithdrawFairlyCowboys.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract WithdrawFairlyCowboys is Ownable {
    using SafeMath for uint256;

    struct Part {
        address wallet;
        uint256 salePart;
        uint256 royaltiesPart;
    }

    Part[] public parts;
    address[] public tokenAddress;

    constructor(){
        parts.push(Part(0xC2827C709fA31404a623a1BBc6206F14acEeaFED, 0, 50));
        parts.push(Part(0x647b14eC32Cd079D4156241c990Cc73540FFad5b, 0, 50));

        tokenAddress.push(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48); // USDC
        tokenAddress.push(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2); // WETH
        tokenAddress.push(0x6B175474E89094C44Da98b954EedeAC495271d0F); // DAI
    }

    function withdrawRoyalties() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Contract Balance = 0");

        for(uint8 i = 0; i < parts.length; i++){
            if(parts[i].royaltiesPart > 0){
                _withdraw(parts[i].wallet, balance.mul(parts[i].royaltiesPart).div(100));
            }
        }

        _withdraw(owner(), address(this).balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed.");
    }

    function withdrawRoyaltiesTokens() public onlyOwner {
        for(uint256 j = 0; j < tokenAddress.length; j++){
            if(tokenAddress[j] == address(0)){
                continue;
            }
            uint256 balance = IERC20(tokenAddress[j]).balanceOf(address(this));
            for(uint256 i = 0; i < parts.length; i++){
                if(parts[i].royaltiesPart > 0 && balance > 0){
                    IERC20(tokenAddress[j]).transfer(parts[i].wallet, balance.mul(parts[i].royaltiesPart).div(100));
                }
            }
        }
    }

    function addERC20Address(address _contract) public onlyOwner{
        tokenAddress.push(_contract);
    }
    function removeERC20Address(address _contract) public onlyOwner{
        for(uint256 i = 0; i < tokenAddress.length;i++){
            if(tokenAddress[i] == _contract){
                tokenAddress[i] = address(0);
            }
        }
    }

    receive() external payable {}

}

File 14 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @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 Edit for rawOwnerOf token
     */
    function rawOwnerOf(uint256 tokenId) public view returns (address) {
        return _owners[tokenId];
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(owner, to, tokenId);

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

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

        emit Transfer(owner, to, tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).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 {}
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_cosmicCowGirls","type":"address"}],"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":"uint256","name":"_tokenId","type":"uint256"}],"name":"ClaimCosmicCowboy","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_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"addERC20Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokensId","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cosmicCowGirls","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"parts","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"salePart","type":"uint256"},{"internalType":"uint256","name":"royaltiesPart","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"rawOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"removeERC20Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cosmicCowGirls","type":"address"}],"name":"setCosmicCowgirls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_toggle","type":"bool"}],"name":"setPause","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":"","type":"uint256"}],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRoyaltiesTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600a805460ff191690556000600b819055600c553480156200002557600080fd5b5060405162003527380380620035278339810160408190526200004891620004bc565b604080518082018252600d81526c436f736d6963436f77626f797360981b60208083019182528351808501909452600384526221a1a160e91b9084015281519192916200009891600091620003e3565b508051620000ae906001906020840190620003e3565b505050620000cb620000c5620002b860201b60201c565b620002bc565b604080516060808201835273c2827c709fa31404a623a1bbc6206f14aceeafed82526000602080840182815260328587018181526007805460018181018355828852985160039182027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68881810180546001600160a01b039485166001600160a01b03199182161790915597517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898084019190915595517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a928301558c519a8b018d5273647b14ec32cd079d4156241c990cc73540ffad5b8b52978a018981529b8a019586528354808c0185559389529851929091029586018054929091169185169190911790559651968301969096559451920191909155600880548084018255918190527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee39182018054851673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb481790558054808401825582018054851673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc217905580549283019055018054909116736b175474e89094c44da98b954eedeac495271d0f179055620002a5826200030e565b620002b08162000376565b5050620005ea565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b031633146200035d5760405162461bcd60e51b815260206004820181905260248201526000805160206200350783398151915260448201526064015b60405180910390fd5b80516200037290600d906020840190620003e3565b5050565b6006546001600160a01b03163314620003c15760405162461bcd60e51b8152602060048201819052602482015260008051602062003507833981519152604482015260640162000354565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b828054620003f190620005ad565b90600052602060002090601f01602090048101928262000415576000855562000460565b82601f106200043057805160ff191683800117855562000460565b8280016001018555821562000460579182015b828111156200046057825182559160200191906001019062000443565b506200046e92915062000472565b5090565b5b808211156200046e576000815560010162000473565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620004b757600080fd5b919050565b60008060408385031215620004d057600080fd5b82516001600160401b0380821115620004e857600080fd5b818501915085601f830112620004fd57600080fd5b81518181111562000512576200051262000489565b604051601f8201601f19908116603f011681019083821181831017156200053d576200053d62000489565b816040528281526020935088848487010111156200055a57600080fd5b600091505b828210156200057e57848201840151818301850152908301906200055f565b82821115620005905760008484830101525b9550620005a29150508582016200049f565b925050509250929050565b600181811c90821680620005c257607f821691505b60208210811415620005e457634e487b7160e01b600052602260045260246000fd5b50919050565b612f0d80620005fa6000396000f3fe6080604052600436106102a45760003560e01c806370a082311161016e578063bedb86fb116100cb578063cc0bbb6f1161007f578063e985e9c511610064578063e985e9c514610755578063f2fde38b1461079e578063f43a22dc146107be57600080fd5b8063cc0bbb6f1461072b578063d547cfb71461074057600080fd5b8063c87b56dd116100b0578063c87b56dd14610695578063c95c0d89146106b5578063c9eb4662146106e657600080fd5b8063bedb86fb14610660578063bf7b766d1461068057600080fd5b806395d89b41116101225780639ea9246c116101075780639ea9246c14610600578063a22cb46514610620578063b88d4fde1461064057600080fd5b806395d89b41146105cb5780639e6b26ba146105e057600080fd5b80637f81be69116101535780637f81be69146105575780638da5cb5b1461058d57806395a4b24e146105ab57600080fd5b806370a0823114610522578063715018a61461054257600080fd5b806332cb6b0c1161021c57806355f804b3116101d05780635c975abb116101b55780635c975abb146104c85780636352211e146104e25780636ba4c1381461050257600080fd5b806355f804b31461048857806357087812146104a857600080fd5b806342842e0e1161020157806342842e0e1461041b57806342966c681461043b578063438b63001461045b57600080fd5b806332cb6b0c146103ef578063427b34b31461040557600080fd5b8063095ea7b31161027357806321c34fcb1161025857806321c34fcb146103a4578063222abc11146103b957806323b872dd146103cf57600080fd5b8063095ea7b31461036157806318160ddd1461038157600080fd5b806301ffc9a7146102b057806305ec3c1d146102e557806306fdde0314610307578063081812fc1461032957600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506102d06102cb3660046128aa565b6107d3565b60405190151581526020015b60405180910390f35b3480156102f157600080fd5b506103056103003660046128dc565b6108b8565b005b34801561031357600080fd5b5061031c610946565b6040516102dc9190612951565b34801561033557600080fd5b50610349610344366004612964565b6109d8565b6040516001600160a01b0390911681526020016102dc565b34801561036d57600080fd5b5061030561037c36600461297d565b610a7e565b34801561038d57600080fd5b50610396610bb0565b6040519081526020016102dc565b3480156103b057600080fd5b50610305610bc7565b3480156103c557600080fd5b50610396600b5481565b3480156103db57600080fd5b506103056103ea3660046129a9565b610d68565b3480156103fb57600080fd5b50610396611b3981565b34801561041157600080fd5b50610396600c5481565b34801561042757600080fd5b506103056104363660046129a9565b610df0565b34801561044757600080fd5b50610305610456366004612964565b610e0b565b34801561046757600080fd5b5061047b6104763660046128dc565b610e82565b6040516102dc91906129ea565b34801561049457600080fd5b506103056104a3366004612acd565b610f68565b3480156104b457600080fd5b506103056104c33660046128dc565b610fd9565b3480156104d457600080fd5b50600a546102d09060ff1681565b3480156104ee57600080fd5b506103496104fd366004612964565b611092565b34801561050e57600080fd5b5061030561051d366004612b16565b61111d565b34801561052e57600080fd5b5061039661053d3660046128dc565b61137e565b34801561054e57600080fd5b50610305611418565b34801561056357600080fd5b50610349610572366004612964565b6000908152600260205260409020546001600160a01b031690565b34801561059957600080fd5b506006546001600160a01b0316610349565b3480156105b757600080fd5b506103056105c63660046128dc565b61147e565b3480156105d757600080fd5b5061031c611573565b3480156105ec57600080fd5b506103496105fb366004612964565b611582565b34801561060c57600080fd5b50600e54610349906001600160a01b031681565b34801561062c57600080fd5b5061030561063b366004612bca565b6115ac565b34801561064c57600080fd5b5061030561065b366004612c03565b611671565b34801561066c57600080fd5b5061030561067b366004612c83565b6116ff565b34801561068c57600080fd5b50610396600181565b3480156106a157600080fd5b5061031c6106b0366004612964565b61176c565b3480156106c157600080fd5b506102d06106d0366004612964565b60009081526009602052604090205460ff161590565b3480156106f257600080fd5b50610706610701366004612964565b611855565b604080516001600160a01b0390941684526020840192909252908201526060016102dc565b34801561073757600080fd5b50610305611892565b34801561074c57600080fd5b5061031c611b97565b34801561076157600080fd5b506102d0610770366004612ca0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107aa57600080fd5b506103056107b93660046128dc565b611c25565b3480156107ca57600080fd5b50610396601481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061086657507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108b257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6006546001600160a01b031633146109175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606000805461095590612cce565b80601f016020809104026020016040519081016040528092919081815260200182805461098190612cce565b80156109ce5780601f106109a3576101008083540402835291602001916109ce565b820191906000526020600020905b8154815290600101906020018083116109b157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a625760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161090e565b506000908152600460205260409020546001600160a01b031690565b6000610a8982611092565b9050806001600160a01b0316836001600160a01b03161415610b135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161090e565b336001600160a01b0382161480610b2f5750610b2f8133610770565b610ba15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161090e565b610bab8383611d04565b505050565b6000600c54600b54610bc29190612d1f565b905090565b6006546001600160a01b03163314610c215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b4780610c6f5760405162461bcd60e51b815260206004820152601460248201527f436f6e74726163742042616c616e6365203d2030000000000000000000000000604482015260640161090e565b60005b60075460ff82161015610d4957600060078260ff1681548110610c9757610c97612d36565b9060005260206000209060030201600201541115610d3757610d3760078260ff1681548110610cc857610cc8612d36565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316610d326064610d2c60078660ff1681548110610d0b57610d0b612d36565b90600052602060002090600302016002015487611d7f90919063ffffffff16565b90611d8b565b611d97565b80610d4181612d4c565b915050610c72565b50610d65610d5f6006546001600160a01b031690565b47611d97565b50565b610d73335b82611e3a565b610de55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090e565b610bab838383611f42565b610bab83838360405180602001604052806000815250611671565b610e1433610d6d565b610e605760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f76656400000000000000000000604482015260640161090e565b6001600c6000828254610e739190612d6c565b90915550610d6590508161211c565b60606000610e8f8361137e565b905060008167ffffffffffffffff811115610eac57610eac612a2e565b604051908082528060200260200182016040528015610ed5578160200160208202803683370190505b50905081610ee4579392505050565b600060015b611b398111610f5e576000818152600260205260409020546001600160a01b0387811691161415610f4c5780838381518110610f2757610f27612d36565b602090810291909101015281610f3c81612d84565b92505083821415610f4c57610f5e565b80610f5681612d84565b915050610ee9565b5090949350505050565b6006546001600160a01b03163314610fc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b8051610fd590600d9060208401906127e3565b5050565b6006546001600160a01b031633146110335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000818152600260205260408120546001600160a01b0316806108b25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161090e565b600a5460ff16156111705760405162461bcd60e51b815260206004820152600c60248201527f436c61696d207061757365640000000000000000000000000000000000000000604482015260640161090e565b6014815111156111c25760405162461bcd60e51b815260206004820152600e60248201527f45786365656473206e756d626572000000000000000000000000000000000000604482015260640161090e565b60005b8151811015610fd5576112018282815181106111e3576111e3612d36565b602002602001015160009081526009602052604090205460ff161590565b80156112b25750600e54825133916001600160a01b031690636352211e9085908590811061123157611231612d36565b60200260200101516040518263ffffffff1660e01b815260040161125791815260200190565b60206040518083038186803b15801561126f57600080fd5b505afa158015611283573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a79190612d9f565b6001600160a01b0316145b6112fe5760405162461bcd60e51b815260206004820152600a60248201527f426164206f776e65722100000000000000000000000000000000000000000000604482015260640161090e565b60016009600084848151811061131657611316612d36565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555061136c61134d3390565b83838151811061135f5761135f612d36565b60200260200101516121c9565b8061137681612d84565b9150506111c5565b60006001600160a01b0382166113fc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161090e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146114725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b61147c600061221b565b565b6006546001600160a01b031633146114d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b60005b600854811015610fd557816001600160a01b03166008828154811061150257611502612d36565b6000918252602090912001546001600160a01b031614156115615760006008828154811061153257611532612d36565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b8061156b81612d84565b9150506114db565b60606001805461095590612cce565b6008818154811061159257600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0382163314156116055760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161090e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61167b3383611e3a565b6116ed5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090e565b6116f98484848461227a565b50505050565b6006546001600160a01b031633146117595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b600a805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b03166117f95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161090e565b6000611803612303565b90506000815111611823576040518060200160405280600081525061184e565b8061182d84612312565b60405160200161183e929190612dbc565b6040516020818303038152906040525b9392505050565b6007818154811061186557600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b6006546001600160a01b031633146118ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b60005b600854811015610d655760006001600160a01b03166008828154811061191757611917612d36565b6000918252602090912001546001600160a01b0316141561193757611b85565b60006008828154811061194c5761194c612d36565b6000918252602090912001546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156119b157600080fd5b505afa1580156119c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e99190612deb565b905060005b600754811015611b8257600060078281548110611a0d57611a0d612d36565b906000526020600020906003020160020154118015611a2c5750600082115b15611b705760088381548110611a4457611a44612d36565b600091825260209091200154600780546001600160a01b039092169163a9059cbb919084908110611a7757611a77612d36565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316611ad86064610d2c60078781548110611ab757611ab7612d36565b90600052602060002090600302016002015488611d7f90919063ffffffff16565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611b3657600080fd5b505af1158015611b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612e04565b505b80611b7a81612d84565b9150506119ee565b50505b80611b8f81612d84565b9150506118ef565b600d8054611ba490612cce565b80601f0160208091040260200160405190810160405280929190818152602001828054611bd090612cce565b8015611c1d5780601f10611bf257610100808354040283529160200191611c1d565b820191906000526020600020905b815481529060010190602001808311611c0057829003601f168201915b505050505081565b6006546001600160a01b03163314611c7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b6001600160a01b038116611cfb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161090e565b610d658161221b565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611d4682611092565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061184e8284612e21565b600061184e8284612e56565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611de4576040519150601f19603f3d011682016040523d82523d6000602084013e611de9565b606091505b5050905080610bab5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161090e565b6000818152600260205260408120546001600160a01b0316611ec45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161090e565b6000611ecf83611092565b9050806001600160a01b0316846001600160a01b03161480611f0a5750836001600160a01b0316611eff846109d8565b6001600160a01b0316145b80611f3a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611f5582611092565b6001600160a01b031614611fd15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161090e565b6001600160a01b03821661204c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161090e565b612057600082611d04565b6001600160a01b0383166000908152600360205260408120805460019290612080908490612d1f565b90915550506001600160a01b03821660009081526003602052604081208054600192906120ae908490612d6c565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061212782611092565b90506000612136600084611d04565b6001600160a01b038216600090815260036020526040812080546001929061215f908490612d1f565b9091555050600083815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555184916001600160a01b0384811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600b60008282546121dc9190612d6c565b909155506121ec90508282612444565b60405181907fed292c4dcc57817ce3de51734097abda3386f574400ead2d60976059bb41751590600090a25050565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612285848484611f42565b6122918484848461245e565b6116f95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090e565b6060600d805461095590612cce565b60608161235257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561237c578061236681612d84565b91506123759050600a83612e56565b9150612356565b60008167ffffffffffffffff81111561239757612397612a2e565b6040519080825280601f01601f1916602001820160405280156123c1576020820181803683370190505b5090505b8415611f3a576123d6600183612d1f565b91506123e3600a86612e6a565b6123ee906030612d6c565b60f81b81838151811061240357612403612d36565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061243d600a86612e56565b94506123c5565b610fd582826040518060200160405280600081525061260b565b60006001600160a01b0384163b15612600576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906124bb903390899088908890600401612e7e565b602060405180830381600087803b1580156124d557600080fd5b505af1925050508015612505575060408051601f3d908101601f1916820190925261250291810190612eba565b60015b6125b5573d808015612533576040519150601f19603f3d011682016040523d82523d6000602084013e612538565b606091505b5080516125ad5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090e565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611f3a565b506001949350505050565b6126158383612694565b612622600084848461245e565b610bab5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090e565b6001600160a01b0382166126ea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161090e565b6000818152600260205260409020546001600160a01b03161561274f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161090e565b6001600160a01b0382166000908152600360205260408120805460019290612778908490612d6c565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546127ef90612cce565b90600052602060002090601f0160209004810192826128115760008555612857565b82601f1061282a57805160ff1916838001178555612857565b82800160010185558215612857579182015b8281111561285757825182559160200191906001019061283c565b50612863929150612867565b5090565b5b808211156128635760008155600101612868565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610d6557600080fd5b6000602082840312156128bc57600080fd5b813561184e8161287c565b6001600160a01b0381168114610d6557600080fd5b6000602082840312156128ee57600080fd5b813561184e816128c7565b60005b838110156129145781810151838201526020016128fc565b838111156116f95750506000910152565b6000815180845261293d8160208601602086016128f9565b601f01601f19169290920160200192915050565b60208152600061184e6020830184612925565b60006020828403121561297657600080fd5b5035919050565b6000806040838503121561299057600080fd5b823561299b816128c7565b946020939093013593505050565b6000806000606084860312156129be57600080fd5b83356129c9816128c7565b925060208401356129d9816128c7565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b81811015612a2257835183529284019291840191600101612a06565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a6d57612a6d612a2e565b604052919050565b600067ffffffffffffffff831115612a8f57612a8f612a2e565b612aa26020601f19601f86011601612a44565b9050828152838383011115612ab657600080fd5b828260208301376000602084830101529392505050565b600060208284031215612adf57600080fd5b813567ffffffffffffffff811115612af657600080fd5b8201601f81018413612b0757600080fd5b611f3a84823560208401612a75565b60006020808385031215612b2957600080fd5b823567ffffffffffffffff80821115612b4157600080fd5b818501915085601f830112612b5557600080fd5b813581811115612b6757612b67612a2e565b8060051b9150612b78848301612a44565b8181529183018401918481019088841115612b9257600080fd5b938501935b83851015612bb057843582529385019390850190612b97565b98975050505050505050565b8015158114610d6557600080fd5b60008060408385031215612bdd57600080fd5b8235612be8816128c7565b91506020830135612bf881612bbc565b809150509250929050565b60008060008060808587031215612c1957600080fd5b8435612c24816128c7565b93506020850135612c34816128c7565b925060408501359150606085013567ffffffffffffffff811115612c5757600080fd5b8501601f81018713612c6857600080fd5b612c7787823560208401612a75565b91505092959194509250565b600060208284031215612c9557600080fd5b813561184e81612bbc565b60008060408385031215612cb357600080fd5b8235612cbe816128c7565b91506020830135612bf8816128c7565b600181811c90821680612ce257607f821691505b60208210811415612d0357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612d3157612d31612d09565b500390565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415612d6357612d63612d09565b60010192915050565b60008219821115612d7f57612d7f612d09565b500190565b6000600019821415612d9857612d98612d09565b5060010190565b600060208284031215612db157600080fd5b815161184e816128c7565b60008351612dce8184602088016128f9565b835190830190612de28183602088016128f9565b01949350505050565b600060208284031215612dfd57600080fd5b5051919050565b600060208284031215612e1657600080fd5b815161184e81612bbc565b6000816000190483118215151615612e3b57612e3b612d09565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e6557612e65612e40565b500490565b600082612e7957612e79612e40565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612eb06080830184612925565b9695505050505050565b600060208284031215612ecc57600080fd5b815161184e8161287c56fea2646970667358221220726a41d0853c6b4e2387a36cf25ab6f6e908379b629efb265c9ac9b22f1ff18364736f6c634300080900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000000400000000000000000000000005fba17737ee4809230946115c0e8a418bce70acc000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e636f736d69632d636f776769726c732e696f2f636f77626f792f0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102a45760003560e01c806370a082311161016e578063bedb86fb116100cb578063cc0bbb6f1161007f578063e985e9c511610064578063e985e9c514610755578063f2fde38b1461079e578063f43a22dc146107be57600080fd5b8063cc0bbb6f1461072b578063d547cfb71461074057600080fd5b8063c87b56dd116100b0578063c87b56dd14610695578063c95c0d89146106b5578063c9eb4662146106e657600080fd5b8063bedb86fb14610660578063bf7b766d1461068057600080fd5b806395d89b41116101225780639ea9246c116101075780639ea9246c14610600578063a22cb46514610620578063b88d4fde1461064057600080fd5b806395d89b41146105cb5780639e6b26ba146105e057600080fd5b80637f81be69116101535780637f81be69146105575780638da5cb5b1461058d57806395a4b24e146105ab57600080fd5b806370a0823114610522578063715018a61461054257600080fd5b806332cb6b0c1161021c57806355f804b3116101d05780635c975abb116101b55780635c975abb146104c85780636352211e146104e25780636ba4c1381461050257600080fd5b806355f804b31461048857806357087812146104a857600080fd5b806342842e0e1161020157806342842e0e1461041b57806342966c681461043b578063438b63001461045b57600080fd5b806332cb6b0c146103ef578063427b34b31461040557600080fd5b8063095ea7b31161027357806321c34fcb1161025857806321c34fcb146103a4578063222abc11146103b957806323b872dd146103cf57600080fd5b8063095ea7b31461036157806318160ddd1461038157600080fd5b806301ffc9a7146102b057806305ec3c1d146102e557806306fdde0314610307578063081812fc1461032957600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506102d06102cb3660046128aa565b6107d3565b60405190151581526020015b60405180910390f35b3480156102f157600080fd5b506103056103003660046128dc565b6108b8565b005b34801561031357600080fd5b5061031c610946565b6040516102dc9190612951565b34801561033557600080fd5b50610349610344366004612964565b6109d8565b6040516001600160a01b0390911681526020016102dc565b34801561036d57600080fd5b5061030561037c36600461297d565b610a7e565b34801561038d57600080fd5b50610396610bb0565b6040519081526020016102dc565b3480156103b057600080fd5b50610305610bc7565b3480156103c557600080fd5b50610396600b5481565b3480156103db57600080fd5b506103056103ea3660046129a9565b610d68565b3480156103fb57600080fd5b50610396611b3981565b34801561041157600080fd5b50610396600c5481565b34801561042757600080fd5b506103056104363660046129a9565b610df0565b34801561044757600080fd5b50610305610456366004612964565b610e0b565b34801561046757600080fd5b5061047b6104763660046128dc565b610e82565b6040516102dc91906129ea565b34801561049457600080fd5b506103056104a3366004612acd565b610f68565b3480156104b457600080fd5b506103056104c33660046128dc565b610fd9565b3480156104d457600080fd5b50600a546102d09060ff1681565b3480156104ee57600080fd5b506103496104fd366004612964565b611092565b34801561050e57600080fd5b5061030561051d366004612b16565b61111d565b34801561052e57600080fd5b5061039661053d3660046128dc565b61137e565b34801561054e57600080fd5b50610305611418565b34801561056357600080fd5b50610349610572366004612964565b6000908152600260205260409020546001600160a01b031690565b34801561059957600080fd5b506006546001600160a01b0316610349565b3480156105b757600080fd5b506103056105c63660046128dc565b61147e565b3480156105d757600080fd5b5061031c611573565b3480156105ec57600080fd5b506103496105fb366004612964565b611582565b34801561060c57600080fd5b50600e54610349906001600160a01b031681565b34801561062c57600080fd5b5061030561063b366004612bca565b6115ac565b34801561064c57600080fd5b5061030561065b366004612c03565b611671565b34801561066c57600080fd5b5061030561067b366004612c83565b6116ff565b34801561068c57600080fd5b50610396600181565b3480156106a157600080fd5b5061031c6106b0366004612964565b61176c565b3480156106c157600080fd5b506102d06106d0366004612964565b60009081526009602052604090205460ff161590565b3480156106f257600080fd5b50610706610701366004612964565b611855565b604080516001600160a01b0390941684526020840192909252908201526060016102dc565b34801561073757600080fd5b50610305611892565b34801561074c57600080fd5b5061031c611b97565b34801561076157600080fd5b506102d0610770366004612ca0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107aa57600080fd5b506103056107b93660046128dc565b611c25565b3480156107ca57600080fd5b50610396601481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061086657507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108b257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6006546001600160a01b031633146109175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606000805461095590612cce565b80601f016020809104026020016040519081016040528092919081815260200182805461098190612cce565b80156109ce5780601f106109a3576101008083540402835291602001916109ce565b820191906000526020600020905b8154815290600101906020018083116109b157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a625760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161090e565b506000908152600460205260409020546001600160a01b031690565b6000610a8982611092565b9050806001600160a01b0316836001600160a01b03161415610b135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161090e565b336001600160a01b0382161480610b2f5750610b2f8133610770565b610ba15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161090e565b610bab8383611d04565b505050565b6000600c54600b54610bc29190612d1f565b905090565b6006546001600160a01b03163314610c215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b4780610c6f5760405162461bcd60e51b815260206004820152601460248201527f436f6e74726163742042616c616e6365203d2030000000000000000000000000604482015260640161090e565b60005b60075460ff82161015610d4957600060078260ff1681548110610c9757610c97612d36565b9060005260206000209060030201600201541115610d3757610d3760078260ff1681548110610cc857610cc8612d36565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316610d326064610d2c60078660ff1681548110610d0b57610d0b612d36565b90600052602060002090600302016002015487611d7f90919063ffffffff16565b90611d8b565b611d97565b80610d4181612d4c565b915050610c72565b50610d65610d5f6006546001600160a01b031690565b47611d97565b50565b610d73335b82611e3a565b610de55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090e565b610bab838383611f42565b610bab83838360405180602001604052806000815250611671565b610e1433610d6d565b610e605760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f76656400000000000000000000604482015260640161090e565b6001600c6000828254610e739190612d6c565b90915550610d6590508161211c565b60606000610e8f8361137e565b905060008167ffffffffffffffff811115610eac57610eac612a2e565b604051908082528060200260200182016040528015610ed5578160200160208202803683370190505b50905081610ee4579392505050565b600060015b611b398111610f5e576000818152600260205260409020546001600160a01b0387811691161415610f4c5780838381518110610f2757610f27612d36565b602090810291909101015281610f3c81612d84565b92505083821415610f4c57610f5e565b80610f5681612d84565b915050610ee9565b5090949350505050565b6006546001600160a01b03163314610fc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b8051610fd590600d9060208401906127e3565b5050565b6006546001600160a01b031633146110335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000818152600260205260408120546001600160a01b0316806108b25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161090e565b600a5460ff16156111705760405162461bcd60e51b815260206004820152600c60248201527f436c61696d207061757365640000000000000000000000000000000000000000604482015260640161090e565b6014815111156111c25760405162461bcd60e51b815260206004820152600e60248201527f45786365656473206e756d626572000000000000000000000000000000000000604482015260640161090e565b60005b8151811015610fd5576112018282815181106111e3576111e3612d36565b602002602001015160009081526009602052604090205460ff161590565b80156112b25750600e54825133916001600160a01b031690636352211e9085908590811061123157611231612d36565b60200260200101516040518263ffffffff1660e01b815260040161125791815260200190565b60206040518083038186803b15801561126f57600080fd5b505afa158015611283573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a79190612d9f565b6001600160a01b0316145b6112fe5760405162461bcd60e51b815260206004820152600a60248201527f426164206f776e65722100000000000000000000000000000000000000000000604482015260640161090e565b60016009600084848151811061131657611316612d36565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555061136c61134d3390565b83838151811061135f5761135f612d36565b60200260200101516121c9565b8061137681612d84565b9150506111c5565b60006001600160a01b0382166113fc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161090e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146114725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b61147c600061221b565b565b6006546001600160a01b031633146114d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b60005b600854811015610fd557816001600160a01b03166008828154811061150257611502612d36565b6000918252602090912001546001600160a01b031614156115615760006008828154811061153257611532612d36565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b8061156b81612d84565b9150506114db565b60606001805461095590612cce565b6008818154811061159257600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0382163314156116055760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161090e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61167b3383611e3a565b6116ed5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090e565b6116f98484848461227a565b50505050565b6006546001600160a01b031633146117595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b600a805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b03166117f95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161090e565b6000611803612303565b90506000815111611823576040518060200160405280600081525061184e565b8061182d84612312565b60405160200161183e929190612dbc565b6040516020818303038152906040525b9392505050565b6007818154811061186557600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b6006546001600160a01b031633146118ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b60005b600854811015610d655760006001600160a01b03166008828154811061191757611917612d36565b6000918252602090912001546001600160a01b0316141561193757611b85565b60006008828154811061194c5761194c612d36565b6000918252602090912001546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156119b157600080fd5b505afa1580156119c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e99190612deb565b905060005b600754811015611b8257600060078281548110611a0d57611a0d612d36565b906000526020600020906003020160020154118015611a2c5750600082115b15611b705760088381548110611a4457611a44612d36565b600091825260209091200154600780546001600160a01b039092169163a9059cbb919084908110611a7757611a77612d36565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316611ad86064610d2c60078781548110611ab757611ab7612d36565b90600052602060002090600302016002015488611d7f90919063ffffffff16565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611b3657600080fd5b505af1158015611b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612e04565b505b80611b7a81612d84565b9150506119ee565b50505b80611b8f81612d84565b9150506118ef565b600d8054611ba490612cce565b80601f0160208091040260200160405190810160405280929190818152602001828054611bd090612cce565b8015611c1d5780601f10611bf257610100808354040283529160200191611c1d565b820191906000526020600020905b815481529060010190602001808311611c0057829003601f168201915b505050505081565b6006546001600160a01b03163314611c7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090e565b6001600160a01b038116611cfb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161090e565b610d658161221b565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611d4682611092565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061184e8284612e21565b600061184e8284612e56565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611de4576040519150601f19603f3d011682016040523d82523d6000602084013e611de9565b606091505b5050905080610bab5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161090e565b6000818152600260205260408120546001600160a01b0316611ec45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161090e565b6000611ecf83611092565b9050806001600160a01b0316846001600160a01b03161480611f0a5750836001600160a01b0316611eff846109d8565b6001600160a01b0316145b80611f3a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611f5582611092565b6001600160a01b031614611fd15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161090e565b6001600160a01b03821661204c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161090e565b612057600082611d04565b6001600160a01b0383166000908152600360205260408120805460019290612080908490612d1f565b90915550506001600160a01b03821660009081526003602052604081208054600192906120ae908490612d6c565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061212782611092565b90506000612136600084611d04565b6001600160a01b038216600090815260036020526040812080546001929061215f908490612d1f565b9091555050600083815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555184916001600160a01b0384811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600b60008282546121dc9190612d6c565b909155506121ec90508282612444565b60405181907fed292c4dcc57817ce3de51734097abda3386f574400ead2d60976059bb41751590600090a25050565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612285848484611f42565b6122918484848461245e565b6116f95760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090e565b6060600d805461095590612cce565b60608161235257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561237c578061236681612d84565b91506123759050600a83612e56565b9150612356565b60008167ffffffffffffffff81111561239757612397612a2e565b6040519080825280601f01601f1916602001820160405280156123c1576020820181803683370190505b5090505b8415611f3a576123d6600183612d1f565b91506123e3600a86612e6a565b6123ee906030612d6c565b60f81b81838151811061240357612403612d36565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061243d600a86612e56565b94506123c5565b610fd582826040518060200160405280600081525061260b565b60006001600160a01b0384163b15612600576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906124bb903390899088908890600401612e7e565b602060405180830381600087803b1580156124d557600080fd5b505af1925050508015612505575060408051601f3d908101601f1916820190925261250291810190612eba565b60015b6125b5573d808015612533576040519150601f19603f3d011682016040523d82523d6000602084013e612538565b606091505b5080516125ad5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090e565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611f3a565b506001949350505050565b6126158383612694565b612622600084848461245e565b610bab5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090e565b6001600160a01b0382166126ea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161090e565b6000818152600260205260409020546001600160a01b03161561274f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161090e565b6001600160a01b0382166000908152600360205260408120805460019290612778908490612d6c565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546127ef90612cce565b90600052602060002090601f0160209004810192826128115760008555612857565b82601f1061282a57805160ff1916838001178555612857565b82800160010185558215612857579182015b8281111561285757825182559160200191906001019061283c565b50612863929150612867565b5090565b5b808211156128635760008155600101612868565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610d6557600080fd5b6000602082840312156128bc57600080fd5b813561184e8161287c565b6001600160a01b0381168114610d6557600080fd5b6000602082840312156128ee57600080fd5b813561184e816128c7565b60005b838110156129145781810151838201526020016128fc565b838111156116f95750506000910152565b6000815180845261293d8160208601602086016128f9565b601f01601f19169290920160200192915050565b60208152600061184e6020830184612925565b60006020828403121561297657600080fd5b5035919050565b6000806040838503121561299057600080fd5b823561299b816128c7565b946020939093013593505050565b6000806000606084860312156129be57600080fd5b83356129c9816128c7565b925060208401356129d9816128c7565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b81811015612a2257835183529284019291840191600101612a06565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a6d57612a6d612a2e565b604052919050565b600067ffffffffffffffff831115612a8f57612a8f612a2e565b612aa26020601f19601f86011601612a44565b9050828152838383011115612ab657600080fd5b828260208301376000602084830101529392505050565b600060208284031215612adf57600080fd5b813567ffffffffffffffff811115612af657600080fd5b8201601f81018413612b0757600080fd5b611f3a84823560208401612a75565b60006020808385031215612b2957600080fd5b823567ffffffffffffffff80821115612b4157600080fd5b818501915085601f830112612b5557600080fd5b813581811115612b6757612b67612a2e565b8060051b9150612b78848301612a44565b8181529183018401918481019088841115612b9257600080fd5b938501935b83851015612bb057843582529385019390850190612b97565b98975050505050505050565b8015158114610d6557600080fd5b60008060408385031215612bdd57600080fd5b8235612be8816128c7565b91506020830135612bf881612bbc565b809150509250929050565b60008060008060808587031215612c1957600080fd5b8435612c24816128c7565b93506020850135612c34816128c7565b925060408501359150606085013567ffffffffffffffff811115612c5757600080fd5b8501601f81018713612c6857600080fd5b612c7787823560208401612a75565b91505092959194509250565b600060208284031215612c9557600080fd5b813561184e81612bbc565b60008060408385031215612cb357600080fd5b8235612cbe816128c7565b91506020830135612bf8816128c7565b600181811c90821680612ce257607f821691505b60208210811415612d0357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612d3157612d31612d09565b500390565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415612d6357612d63612d09565b60010192915050565b60008219821115612d7f57612d7f612d09565b500190565b6000600019821415612d9857612d98612d09565b5060010190565b600060208284031215612db157600080fd5b815161184e816128c7565b60008351612dce8184602088016128f9565b835190830190612de28183602088016128f9565b01949350505050565b600060208284031215612dfd57600080fd5b5051919050565b600060208284031215612e1657600080fd5b815161184e81612bbc565b6000816000190483118215151615612e3b57612e3b612d09565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e6557612e65612e40565b500490565b600082612e7957612e79612e40565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612eb06080830184612925565b9695505050505050565b600060208284031215612ecc57600080fd5b815161184e8161287c56fea2646970667358221220726a41d0853c6b4e2387a36cf25ab6f6e908379b629efb265c9ac9b22f1ff18364736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000005fba17737ee4809230946115c0e8a418bce70acc000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e636f736d69632d636f776769726c732e696f2f636f77626f792f0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.cosmic-cowgirls.io/cowboy/
Arg [1] : _cosmicCowGirls (address): 0x5fBA17737EE4809230946115c0E8a418Bce70ACC

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000005fba17737ee4809230946115c0e8a418bce70acc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [3] : 68747470733a2f2f6170692e636f736d69632d636f776769726c732e696f2f63
Arg [4] : 6f77626f792f0000000000000000000000000000000000000000000000000000


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.