ETH Price: $3,355.65 (-1.85%)

Token

CosmicCowGirls (CCG)
 

Overview

Max Total Supply

6,969 CCG

Holders

3,291

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
obstacle1.eth
Balance
9 CCG
0x317fdBf289a41435df30efcb00015f95B1eaDDfE
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Cosmic Cowgirls is a collection of 6,969 randomly generated space cowgirl NFTs on the Ethereum blockchain. The Cosmic Cowgirl collection embraces three prominent themes: cowgirls, space, and anime. Each cowgirl features bright colors, unique traits, and a signature cowgirl hat.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CosmicCowGirls

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1500 runs

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

import "./ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./WithdrawFairly.sol";

contract CosmicCowGirls is ERC721, Ownable, WithdrawFairly {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;
    Counters.Counter private _burnedTracker;

    uint256 public constant MAX_ELEMENTS = 6969;
    uint256 public constant RESERVE_NFT = 120;
    uint256 public constant PRICE = 0.069 ether;
    uint256 public constant MAX_MINT_PRE_SALES = 2;
    uint256 public constant MAX_OWNED_PRE_SALES = 2;
    uint256 public constant MAX_MINT_SALES = 6;
    uint256 public constant START_AT = 1;

    uint256 public preSalesStart = 1634932800; // 2021-10-22 at 20:00:00 UTC
    uint256 public preSalesDuration = 1 days;
    uint256 public publicSalesStart = 1635019200; // 2021-10-23 at 20:00:00 UTC

    uint256 private constant HASH_SIGN = 8915721385;

    string public baseTokenURI;

    event EventPreSaleStartChange(uint256 _date);
    event EventPreSaleDurationChange(uint256 _duration);
    event EventPublicSaleStartChange(uint256 _date);
    event EventMint(uint256[] _tokens, uint256 _totalSupply);

    constructor(string memory baseURI) ERC721("CosmicCowGirls", "CCG") WithdrawFairly() {
        setBaseURI(baseURI);
    }

    //******************************************************//
    //                     Modifier                         //
    //******************************************************//
    modifier preSaleIsOpen {
        require(totalMinted() <= MAX_ELEMENTS, "Sale end");
        if (_msgSender() != owner()) {
            require(preSalesIsOpen(), "PreSales not open");
        }
        _;
    }
    modifier saleIsOpen {
        require(totalMinted() <= MAX_ELEMENTS, "Sale end");
        if (_msgSender() != owner()) {
            require(publicSalesIsOpen(), "PublicSales not open");
        }
        _;
    }

    //******************************************************//
    //                      Mint                            //
    //******************************************************//
    function preSalesMint(uint256 _count, bytes memory _signature) public payable preSaleIsOpen{

        address wallet = _msgSender();
        uint256 total = totalMinted();

        require(_count <= MAX_MINT_PRE_SALES, "Exceeds number");
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(balanceOf(wallet) + _count <= MAX_OWNED_PRE_SALES, "Max minted");
        require(msg.value >= price(_count), "Value below price");
        require(preSalesSignature(wallet,_count,_signature) == owner(), "Not authorized to mint");

        uint256[] memory tokens = new uint256[](_count);

        for (uint256 i = 0; i < _count; i++) {
            tokens[i] = _mintAnElement(wallet);
        }

        emit EventMint(tokens, totalMinted());
    }
    function preSalesSignature(address _wallet, uint256 _count, bytes memory _signature) public pure returns(address){
        return ECDSA.recover(keccak256(abi.encode(_wallet, _count, HASH_SIGN)), _signature);
    }

    function publicSalesMint(uint256 _count) public payable saleIsOpen {

        address wallet = _msgSender();
        uint256 total = totalMinted();

        require(_count <= MAX_MINT_SALES, "Exceeds number");
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(msg.value >= price(_count), "Value below price");

        uint256[] memory tokens = new uint256[](_count);

        for (uint256 i = 0; i < _count; i++) {
            tokens[i] = _mintAnElement(wallet);
        }

        emit EventMint(tokens, totalMinted());
    }

    function _mintAnElement(address _to) private returns(uint256){
        uint id = totalMinted() + START_AT;
        _tokenIdTracker.increment();
        _safeMint(_to, id);

        return id;
    }

    //******************************************************//
    //                      Base                            //
    //******************************************************//
    function totalSupply() public view returns (uint256) {
        return _tokenIdTracker.current() - _burnedTracker.current();
    }
    function totalMinted() public view returns (uint256) {
        return _tokenIdTracker.current();
    }
    function price(uint256 _count) public pure returns (uint256) {
        return PRICE.mul(_count);
    }
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }
    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }
    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        uint256 key = 0;
        uint256[] memory tokensId = new uint256[](tokenCount);

        for (uint256 i = START_AT; i <= totalMinted(); i++) {
            if(rawOwnerOf(i) == _owner){
                tokensId[key] = i;
                key++;

                if(key == tokenCount){
                    break;
                }
            }
        }
        return tokensId;
    }
    function reserve(uint256 _count) public onlyOwner {
        uint256 total = totalMinted();
        require(total + _count <= RESERVE_NFT, "Exceeded");
        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_msgSender());
        }
    }

    //******************************************************//
    //                      States                          //
    //******************************************************//
    function preSalesIsOpen() public view returns (bool){
        return block.timestamp >= preSalesStart && block.timestamp <= preSalesStart + preSalesDuration;
    }
    function publicSalesIsOpen() public view returns (bool){
        return block.timestamp >= publicSalesStart;
    }

    //******************************************************//
    //                      Setters                         //
    //******************************************************//
    function setPreSalesStart(uint256 _start) public onlyOwner {
        preSalesStart = _start;
        emit EventPreSaleStartChange(preSalesStart);
    }
    function setPreSalesDuration(uint256 _duration) public onlyOwner {
        preSalesDuration = _duration;
        emit EventPreSaleDurationChange(preSalesDuration);
    }
    function setPublicSalesStart(uint256 _start) public onlyOwner {
        publicSalesStart = _start;
        emit EventPublicSaleStartChange(publicSalesStart);
    }

    //******************************************************//
    //                      Brun                            //
    //******************************************************//
    function burn(uint256 tokenId) public virtual {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not owner nor approved");
        _burnedTracker.increment();
        _burn(tokenId);
    }

}

