ETH Price: $3,871.08 (+0.61%)

Token

Sad Girls Bar (SadGirlsBar)
 

Overview

Max Total Supply

10,000 SadGirlsBar

Holders

4,630

Market

Volume (24H)

0.0899 ETH

Min Price (24H)

$348.01 @ 0.089900 ETH

Max Price (24H)

$348.01 @ 0.089900 ETH
Filtered by Token Holder
yanissax.eth
Balance
2 SadGirlsBar
0x78c989bef5091c2cba2f973f6e73ee0589a37e72
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Hand-drawn, monochrome, and stylish Sad Girls were created by female artist Glam Beckett.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SadGirlsBar

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 13 of 15: SadGirlsBar.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

// @title: Sad Girls Bar
// @website: sadgirlsbar.io

//    ██████  ▄▄▄      ▓█████▄            
//  ▒██    ▒ ▒████▄    ▒██▀ ██▌           
//  ░ ▓██▄   ▒██  ▀█▄  ░██   █▌           
//    ▒   ██▒░██▄▄▄▄██ ░▓█▄   ▌           
//  ▒██████▒▒ ▓█   ▓██▒░▒████▓            
//  ▒ ▒▓▒ ▒ ░ ▒▒   ▓▒█░ ▒▒▓  ▒            
//  ░ ░▒  ░ ░  ▒   ▒▒ ░ ░ ▒  ▒            
//  ░  ░  ░    ░   ▒    ░ ░  ░            
//        ░        ░  ░   ░               
//                      ░                 
//    ▄████  ██▓ ██▀███   ██▓      ██████ 
//   ██▒ ▀█▒▓██▒▓██ ▒ ██▒▓██▒    ▒██    ▒ 
//  ▒██░▄▄▄░▒██▒▓██ ░▄█ ▒▒██░    ░ ▓██▄   
//  ░▓█  ██▓░██░▒██▀▀█▄  ▒██░      ▒   ██▒
//  ░▒▓███▀▒░██░░██▓ ▒██▒░██████▒▒██████▒▒
//   ░▒   ▒ ░▓  ░ ▒▓ ░▒▓░░ ▒░▓  ░▒ ▒▓▒ ▒ ░
//    ░   ░  ▒ ░  ░▒ ░ ▒░░ ░ ▒  ░░ ░▒  ░ ░
//  ░ ░   ░  ▒ ░  ░░   ░   ░ ░   ░  ░  ░  
//        ░  ░     ░         ░  ░      ░  
//                                        
//   ▄▄▄▄    ▄▄▄       ██▀███             
//  ▓█████▄ ▒████▄    ▓██ ▒ ██▒           
//  ▒██▒ ▄██▒██  ▀█▄  ▓██ ░▄█ ▒           
//  ▒██░█▀  ░██▄▄▄▄██ ▒██▀▀█▄             
//  ░▓█  ▀█▓ ▓█   ▓██▒░██▓ ▒██▒           
//  ░▒▓███▀▒ ▒▒   ▓▒█░░ ▒▓ ░▒▓░           
//  ▒░▒   ░   ▒   ▒▒ ░  ░▒ ░ ▒░           
//   ░    ░   ░   ▒     ░░   ░            
//   ░            ░  ░   ░                
//        ░                               

// OpenZeppelin
import "./ERC721.sol";
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./ERC165.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";


contract SadGirlsBar is ERC721, ERC721Enumerable, Ownable, ReentrancyGuard {
  using SafeMath for uint8;
  using SafeMath for uint256;
  using Strings for string;

  // Maximum total/giveaway tokens
  uint public constant MAX_TOKENS = 10000;
  uint public constant MAX_GIVEAWAY_TOKENS = 100;
  uint256 public constant TOKEN_PRICE = 70000000000000000; //0.07ETH

  // Emergency start/pause
  bool public isStarted = false;



  // Effectively a UUID. Only increments to avoid collisions
  // possible if we were reusing token IDs
  uint public countMintedGiveawayTokens = 0;
  uint public nextTokenId = 0;
  string private _baseTokenURI;


  /*
   * Set up the basics
   *
   * @dev It will NOT be ready to start sale immediately upon deploy
   */
  constructor(string memory baseURI) ERC721("Sad Girls Bar","SadGirlsBar") {
    setBaseURI(baseURI);
  }

  /*
   * Get the tokens owned by _owner
   */
  function tokensOfOwner(address _owner) external view returns(uint256[] memory ) {
    uint256 tokenCount = balanceOf(_owner);
    if (tokenCount == 0) {
      // Return an empty array
      return new uint256[](0);
    } else {
      uint256[] memory result = new uint256[](tokenCount);
      uint256 index;
      for (index = 0; index < tokenCount; index++) {
        result[index] = tokenOfOwnerByIndex(_owner, index);
      }
      return result;
    }
  }

  /* Minting started here... */
  function mint(uint256 numTokens) external payable nonReentrant {
    // Check we're is online...
    require(isStarted == true, "Paused or hasn't started");
    // ...and not exceed limit
    require(totalSupply() < MAX_TOKENS, "We've got all");
    // ...and not try to get more tokens than allowed...
    require(numTokens > 0 && numTokens <= 20, "Must mint from 1 to 20 NFTs");
    // ...and not try to get more tokens than TOTALLY allowed...
    require(totalSupply().add(numTokens) <= MAX_TOKENS.sub(MAX_GIVEAWAY_TOKENS.sub(countMintedGiveawayTokens)), "Can't get more than 10000 NFTs");
     // ...and we have enough money for that.
    require(msg.value >= TOKEN_PRICE.mul(numTokens),
           "Not enough ETH for transaction");

    // mint all of these tokens
    for (uint i = 0; i < numTokens; i++) {
      nextTokenId++;
      _safeMint(msg.sender, nextTokenId);
    }
  }


  /* Allow to mint tokens for giveaways at any time (but limited count) */
  function mintGiveaway(uint256 numTokens) public onlyOwner {
    require(countMintedGiveawayTokens.add(numTokens) <= MAX_GIVEAWAY_TOKENS, "Only 100 tokens max");
    for (uint i = 0; i < numTokens; i++) {
      countMintedGiveawayTokens++;
      nextTokenId++;
      _safeMint(owner(), nextTokenId);
    }
  }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }


  function _setBaseURI(string memory baseURI) internal virtual {
    _baseTokenURI = baseURI;
  }

  function _baseURI() internal view override returns (string memory) {
    return _baseTokenURI;
  }




  // Administrative zone
  function getMintedCount() public view returns(uint) {
    return nextTokenId;
  }

  function setBaseURI(string memory baseURI) public onlyOwner {
    _setBaseURI(baseURI);
  }

  function startMint() public onlyOwner {
    isStarted = true;
  }

  function pauseMint() public onlyOwner {
    isStarted = false;
  }

  function withdrawAll() public payable onlyOwner {
    require(payable(msg.sender).send(address(this).balance));
  }

  function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
      string memory _tokenURI = super.tokenURI(tokenId);
      return bytes(_tokenURI).length > 0 ? string(abi.encodePacked(_tokenURI, ".json")) : "";
  }

}

File 1 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 2 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 3 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 4 of 15: ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./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 See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./IERC721Enumerable.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 9 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 10 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 11 of 15: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 14 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;
        }
    }
}

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

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":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_GIVEAWAY_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"countMintedGiveawayTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mintGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","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":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052600c805460ff191690556000600d819055600e553480156200002557600080fd5b506040516200277a3803806200277a83398101604081905262000048916200026c565b604080518082018252600d81526c29b0b21023b4b93639902130b960991b60208083019182528351808501909452600b84526a29b0b223b4b93639a130b960a91b908401528151919291620000a091600091620001c6565b508051620000b6906001906020840190620001c6565b505050620000d3620000cd620000ea60201b60201c565b620000ee565b6001600b55620000e38162000140565b506200039b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200019f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b620001aa81620001ad565b50565b8051620001c290600f906020840190620001c6565b5050565b828054620001d49062000348565b90600052602060002090601f016020900481019282620001f8576000855562000243565b82601f106200021357805160ff191683800117855562000243565b8280016001018555821562000243579182015b828111156200024357825182559160200191906001019062000226565b506200025192915062000255565b5090565b5b8082111562000251576000815560010162000256565b600060208083850312156200028057600080fd5b82516001600160401b03808211156200029857600080fd5b818501915085601f830112620002ad57600080fd5b815181811115620002c257620002c262000385565b604051601f8201601f19908116603f01168101908382118183101715620002ed57620002ed62000385565b8160405282815288868487010111156200030657600080fd5b600093505b828410156200032a57848401860151818501870152928501926200030b565b828411156200033c5760008684830101525b98975050505050505050565b600181811c908216806200035d57607f821691505b602082108114156200037f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6123cf80620003ab6000396000f3fe6080604052600436106101ee5760003560e01c806375794a3c1161010d578063a22cb465116100a0578063d2d8cb671161006f578063d2d8cb6714610538578063e985e9c514610553578063ebc9bd3b1461059c578063f2fde38b146105b1578063f47c84c5146105d157600080fd5b8063a22cb465146104c3578063b88d4fde146104e3578063c87b56dd14610503578063cd85cdb51461052357600080fd5b8063853828b6116100dc578063853828b6146104755780638da5cb5b1461047d57806395d89b411461049b578063a0712d68146104b057600080fd5b806375794a3c146103fc57806376f0a746146104125780637af66cec146104285780638462151c1461044857600080fd5b806342842e0e116101855780636352211e116101545780636352211e1461039257806367f21064146103b257806370a08231146103c7578063715018a6146103e757600080fd5b806342842e0e146103185780634f6ccce714610338578063544736e61461035857806355f804b31461037257600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c35780632be09561146102e35780632f745c59146102f857600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f97565b6105e7565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6105f8565b60405161021f9190612138565b34801561025657600080fd5b5061026a61026536600461201a565b61068a565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611f6d565b610724565b005b3480156102b057600080fd5b506008545b60405190815260200161021f565b3480156102cf57600080fd5b506102a26102de366004611e79565b61083a565b3480156102ef57600080fd5b506102a261086b565b34801561030457600080fd5b506102b5610313366004611f6d565b6108a4565b34801561032457600080fd5b506102a2610333366004611e79565b61093a565b34801561034457600080fd5b506102b561035336600461201a565b610955565b34801561036457600080fd5b50600c546102139060ff1681565b34801561037e57600080fd5b506102a261038d366004611fd1565b6109e8565b34801561039e57600080fd5b5061026a6103ad36600461201a565b610a1e565b3480156103be57600080fd5b506102b5606481565b3480156103d357600080fd5b506102b56103e2366004611e2b565b610a95565b3480156103f357600080fd5b506102a2610b1c565b34801561040857600080fd5b506102b5600e5481565b34801561041e57600080fd5b506102b5600d5481565b34801561043457600080fd5b506102a261044336600461201a565b610b52565b34801561045457600080fd5b50610468610463366004611e2b565b610c38565b60405161021f91906120f4565b6102a2610cf7565b34801561048957600080fd5b50600a546001600160a01b031661026a565b3480156104a757600080fd5b5061023d610d45565b6102a26104be36600461201a565b610d54565b3480156104cf57600080fd5b506102a26104de366004611f31565b610fd3565b3480156104ef57600080fd5b506102a26104fe366004611eb5565b611098565b34801561050f57600080fd5b5061023d61051e36600461201a565b6110d0565b34801561052f57600080fd5b506102a2611125565b34801561054457600080fd5b506102b566f8b0a10e47000081565b34801561055f57600080fd5b5061021361056e366004611e46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105a857600080fd5b50600e546102b5565b3480156105bd57600080fd5b506102a26105cc366004611e2b565b61115b565b3480156105dd57600080fd5b506102b561271081565b60006105f2826111f3565b92915050565b606060008054610607906122b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610633906122b1565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061072f82610a1e565b9050806001600160a01b0316836001600160a01b0316141561079d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106ff565b336001600160a01b03821614806107b957506107b9813361056e565b61082b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106ff565b6108358383611218565b505050565b6108443382611286565b6108605760405162461bcd60e51b81526004016106ff906121d2565b61083583838361137d565b600a546001600160a01b031633146108955760405162461bcd60e51b81526004016106ff9061219d565b600c805460ff19166001179055565b60006108af83610a95565b82106109115760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106ff565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61083583838360405180602001604052806000815250611098565b600061096060085490565b82106109c35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106ff565b600882815481106109d6576109d6612357565b90600052602060002001549050919050565b600a546001600160a01b03163314610a125760405162461bcd60e51b81526004016106ff9061219d565b610a1b81611528565b50565b6000818152600260205260408120546001600160a01b0316806105f25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106ff565b60006001600160a01b038216610b005760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106ff565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b465760405162461bcd60e51b81526004016106ff9061219d565b610b50600061153b565b565b600a546001600160a01b03163314610b7c5760405162461bcd60e51b81526004016106ff9061219d565b600d54606490610b8c908361158d565b1115610bd05760405162461bcd60e51b815260206004820152601360248201527209edcd8f24062606040e8ded6cadce640dac2f606b1b60448201526064016106ff565b60005b81811015610c3457600d8054906000610beb836122e6565b9091555050600e8054906000610c00836122e6565b9190505550610c22610c1a600a546001600160a01b031690565b600e54611599565b80610c2c816122e6565b915050610bd3565b5050565b60606000610c4583610a95565b905080610c665760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610c8157610c8161236d565b604051908082528060200260200182016040528015610caa578160200160208202803683370190505b50905060005b82811015610c5e57610cc285826108a4565b828281518110610cd457610cd4612357565b602090810291909101015280610ce9816122e6565b915050610cb0565b50919050565b600a546001600160a01b03163314610d215760405162461bcd60e51b81526004016106ff9061219d565b60405133904780156108fc02916000818181858888f19350505050610b5057600080fd5b606060018054610607906122b1565b6002600b541415610da75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ff565b6002600b55600c5460ff161515600114610e035760405162461bcd60e51b815260206004820152601860248201527f506175736564206f72206861736e27742073746172746564000000000000000060448201526064016106ff565b612710610e0f60085490565b10610e4c5760405162461bcd60e51b815260206004820152600d60248201526c15d949dd994819dbdd08185b1b609a1b60448201526064016106ff565b600081118015610e5d575060148111155b610ea95760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e742066726f6d203120746f203230204e465473000000000060448201526064016106ff565b610ecb610ec2600d5460646115b390919063ffffffff16565b612710906115b3565b610ede82610ed860085490565b9061158d565b1115610f2c5760405162461bcd60e51b815260206004820152601e60248201527f43616e277420676574206d6f7265207468616e203130303030204e465473000060448201526064016106ff565b610f3d66f8b0a10e470000826115bf565b341015610f8c5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682045544820666f72207472616e73616374696f6e000060448201526064016106ff565b60005b81811015610fca57600e8054906000610fa7836122e6565b9190505550610fb833600e54611599565b80610fc2816122e6565b915050610f8f565b50506001600b55565b6001600160a01b03821633141561102c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106ff565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110a23383611286565b6110be5760405162461bcd60e51b81526004016106ff906121d2565b6110ca848484846115cb565b50505050565b606060006110dd836115fe565b905060008151116110fd576040518060200160405280600081525061111e565b8060405160200161110e919061208e565b6040516020818303038152906040525b9392505050565b600a546001600160a01b0316331461114f5760405162461bcd60e51b81526004016106ff9061219d565b600c805460ff19169055565b600a546001600160a01b031633146111855760405162461bcd60e51b81526004016106ff9061219d565b6001600160a01b0381166111ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ff565b610a1b8161153b565b60006001600160e01b0319821663780e9d6360e01b14806105f257506105f2826116c2565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061124d82610a1e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166112ff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106ff565b600061130a83610a1e565b9050806001600160a01b0316846001600160a01b031614806113455750836001600160a01b031661133a8461068a565b6001600160a01b0316145b8061137557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661139082610a1e565b6001600160a01b0316146113f85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106ff565b6001600160a01b03821661145a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106ff565b611465838383611712565b611470600082611218565b6001600160a01b038316600090815260036020526040812080546001929061149990849061226e565b90915550506001600160a01b03821660009081526003602052604081208054600192906114c7908490612223565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8051610c3490600f906020840190611d00565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061111e8284612223565b610c3482826040518060200160405280600081525061171d565b600061111e828461226e565b600061111e828461224f565b6115d684848461137d565b6115e284848484611750565b6110ca5760405162461bcd60e51b81526004016106ff9061214b565b6000818152600260205260409020546060906001600160a01b031661167d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106ff565b600061168761185d565b905060008151116116a7576040518060200160405280600081525061111e565b806116b18461186c565b60405160200161110e92919061205f565b60006001600160e01b031982166380ac58cd60e01b14806116f357506001600160e01b03198216635b5e139f60e01b145b806105f257506301ffc9a760e01b6001600160e01b03198316146105f2565b61083583838361196a565b6117278383611a22565b6117346000848484611750565b6108355760405162461bcd60e51b81526004016106ff9061214b565b60006001600160a01b0384163b1561185257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117949033908990889088906004016120b7565b602060405180830381600087803b1580156117ae57600080fd5b505af19250505080156117de575060408051601f3d908101601f191682019092526117db91810190611fb4565b60015b611838573d80801561180c576040519150601f19603f3d011682016040523d82523d6000602084013e611811565b606091505b5080516118305760405162461bcd60e51b81526004016106ff9061214b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611375565b506001949350505050565b6060600f8054610607906122b1565b6060816118905750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118ba57806118a4816122e6565b91506118b39050600a8361223b565b9150611894565b60008167ffffffffffffffff8111156118d5576118d561236d565b6040519080825280601f01601f1916602001820160405280156118ff576020820181803683370190505b5090505b84156113755761191460018361226e565b9150611921600a86612301565b61192c906030612223565b60f81b81838151811061194157611941612357565b60200101906001600160f81b031916908160001a905350611963600a8661223b565b9450611903565b6001600160a01b0383166119c5576119c081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6119e8565b816001600160a01b0316836001600160a01b0316146119e8576119e88382611b70565b6001600160a01b0382166119ff5761083581611c0d565b826001600160a01b0316826001600160a01b031614610835576108358282611cbc565b6001600160a01b038216611a785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ff565b6000818152600260205260409020546001600160a01b031615611add5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ff565b611ae960008383611712565b6001600160a01b0382166000908152600360205260408120805460019290611b12908490612223565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611b7d84610a95565b611b87919061226e565b600083815260076020526040902054909150808214611bda576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c1f9060019061226e565b60008381526009602052604081205460088054939450909284908110611c4757611c47612357565b906000526020600020015490508060088381548110611c6857611c68612357565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ca057611ca0612341565b6001900381819060005260206000200160009055905550505050565b6000611cc783610a95565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611d0c906122b1565b90600052602060002090601f016020900481019282611d2e5760008555611d74565b82601f10611d4757805160ff1916838001178555611d74565b82800160010185558215611d74579182015b82811115611d74578251825591602001919060010190611d59565b50611d80929150611d84565b5090565b5b80821115611d805760008155600101611d85565b600067ffffffffffffffff80841115611db457611db461236d565b604051601f8501601f19908116603f01168101908282118183101715611ddc57611ddc61236d565b81604052809350858152868686011115611df557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611e2657600080fd5b919050565b600060208284031215611e3d57600080fd5b61111e82611e0f565b60008060408385031215611e5957600080fd5b611e6283611e0f565b9150611e7060208401611e0f565b90509250929050565b600080600060608486031215611e8e57600080fd5b611e9784611e0f565b9250611ea560208501611e0f565b9150604084013590509250925092565b60008060008060808587031215611ecb57600080fd5b611ed485611e0f565b9350611ee260208601611e0f565b925060408501359150606085013567ffffffffffffffff811115611f0557600080fd5b8501601f81018713611f1657600080fd5b611f2587823560208401611d99565b91505092959194509250565b60008060408385031215611f4457600080fd5b611f4d83611e0f565b915060208301358015158114611f6257600080fd5b809150509250929050565b60008060408385031215611f8057600080fd5b611f8983611e0f565b946020939093013593505050565b600060208284031215611fa957600080fd5b813561111e81612383565b600060208284031215611fc657600080fd5b815161111e81612383565b600060208284031215611fe357600080fd5b813567ffffffffffffffff811115611ffa57600080fd5b8201601f8101841361200b57600080fd5b61137584823560208401611d99565b60006020828403121561202c57600080fd5b5035919050565b6000815180845261204b816020860160208601612285565b601f01601f19169290920160200192915050565b60008351612071818460208801612285565b835190830190612085818360208801612285565b01949350505050565b600082516120a0818460208701612285565b64173539b7b760d91b920191825250600501919050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120ea90830184612033565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561212c57835183529284019291840191600101612110565b50909695505050505050565b60208152600061111e6020830184612033565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561223657612236612315565b500190565b60008261224a5761224a61232b565b500490565b600081600019048311821515161561226957612269612315565b500290565b60008282101561228057612280612315565b500390565b60005b838110156122a0578181015183820152602001612288565b838111156110ca5750506000910152565b600181811c908216806122c557607f821691505b60208210811415610cf157634e487b7160e01b600052602260045260246000fd5b60006000198214156122fa576122fa612315565b5060010190565b6000826123105761231061232b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a1b57600080fdfea264697066735822122071f741f88a5d47541c7b7f7d1d1aef1f3bfe79a58d36ff0caeae5f2eeb54db6964736f6c634300080600330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e7361646769726c736261722e696f2f00000000

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806375794a3c1161010d578063a22cb465116100a0578063d2d8cb671161006f578063d2d8cb6714610538578063e985e9c514610553578063ebc9bd3b1461059c578063f2fde38b146105b1578063f47c84c5146105d157600080fd5b8063a22cb465146104c3578063b88d4fde146104e3578063c87b56dd14610503578063cd85cdb51461052357600080fd5b8063853828b6116100dc578063853828b6146104755780638da5cb5b1461047d57806395d89b411461049b578063a0712d68146104b057600080fd5b806375794a3c146103fc57806376f0a746146104125780637af66cec146104285780638462151c1461044857600080fd5b806342842e0e116101855780636352211e116101545780636352211e1461039257806367f21064146103b257806370a08231146103c7578063715018a6146103e757600080fd5b806342842e0e146103185780634f6ccce714610338578063544736e61461035857806355f804b31461037257600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c35780632be09561146102e35780632f745c59146102f857600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f97565b6105e7565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6105f8565b60405161021f9190612138565b34801561025657600080fd5b5061026a61026536600461201a565b61068a565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611f6d565b610724565b005b3480156102b057600080fd5b506008545b60405190815260200161021f565b3480156102cf57600080fd5b506102a26102de366004611e79565b61083a565b3480156102ef57600080fd5b506102a261086b565b34801561030457600080fd5b506102b5610313366004611f6d565b6108a4565b34801561032457600080fd5b506102a2610333366004611e79565b61093a565b34801561034457600080fd5b506102b561035336600461201a565b610955565b34801561036457600080fd5b50600c546102139060ff1681565b34801561037e57600080fd5b506102a261038d366004611fd1565b6109e8565b34801561039e57600080fd5b5061026a6103ad36600461201a565b610a1e565b3480156103be57600080fd5b506102b5606481565b3480156103d357600080fd5b506102b56103e2366004611e2b565b610a95565b3480156103f357600080fd5b506102a2610b1c565b34801561040857600080fd5b506102b5600e5481565b34801561041e57600080fd5b506102b5600d5481565b34801561043457600080fd5b506102a261044336600461201a565b610b52565b34801561045457600080fd5b50610468610463366004611e2b565b610c38565b60405161021f91906120f4565b6102a2610cf7565b34801561048957600080fd5b50600a546001600160a01b031661026a565b3480156104a757600080fd5b5061023d610d45565b6102a26104be36600461201a565b610d54565b3480156104cf57600080fd5b506102a26104de366004611f31565b610fd3565b3480156104ef57600080fd5b506102a26104fe366004611eb5565b611098565b34801561050f57600080fd5b5061023d61051e36600461201a565b6110d0565b34801561052f57600080fd5b506102a2611125565b34801561054457600080fd5b506102b566f8b0a10e47000081565b34801561055f57600080fd5b5061021361056e366004611e46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105a857600080fd5b50600e546102b5565b3480156105bd57600080fd5b506102a26105cc366004611e2b565b61115b565b3480156105dd57600080fd5b506102b561271081565b60006105f2826111f3565b92915050565b606060008054610607906122b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610633906122b1565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061072f82610a1e565b9050806001600160a01b0316836001600160a01b0316141561079d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106ff565b336001600160a01b03821614806107b957506107b9813361056e565b61082b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106ff565b6108358383611218565b505050565b6108443382611286565b6108605760405162461bcd60e51b81526004016106ff906121d2565b61083583838361137d565b600a546001600160a01b031633146108955760405162461bcd60e51b81526004016106ff9061219d565b600c805460ff19166001179055565b60006108af83610a95565b82106109115760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106ff565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61083583838360405180602001604052806000815250611098565b600061096060085490565b82106109c35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106ff565b600882815481106109d6576109d6612357565b90600052602060002001549050919050565b600a546001600160a01b03163314610a125760405162461bcd60e51b81526004016106ff9061219d565b610a1b81611528565b50565b6000818152600260205260408120546001600160a01b0316806105f25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106ff565b60006001600160a01b038216610b005760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106ff565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b465760405162461bcd60e51b81526004016106ff9061219d565b610b50600061153b565b565b600a546001600160a01b03163314610b7c5760405162461bcd60e51b81526004016106ff9061219d565b600d54606490610b8c908361158d565b1115610bd05760405162461bcd60e51b815260206004820152601360248201527209edcd8f24062606040e8ded6cadce640dac2f606b1b60448201526064016106ff565b60005b81811015610c3457600d8054906000610beb836122e6565b9091555050600e8054906000610c00836122e6565b9190505550610c22610c1a600a546001600160a01b031690565b600e54611599565b80610c2c816122e6565b915050610bd3565b5050565b60606000610c4583610a95565b905080610c665760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610c8157610c8161236d565b604051908082528060200260200182016040528015610caa578160200160208202803683370190505b50905060005b82811015610c5e57610cc285826108a4565b828281518110610cd457610cd4612357565b602090810291909101015280610ce9816122e6565b915050610cb0565b50919050565b600a546001600160a01b03163314610d215760405162461bcd60e51b81526004016106ff9061219d565b60405133904780156108fc02916000818181858888f19350505050610b5057600080fd5b606060018054610607906122b1565b6002600b541415610da75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ff565b6002600b55600c5460ff161515600114610e035760405162461bcd60e51b815260206004820152601860248201527f506175736564206f72206861736e27742073746172746564000000000000000060448201526064016106ff565b612710610e0f60085490565b10610e4c5760405162461bcd60e51b815260206004820152600d60248201526c15d949dd994819dbdd08185b1b609a1b60448201526064016106ff565b600081118015610e5d575060148111155b610ea95760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e742066726f6d203120746f203230204e465473000000000060448201526064016106ff565b610ecb610ec2600d5460646115b390919063ffffffff16565b612710906115b3565b610ede82610ed860085490565b9061158d565b1115610f2c5760405162461bcd60e51b815260206004820152601e60248201527f43616e277420676574206d6f7265207468616e203130303030204e465473000060448201526064016106ff565b610f3d66f8b0a10e470000826115bf565b341015610f8c5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682045544820666f72207472616e73616374696f6e000060448201526064016106ff565b60005b81811015610fca57600e8054906000610fa7836122e6565b9190505550610fb833600e54611599565b80610fc2816122e6565b915050610f8f565b50506001600b55565b6001600160a01b03821633141561102c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106ff565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110a23383611286565b6110be5760405162461bcd60e51b81526004016106ff906121d2565b6110ca848484846115cb565b50505050565b606060006110dd836115fe565b905060008151116110fd576040518060200160405280600081525061111e565b8060405160200161110e919061208e565b6040516020818303038152906040525b9392505050565b600a546001600160a01b0316331461114f5760405162461bcd60e51b81526004016106ff9061219d565b600c805460ff19169055565b600a546001600160a01b031633146111855760405162461bcd60e51b81526004016106ff9061219d565b6001600160a01b0381166111ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ff565b610a1b8161153b565b60006001600160e01b0319821663780e9d6360e01b14806105f257506105f2826116c2565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061124d82610a1e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166112ff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106ff565b600061130a83610a1e565b9050806001600160a01b0316846001600160a01b031614806113455750836001600160a01b031661133a8461068a565b6001600160a01b0316145b8061137557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661139082610a1e565b6001600160a01b0316146113f85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106ff565b6001600160a01b03821661145a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106ff565b611465838383611712565b611470600082611218565b6001600160a01b038316600090815260036020526040812080546001929061149990849061226e565b90915550506001600160a01b03821660009081526003602052604081208054600192906114c7908490612223565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8051610c3490600f906020840190611d00565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061111e8284612223565b610c3482826040518060200160405280600081525061171d565b600061111e828461226e565b600061111e828461224f565b6115d684848461137d565b6115e284848484611750565b6110ca5760405162461bcd60e51b81526004016106ff9061214b565b6000818152600260205260409020546060906001600160a01b031661167d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106ff565b600061168761185d565b905060008151116116a7576040518060200160405280600081525061111e565b806116b18461186c565b60405160200161110e92919061205f565b60006001600160e01b031982166380ac58cd60e01b14806116f357506001600160e01b03198216635b5e139f60e01b145b806105f257506301ffc9a760e01b6001600160e01b03198316146105f2565b61083583838361196a565b6117278383611a22565b6117346000848484611750565b6108355760405162461bcd60e51b81526004016106ff9061214b565b60006001600160a01b0384163b1561185257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117949033908990889088906004016120b7565b602060405180830381600087803b1580156117ae57600080fd5b505af19250505080156117de575060408051601f3d908101601f191682019092526117db91810190611fb4565b60015b611838573d80801561180c576040519150601f19603f3d011682016040523d82523d6000602084013e611811565b606091505b5080516118305760405162461bcd60e51b81526004016106ff9061214b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611375565b506001949350505050565b6060600f8054610607906122b1565b6060816118905750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118ba57806118a4816122e6565b91506118b39050600a8361223b565b9150611894565b60008167ffffffffffffffff8111156118d5576118d561236d565b6040519080825280601f01601f1916602001820160405280156118ff576020820181803683370190505b5090505b84156113755761191460018361226e565b9150611921600a86612301565b61192c906030612223565b60f81b81838151811061194157611941612357565b60200101906001600160f81b031916908160001a905350611963600a8661223b565b9450611903565b6001600160a01b0383166119c5576119c081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6119e8565b816001600160a01b0316836001600160a01b0316146119e8576119e88382611b70565b6001600160a01b0382166119ff5761083581611c0d565b826001600160a01b0316826001600160a01b031614610835576108358282611cbc565b6001600160a01b038216611a785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ff565b6000818152600260205260409020546001600160a01b031615611add5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ff565b611ae960008383611712565b6001600160a01b0382166000908152600360205260408120805460019290611b12908490612223565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611b7d84610a95565b611b87919061226e565b600083815260076020526040902054909150808214611bda576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c1f9060019061226e565b60008381526009602052604081205460088054939450909284908110611c4757611c47612357565b906000526020600020015490508060088381548110611c6857611c68612357565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ca057611ca0612341565b6001900381819060005260206000200160009055905550505050565b6000611cc783610a95565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611d0c906122b1565b90600052602060002090601f016020900481019282611d2e5760008555611d74565b82601f10611d4757805160ff1916838001178555611d74565b82800160010185558215611d74579182015b82811115611d74578251825591602001919060010190611d59565b50611d80929150611d84565b5090565b5b80821115611d805760008155600101611d85565b600067ffffffffffffffff80841115611db457611db461236d565b604051601f8501601f19908116603f01168101908282118183101715611ddc57611ddc61236d565b81604052809350858152868686011115611df557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611e2657600080fd5b919050565b600060208284031215611e3d57600080fd5b61111e82611e0f565b60008060408385031215611e5957600080fd5b611e6283611e0f565b9150611e7060208401611e0f565b90509250929050565b600080600060608486031215611e8e57600080fd5b611e9784611e0f565b9250611ea560208501611e0f565b9150604084013590509250925092565b60008060008060808587031215611ecb57600080fd5b611ed485611e0f565b9350611ee260208601611e0f565b925060408501359150606085013567ffffffffffffffff811115611f0557600080fd5b8501601f81018713611f1657600080fd5b611f2587823560208401611d99565b91505092959194509250565b60008060408385031215611f4457600080fd5b611f4d83611e0f565b915060208301358015158114611f6257600080fd5b809150509250929050565b60008060408385031215611f8057600080fd5b611f8983611e0f565b946020939093013593505050565b600060208284031215611fa957600080fd5b813561111e81612383565b600060208284031215611fc657600080fd5b815161111e81612383565b600060208284031215611fe357600080fd5b813567ffffffffffffffff811115611ffa57600080fd5b8201601f8101841361200b57600080fd5b61137584823560208401611d99565b60006020828403121561202c57600080fd5b5035919050565b6000815180845261204b816020860160208601612285565b601f01601f19169290920160200192915050565b60008351612071818460208801612285565b835190830190612085818360208801612285565b01949350505050565b600082516120a0818460208701612285565b64173539b7b760d91b920191825250600501919050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120ea90830184612033565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561212c57835183529284019291840191600101612110565b50909695505050505050565b60208152600061111e6020830184612033565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561223657612236612315565b500190565b60008261224a5761224a61232b565b500490565b600081600019048311821515161561226957612269612315565b500290565b60008282101561228057612280612315565b500390565b60005b838110156122a0578181015183820152602001612288565b838111156110ca5750506000910152565b600181811c908216806122c557607f821691505b60208210811415610cf157634e487b7160e01b600052602260045260246000fd5b60006000198214156122fa576122fa612315565b5060010190565b6000826123105761231061232b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a1b57600080fdfea264697066735822122071f741f88a5d47541c7b7f7d1d1aef1f3bfe79a58d36ff0caeae5f2eeb54db6964736f6c63430008060033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e7361646769726c736261722e696f2f00000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://meta.sadgirlsbar.io/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [2] : 68747470733a2f2f6d6574612e7361646769726c736261722e696f2f00000000