File 2 of 15 : 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 {}
}

File 3 of 15 : WithdrawFairly.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

contract WithdrawFairly is Ownable {
    using SafeMath for uint256;

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

    Part[] public parts;

    constructor(){
        parts.push(Part(0xC2827C709fA31404a623a1BBc6206F14acEeaFED, 65, 50)); // creator
        parts.push(Part(0xcBCc84766F2950CF867f42D766c43fB2D2Ba3256, 35, 50)); // dev
    }

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

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

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

    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.");
    }

    receive() external payable {}

}

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 6 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 7 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 8 of 15 : Address.sol
// SPDX-License-Identifier: MIT

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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 9 of 15 : Context.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 11 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

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 12 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return recover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return recover(hash, r, vs);
        } else {
            revert("ECDSA: invalid signature length");
        }
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(
            uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
            "ECDSA: invalid signature 's' value"
        );
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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 15 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"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":false,"internalType":"uint256[]","name":"_tokens","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"EventMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"EventPreSaleDurationChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_date","type":"uint256"}],"name":"EventPreSaleStartChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_date","type":"uint256"}],"name":"EventPublicSaleStartChange","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_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PRE_SALES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_SALES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_OWNED_PRE_SALES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_NFT","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":"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":[{"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":"preSalesDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalesIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"preSalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"preSalesSignature","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"preSalesStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"publicSalesIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"publicSalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalesStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"rawOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserve","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":"uint256","name":"_duration","type":"uint256"}],"name":"setPreSalesDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"}],"name":"setPreSalesStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"}],"name":"setPublicSalesStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"withdrawSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526361731840600a5562015180600b5563617469c0600c553480156200002857600080fd5b506040516200387c3803806200387c8339810160408190526200004b91620003a2565b604080518082018252600e81526d436f736d6963436f774769726c7360901b60208083019182528351808501909452600384526243434760e81b9084015281519192916200009c91600091620002e6565b508051620000b2906001906020840190620002e6565b505050620000cf620000c96200021860201b60201c565b6200021c565b604080516060808201835273c2827c709fa31404a623a1bbc6206f14aceeafed82526041602080840191825260328486018181526007805460018082018355600083815298517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600393840281810180546001600160a01b03199081166001600160a01b039586161790915599517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898083019190915596517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a918201558c519a8b018d5273cbcc84766f2950cf867f42d766c43fb2d2ba32568b526023988b019889529b8a019687528454928301855593909952965196029081018054909516959096169490941790925551918301919091555191015562000211816200026e565b50620004bb565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620002cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620002e290600d906020840190620002e6565b5050565b828054620002f4906200047e565b90600052602060002090601f01602090048101928262000318576000855562000363565b82601f106200033357805160ff191683800117855562000363565b8280016001018555821562000363579182015b828111156200036357825182559160200191906001019062000346565b506200037192915062000375565b5090565b5b8082111562000371576000815560010162000376565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620003b657600080fd5b82516001600160401b0380821115620003ce57600080fd5b818501915085601f830112620003e357600080fd5b815181811115620003f857620003f86200038c565b604051601f8201601f19908116603f011681019083821181831017156200042357620004236200038c565b8160405282815288868487010111156200043c57600080fd5b600093505b8284101562000460578484018601518185018701529285019262000441565b82841115620004725760008684830101525b98975050505050505050565b600181811c908216806200049357607f821691505b60208210811415620004b557634e487b7160e01b600052602260045260246000fd5b50919050565b6133b180620004cb6000396000f3fe6080604052600436106103015760003560e01c806370a082311161018f578063a2309ff8116100e1578063d2f0c08e1161008a578063e985e9c511610064578063e985e9c51461081f578063f2fde38b14610868578063fef907351461056457600080fd5b8063d2f0c08e146107d4578063d547cfb7146107f4578063dd08898f1461080957600080fd5b8063bf7b766d116100bb578063bf7b766d1461075a578063c87b56dd1461076f578063c9eb46621461078f57600080fd5b8063a2309ff814610705578063b88d4fde1461071a578063bce4bb071461073a57600080fd5b80638d859f3e116101435780639bbce9751161011d5780639bbce975146106bc5780639e47efb8146106d2578063a22cb465146106e557600080fd5b80638d859f3e1461066e5780638da5cb5b1461068957806395d89b41146106a757600080fd5b80637f81be69116101745780637f81be6914610603578063819b25ba146106395780638d007f691461065957600080fd5b806370a08231146105ce578063715018a6146105ee57600080fd5b80632c4ef5d511610253578063438b6300116101fc57806355f804b3116101d657806355f804b31461057957806357e721f5146105995780636352211e146105ae57600080fd5b8063438b6300146105245780634d192b83146105515780634e45c8f91461056457600080fd5b806337369b221161022d57806337369b22146104cf57806342842e0e146104e457806342966c681461050457600080fd5b80632c4ef5d5146104835780632cdd74e9146104995780633502a716146104b957600080fd5b806321215614116102b557806323b872dd1161028f57806323b872dd1461042e57806324442a131461044e57806326a49e371461046357600080fd5b806321215614146103e157806321be2eb11461040157806321c34fcb1461041957600080fd5b8063081812fc116102e6578063081812fc14610364578063095ea7b31461039c57806318160ddd146103be57600080fd5b806301ffc9a71461030d57806306fdde031461034257600080fd5b3661030857005b600080fd5b34801561031957600080fd5b5061032d610328366004612db7565b610888565b60405190151581526020015b60405180910390f35b34801561034e57600080fd5b50610357610925565b6040516103399190612e2c565b34801561037057600080fd5b5061038461037f366004612e3f565b6109b7565b6040516001600160a01b039091168152602001610339565b3480156103a857600080fd5b506103bc6103b7366004612e74565b610a62565b005b3480156103ca57600080fd5b506103d3610bb2565b604051908152602001610339565b3480156103ed57600080fd5b506103bc6103fc366004612e3f565b610bcf565b34801561040d57600080fd5b50600c5442101561032d565b34801561042557600080fd5b506103bc610c65565b34801561043a57600080fd5b506103bc610449366004612e9e565b610e06565b34801561045a57600080fd5b506103d3600681565b34801561046f57600080fd5b506103d361047e366004612e3f565b610e8e565b34801561048f57600080fd5b506103d3600b5481565b3480156104a557600080fd5b506103bc6104b4366004612e3f565b610ea1565b3480156104c557600080fd5b506103d3611b3981565b3480156104db57600080fd5b506103bc610f30565b3480156104f057600080fd5b506103bc6104ff366004612e9e565b6110a7565b34801561051057600080fd5b506103bc61051f366004612e3f565b6110c2565b34801561053057600080fd5b5061054461053f366004612eda565b61112e565b6040516103399190612f30565b6103bc61055f366004612e3f565b61120b565b34801561057057600080fd5b506103d3600281565b34801561058557600080fd5b506103bc610594366004612fcf565b6114aa565b3480156105a557600080fd5b5061032d61151b565b3480156105ba57600080fd5b506103846105c9366004612e3f565b611542565b3480156105da57600080fd5b506103d36105e9366004612eda565b6115cd565b3480156105fa57600080fd5b506103bc611667565b34801561060f57600080fd5b5061038461061e366004612e3f565b6000908152600260205260409020546001600160a01b031690565b34801561064557600080fd5b506103bc610654366004612e3f565b6116cd565b34801561066557600080fd5b506103d3607881565b34801561067a57600080fd5b506103d366f523226980800081565b34801561069557600080fd5b506006546001600160a01b0316610384565b3480156106b357600080fd5b506103576117b4565b3480156106c857600080fd5b506103d3600a5481565b6103bc6106e0366004613038565b6117c3565b3480156106f157600080fd5b506103bc61070036600461307f565b611b36565b34801561071157600080fd5b506103d3611bfb565b34801561072657600080fd5b506103bc6107353660046130bb565b611c06565b34801561074657600080fd5b506103bc610755366004612e3f565b611c94565b34801561076657600080fd5b506103d3600181565b34801561077b57600080fd5b5061035761078a366004612e3f565b611d23565b34801561079b57600080fd5b506107af6107aa366004612e3f565b611e0c565b604080516001600160a01b039094168452602084019290925290820152606001610339565b3480156107e057600080fd5b506103846107ef366004613123565b611e49565b34801561080057600080fd5b50610357611e9b565b34801561081557600080fd5b506103d3600c5481565b34801561082b57600080fd5b5061032d61083a36600461317a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561087457600080fd5b506103bc610883366004612eda565b611f29565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108eb57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091f57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060008054610934906131ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610960906131ad565b80156109ad5780601f10610982576101008083540402835291602001916109ad565b820191906000526020600020905b81548152906001019060200180831161099057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a6d82611542565b9050806001600160a01b0316836001600160a01b03161415610af75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a3d565b336001600160a01b0382161480610b3157506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610ba35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a3d565b610bad8383612008565b505050565b6000610bbd60095490565b600854610bca91906131fe565b905090565b6006546001600160a01b03163314610c295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600a8190556040518181527f509cf79c87992b99aa6dd19330ff42f36cf75a1b84bc9c8ce31094fcfaf16045906020015b60405180910390a150565b6006546001600160a01b03163314610cbf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b4780610d0d5760405162461bcd60e51b815260206004820152601460248201527f436f6e74726163742042616c616e6365203d20300000000000000000000000006044820152606401610a3d565b60005b60075460ff82161015610de757600060078260ff1681548110610d3557610d35613215565b9060005260206000209060030201600201541115610dd557610dd560078260ff1681548110610d6657610d66613215565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316610dd06064610dca60078660ff1681548110610da957610da9613215565b9060005260206000209060030201600201548761208390919063ffffffff16565b9061208f565b61209b565b80610ddf8161322b565b915050610d10565b50610e03610dfd6006546001600160a01b031690565b4761209b565b50565b610e11335b8261213e565b610e835760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a3d565b610bad838383612242565b600061091f66f523226980800083612083565b6006546001600160a01b03163314610efb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600c8190556040518181527fb1310ac306da4154533ab0ed626b50b5a136ccd3bce4cc8ed19a41511bf8ffd090602001610c5a565b6006546001600160a01b03163314610f8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b4780610fd85760405162461bcd60e51b815260206004820152601160248201527f53616c65732042616c616e6365203d20300000000000000000000000000000006044820152606401610a3d565b60005b60075460ff82161015610de757600060078260ff168154811061100057611000613215565b90600052602060002090600302016001015411156110955761109560078260ff168154811061103157611031613215565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316610dd06064610dca60078660ff168154811061107457611074613215565b9060005260206000209060030201600101548761208390919063ffffffff16565b8061109f8161322b565b915050610fdb565b610bad83838360405180602001604052806000815250611c06565b6110cb33610e0b565b6111175760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f766564000000000000000000006044820152606401610a3d565b611125600980546001019055565b610e038161241c565b6060600061113b836115cd565b90506000808267ffffffffffffffff81111561115957611159612f43565b604051908082528060200260200182016040528015611182578160200160208202803683370190505b50905060015b611190611bfb565b8111611202576000818152600260205260409020546001600160a01b03878116911614156111f057808284815181106111cb576111cb613215565b6020908102919091010152826111e08161324b565b935050838314156111f057611202565b806111fa8161324b565b915050611188565b50949350505050565b611b39611216611bfb565b11156112645760405162461bcd60e51b815260206004820152600860248201527f53616c6520656e640000000000000000000000000000000000000000000000006044820152606401610a3d565b6006546001600160a01b031633146112c857600c544210156112c85760405162461bcd60e51b815260206004820152601460248201527f5075626c696353616c6573206e6f74206f70656e0000000000000000000000006044820152606401610a3d565b3360006112d3611bfb565b905060068311156113265760405162461bcd60e51b815260206004820152600e60248201527f45786365656473206e756d6265720000000000000000000000000000000000006044820152606401610a3d565b611b396113338483613266565b11156113815760405162461bcd60e51b815260206004820152600960248201527f4d6178206c696d697400000000000000000000000000000000000000000000006044820152606401610a3d565b61138a83610e8e565b3410156113d95760405162461bcd60e51b815260206004820152601160248201527f56616c75652062656c6f772070726963650000000000000000000000000000006044820152606401610a3d565b60008367ffffffffffffffff8111156113f4576113f4612f43565b60405190808252806020026020018201604052801561141d578160200160208202803683370190505b50905060005b8481101561146357611434846124c9565b82828151811061144657611446613215565b60209081029190910101528061145b8161324b565b915050611423565b507fbd638855c27d1e816a8eddbec7dc62d1aa497d29971426dd68dc30a6b12c006a8161148e611bfb565b60405161149c92919061327e565b60405180910390a150505050565b6006546001600160a01b031633146115045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b805161151790600d906020840190612d08565b5050565b6000600a544210158015610bca5750600b54600a5461153a9190613266565b421115905090565b6000818152600260205260408120546001600160a01b03168061091f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a3d565b60006001600160a01b03821661164b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a3d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146116c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b6116cb60006124fa565b565b6006546001600160a01b031633146117275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b6000611731611bfb565b9050607861173f8383613266565b111561178d5760405162461bcd60e51b815260206004820152600860248201527f45786365656465640000000000000000000000000000000000000000000000006044820152606401610a3d565b60005b82811015610bad576117a1336124c9565b50806117ac8161324b565b915050611790565b606060018054610934906131ad565b611b396117ce611bfb565b111561181c5760405162461bcd60e51b815260206004820152600860248201527f53616c6520656e640000000000000000000000000000000000000000000000006044820152606401610a3d565b6006546001600160a01b031633146118825761183661151b565b6118825760405162461bcd60e51b815260206004820152601160248201527f50726553616c6573206e6f74206f70656e0000000000000000000000000000006044820152606401610a3d565b33600061188d611bfb565b905060028411156118e05760405162461bcd60e51b815260206004820152600e60248201527f45786365656473206e756d6265720000000000000000000000000000000000006044820152606401610a3d565b611b396118ed8583613266565b111561193b5760405162461bcd60e51b815260206004820152600960248201527f4d6178206c696d697400000000000000000000000000000000000000000000006044820152606401610a3d565b600284611947846115cd565b6119519190613266565b111561199f5760405162461bcd60e51b815260206004820152600a60248201527f4d6178206d696e746564000000000000000000000000000000000000000000006044820152606401610a3d565b6119a884610e8e565b3410156119f75760405162461bcd60e51b815260206004820152601160248201527f56616c75652062656c6f772070726963650000000000000000000000000000006044820152606401610a3d565b6006546001600160a01b0316611a0e838686611e49565b6001600160a01b031614611a645760405162461bcd60e51b815260206004820152601660248201527f4e6f7420617574686f72697a656420746f206d696e74000000000000000000006044820152606401610a3d565b60008467ffffffffffffffff811115611a7f57611a7f612f43565b604051908082528060200260200182016040528015611aa8578160200160208202803683370190505b50905060005b85811015611aee57611abf846124c9565b828281518110611ad157611ad1613215565b602090810291909101015280611ae68161324b565b915050611aae565b507fbd638855c27d1e816a8eddbec7dc62d1aa497d29971426dd68dc30a6b12c006a81611b19611bfb565b604051611b2792919061327e565b60405180910390a15050505050565b6001600160a01b038216331415611b8f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a3d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610bca60085490565b611c10338361213e565b611c825760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a3d565b611c8e84848484612559565b50505050565b6006546001600160a01b03163314611cee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600b8190556040518181527fcba3f2dff80915a9fbac85a250da7be1cc07676bafc46ae1de30a34331ae2e0b90602001610c5a565b6000818152600260205260409020546060906001600160a01b0316611db05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a3d565b6000611dba6125e2565b90506000815111611dda5760405180602001604052806000815250611e05565b80611de4846125f1565b604051602001611df59291906132a0565b6040516020818303038152906040525b9392505050565b60078181548110611e1c57600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b604080516001600160a01b03851660208201529081018390526402136b1ca96060820152600090611e93906080016040516020818303038152906040528051906020012083612723565b949350505050565b600d8054611ea8906131ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611ed4906131ad565b8015611f215780601f10611ef657610100808354040283529160200191611f21565b820191906000526020600020905b815481529060010190602001808311611f0457829003601f168201915b505050505081565b6006546001600160a01b03163314611f835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b6001600160a01b038116611fff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a3d565b610e03816124fa565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061204a82611542565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e0582846132cf565b6000611e058284613304565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120e8576040519150601f19603f3d011682016040523d82523d6000602084013e6120ed565b606091505b5050905080610bad5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610a3d565b6000818152600260205260408120546001600160a01b03166121c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a3d565b60006121d383611542565b9050806001600160a01b0316846001600160a01b0316148061220e5750836001600160a01b0316612203846109b7565b6001600160a01b0316145b80611e9357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611e93565b826001600160a01b031661225582611542565b6001600160a01b0316146122d15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a3d565b6001600160a01b03821661234c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a3d565b612357600082612008565b6001600160a01b03831660009081526003602052604081208054600192906123809084906131fe565b90915550506001600160a01b03821660009081526003602052604081208054600192906123ae908490613266565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061242782611542565b90506000612436600084612008565b6001600160a01b038216600090815260036020526040812080546001929061245f9084906131fe565b9091555050600083815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555184916001600160a01b0384811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008060016124d6611bfb565b6124e09190613266565b90506124f0600880546001019055565b61091f83826127c7565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612564848484612242565b612570848484846127e1565b611c8e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a3d565b6060600d8054610934906131ad565b60608161263157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561265b57806126458161324b565b91506126549050600a83613304565b9150612635565b60008167ffffffffffffffff81111561267657612676612f43565b6040519080825280601f01601f1916602001820160405280156126a0576020820181803683370190505b5090505b8415611e93576126b56001836131fe565b91506126c2600a86613318565b6126cd906030613266565b60f81b8183815181106126e2576126e2613215565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061271c600a86613304565b94506126a4565b60008151604114156127575760208201516040830151606084015160001a61274d86828585612944565b935050505061091f565b81516040141561277f5760208201516040830151612776858383612aed565b9250505061091f565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a3d565b611517828260405180602001604052806000815250612b30565b60006001600160a01b0384163b1561293957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061282590339089908890889060040161332c565b602060405180830381600087803b15801561283f57600080fd5b505af192505050801561286f575060408051601f3d908101601f1916820190925261286c9181019061335e565b60015b61291f573d80801561289d576040519150601f19603f3d011682016040523d82523d6000602084013e6128a2565b606091505b5080516129175760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a3d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e93565b506001949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156129c15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a3d565b8360ff16601b14806129d657508360ff16601c145b612a2d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a3d565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612a81573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ae45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a3d565b95945050505050565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b01612b2686828785612944565b9695505050505050565b612b3a8383612bb9565b612b4760008484846127e1565b610bad5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a3d565b6001600160a01b038216612c0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a3d565b6000818152600260205260409020546001600160a01b031615612c745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a3d565b6001600160a01b0382166000908152600360205260408120805460019290612c9d908490613266565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612d14906131ad565b90600052602060002090601f016020900481019282612d365760008555612d7c565b82601f10612d4f57805160ff1916838001178555612d7c565b82800160010185558215612d7c579182015b82811115612d7c578251825591602001919060010190612d61565b50612d88929150612d8c565b5090565b5b80821115612d885760008155600101612d8d565b6001600160e01b031981168114610e0357600080fd5b600060208284031215612dc957600080fd5b8135611e0581612da1565b60005b83811015612def578181015183820152602001612dd7565b83811115611c8e5750506000910152565b60008151808452612e18816020860160208601612dd4565b601f01601f19169290920160200192915050565b602081526000611e056020830184612e00565b600060208284031215612e5157600080fd5b5035919050565b80356001600160a01b0381168114612e6f57600080fd5b919050565b60008060408385031215612e8757600080fd5b612e9083612e58565b946020939093013593505050565b600080600060608486031215612eb357600080fd5b612ebc84612e58565b9250612eca60208501612e58565b9150604084013590509250925092565b600060208284031215612eec57600080fd5b611e0582612e58565b600081518084526020808501945080840160005b83811015612f2557815187529582019590820190600101612f09565b509495945050505050565b602081526000611e056020830184612ef5565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612f7457612f74612f43565b604051601f8501601f19908116603f01168101908282118183101715612f9c57612f9c612f43565b81604052809350858152868686011115612fb557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612fe157600080fd5b813567ffffffffffffffff811115612ff857600080fd5b8201601f8101841361300957600080fd5b611e9384823560208401612f59565b600082601f83011261302957600080fd5b611e0583833560208501612f59565b6000806040838503121561304b57600080fd5b82359150602083013567ffffffffffffffff81111561306957600080fd5b61307585828601613018565b9150509250929050565b6000806040838503121561309257600080fd5b61309b83612e58565b9150602083013580151581146130b057600080fd5b809150509250929050565b600080600080608085870312156130d157600080fd5b6130da85612e58565b93506130e860208601612e58565b925060408501359150606085013567ffffffffffffffff81111561310b57600080fd5b61311787828801613018565b91505092959194509250565b60008060006060848603121561313857600080fd5b61314184612e58565b925060208401359150604084013567ffffffffffffffff81111561316457600080fd5b61317086828701613018565b9150509250925092565b6000806040838503121561318d57600080fd5b61319683612e58565b91506131a460208401612e58565b90509250929050565b600181811c908216806131c157607f821691505b602082108114156131e257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015613210576132106131e8565b500390565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415613242576132426131e8565b60010192915050565b600060001982141561325f5761325f6131e8565b5060010190565b60008219821115613279576132796131e8565b500190565b6040815260006132916040830185612ef5565b90508260208301529392505050565b600083516132b2818460208801612dd4565b8351908301906132c6818360208801612dd4565b01949350505050565b60008160001904831182151516156132e9576132e96131e8565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613313576133136132ee565b500490565b600082613327576133276132ee565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b266080830184612e00565b60006020828403121561337057600080fd5b8151611e0581612da156fea26469706673582212207ce86c30e5981451933ec0a66574c7c485eaec88d837dbd54d528a9ca9ae0c2264736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f6170692e636f736d69632d636f776769726c732e696f2f636f776769726c2f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103015760003560e01c806370a082311161018f578063a2309ff8116100e1578063d2f0c08e1161008a578063e985e9c511610064578063e985e9c51461081f578063f2fde38b14610868578063fef907351461056457600080fd5b8063d2f0c08e146107d4578063d547cfb7146107f4578063dd08898f1461080957600080fd5b8063bf7b766d116100bb578063bf7b766d1461075a578063c87b56dd1461076f578063c9eb46621461078f57600080fd5b8063a2309ff814610705578063b88d4fde1461071a578063bce4bb071461073a57600080fd5b80638d859f3e116101435780639bbce9751161011d5780639bbce975146106bc5780639e47efb8146106d2578063a22cb465146106e557600080fd5b80638d859f3e1461066e5780638da5cb5b1461068957806395d89b41146106a757600080fd5b80637f81be69116101745780637f81be6914610603578063819b25ba146106395780638d007f691461065957600080fd5b806370a08231146105ce578063715018a6146105ee57600080fd5b80632c4ef5d511610253578063438b6300116101fc57806355f804b3116101d657806355f804b31461057957806357e721f5146105995780636352211e146105ae57600080fd5b8063438b6300146105245780634d192b83146105515780634e45c8f91461056457600080fd5b806337369b221161022d57806337369b22146104cf57806342842e0e146104e457806342966c681461050457600080fd5b80632c4ef5d5146104835780632cdd74e9146104995780633502a716146104b957600080fd5b806321215614116102b557806323b872dd1161028f57806323b872dd1461042e57806324442a131461044e57806326a49e371461046357600080fd5b806321215614146103e157806321be2eb11461040157806321c34fcb1461041957600080fd5b8063081812fc116102e6578063081812fc14610364578063095ea7b31461039c57806318160ddd146103be57600080fd5b806301ffc9a71461030d57806306fdde031461034257600080fd5b3661030857005b600080fd5b34801561031957600080fd5b5061032d610328366004612db7565b610888565b60405190151581526020015b60405180910390f35b34801561034e57600080fd5b50610357610925565b6040516103399190612e2c565b34801561037057600080fd5b5061038461037f366004612e3f565b6109b7565b6040516001600160a01b039091168152602001610339565b3480156103a857600080fd5b506103bc6103b7366004612e74565b610a62565b005b3480156103ca57600080fd5b506103d3610bb2565b604051908152602001610339565b3480156103ed57600080fd5b506103bc6103fc366004612e3f565b610bcf565b34801561040d57600080fd5b50600c5442101561032d565b34801561042557600080fd5b506103bc610c65565b34801561043a57600080fd5b506103bc610449366004612e9e565b610e06565b34801561045a57600080fd5b506103d3600681565b34801561046f57600080fd5b506103d361047e366004612e3f565b610e8e565b34801561048f57600080fd5b506103d3600b5481565b3480156104a557600080fd5b506103bc6104b4366004612e3f565b610ea1565b3480156104c557600080fd5b506103d3611b3981565b3480156104db57600080fd5b506103bc610f30565b3480156104f057600080fd5b506103bc6104ff366004612e9e565b6110a7565b34801561051057600080fd5b506103bc61051f366004612e3f565b6110c2565b34801561053057600080fd5b5061054461053f366004612eda565b61112e565b6040516103399190612f30565b6103bc61055f366004612e3f565b61120b565b34801561057057600080fd5b506103d3600281565b34801561058557600080fd5b506103bc610594366004612fcf565b6114aa565b3480156105a557600080fd5b5061032d61151b565b3480156105ba57600080fd5b506103846105c9366004612e3f565b611542565b3480156105da57600080fd5b506103d36105e9366004612eda565b6115cd565b3480156105fa57600080fd5b506103bc611667565b34801561060f57600080fd5b5061038461061e366004612e3f565b6000908152600260205260409020546001600160a01b031690565b34801561064557600080fd5b506103bc610654366004612e3f565b6116cd565b34801561066557600080fd5b506103d3607881565b34801561067a57600080fd5b506103d366f523226980800081565b34801561069557600080fd5b506006546001600160a01b0316610384565b3480156106b357600080fd5b506103576117b4565b3480156106c857600080fd5b506103d3600a5481565b6103bc6106e0366004613038565b6117c3565b3480156106f157600080fd5b506103bc61070036600461307f565b611b36565b34801561071157600080fd5b506103d3611bfb565b34801561072657600080fd5b506103bc6107353660046130bb565b611c06565b34801561074657600080fd5b506103bc610755366004612e3f565b611c94565b34801561076657600080fd5b506103d3600181565b34801561077b57600080fd5b5061035761078a366004612e3f565b611d23565b34801561079b57600080fd5b506107af6107aa366004612e3f565b611e0c565b604080516001600160a01b039094168452602084019290925290820152606001610339565b3480156107e057600080fd5b506103846107ef366004613123565b611e49565b34801561080057600080fd5b50610357611e9b565b34801561081557600080fd5b506103d3600c5481565b34801561082b57600080fd5b5061032d61083a36600461317a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561087457600080fd5b506103bc610883366004612eda565b611f29565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108eb57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091f57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060008054610934906131ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610960906131ad565b80156109ad5780601f10610982576101008083540402835291602001916109ad565b820191906000526020600020905b81548152906001019060200180831161099057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a6d82611542565b9050806001600160a01b0316836001600160a01b03161415610af75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a3d565b336001600160a01b0382161480610b3157506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610ba35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a3d565b610bad8383612008565b505050565b6000610bbd60095490565b600854610bca91906131fe565b905090565b6006546001600160a01b03163314610c295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600a8190556040518181527f509cf79c87992b99aa6dd19330ff42f36cf75a1b84bc9c8ce31094fcfaf16045906020015b60405180910390a150565b6006546001600160a01b03163314610cbf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b4780610d0d5760405162461bcd60e51b815260206004820152601460248201527f436f6e74726163742042616c616e6365203d20300000000000000000000000006044820152606401610a3d565b60005b60075460ff82161015610de757600060078260ff1681548110610d3557610d35613215565b9060005260206000209060030201600201541115610dd557610dd560078260ff1681548110610d6657610d66613215565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316610dd06064610dca60078660ff1681548110610da957610da9613215565b9060005260206000209060030201600201548761208390919063ffffffff16565b9061208f565b61209b565b80610ddf8161322b565b915050610d10565b50610e03610dfd6006546001600160a01b031690565b4761209b565b50565b610e11335b8261213e565b610e835760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a3d565b610bad838383612242565b600061091f66f523226980800083612083565b6006546001600160a01b03163314610efb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600c8190556040518181527fb1310ac306da4154533ab0ed626b50b5a136ccd3bce4cc8ed19a41511bf8ffd090602001610c5a565b6006546001600160a01b03163314610f8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b4780610fd85760405162461bcd60e51b815260206004820152601160248201527f53616c65732042616c616e6365203d20300000000000000000000000000000006044820152606401610a3d565b60005b60075460ff82161015610de757600060078260ff168154811061100057611000613215565b90600052602060002090600302016001015411156110955761109560078260ff168154811061103157611031613215565b906000526020600020906003020160000160009054906101000a90046001600160a01b0316610dd06064610dca60078660ff168154811061107457611074613215565b9060005260206000209060030201600101548761208390919063ffffffff16565b8061109f8161322b565b915050610fdb565b610bad83838360405180602001604052806000815250611c06565b6110cb33610e0b565b6111175760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f766564000000000000000000006044820152606401610a3d565b611125600980546001019055565b610e038161241c565b6060600061113b836115cd565b90506000808267ffffffffffffffff81111561115957611159612f43565b604051908082528060200260200182016040528015611182578160200160208202803683370190505b50905060015b611190611bfb565b8111611202576000818152600260205260409020546001600160a01b03878116911614156111f057808284815181106111cb576111cb613215565b6020908102919091010152826111e08161324b565b935050838314156111f057611202565b806111fa8161324b565b915050611188565b50949350505050565b611b39611216611bfb565b11156112645760405162461bcd60e51b815260206004820152600860248201527f53616c6520656e640000000000000000000000000000000000000000000000006044820152606401610a3d565b6006546001600160a01b031633146112c857600c544210156112c85760405162461bcd60e51b815260206004820152601460248201527f5075626c696353616c6573206e6f74206f70656e0000000000000000000000006044820152606401610a3d565b3360006112d3611bfb565b905060068311156113265760405162461bcd60e51b815260206004820152600e60248201527f45786365656473206e756d6265720000000000000000000000000000000000006044820152606401610a3d565b611b396113338483613266565b11156113815760405162461bcd60e51b815260206004820152600960248201527f4d6178206c696d697400000000000000000000000000000000000000000000006044820152606401610a3d565b61138a83610e8e565b3410156113d95760405162461bcd60e51b815260206004820152601160248201527f56616c75652062656c6f772070726963650000000000000000000000000000006044820152606401610a3d565b60008367ffffffffffffffff8111156113f4576113f4612f43565b60405190808252806020026020018201604052801561141d578160200160208202803683370190505b50905060005b8481101561146357611434846124c9565b82828151811061144657611446613215565b60209081029190910101528061145b8161324b565b915050611423565b507fbd638855c27d1e816a8eddbec7dc62d1aa497d29971426dd68dc30a6b12c006a8161148e611bfb565b60405161149c92919061327e565b60405180910390a150505050565b6006546001600160a01b031633146115045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b805161151790600d906020840190612d08565b5050565b6000600a544210158015610bca5750600b54600a5461153a9190613266565b421115905090565b6000818152600260205260408120546001600160a01b03168061091f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a3d565b60006001600160a01b03821661164b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a3d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146116c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b6116cb60006124fa565b565b6006546001600160a01b031633146117275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b6000611731611bfb565b9050607861173f8383613266565b111561178d5760405162461bcd60e51b815260206004820152600860248201527f45786365656465640000000000000000000000000000000000000000000000006044820152606401610a3d565b60005b82811015610bad576117a1336124c9565b50806117ac8161324b565b915050611790565b606060018054610934906131ad565b611b396117ce611bfb565b111561181c5760405162461bcd60e51b815260206004820152600860248201527f53616c6520656e640000000000000000000000000000000000000000000000006044820152606401610a3d565b6006546001600160a01b031633146118825761183661151b565b6118825760405162461bcd60e51b815260206004820152601160248201527f50726553616c6573206e6f74206f70656e0000000000000000000000000000006044820152606401610a3d565b33600061188d611bfb565b905060028411156118e05760405162461bcd60e51b815260206004820152600e60248201527f45786365656473206e756d6265720000000000000000000000000000000000006044820152606401610a3d565b611b396118ed8583613266565b111561193b5760405162461bcd60e51b815260206004820152600960248201527f4d6178206c696d697400000000000000000000000000000000000000000000006044820152606401610a3d565b600284611947846115cd565b6119519190613266565b111561199f5760405162461bcd60e51b815260206004820152600a60248201527f4d6178206d696e746564000000000000000000000000000000000000000000006044820152606401610a3d565b6119a884610e8e565b3410156119f75760405162461bcd60e51b815260206004820152601160248201527f56616c75652062656c6f772070726963650000000000000000000000000000006044820152606401610a3d565b6006546001600160a01b0316611a0e838686611e49565b6001600160a01b031614611a645760405162461bcd60e51b815260206004820152601660248201527f4e6f7420617574686f72697a656420746f206d696e74000000000000000000006044820152606401610a3d565b60008467ffffffffffffffff811115611a7f57611a7f612f43565b604051908082528060200260200182016040528015611aa8578160200160208202803683370190505b50905060005b85811015611aee57611abf846124c9565b828281518110611ad157611ad1613215565b602090810291909101015280611ae68161324b565b915050611aae565b507fbd638855c27d1e816a8eddbec7dc62d1aa497d29971426dd68dc30a6b12c006a81611b19611bfb565b604051611b2792919061327e565b60405180910390a15050505050565b6001600160a01b038216331415611b8f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a3d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610bca60085490565b611c10338361213e565b611c825760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a3d565b611c8e84848484612559565b50505050565b6006546001600160a01b03163314611cee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600b8190556040518181527fcba3f2dff80915a9fbac85a250da7be1cc07676bafc46ae1de30a34331ae2e0b90602001610c5a565b6000818152600260205260409020546060906001600160a01b0316611db05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a3d565b6000611dba6125e2565b90506000815111611dda5760405180602001604052806000815250611e05565b80611de4846125f1565b604051602001611df59291906132a0565b6040516020818303038152906040525b9392505050565b60078181548110611e1c57600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b604080516001600160a01b03851660208201529081018390526402136b1ca96060820152600090611e93906080016040516020818303038152906040528051906020012083612723565b949350505050565b600d8054611ea8906131ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611ed4906131ad565b8015611f215780601f10611ef657610100808354040283529160200191611f21565b820191906000526020600020905b815481529060010190602001808311611f0457829003601f168201915b505050505081565b6006546001600160a01b03163314611f835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b6001600160a01b038116611fff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a3d565b610e03816124fa565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061204a82611542565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e0582846132cf565b6000611e058284613304565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120e8576040519150601f19603f3d011682016040523d82523d6000602084013e6120ed565b606091505b5050905080610bad5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610a3d565b6000818152600260205260408120546001600160a01b03166121c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a3d565b60006121d383611542565b9050806001600160a01b0316846001600160a01b0316148061220e5750836001600160a01b0316612203846109b7565b6001600160a01b0316145b80611e9357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611e93565b826001600160a01b031661225582611542565b6001600160a01b0316146122d15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a3d565b6001600160a01b03821661234c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a3d565b612357600082612008565b6001600160a01b03831660009081526003602052604081208054600192906123809084906131fe565b90915550506001600160a01b03821660009081526003602052604081208054600192906123ae908490613266565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061242782611542565b90506000612436600084612008565b6001600160a01b038216600090815260036020526040812080546001929061245f9084906131fe565b9091555050600083815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191690555184916001600160a01b0384811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008060016124d6611bfb565b6124e09190613266565b90506124f0600880546001019055565b61091f83826127c7565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612564848484612242565b612570848484846127e1565b611c8e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a3d565b6060600d8054610934906131ad565b60608161263157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561265b57806126458161324b565b91506126549050600a83613304565b9150612635565b60008167ffffffffffffffff81111561267657612676612f43565b6040519080825280601f01601f1916602001820160405280156126a0576020820181803683370190505b5090505b8415611e93576126b56001836131fe565b91506126c2600a86613318565b6126cd906030613266565b60f81b8183815181106126e2576126e2613215565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061271c600a86613304565b94506126a4565b60008151604114156127575760208201516040830151606084015160001a61274d86828585612944565b935050505061091f565b81516040141561277f5760208201516040830151612776858383612aed565b9250505061091f565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a3d565b611517828260405180602001604052806000815250612b30565b60006001600160a01b0384163b1561293957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061282590339089908890889060040161332c565b602060405180830381600087803b15801561283f57600080fd5b505af192505050801561286f575060408051601f3d908101601f1916820190925261286c9181019061335e565b60015b61291f573d80801561289d576040519150601f19603f3d011682016040523d82523d6000602084013e6128a2565b606091505b5080516129175760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a3d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e93565b506001949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156129c15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a3d565b8360ff16601b14806129d657508360ff16601c145b612a2d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a3d565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612a81573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ae45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a3d565b95945050505050565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b01612b2686828785612944565b9695505050505050565b612b3a8383612bb9565b612b4760008484846127e1565b610bad5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a3d565b6001600160a01b038216612c0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a3d565b6000818152600260205260409020546001600160a01b031615612c745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a3d565b6001600160a01b0382166000908152600360205260408120805460019290612c9d908490613266565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612d14906131ad565b90600052602060002090601f016020900481019282612d365760008555612d7c565b82601f10612d4f57805160ff1916838001178555612d7c565b82800160010185558215612d7c579182015b82811115612d7c578251825591602001919060010190612d61565b50612d88929150612d8c565b5090565b5b80821115612d885760008155600101612d8d565b6001600160e01b031981168114610e0357600080fd5b600060208284031215612dc957600080fd5b8135611e0581612da1565b60005b83811015612def578181015183820152602001612dd7565b83811115611c8e5750506000910152565b60008151808452612e18816020860160208601612dd4565b601f01601f19169290920160200192915050565b602081526000611e056020830184612e00565b600060208284031215612e5157600080fd5b5035919050565b80356001600160a01b0381168114612e6f57600080fd5b919050565b60008060408385031215612e8757600080fd5b612e9083612e58565b946020939093013593505050565b600080600060608486031215612eb357600080fd5b612ebc84612e58565b9250612eca60208501612e58565b9150604084013590509250925092565b600060208284031215612eec57600080fd5b611e0582612e58565b600081518084526020808501945080840160005b83811015612f2557815187529582019590820190600101612f09565b509495945050505050565b602081526000611e056020830184612ef5565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612f7457612f74612f43565b604051601f8501601f19908116603f01168101908282118183101715612f9c57612f9c612f43565b81604052809350858152868686011115612fb557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612fe157600080fd5b813567ffffffffffffffff811115612ff857600080fd5b8201601f8101841361300957600080fd5b611e9384823560208401612f59565b600082601f83011261302957600080fd5b611e0583833560208501612f59565b6000806040838503121561304b57600080fd5b82359150602083013567ffffffffffffffff81111561306957600080fd5b61307585828601613018565b9150509250929050565b6000806040838503121561309257600080fd5b61309b83612e58565b9150602083013580151581146130b057600080fd5b809150509250929050565b600080600080608085870312156130d157600080fd5b6130da85612e58565b93506130e860208601612e58565b925060408501359150606085013567ffffffffffffffff81111561310b57600080fd5b61311787828801613018565b91505092959194509250565b60008060006060848603121561313857600080fd5b61314184612e58565b925060208401359150604084013567ffffffffffffffff81111561316457600080fd5b61317086828701613018565b9150509250925092565b6000806040838503121561318d57600080fd5b61319683612e58565b91506131a460208401612e58565b90509250929050565b600181811c908216806131c157607f821691505b602082108114156131e257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015613210576132106131e8565b500390565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415613242576132426131e8565b60010192915050565b600060001982141561325f5761325f6131e8565b5060010190565b60008219821115613279576132796131e8565b500190565b6040815260006132916040830185612ef5565b90508260208301529392505050565b600083516132b2818460208801612dd4565b8351908301906132c6818360208801612dd4565b01949350505050565b60008160001904831182151516156132e9576132e96131e8565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613313576133136132ee565b500490565b600082613327576133276132ee565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b266080830184612e00565b60006020828403121561337057600080fd5b8151611e0581612da156fea26469706673582212207ce86c30e5981451933ec0a66574c7c485eaec88d837dbd54d528a9ca9ae0c2264736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f6170692e636f736d69632d636f776769726c732e696f2f636f776769726c2f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.cosmic-cowgirls.io/cowgirl/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [2] : 68747470733a2f2f6170692e636f736d69632d636f776769726c732e696f2f63
Arg [3] : 6f776769726c2f00000000000000000000000000000000000000000000000000


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.