Deployed Bytecode Sourcemap

2566:4007:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5449:205;;;;;;;;;;-1:-1:-1;5449:205:12;;;;;:::i;:::-;;:::i;:::-;;;6731:14:15;;6724:22;6706:41;;6694:2;6679:18;5449:205:12;;;;;;;;2349:98:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3860:217::-;;;;;;;;;;-1:-1:-1;3860:217:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5392:32:15;;;5374:51;;5362:2;5347:18;3860:217:3;5329:102:15;3398:401:3;;;;;;;;;;-1:-1:-1;3398:401:3;;;;;:::i;:::-;;:::i;:::-;;1534:111:4;;;;;;;;;;-1:-1:-1;1621:10:4;:17;1534:111;;;16812:25:15;;;16800:2;16785:18;1534:111:4;16767:76:15;4724:330:3;;;;;;;;;;-1:-1:-1;4724:330:3;;;;;:::i;:::-;;:::i;6068:65:12:-;;;;;;;;;;;;;:::i;1210:253:4:-;;;;;;;;;;-1:-1:-1;1210:253:4;;;;;:::i;:::-;;:::i;5120:179:3:-;;;;;;;;;;-1:-1:-1;5120:179:3;;;;;:::i;:::-;;:::i;1717:230:4:-;;;;;;;;;;-1:-1:-1;1717:230:4;;;;;:::i;:::-;;:::i;2957:29:12:-;;;;;;;;;;-1:-1:-1;2957:29:12;;;;;;;;5973:91;;;;;;;;;;-1:-1:-1;5973:91:12;;;;;:::i;:::-;;:::i;2052:235:3:-;;;;;;;;;;-1:-1:-1;2052:235:3;;;;;:::i;:::-;;:::i;2810:46:12:-;;;;;;;;;;;;2853:3;2810:46;;1790:205:3;;;;;;;;;;-1:-1:-1;1790:205:3;;;;;:::i;:::-;;:::i;1598:92:10:-;;;;;;;;;;;;;:::i;3142:27:12:-;;;;;;;;;;;;;;;;3097:41;;;;;;;;;;;;;;;;4930:308;;;;;;;;;;-1:-1:-1;4930:308:12;;;;;:::i;:::-;;:::i;3469:459::-;;;;;;;;;;-1:-1:-1;3469:459:12;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6207:115::-;;;:::i;966:85:10:-;;;;;;;;;;-1:-1:-1;1038:6:10;;-1:-1:-1;;;;;1038:6:10;966:85;;2511:102:3;;;;;;;;;;;;;:::i;3964:886:12:-;;;;;;:::i;:::-;;:::i;4144:290:3:-;;;;;;;;;;-1:-1:-1;4144:290:3;;;;;:::i;:::-;;:::i;5365:320::-;;;;;;;;;;-1:-1:-1;5365:320:3;;;;;:::i;:::-;;:::i;6326:244:12:-;;;;;;;;;;-1:-1:-1;6326:244:12;;;;;:::i;:::-;;:::i;6137:66::-;;;;;;;;;;;;;:::i;2860:55::-;;;;;;;;;;;;2898:17;2860:55;;4500:162:3;;;;;;;;;;-1:-1:-1;4500:162:3;;;;;:::i;:::-;-1:-1:-1;;;;;4620:25:3;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4500:162;5888:81:12;;;;;;;;;;-1:-1:-1;5953:11:12;;5888:81;;1839:189:10;;;;;;;;;;-1:-1:-1;1839:189:10;;;;;:::i;:::-;;:::i;2767:39:12:-;;;;;;;;;;;;2801:5;2767:39;;5449:205;5584:4;5611:36;5635:11;5611:23;:36::i;:::-;5604:43;5449:205;-1:-1:-1;;5449:205:12:o;2349:98:3:-;2403:13;2435:5;2428:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2349:98;:::o;3860:217::-;3936:7;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;3955:73;;;;-1:-1:-1;;;3955:73:3;;12957:2:15;3955:73:3;;;12939:21:15;12996:2;12976:18;;;12969:30;13035:34;13015:18;;;13008:62;-1:-1:-1;;;13086:18:15;;;13079:42;13138:19;;3955:73:3;;;;;;;;;-1:-1:-1;4046:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4046:24:3;;3860:217::o;3398:401::-;3478:13;3494:23;3509:7;3494:14;:23::i;:::-;3478:39;;3541:5;-1:-1:-1;;;;;3535:11:3;:2;-1:-1:-1;;;;;3535:11:3;;;3527:57;;;;-1:-1:-1;;;3527:57:3;;14557:2:15;3527:57:3;;;14539:21:15;14596:2;14576:18;;;14569:30;14635:34;14615:18;;;14608:62;-1:-1:-1;;;14686:18:15;;;14679:31;14727:19;;3527:57:3;14529:223:15;3527:57:3;665:10:1;-1:-1:-1;;;;;3616:21:3;;;;:62;;-1:-1:-1;3641:37:3;3658:5;665:10:1;4500:162:3;:::i;3641:37::-;3595:165;;;;-1:-1:-1;;;3595:165:3;;10994:2:15;3595:165:3;;;10976:21:15;11033:2;11013:18;;;11006:30;11072:34;11052:18;;;11045:62;11143:26;11123:18;;;11116:54;11187:19;;3595:165:3;10966:246:15;3595:165:3;3771:21;3780:2;3784:7;3771:8;:21::i;:::-;3468:331;3398:401;;:::o;4724:330::-;4913:41;665:10:1;4946:7:3;4913:18;:41::i;:::-;4905:103;;;;-1:-1:-1;;;4905:103:3;;;;;;;:::i;:::-;5019:28;5029:4;5035:2;5039:7;5019:9;:28::i;6068:65:12:-;1038:6:10;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;6112:9:12::1;:16:::0;;-1:-1:-1;;6112:16:12::1;6124:4;6112:16;::::0;;6068:65::o;1210:253:4:-;1307:7;1342:23;1359:5;1342:16;:23::i;:::-;1334:5;:31;1326:87;;;;-1:-1:-1;;;1326:87:4;;7526:2:15;1326:87:4;;;7508:21:15;7565:2;7545:18;;;7538:30;7604:34;7584:18;;;7577:62;-1:-1:-1;;;7655:18:15;;;7648:41;7706:19;;1326:87:4;7498:233:15;1326:87:4;-1:-1:-1;;;;;;1430:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1210:253::o;5120:179:3:-;5253:39;5270:4;5276:2;5280:7;5253:39;;;;;;;;;;;;:16;:39::i;1717:230:4:-;1792:7;1827:30;1621:10;:17;;1534:111;1827:30;1819:5;:38;1811:95;;;;-1:-1:-1;;;1811:95:4;;15736:2:15;1811:95:4;;;15718:21:15;15775:2;15755:18;;;15748:30;15814:34;15794:18;;;15787:62;-1:-1:-1;;;15865:18:15;;;15858:42;15917:19;;1811:95:4;15708:234:15;1811:95:4;1923:10;1934:5;1923:17;;;;;;;;:::i;:::-;;;;;;;;;1916:24;;1717:230;;;:::o;5973:91:12:-;1038:6:10;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;6039:20:12::1;6051:7;6039:11;:20::i;:::-;5973:91:::0;:::o;2052:235:3:-;2124:7;2159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2159:16:3;2193:19;2185:73;;;;-1:-1:-1;;;2185:73:3;;11830:2:15;2185:73:3;;;11812:21:15;11869:2;11849:18;;;11842:30;11908:34;11888:18;;;11881:62;-1:-1:-1;;;11959:18:15;;;11952:39;12008:19;;2185:73:3;11802:231:15;1790:205:3;1862:7;-1:-1:-1;;;;;1889:19:3;;1881:74;;;;-1:-1:-1;;;1881:74:3;;11419:2:15;1881:74:3;;;11401:21:15;11458:2;11438:18;;;11431:30;11497:34;11477:18;;;11470:62;-1:-1:-1;;;11548:18:15;;;11541:40;11598:19;;1881:74:3;11391:232:15;1881:74:3;-1:-1:-1;;;;;;1972:16:3;;;;;:9;:16;;;;;;;1790:205::o;1598:92:10:-;1038:6;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;4930:308:12:-;1038:6:10;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;5002:25:12::1;::::0;2853:3:::1;::::0;5002:40:::1;::::0;5032:9;5002:29:::1;:40::i;:::-;:63;;4994:95;;;::::0;-1:-1:-1;;;4994:95:12;;8764:2:15;4994:95:12::1;::::0;::::1;8746:21:15::0;8803:2;8783:18;;;8776:30;-1:-1:-1;;;8822:18:15;;;8815:49;8881:18;;4994:95:12::1;8736:169:15::0;4994:95:12::1;5100:6;5095:139;5116:9;5112:1;:13;5095:139;;;5140:25;:27:::0;;;:25:::1;:27;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;5175:11:12::1;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;5196:31;5206:7;1038:6:10::0;;-1:-1:-1;;;;;1038:6:10;;966:85;5206:7:12::1;5215:11;;5196:9;:31::i;:::-;5127:3:::0;::::1;::::0;::::1;:::i;:::-;;;;5095:139;;;;4930:308:::0;:::o;3469:459::-;3530:16;3555:18;3576:17;3586:6;3576:9;:17::i;:::-;3555:38;-1:-1:-1;3603:15:12;3599:325;;3666:16;;;3680:1;3666:16;;;;;;;;;;;-1:-1:-1;3659:23:12;3469:459;-1:-1:-1;;;3469:459:12:o;3599:325::-;3703:23;3743:10;3729:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3729:25:12;;3703:51;;3762:13;3783:114;3807:10;3799:5;:18;3783:114;;;3854:34;3874:6;3882:5;3854:19;:34::i;:::-;3838:6;3845:5;3838:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;3819:7;;;;:::i;:::-;;;;3783:114;;3599:325;3549:379;3469:459;;;:::o;6207:115::-;1038:6:10;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;6269:47:12::1;::::0;6277:10:::1;::::0;6294:21:::1;6269:47:::0;::::1;;;::::0;::::1;::::0;;;6294:21;6277:10;6269:47;::::1;;;;;;6261:56;;;::::0;::::1;2511:102:3::0;2567:13;2599:7;2592:14;;;;;:::i;3964:886:12:-;1680:1:11;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:11;;16508:2:15;2251:63:11;;;16490:21:15;16547:2;16527:18;;;16520:30;16586:33;16566:18;;;16559:61;16637:18;;2251:63:11;16480:181:15;2251:63:11;1680:1;2389:7;:18;4073:9:12::1;::::0;::::1;;:17;;:9:::0;:17:::1;4065:54;;;::::0;-1:-1:-1;;;4065:54:12;;10228:2:15;4065:54:12::1;::::0;::::1;10210:21:15::0;10267:2;10247:18;;;10240:30;10306:26;10286:18;;;10279:54;10350:18;;4065:54:12::1;10200:174:15::0;4065:54:12::1;2801:5;4164:13;1621:10:4::0;:17;;1534:111;4164:13:12::1;:26;4156:52;;;::::0;-1:-1:-1;;;4156:52:12;;7184:2:15;4156:52:12::1;::::0;::::1;7166:21:15::0;7223:2;7203:18;;;7196:30;-1:-1:-1;;;7242:18:15;;;7235:43;7295:18;;4156:52:12::1;7156:163:15::0;4156:52:12::1;4291:1;4279:9;:13;:32;;;;;4309:2;4296:9;:15;;4279:32;4271:72;;;::::0;-1:-1:-1;;;4271:72:12;;12240:2:15;4271:72:12::1;::::0;::::1;12222:21:15::0;12279:2;12259:18;;;12252:30;12318:29;12298:18;;;12291:57;12365:18;;4271:72:12::1;12212:177:15::0;4271:72:12::1;4454:66;4469:50;4493:25;;2853:3;4469:23;;:50;;;;:::i;:::-;2801:5;::::0;4454:14:::1;:66::i;:::-;4422:28;4440:9;4422:13;1621:10:4::0;:17;;1534:111;4422:13:12::1;:17:::0;::::1;:28::i;:::-;:98;;4414:141;;;::::0;-1:-1:-1;;;4414:141:12;;16149:2:15;4414:141:12::1;::::0;::::1;16131:21:15::0;16188:2;16168:18;;;16161:30;16227:32;16207:18;;;16200:60;16277:18;;4414:141:12::1;16121:180:15::0;4414:141:12::1;4628:26;2898:17;4644:9:::0;4628:15:::1;:26::i;:::-;4615:9;:39;;4607:93;;;::::0;-1:-1:-1;;;4607:93:12;;14959:2:15;4607:93:12::1;::::0;::::1;14941:21:15::0;14998:2;14978:18;;;14971:30;15037:32;15017:18;;;15010:60;15087:18;;4607:93:12::1;14931:180:15::0;4607:93:12::1;4744:6;4739:107;4760:9;4756:1;:13;4739:107;;;4784:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;4805:34;4815:10;4827:11;;4805:9;:34::i;:::-;4771:3:::0;::::1;::::0;::::1;:::i;:::-;;;;4739:107;;;-1:-1:-1::0;;1637:1:11;2562:7;:22;3964:886:12:o;4144:290:3:-;-1:-1:-1;;;;;4246:24:3;;665:10:1;4246:24:3;;4238:62;;;;-1:-1:-1;;;4238:62:3;;9874:2:15;4238:62:3;;;9856:21:15;9913:2;9893:18;;;9886:30;9952:27;9932:18;;;9925:55;9997:18;;4238:62:3;9846:175:15;4238:62:3;665:10:1;4311:32:3;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4311:42:3;;;;;;;;;;;;:53;;-1:-1:-1;;4311:53:3;;;;;;;;;;4379:48;;6706:41:15;;;4311:42:3;;665:10:1;4379:48:3;;6679:18:15;4379:48:3;;;;;;;4144:290;;:::o;5365:320::-;5534:41;665:10:1;5567:7:3;5534:18;:41::i;:::-;5526:103;;;;-1:-1:-1;;;5526:103:3;;;;;;;:::i;:::-;5639:39;5653:4;5659:2;5663:7;5672:5;5639:13;:39::i;:::-;5365:320;;;;:::o;6326:244:12:-;6399:13;6422:23;6448;6463:7;6448:14;:23::i;:::-;6422:49;;6512:1;6492:9;6486:23;:27;:79;;;;;;;;;;;;;;;;;6540:9;6523:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;6486:79;6479:86;6326:244;-1:-1:-1;;;6326:244:12:o;6137:66::-;1038:6:10;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;6181:9:12::1;:17:::0;;-1:-1:-1;;6181:17:12::1;::::0;;6137:66::o;1839:189:10:-;1038:6;;-1:-1:-1;;;;;1038:6:10;665:10:1;1178:23:10;1170:68;;;;-1:-1:-1;;;1170:68:10;;;;;;;:::i;:::-;-1:-1:-1;;;;;1927:22:10;::::1;1919:73;;;::::0;-1:-1:-1;;;1919:73:10;;8357:2:15;1919:73:10::1;::::0;::::1;8339:21:15::0;8396:2;8376:18;;;8369:30;8435:34;8415:18;;;8408:62;-1:-1:-1;;;8486:18:15;;;8479:36;8532:19;;1919:73:10::1;8329:228:15::0;1919:73:10::1;2002:19;2012:8;2002:9;:19::i;909:222:4:-:0;1011:4;-1:-1:-1;;;;;;1034:50:4;;-1:-1:-1;;;1034:50:4;;:90;;;1088:36;1112:11;1088:23;:36::i;11008:171:3:-;11082:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11082:29:3;-1:-1:-1;;;;;11082:29:3;;;;;;;;:24;;11135:23;11082:24;11135:14;:23::i;:::-;-1:-1:-1;;;;;11126:46:3;;;;;;;;;;;11008:171;;:::o;7440:344::-;7533:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;7549:73;;;;-1:-1:-1;;;7549:73:3;;10581:2:15;7549:73:3;;;10563:21:15;10620:2;10600:18;;;10593:30;10659:34;10639:18;;;10632:62;-1:-1:-1;;;10710:18:15;;;10703:42;10762:19;;7549:73:3;10553:234:15;7549:73:3;7632:13;7648:23;7663:7;7648:14;:23::i;:::-;7632:39;;7700:5;-1:-1:-1;;;;;7689:16:3;:7;-1:-1:-1;;;;;7689:16:3;;:51;;;;7733:7;-1:-1:-1;;;;;7709:31:3;:20;7721:7;7709:11;:20::i;:::-;-1:-1:-1;;;;;7709:31:3;;7689:51;:87;;;-1:-1:-1;;;;;;4620:25:3;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7744:32;7681:96;7440:344;-1:-1:-1;;;;7440:344:3:o;10337:560::-;10491:4;-1:-1:-1;;;;;10464:31:3;:23;10479:7;10464:14;:23::i;:::-;-1:-1:-1;;;;;10464:31:3;;10456:85;;;;-1:-1:-1;;;10456:85:3;;13731:2:15;10456:85:3;;;13713:21:15;13770:2;13750:18;;;13743:30;13809:34;13789:18;;;13782:62;-1:-1:-1;;;13860:18:15;;;13853:39;13909:19;;10456:85:3;13703:231:15;10456:85:3;-1:-1:-1;;;;;10559:16:3;;10551:65;;;;-1:-1:-1;;;10551:65:3;;9469:2:15;10551:65:3;;;9451:21:15;9508:2;9488:18;;;9481:30;9547:34;9527:18;;;9520:62;-1:-1:-1;;;9598:18:15;;;9591:34;9642:19;;10551:65:3;9441:226:15;10551:65:3;10627:39;10648:4;10654:2;10658:7;10627:20;:39::i;:::-;10728:29;10745:1;10749:7;10728:8;:29::i;:::-;-1:-1:-1;;;;;10768:15:3;;;;;;:9;:15;;;;;:20;;10787:1;;10768:15;:20;;10787:1;;10768:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10798:13:3;;;;;;:9;:13;;;;;:18;;10815:1;;10798:13;:18;;10815:1;;10798:18;:::i;:::-;;;;-1:-1:-1;;10826:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10826:21:3;-1:-1:-1;;;;;10826:21:3;;;;;;;;;10863:27;;10826:16;;10863:27;;;;;;;10337:560;;;:::o;5659:95:12:-;5726:23;;;;:13;;:23;;;;;:::i;2034:169:10:-;2108:6;;;-1:-1:-1;;;;;2124:17:10;;;-1:-1:-1;;;;;;2124:17:10;;;;;;;2156:40;;2108:6;;;2124:17;2108:6;;2156:40;;2089:16;;2156:40;2079:124;2034:169;:::o;2672:96:13:-;2730:7;2756:5;2760:1;2756;:5;:::i;8114:108:3:-;8189:26;8199:2;8203:7;8189:26;;;;;;;;;;;;:9;:26::i;3039:96:13:-;3097:7;3123:5;3127:1;3123;:5;:::i;3382:96::-;3440:7;3466:5;3470:1;3466;:5;:::i;6547:307:3:-;6698:28;6708:4;6714:2;6718:7;6698:9;:28::i;:::-;6744:48;6767:4;6773:2;6777:7;6786:5;6744:22;:48::i;:::-;6736:111;;;;-1:-1:-1;;;6736:111:3;;;;;;;:::i;2679:329::-;7222:4;7245:16;;;:7;:16;;;;;;2752:13;;-1:-1:-1;;;;;7245:16:3;2777:76;;;;-1:-1:-1;;;2777:76:3;;14141:2:15;2777:76:3;;;14123:21:15;14180:2;14160:18;;;14153:30;14219:34;14199:18;;;14192:62;-1:-1:-1;;;14270:18:15;;;14263:45;14325:19;;2777:76:3;14113:237:15;2777:76:3;2864:21;2888:10;:8;:10::i;:::-;2864:34;;2939:1;2921:7;2915:21;:25;:86;;;;;;;;;;;;;;;;;2967:7;2976:18;:7;:16;:18::i;:::-;2950:45;;;;;;;;;:::i;1431:300::-;1533:4;-1:-1:-1;;;;;;1568:40:3;;-1:-1:-1;;;1568:40:3;;:104;;-1:-1:-1;;;;;;;1624:48:3;;-1:-1:-1;;;1624:48:3;1568:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:2;;;1688:36:3;763:155:2;5244:199:12;5391:45;5418:4;5424:2;5428:7;5391:26;:45::i;8443:311:3:-;8568:18;8574:2;8578:7;8568:5;:18::i;:::-;8617:54;8648:1;8652:2;8656:7;8665:5;8617:22;:54::i;:::-;8596:151;;;;-1:-1:-1;;;8596:151:3;;;;;;;:::i;11732:782::-;11882:4;-1:-1:-1;;;;;11902:13:3;;1034:20:0;1080:8;11898:610:3;;11937:72;;-1:-1:-1;;;11937:72:3;;-1:-1:-1;;;;;11937:36:3;;;;;:72;;665:10:1;;11988:4:3;;11994:7;;12003:5;;11937:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11937:72:3;;;;;;;;-1:-1:-1;;11937:72:3;;;;;;;;;;;;:::i;:::-;;;11933:523;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12180:13:3;;12176:266;;12222:60;;-1:-1:-1;;;12222:60:3;;;;;;;:::i;12176:266::-;12394:6;12388:13;12379:6;12375:2;12371:15;12364:38;11933:523;-1:-1:-1;;;;;;12059:55:3;-1:-1:-1;;;12059:55:3;;-1:-1:-1;12052:62:3;;11898:610;-1:-1:-1;12493:4:3;11732:782;;;;;;:::o;5758:98:12:-;5810:13;5838;5831:20;;;;;:::i;275:703:14:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:14;;;;;;;;;;;;-1:-1:-1;;;574:10:14;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:14;;-1:-1:-1;720:2:14;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:14;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:14;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;849:56:14;;;;;;;;-1:-1:-1;919:11:14;928:2;919:11;;:::i;:::-;;;791:150;;2543:572:4;-1:-1:-1;;;;;2742:18:4;;2738:183;;2776:40;2808:7;3924:10;:17;;3897:24;;;;:15;:24;;;;;:44;;;3951:24;;;;;;;;;;;;3821:161;2776:40;2738:183;;;2845:2;-1:-1:-1;;;;;2837:10:4;:4;-1:-1:-1;;;;;2837:10:4;;2833:88;;2863:47;2896:4;2902:7;2863:32;:47::i;:::-;-1:-1:-1;;;;;2934:16:4;;2930:179;;2966:45;3003:7;2966:36;:45::i;2930:179::-;3038:4;-1:-1:-1;;;;;3032:10:4;:2;-1:-1:-1;;;;;3032:10:4;;3028:81;;3058:40;3086:2;3090:7;3058:27;:40::i;9076:372:3:-;-1:-1:-1;;;;;9155:16:3;;9147:61;;;;-1:-1:-1;;;9147:61:3;;12596:2:15;9147:61:3;;;12578:21:15;;;12615:18;;;12608:30;12674:34;12654:18;;;12647:62;12726:18;;9147:61:3;12568:182:15;9147:61:3;7222:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:3;:30;9218:58;;;;-1:-1:-1;;;9218:58:3;;9112:2:15;9218:58:3;;;9094:21:15;9151:2;9131:18;;;9124:30;9190;9170:18;;;9163:58;9238:18;;9218:58:3;9084:178:15;9218:58:3;9287:45;9316:1;9320:2;9324:7;9287:20;:45::i;:::-;-1:-1:-1;;;;;9343:13:3;;;;;;:9;:13;;;;;:18;;9360:1;;9343:13;:18;;9360:1;;9343:18;:::i;:::-;;;;-1:-1:-1;;9371:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9371:21:3;-1:-1:-1;;;;;9371:21:3;;;;;;;;9408:33;;9371:16;;;9408:33;;9371:16;;9408:33;9076:372;;:::o;4599:970:4:-;4861:22;4911:1;4886:22;4903:4;4886:16;:22::i;:::-;:26;;;;:::i;:::-;4922:18;4943:26;;;:17;:26;;;;;;4861:51;;-1:-1:-1;5073:28:4;;;5069:323;;-1:-1:-1;;;;;5139:18:4;;5117:19;5139:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5188:30;;;;;;:44;;;5304:30;;:17;:30;;;;;:43;;;5069:323;-1:-1:-1;5485:26:4;;;;:17;:26;;;;;;;;5478:33;;;-1:-1:-1;;;;;5528:18:4;;;;;:12;:18;;;;;:34;;;;;;;5521:41;4599:970::o;5857:1061::-;6131:10;:17;6106:22;;6131:21;;6151:1;;6131:21;:::i;:::-;6162:18;6183:24;;;:15;:24;;;;;;6551:10;:26;;6106:46;;-1:-1:-1;6183:24:4;;6106:46;;6551:26;;;;;;:::i;:::-;;;;;;;;;6529:48;;6613:11;6588:10;6599;6588:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6692:28;;;:15;:28;;;;;;;:41;;;6861:24;;;;;6854:31;6895:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5928:990;;;5857:1061;:::o;3409:217::-;3493:14;3510:20;3527:2;3510:16;:20::i;:::-;-1:-1:-1;;;;;3540:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3584:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3409:217:4:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:15;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:15;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:15;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;956:1;953;946:12;908:2;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:2;;;1164:1;1161;1154:12;1116:2;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1106:173;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:2;;;1446:1;1443;1436:12;1398:2;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1388:224;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:2;;;1806:1;1803;1796:12;1757:2;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:2;;;2076:1;2073;2066:12;2030:2;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:2:15;;2181:1;2178;2171:12;2130:2;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1747:536;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:2;;;2430:1;2427;2420:12;2382:2;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:2;;2601:1;2598;2591:12;2545:2;2624:5;2614:15;;;2372:263;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:2;;;2785:1;2782;2775:12;2737:2;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2727:167:15:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:2;;;3026:1;3023;3016:12;2978:2;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:2;;;3287:1;3284;3277:12;3239:2;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:2;;;3541:1;3538;3531:12;3493:2;3581:9;3568:23;3614:18;3606:6;3603:30;3600:2;;;3646:1;3643;3636:12;3600:2;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:2:15;;3751:1;3748;3741:12;3700:2;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:2;;;3986:1;3983;3976:12;3938:2;-1:-1:-1;4009:23:15;;3928:110;-1:-1:-1;3928:110:15:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:15;4248:39;;;;4289:4;4244:50;;4092:208;-1:-1:-1;;4092:208:15:o;4305:470::-;4484:3;4522:6;4516:13;4538:53;4584:6;4579:3;4572:4;4564:6;4560:17;4538:53;:::i;:::-;4654:13;;4613:16;;;;4676:57;4654:13;4613:16;4710:4;4698:17;;4676:57;:::i;:::-;4749:20;;4492:283;-1:-1:-1;;;;4492:283:15:o;4780:443::-;5012:3;5050:6;5044:13;5066:53;5112:6;5107:3;5100:4;5092:6;5088:17;5066:53;:::i;:::-;-1:-1:-1;;;5141:16:15;;5166:22;;;-1:-1:-1;5215:1:15;5204:13;;5020:203;-1:-1:-1;5020:203:15:o;5436:488::-;-1:-1:-1;;;;;5705:15:15;;;5687:34;;5757:15;;5752:2;5737:18;;5730:43;5804:2;5789:18;;5782:34;;;5852:3;5847:2;5832:18;;5825:31;;;5630:4;;5873:45;;5898:19;;5890:6;5873:45;:::i;:::-;5865:53;5639:285;-1:-1:-1;;;;;;5639:285:15:o;5929:632::-;6100:2;6152:21;;;6222:13;;6125:18;;;6244:22;;;6071:4;;6100:2;6323:15;;;;6297:2;6282:18;;;6071:4;6366:169;6380:6;6377:1;6374:13;6366:169;;;6441:13;;6429:26;;6510:15;;;;6475:12;;;;6402:1;6395:9;6366:169;;;-1:-1:-1;6552:3:15;;6080:481;-1:-1:-1;;;;;;6080:481:15:o;6758:219::-;6907:2;6896:9;6889:21;6870:4;6927:44;6967:2;6956:9;6952:18;6944:6;6927:44;:::i;7736:414::-;7938:2;7920:21;;;7977:2;7957:18;;;7950:30;8016:34;8011:2;7996:18;;7989:62;-1:-1:-1;;;8082:2:15;8067:18;;8060:48;8140:3;8125:19;;7910:240::o;13168:356::-;13370:2;13352:21;;;13389:18;;;13382:30;13448:34;13443:2;13428:18;;13421:62;13515:2;13500:18;;13342:182::o;15116:413::-;15318:2;15300:21;;;15357:2;15337:18;;;15330:30;15396:34;15391:2;15376:18;;15369:62;-1:-1:-1;;;15462:2:15;15447:18;;15440:47;15519:3;15504:19;;15290:239::o;16848:128::-;16888:3;16919:1;16915:6;16912:1;16909:13;16906:2;;;16925:18;;:::i;:::-;-1:-1:-1;16961:9:15;;16896:80::o;16981:120::-;17021:1;17047;17037:2;;17052:18;;:::i;:::-;-1:-1:-1;17086:9:15;;17027:74::o;17106:168::-;17146:7;17212:1;17208;17204:6;17200:14;17197:1;17194:21;17189:1;17182:9;17175:17;17171:45;17168:2;;;17219:18;;:::i;:::-;-1:-1:-1;17259:9:15;;17158:116::o;17279:125::-;17319:4;17347:1;17344;17341:8;17338:2;;;17352:18;;:::i;:::-;-1:-1:-1;17389:9:15;;17328:76::o;17409:258::-;17481:1;17491:113;17505:6;17502:1;17499:13;17491:113;;;17581:11;;;17575:18;17562:11;;;17555:39;17527:2;17520:10;17491:113;;;17622:6;17619:1;17616:13;17613:2;;;-1:-1:-1;;17657:1:15;17639:16;;17632:27;17462:205::o;17672:380::-;17751:1;17747:12;;;;17794;;;17815:2;;17869:4;17861:6;17857:17;17847:27;;17815:2;17922;17914:6;17911:14;17891:18;17888:38;17885:2;;;17968:10;17963:3;17959:20;17956:1;17949:31;18003:4;18000:1;17993:15;18031:4;18028:1;18021:15;18057:135;18096:3;-1:-1:-1;;18117:17:15;;18114:2;;;18137:18;;:::i;:::-;-1:-1:-1;18184:1:15;18173:13;;18104:88::o;18197:112::-;18229:1;18255;18245:2;;18260:18;;:::i;:::-;-1:-1:-1;18294:9:15;;18235:74::o;18314:127::-;18375:10;18370:3;18366:20;18363:1;18356:31;18406:4;18403:1;18396:15;18430:4;18427:1;18420:15;18446:127;18507:10;18502:3;18498:20;18495:1;18488:31;18538:4;18535:1;18528:15;18562:4;18559:1;18552:15;18578:127;18639:10;18634:3;18630:20;18627:1;18620:31;18670:4;18667:1;18660:15;18694:4;18691:1;18684:15;18710:127;18771:10;18766:3;18762:20;18759:1;18752:31;18802:4;18799:1;18792:15;18826:4;18823:1;18816:15;18842:127;18903:10;18898:3;18894:20;18891:1;18884:31;18934:4;18931:1;18924:15;18958:4;18955:1;18948:15;18974:131;-1:-1:-1;;;;;;19048:32:15;;19038:43;;19028:2;;19095:1;19092;19085:12

Swarm Source

ipfs://71f741f88a5d47541c7b7f7d1d1aef1f3bfe79a58d36ff0caeae5f2eeb54db69
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.