ETH Price: $3,115.59 (-5.34%)

Token

Bit Bot Society (BBS)
 

Overview

Max Total Supply

1,985 BBS

Holders

667

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BBS
0x8F5c15270A501256a7909D7C5c75d861bC00d1d7
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Bitbots don't get angry, greedy, sad, happy nor complain. We don't even cook, we nuwave.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BitBotSociety

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : BitBotSociety.sol
// SPDX-License-Identifier: GPL-3.0


pragma solidity >=0.7.0 <0.9.0;

import "./Blimpie/ERC721EnumerableLite.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

contract BitBotSociety is ERC721EnumerableLite, Ownable, PaymentSplitter {
  using Strings for uint256;

  string public baseURI;
  string public baseExtension = ".json";
  uint256 public cost = 0.015 ether;
  uint256 public maxSupply = 9999;
  uint256 public maxMintAmount = 20;
  bool public paused = false;
  mapping(address => bool) public whitelisted;

  address[] private addressList = [
    0x01F0Cd813D71e90B612f622403D76DFb93Aa2fCc,
    0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a
  ];
  uint[] private shareList = [
    95,
    5
  ];

  constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI
  ) ERC721B(_name, _symbol)
    PaymentSplitter( addressList, shareList ){
    setBaseURI(_initBaseURI);
    mint(msg.sender, 20);
  }

  // internal
  function _baseURI() internal view virtual returns (string memory) {
    return baseURI;
  }

  // public
  function mint(address _to, uint256 _mintAmount) public payable {
    uint256 supply = totalSupply();
    require(!paused, "a" );
    require(_mintAmount > 0, "b" );
    require(_mintAmount <= maxMintAmount, "c" );
    require(supply + _mintAmount <= maxSupply, "d" );

    if (msg.sender != owner()) {
        if(whitelisted[msg.sender] != true) {
          require(msg.value >= cost * _mintAmount);
        }
    }

    for (uint256 i = 0; i < _mintAmount; ++i) {
      _safeMint(_to, supply + i, "");
    }
  }

  function gift(uint[] calldata quantity, address[] calldata recipient) external onlyOwner{
    require(quantity.length == recipient.length, "Must provide equal quantities and recipients" );

    uint totalQuantity = 0;
    uint256 supply = totalSupply();
    for(uint i = 0; i < quantity.length; ++i){
      totalQuantity += quantity[i];
    }
    require( supply + totalQuantity <= maxSupply, "Mint/order exceeds supply" );
    delete totalQuantity;

    for(uint i = 0; i < recipient.length; ++i){
      for(uint j = 0; j < quantity[i]; ++j){
        _safeMint( recipient[i], supply++, "" );
      }
    }
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; ++i) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

  //only owner
  function setCost(uint256 _newCost) public onlyOwner {
    cost = _newCost;
  }

  function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
    maxMintAmount = _newmaxMintAmount;
  }

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

  function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
    baseExtension = _newBaseExtension;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
 
 function whitelistUser(address _user) public onlyOwner {
    whitelisted[_user] = true;
  }
 
  function removeWhitelistUser(address _user) public onlyOwner {
    whitelisted[_user] = false;
  }

  function withdraw() public payable onlyOwner {
    (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
    require(success);
  }
}

File 2 of 15 : ERC721EnumerableLite.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

import "./ERC721B.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/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 ERC721EnumerableLite is ERC721B, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

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

        uint count;
        for( uint i; i < _owners.length; ++i ){
            if( owner == _owners[i] ){
                if( count == index )
                    return i;
                else
                    ++count;
            }
        }

        require(false, "ERC721Enumerable: owner index out of bounds");
    }

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

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

File 3 of 15 : ERC721B.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/********************
* @author: Squeebo *
********************/

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

abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    // 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");

        uint count = 0;
        uint length = _owners.length;
        for( uint i = 0; i < length; ++i ){
          if( owner == _owners[i] ){
            ++count;
          }
        }

        delete length;
        return count;
    }

    /**
     * @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 {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721B.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 tokenId < _owners.length && _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 = ERC721B.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);
        _owners.push(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 = ERC721B.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

        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(ERC721B.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);
        _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(ERC721B.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.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 4 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 5 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 6 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 7 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

import "../utils/Address.sol";
import "../utils/Context.sol";
import "../utils/math/SafeMath.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] = _released[account] + payment;
        _totalReleased = _totalReleased + payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":[{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeWhitelistUser","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenId","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":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"whitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600c919062000af0565b5066354a6ba7a18000600d5561270f600e556014600f556010805460ff19169055604080518082019091527301f0cd813d71e90b612f622403d76dfb93aa2fcc815273b7edf3cbb58ecb74bde6298294c7aab339f3ce4a60208201526200009490601290600262000b7f565b5060408051808201909152605f815260056020820152620000ba90601390600262000bd7565b50348015620000c857600080fd5b506040516200389238038062003892833981016040819052620000eb9162000d07565b60128054806020026020016040519081016040528092919081815260200182805480156200014357602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000124575b505050505060138054806020026020016040519081016040528092919081815260200182805480156200019657602002820191906000526020600020905b81548152602001906001019080831162000181575b50508751889350879250620001b49150600090602085019062000af0565b508051620001ca90600190602084019062000af0565b505050620001e7620001e16200034260201b60201c565b62000346565b8051825114620002595760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002ac5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000250565b60005b8251811015620003185762000303838281518110620002d257620002d262000d98565b6020026020010151838381518110620002ef57620002ef62000d98565b60200260200101516200039860201b60201c565b806200030f8162000dc4565b915050620002af565b5050506200032c816200058660201b60201c565b62000339336014620005fb565b50505062000ee5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004055760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000250565b60008111620004575760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000250565b6001600160a01b03821660009081526008602052604090205415620004d35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000250565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b03841690811790915560009081526008602052604090208190556006546200053d90829062000de2565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b6005546001600160a01b03163314620005e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000250565b8051620005f790600b90602084019062000af0565b5050565b60006200060760025490565b60105490915060ff1615620006435760405162461bcd60e51b81526020600482015260016024820152606160f81b604482015260640162000250565b60008211620006795760405162461bcd60e51b81526020600482015260016024820152603160f91b604482015260640162000250565b600f54821115620006b15760405162461bcd60e51b81526020600482015260016024820152606360f81b604482015260640162000250565b600e54620006c0838362000de2565b1115620006f45760405162461bcd60e51b81526020600482015260016024820152601960fa1b604482015260640162000250565b6005546001600160a01b0316331462000741573360009081526011602052604090205460ff161515600114620007415781600d5462000734919062000dfd565b3410156200074157600080fd5b60005b82811015620007865762000773846200075e838562000de2565b6040805160208101909152600081526200078c565b6200077e8162000dc4565b905062000744565b50505050565b62000798838362000804565b620007a7600084848462000932565b620007ff5760405162461bcd60e51b815260206004820152603260248201526000805160206200387283398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000250565b505050565b6001600160a01b0382166200085c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000250565b620008678162000a9b565b15620008b65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000250565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000953846001600160a01b031662000aea60201b620018c21760201c565b1562000a8f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200098d90339089908890889060040162000e1f565b602060405180830381600087803b158015620009a857600080fd5b505af1925050508015620009db575060408051601f3d908101601f19168201909252620009d89181019062000e75565b60015b62000a74573d80801562000a0c576040519150601f19603f3d011682016040523d82523d6000602084013e62000a11565b606091505b50805162000a6c5760405162461bcd60e51b815260206004820152603260248201526000805160206200387283398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000250565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000a93565b5060015b949350505050565b6002546000908210801562000ae4575060006001600160a01b03166002838154811062000acc5762000acc62000d98565b6000918252602090912001546001600160a01b031614155b92915050565b3b151590565b82805462000afe9062000ea8565b90600052602060002090601f01602090048101928262000b22576000855562000b6d565b82601f1062000b3d57805160ff191683800117855562000b6d565b8280016001018555821562000b6d579182015b8281111562000b6d57825182559160200191906001019062000b50565b5062000b7b92915062000c1a565b5090565b82805482825590600052602060002090810192821562000b6d579160200282015b8281111562000b6d57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000ba0565b82805482825590600052602060002090810192821562000b6d579160200282015b8281111562000b6d578251829060ff1690559160200191906001019062000bf8565b5b8082111562000b7b576000815560010162000c1b565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000c6457818101518382015260200162000c4a565b83811115620007865750506000910152565b600082601f83011262000c8857600080fd5b81516001600160401b038082111562000ca55762000ca562000c31565b604051601f8301601f19908116603f0116810190828211818310171562000cd05762000cd062000c31565b8160405283815286602085880101111562000cea57600080fd5b62000cfd84602083016020890162000c47565b9695505050505050565b60008060006060848603121562000d1d57600080fd5b83516001600160401b038082111562000d3557600080fd5b62000d438783880162000c76565b9450602086015191508082111562000d5a57600080fd5b62000d688783880162000c76565b9350604086015191508082111562000d7f57600080fd5b5062000d8e8682870162000c76565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000ddb5762000ddb62000dae565b5060010190565b6000821982111562000df85762000df862000dae565b500190565b600081600019048311821515161562000e1a5762000e1a62000dae565b500290565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000e5e8160a085016020870162000c47565b601f01601f19169190910160a00195945050505050565b60006020828403121562000e8857600080fd5b81516001600160e01b03198116811462000ea157600080fd5b9392505050565b600181811c9082168062000ebd57607f821691505b6020821081141562000edf57634e487b7160e01b600052602260045260246000fd5b50919050565b61297d8062000ef56000396000f3fe6080604052600436106102605760003560e01c80635c975abb11610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb0114610743578063d936547e14610759578063da3ef23f14610789578063e33b7de3146107a9578063e985e9c5146107be578063f2fde38b1461080757600080fd5b8063a22cb46514610698578063b88d4fde146106b8578063c6682862146106d8578063c87b56dd146106ed578063ce7c2ac21461070d57600080fd5b80637f00c7a6116101085780637f00c7a6146105cf5780638b83209b146105ef5780638da5cb5b1461060f57806395d89b411461062d57806396ea3a47146106425780639852595c1461066257600080fd5b80635c975abb1461054b5780636352211e146105655780636c0360eb1461058557806370a082311461059a578063715018a6146105ba57600080fd5b80632f745c59116101dd57806342842e0e116101a157806342842e0e1461047e578063438b63001461049e57806344a0d68a146104cb5780634a4c560d146104eb5780634f6ccce71461050b57806355f804b31461052b57600080fd5b80632f745c591461040e57806330cc7ae01461042e5780633a98ef391461044e5780633ccfd60b1461046357806340c10f191461046b57600080fd5b806313faede61161022457806313faede61461037f57806318160ddd146103a357806319165587146103b8578063239c70ae146103d857806323b872dd146103ee57600080fd5b806301ffc9a7146102ae57806302329a29146102e357806306fdde0314610305578063081812fc14610327578063095ea7b31461035f57600080fd5b366102a9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102ba57600080fd5b506102ce6102c93660046121c9565b610827565b60405190151581526020015b60405180910390f35b3480156102ef57600080fd5b506103036102fe3660046121fb565b610852565b005b34801561031157600080fd5b5061031a610898565b6040516102da919061226e565b34801561033357600080fd5b50610347610342366004612281565b61092a565b6040516001600160a01b0390911681526020016102da565b34801561036b57600080fd5b5061030361037a3660046122af565b6109b2565b34801561038b57600080fd5b50610395600d5481565b6040519081526020016102da565b3480156103af57600080fd5b50600254610395565b3480156103c457600080fd5b506103036103d33660046122db565b610ac8565b3480156103e457600080fd5b50610395600f5481565b3480156103fa57600080fd5b506103036104093660046122f8565b610c99565b34801561041a57600080fd5b506103956104293660046122af565b610cca565b34801561043a57600080fd5b506103036104493660046122db565b610d79565b34801561045a57600080fd5b50600654610395565b610303610dc4565b6103036104793660046122af565b610e46565b34801561048a57600080fd5b506103036104993660046122f8565b610fc0565b3480156104aa57600080fd5b506104be6104b93660046122db565b610fdb565b6040516102da9190612339565b3480156104d757600080fd5b506103036104e6366004612281565b61107b565b3480156104f757600080fd5b506103036105063660046122db565b6110aa565b34801561051757600080fd5b50610395610526366004612281565b6110f8565b34801561053757600080fd5b50610303610546366004612409565b61116a565b34801561055757600080fd5b506010546102ce9060ff1681565b34801561057157600080fd5b50610347610580366004612281565b6111ab565b34801561059157600080fd5b5061031a611237565b3480156105a657600080fd5b506103956105b53660046122db565b6112c5565b3480156105c657600080fd5b50610303611397565b3480156105db57600080fd5b506103036105ea366004612281565b6113cd565b3480156105fb57600080fd5b5061034761060a366004612281565b6113fc565b34801561061b57600080fd5b506005546001600160a01b0316610347565b34801561063957600080fd5b5061031a61142c565b34801561064e57600080fd5b5061030361065d36600461249e565b61143b565b34801561066e57600080fd5b5061039561067d3660046122db565b6001600160a01b031660009081526009602052604090205490565b3480156106a457600080fd5b506103036106b336600461250a565b61161b565b3480156106c457600080fd5b506103036106d336600461253f565b6116e0565b3480156106e457600080fd5b5061031a611712565b3480156106f957600080fd5b5061031a610708366004612281565b61171f565b34801561071957600080fd5b506103956107283660046122db565b6001600160a01b031660009081526008602052604090205490565b34801561074f57600080fd5b50610395600e5481565b34801561076557600080fd5b506102ce6107743660046122db565b60116020526000908152604090205460ff1681565b34801561079557600080fd5b506103036107a4366004612409565b6117ed565b3480156107b557600080fd5b50600754610395565b3480156107ca57600080fd5b506102ce6107d93660046125bf565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561081357600080fd5b506103036108223660046122db565b61182a565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c826118c8565b92915050565b6005546001600160a01b031633146108855760405162461bcd60e51b815260040161087c906125f8565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600080546108a79061262d565b80601f01602080910402602001604051908101604052809291908181526020018280546108d39061262d565b80156109205780601f106108f557610100808354040283529160200191610920565b820191906000526020600020905b81548152906001019060200180831161090357829003601f168201915b5050505050905090565b600061093582611918565b6109965760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b506000908152600360205260409020546001600160a01b031690565b60006109bd826111ab565b9050806001600160a01b0316836001600160a01b03161415610a2b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161087c565b336001600160a01b0382161480610a475750610a4781336107d9565b610ab95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161087c565b610ac38383611962565b505050565b6001600160a01b038116600090815260086020526040902054610b3c5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b606482015260840161087c565b600060075447610b4c919061267e565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192610b839085612696565b610b8d91906126cb565b610b9791906126df565b905080610bfa5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b606482015260840161087c565b6001600160a01b038316600090815260096020526040902054610c1e90829061267e565b6001600160a01b038416600090815260096020526040902055600754610c4590829061267e565b600755610c5283826119d0565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610ca33382611ae9565b610cbf5760405162461bcd60e51b815260040161087c906126f6565b610ac3838383611bd3565b6000610cd5836112c5565b8210610cf35760405162461bcd60e51b815260040161087c90612747565b6000805b600254811015610d605760028181548110610d1457610d14612792565b6000918252602090912001546001600160a01b0386811691161415610d505783821415610d4457915061084c9050565b610d4d826127a8565b91505b610d59816127a8565b9050610cf7565b5060405162461bcd60e51b815260040161087c90612747565b6005546001600160a01b03163314610da35760405162461bcd60e51b815260040161087c906125f8565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6005546001600160a01b03163314610dee5760405162461bcd60e51b815260040161087c906125f8565b604051600090339047908381818185875af1925050503d8060008114610e30576040519150601f19603f3d011682016040523d82523d6000602084013e610e35565b606091505b5050905080610e4357600080fd5b50565b6000610e5160025490565b60105490915060ff1615610e8b5760405162461bcd60e51b81526020600482015260016024820152606160f81b604482015260640161087c565b60008211610ebf5760405162461bcd60e51b81526020600482015260016024820152603160f91b604482015260640161087c565b600f54821115610ef55760405162461bcd60e51b81526020600482015260016024820152606360f81b604482015260640161087c565b600e54610f02838361267e565b1115610f345760405162461bcd60e51b81526020600482015260016024820152601960fa1b604482015260640161087c565b6005546001600160a01b03163314610f7c573360009081526011602052604090205460ff161515600114610f7c5781600d54610f709190612696565b341015610f7c57600080fd5b60005b82811015610fba57610faa84610f95838561267e565b60405180602001604052806000815250611d29565b610fb3816127a8565b9050610f7f565b50505050565b610ac3838383604051806020016040528060008152506116e0565b60606000610fe8836112c5565b905060008167ffffffffffffffff8111156110055761100561237d565b60405190808252806020026020018201604052801561102e578160200160208202803683370190505b50905060005b82811015611073576110468582610cca565b82828151811061105857611058612792565b602090810291909101015261106c816127a8565b9050611034565b509392505050565b6005546001600160a01b031633146110a55760405162461bcd60e51b815260040161087c906125f8565b600d55565b6005546001600160a01b031633146110d45760405162461bcd60e51b815260040161087c906125f8565b6001600160a01b03166000908152601160205260409020805460ff19166001179055565b600061110360025490565b82106111665760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161087c565b5090565b6005546001600160a01b031633146111945760405162461bcd60e51b815260040161087c906125f8565b80516111a790600b906020840190612123565b5050565b600080600283815481106111c1576111c1612792565b6000918252602090912001546001600160a01b031690508061084c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161087c565b600b80546112449061262d565b80601f01602080910402602001604051908101604052809291908181526020018280546112709061262d565b80156112bd5780601f10611292576101008083540402835291602001916112bd565b820191906000526020600020905b8154815290600101906020018083116112a057829003601f168201915b505050505081565b60006001600160a01b0382166113305760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161087c565b600254600090815b8181101561138e576002818154811061135357611353612792565b6000918252602090912001546001600160a01b038681169116141561137e5761137b836127a8565b92505b611387816127a8565b9050611338565b50909392505050565b6005546001600160a01b031633146113c15760405162461bcd60e51b815260040161087c906125f8565b6113cb6000611d5c565b565b6005546001600160a01b031633146113f75760405162461bcd60e51b815260040161087c906125f8565b600f55565b6000600a828154811061141157611411612792565b6000918252602090912001546001600160a01b031692915050565b6060600180546108a79061262d565b6005546001600160a01b031633146114655760405162461bcd60e51b815260040161087c906125f8565b8281146114c95760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b606482015260840161087c565b6000806114d560025490565b905060005b85811015611518578686828181106114f4576114f4612792565b9050602002013583611506919061267e565b9250611511816127a8565b90506114da565b50600e54611526838361267e565b11156115745760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604482015260640161087c565b6000915060005b838110156116125760005b87878381811061159857611598612792565b90506020020135811015611601576115f18686848181106115bb576115bb612792565b90506020020160208101906115d091906122db565b846115da816127a8565b955060405180602001604052806000815250611d29565b6115fa816127a8565b9050611586565b5061160b816127a8565b905061157b565b50505050505050565b6001600160a01b0382163314156116745760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087c565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116ea3383611ae9565b6117065760405162461bcd60e51b815260040161087c906126f6565b610fba84848484611dae565b600c80546112449061262d565b606061172a82611918565b61178e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087c565b6000611798611de1565b905060008151116117b857604051806020016040528060008152506117e6565b806117c284611df0565b600c6040516020016117d6939291906127c3565b6040516020818303038152906040525b9392505050565b6005546001600160a01b031633146118175760405162461bcd60e51b815260040161087c906125f8565b80516111a790600c906020840190612123565b6005546001600160a01b031633146118545760405162461bcd60e51b815260040161087c906125f8565b6001600160a01b0381166118b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087c565b610e4381611d5c565b3b151590565b60006001600160e01b031982166380ac58cd60e01b14806118f957506001600160e01b03198216635b5e139f60e01b145b8061084c57506301ffc9a760e01b6001600160e01b031983161461084c565b6002546000908210801561084c575060006001600160a01b03166002838154811061194557611945612792565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611997826111ab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611a205760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161087c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a6d576040519150601f19603f3d011682016040523d82523d6000602084013e611a72565b606091505b5050905080610ac35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161087c565b6000611af482611918565b611b555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b6000611b60836111ab565b9050806001600160a01b0316846001600160a01b03161480611b9b5750836001600160a01b0316611b908461092a565b6001600160a01b0316145b80611bcb57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611be6826111ab565b6001600160a01b031614611c4e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161087c565b6001600160a01b038216611cb05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161087c565b611cbb600082611962565b8160028281548110611ccf57611ccf612792565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b611d338383611eee565b611d406000848484612016565b610ac35760405162461bcd60e51b815260040161087c90612887565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611db9848484611bd3565b611dc584848484612016565b610fba5760405162461bcd60e51b815260040161087c90612887565b6060600b80546108a79061262d565b606081611e145750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e3e5780611e28816127a8565b9150611e379050600a836126cb565b9150611e18565b60008167ffffffffffffffff811115611e5957611e5961237d565b6040519080825280601f01601f191660200182016040528015611e83576020820181803683370190505b5090505b8415611bcb57611e986001836126df565b9150611ea5600a866128d9565b611eb090603061267e565b60f81b818381518110611ec557611ec5612792565b60200101906001600160f81b031916908160001a905350611ee7600a866126cb565b9450611e87565b6001600160a01b038216611f445760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087c565b611f4d81611918565b15611f9a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087c565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561211857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061205a9033908990889088906004016128ed565b602060405180830381600087803b15801561207457600080fd5b505af19250505080156120a4575060408051601f3d908101601f191682019092526120a19181019061292a565b60015b6120fe573d8080156120d2576040519150601f19603f3d011682016040523d82523d6000602084013e6120d7565b606091505b5080516120f65760405162461bcd60e51b815260040161087c90612887565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bcb565b506001949350505050565b82805461212f9061262d565b90600052602060002090601f0160209004810192826121515760008555612197565b82601f1061216a57805160ff1916838001178555612197565b82800160010185558215612197579182015b8281111561219757825182559160200191906001019061217c565b506111669291505b80821115611166576000815560010161219f565b6001600160e01b031981168114610e4357600080fd5b6000602082840312156121db57600080fd5b81356117e6816121b3565b803580151581146121f657600080fd5b919050565b60006020828403121561220d57600080fd5b6117e6826121e6565b60005b83811015612231578181015183820152602001612219565b83811115610fba5750506000910152565b6000815180845261225a816020860160208601612216565b601f01601f19169290920160200192915050565b6020815260006117e66020830184612242565b60006020828403121561229357600080fd5b5035919050565b6001600160a01b0381168114610e4357600080fd5b600080604083850312156122c257600080fd5b82356122cd8161229a565b946020939093013593505050565b6000602082840312156122ed57600080fd5b81356117e68161229a565b60008060006060848603121561230d57600080fd5b83356123188161229a565b925060208401356123288161229a565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561237157835183529284019291840191600101612355565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156123ae576123ae61237d565b604051601f8501601f19908116603f011681019082821181831017156123d6576123d661237d565b816040528093508581528686860111156123ef57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561241b57600080fd5b813567ffffffffffffffff81111561243257600080fd5b8201601f8101841361244357600080fd5b611bcb84823560208401612393565b60008083601f84011261246457600080fd5b50813567ffffffffffffffff81111561247c57600080fd5b6020830191508360208260051b850101111561249757600080fd5b9250929050565b600080600080604085870312156124b457600080fd5b843567ffffffffffffffff808211156124cc57600080fd5b6124d888838901612452565b909650945060208701359150808211156124f157600080fd5b506124fe87828801612452565b95989497509550505050565b6000806040838503121561251d57600080fd5b82356125288161229a565b9150612536602084016121e6565b90509250929050565b6000806000806080858703121561255557600080fd5b84356125608161229a565b935060208501356125708161229a565b925060408501359150606085013567ffffffffffffffff81111561259357600080fd5b8501601f810187136125a457600080fd5b6125b387823560208401612393565b91505092959194509250565b600080604083850312156125d257600080fd5b82356125dd8161229a565b915060208301356125ed8161229a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061264157607f821691505b6020821081141561266257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561269157612691612668565b500190565b60008160001904831182151516156126b0576126b0612668565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826126da576126da6126b5565b500490565b6000828210156126f1576126f1612668565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156127bc576127bc612668565b5060010190565b6000845160206127d68285838a01612216565b8551918401916127e98184848a01612216565b8554920191600090600181811c908083168061280657607f831692505b85831081141561282457634e487b7160e01b85526022600452602485fd5b808015612838576001811461284957612876565b60ff19851688528388019550612876565b60008b81526020902060005b8581101561286e5781548a820152908401908801612855565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826128e8576128e86126b5565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061292090830184612242565b9695505050505050565b60006020828403121561293c57600080fd5b81516117e6816121b356fea264697066735822122090dfa7196305b21d1c84132af25e8dcb15b07b993eacca400b682741a6ba10a664736f6c634300080900334552433732313a207472616e7366657220746f206e6f6e204552433732315265000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f42697420426f7420536f63696574790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342425300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102605760003560e01c80635c975abb11610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb0114610743578063d936547e14610759578063da3ef23f14610789578063e33b7de3146107a9578063e985e9c5146107be578063f2fde38b1461080757600080fd5b8063a22cb46514610698578063b88d4fde146106b8578063c6682862146106d8578063c87b56dd146106ed578063ce7c2ac21461070d57600080fd5b80637f00c7a6116101085780637f00c7a6146105cf5780638b83209b146105ef5780638da5cb5b1461060f57806395d89b411461062d57806396ea3a47146106425780639852595c1461066257600080fd5b80635c975abb1461054b5780636352211e146105655780636c0360eb1461058557806370a082311461059a578063715018a6146105ba57600080fd5b80632f745c59116101dd57806342842e0e116101a157806342842e0e1461047e578063438b63001461049e57806344a0d68a146104cb5780634a4c560d146104eb5780634f6ccce71461050b57806355f804b31461052b57600080fd5b80632f745c591461040e57806330cc7ae01461042e5780633a98ef391461044e5780633ccfd60b1461046357806340c10f191461046b57600080fd5b806313faede61161022457806313faede61461037f57806318160ddd146103a357806319165587146103b8578063239c70ae146103d857806323b872dd146103ee57600080fd5b806301ffc9a7146102ae57806302329a29146102e357806306fdde0314610305578063081812fc14610327578063095ea7b31461035f57600080fd5b366102a9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102ba57600080fd5b506102ce6102c93660046121c9565b610827565b60405190151581526020015b60405180910390f35b3480156102ef57600080fd5b506103036102fe3660046121fb565b610852565b005b34801561031157600080fd5b5061031a610898565b6040516102da919061226e565b34801561033357600080fd5b50610347610342366004612281565b61092a565b6040516001600160a01b0390911681526020016102da565b34801561036b57600080fd5b5061030361037a3660046122af565b6109b2565b34801561038b57600080fd5b50610395600d5481565b6040519081526020016102da565b3480156103af57600080fd5b50600254610395565b3480156103c457600080fd5b506103036103d33660046122db565b610ac8565b3480156103e457600080fd5b50610395600f5481565b3480156103fa57600080fd5b506103036104093660046122f8565b610c99565b34801561041a57600080fd5b506103956104293660046122af565b610cca565b34801561043a57600080fd5b506103036104493660046122db565b610d79565b34801561045a57600080fd5b50600654610395565b610303610dc4565b6103036104793660046122af565b610e46565b34801561048a57600080fd5b506103036104993660046122f8565b610fc0565b3480156104aa57600080fd5b506104be6104b93660046122db565b610fdb565b6040516102da9190612339565b3480156104d757600080fd5b506103036104e6366004612281565b61107b565b3480156104f757600080fd5b506103036105063660046122db565b6110aa565b34801561051757600080fd5b50610395610526366004612281565b6110f8565b34801561053757600080fd5b50610303610546366004612409565b61116a565b34801561055757600080fd5b506010546102ce9060ff1681565b34801561057157600080fd5b50610347610580366004612281565b6111ab565b34801561059157600080fd5b5061031a611237565b3480156105a657600080fd5b506103956105b53660046122db565b6112c5565b3480156105c657600080fd5b50610303611397565b3480156105db57600080fd5b506103036105ea366004612281565b6113cd565b3480156105fb57600080fd5b5061034761060a366004612281565b6113fc565b34801561061b57600080fd5b506005546001600160a01b0316610347565b34801561063957600080fd5b5061031a61142c565b34801561064e57600080fd5b5061030361065d36600461249e565b61143b565b34801561066e57600080fd5b5061039561067d3660046122db565b6001600160a01b031660009081526009602052604090205490565b3480156106a457600080fd5b506103036106b336600461250a565b61161b565b3480156106c457600080fd5b506103036106d336600461253f565b6116e0565b3480156106e457600080fd5b5061031a611712565b3480156106f957600080fd5b5061031a610708366004612281565b61171f565b34801561071957600080fd5b506103956107283660046122db565b6001600160a01b031660009081526008602052604090205490565b34801561074f57600080fd5b50610395600e5481565b34801561076557600080fd5b506102ce6107743660046122db565b60116020526000908152604090205460ff1681565b34801561079557600080fd5b506103036107a4366004612409565b6117ed565b3480156107b557600080fd5b50600754610395565b3480156107ca57600080fd5b506102ce6107d93660046125bf565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561081357600080fd5b506103036108223660046122db565b61182a565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c826118c8565b92915050565b6005546001600160a01b031633146108855760405162461bcd60e51b815260040161087c906125f8565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600080546108a79061262d565b80601f01602080910402602001604051908101604052809291908181526020018280546108d39061262d565b80156109205780601f106108f557610100808354040283529160200191610920565b820191906000526020600020905b81548152906001019060200180831161090357829003601f168201915b5050505050905090565b600061093582611918565b6109965760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b506000908152600360205260409020546001600160a01b031690565b60006109bd826111ab565b9050806001600160a01b0316836001600160a01b03161415610a2b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161087c565b336001600160a01b0382161480610a475750610a4781336107d9565b610ab95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161087c565b610ac38383611962565b505050565b6001600160a01b038116600090815260086020526040902054610b3c5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b606482015260840161087c565b600060075447610b4c919061267e565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192610b839085612696565b610b8d91906126cb565b610b9791906126df565b905080610bfa5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b606482015260840161087c565b6001600160a01b038316600090815260096020526040902054610c1e90829061267e565b6001600160a01b038416600090815260096020526040902055600754610c4590829061267e565b600755610c5283826119d0565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610ca33382611ae9565b610cbf5760405162461bcd60e51b815260040161087c906126f6565b610ac3838383611bd3565b6000610cd5836112c5565b8210610cf35760405162461bcd60e51b815260040161087c90612747565b6000805b600254811015610d605760028181548110610d1457610d14612792565b6000918252602090912001546001600160a01b0386811691161415610d505783821415610d4457915061084c9050565b610d4d826127a8565b91505b610d59816127a8565b9050610cf7565b5060405162461bcd60e51b815260040161087c90612747565b6005546001600160a01b03163314610da35760405162461bcd60e51b815260040161087c906125f8565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6005546001600160a01b03163314610dee5760405162461bcd60e51b815260040161087c906125f8565b604051600090339047908381818185875af1925050503d8060008114610e30576040519150601f19603f3d011682016040523d82523d6000602084013e610e35565b606091505b5050905080610e4357600080fd5b50565b6000610e5160025490565b60105490915060ff1615610e8b5760405162461bcd60e51b81526020600482015260016024820152606160f81b604482015260640161087c565b60008211610ebf5760405162461bcd60e51b81526020600482015260016024820152603160f91b604482015260640161087c565b600f54821115610ef55760405162461bcd60e51b81526020600482015260016024820152606360f81b604482015260640161087c565b600e54610f02838361267e565b1115610f345760405162461bcd60e51b81526020600482015260016024820152601960fa1b604482015260640161087c565b6005546001600160a01b03163314610f7c573360009081526011602052604090205460ff161515600114610f7c5781600d54610f709190612696565b341015610f7c57600080fd5b60005b82811015610fba57610faa84610f95838561267e565b60405180602001604052806000815250611d29565b610fb3816127a8565b9050610f7f565b50505050565b610ac3838383604051806020016040528060008152506116e0565b60606000610fe8836112c5565b905060008167ffffffffffffffff8111156110055761100561237d565b60405190808252806020026020018201604052801561102e578160200160208202803683370190505b50905060005b82811015611073576110468582610cca565b82828151811061105857611058612792565b602090810291909101015261106c816127a8565b9050611034565b509392505050565b6005546001600160a01b031633146110a55760405162461bcd60e51b815260040161087c906125f8565b600d55565b6005546001600160a01b031633146110d45760405162461bcd60e51b815260040161087c906125f8565b6001600160a01b03166000908152601160205260409020805460ff19166001179055565b600061110360025490565b82106111665760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161087c565b5090565b6005546001600160a01b031633146111945760405162461bcd60e51b815260040161087c906125f8565b80516111a790600b906020840190612123565b5050565b600080600283815481106111c1576111c1612792565b6000918252602090912001546001600160a01b031690508061084c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161087c565b600b80546112449061262d565b80601f01602080910402602001604051908101604052809291908181526020018280546112709061262d565b80156112bd5780601f10611292576101008083540402835291602001916112bd565b820191906000526020600020905b8154815290600101906020018083116112a057829003601f168201915b505050505081565b60006001600160a01b0382166113305760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161087c565b600254600090815b8181101561138e576002818154811061135357611353612792565b6000918252602090912001546001600160a01b038681169116141561137e5761137b836127a8565b92505b611387816127a8565b9050611338565b50909392505050565b6005546001600160a01b031633146113c15760405162461bcd60e51b815260040161087c906125f8565b6113cb6000611d5c565b565b6005546001600160a01b031633146113f75760405162461bcd60e51b815260040161087c906125f8565b600f55565b6000600a828154811061141157611411612792565b6000918252602090912001546001600160a01b031692915050565b6060600180546108a79061262d565b6005546001600160a01b031633146114655760405162461bcd60e51b815260040161087c906125f8565b8281146114c95760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b606482015260840161087c565b6000806114d560025490565b905060005b85811015611518578686828181106114f4576114f4612792565b9050602002013583611506919061267e565b9250611511816127a8565b90506114da565b50600e54611526838361267e565b11156115745760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c7900000000000000604482015260640161087c565b6000915060005b838110156116125760005b87878381811061159857611598612792565b90506020020135811015611601576115f18686848181106115bb576115bb612792565b90506020020160208101906115d091906122db565b846115da816127a8565b955060405180602001604052806000815250611d29565b6115fa816127a8565b9050611586565b5061160b816127a8565b905061157b565b50505050505050565b6001600160a01b0382163314156116745760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087c565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116ea3383611ae9565b6117065760405162461bcd60e51b815260040161087c906126f6565b610fba84848484611dae565b600c80546112449061262d565b606061172a82611918565b61178e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087c565b6000611798611de1565b905060008151116117b857604051806020016040528060008152506117e6565b806117c284611df0565b600c6040516020016117d6939291906127c3565b6040516020818303038152906040525b9392505050565b6005546001600160a01b031633146118175760405162461bcd60e51b815260040161087c906125f8565b80516111a790600c906020840190612123565b6005546001600160a01b031633146118545760405162461bcd60e51b815260040161087c906125f8565b6001600160a01b0381166118b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087c565b610e4381611d5c565b3b151590565b60006001600160e01b031982166380ac58cd60e01b14806118f957506001600160e01b03198216635b5e139f60e01b145b8061084c57506301ffc9a760e01b6001600160e01b031983161461084c565b6002546000908210801561084c575060006001600160a01b03166002838154811061194557611945612792565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611997826111ab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611a205760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161087c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a6d576040519150601f19603f3d011682016040523d82523d6000602084013e611a72565b606091505b5050905080610ac35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161087c565b6000611af482611918565b611b555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b6000611b60836111ab565b9050806001600160a01b0316846001600160a01b03161480611b9b5750836001600160a01b0316611b908461092a565b6001600160a01b0316145b80611bcb57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611be6826111ab565b6001600160a01b031614611c4e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161087c565b6001600160a01b038216611cb05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161087c565b611cbb600082611962565b8160028281548110611ccf57611ccf612792565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b611d338383611eee565b611d406000848484612016565b610ac35760405162461bcd60e51b815260040161087c90612887565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611db9848484611bd3565b611dc584848484612016565b610fba5760405162461bcd60e51b815260040161087c90612887565b6060600b80546108a79061262d565b606081611e145750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e3e5780611e28816127a8565b9150611e379050600a836126cb565b9150611e18565b60008167ffffffffffffffff811115611e5957611e5961237d565b6040519080825280601f01601f191660200182016040528015611e83576020820181803683370190505b5090505b8415611bcb57611e986001836126df565b9150611ea5600a866128d9565b611eb090603061267e565b60f81b818381518110611ec557611ec5612792565b60200101906001600160f81b031916908160001a905350611ee7600a866126cb565b9450611e87565b6001600160a01b038216611f445760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087c565b611f4d81611918565b15611f9a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087c565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561211857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061205a9033908990889088906004016128ed565b602060405180830381600087803b15801561207457600080fd5b505af19250505080156120a4575060408051601f3d908101601f191682019092526120a19181019061292a565b60015b6120fe573d8080156120d2576040519150601f19603f3d011682016040523d82523d6000602084013e6120d7565b606091505b5080516120f65760405162461bcd60e51b815260040161087c90612887565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bcb565b506001949350505050565b82805461212f9061262d565b90600052602060002090601f0160209004810192826121515760008555612197565b82601f1061216a57805160ff1916838001178555612197565b82800160010185558215612197579182015b8281111561219757825182559160200191906001019061217c565b506111669291505b80821115611166576000815560010161219f565b6001600160e01b031981168114610e4357600080fd5b6000602082840312156121db57600080fd5b81356117e6816121b3565b803580151581146121f657600080fd5b919050565b60006020828403121561220d57600080fd5b6117e6826121e6565b60005b83811015612231578181015183820152602001612219565b83811115610fba5750506000910152565b6000815180845261225a816020860160208601612216565b601f01601f19169290920160200192915050565b6020815260006117e66020830184612242565b60006020828403121561229357600080fd5b5035919050565b6001600160a01b0381168114610e4357600080fd5b600080604083850312156122c257600080fd5b82356122cd8161229a565b946020939093013593505050565b6000602082840312156122ed57600080fd5b81356117e68161229a565b60008060006060848603121561230d57600080fd5b83356123188161229a565b925060208401356123288161229a565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561237157835183529284019291840191600101612355565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156123ae576123ae61237d565b604051601f8501601f19908116603f011681019082821181831017156123d6576123d661237d565b816040528093508581528686860111156123ef57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561241b57600080fd5b813567ffffffffffffffff81111561243257600080fd5b8201601f8101841361244357600080fd5b611bcb84823560208401612393565b60008083601f84011261246457600080fd5b50813567ffffffffffffffff81111561247c57600080fd5b6020830191508360208260051b850101111561249757600080fd5b9250929050565b600080600080604085870312156124b457600080fd5b843567ffffffffffffffff808211156124cc57600080fd5b6124d888838901612452565b909650945060208701359150808211156124f157600080fd5b506124fe87828801612452565b95989497509550505050565b6000806040838503121561251d57600080fd5b82356125288161229a565b9150612536602084016121e6565b90509250929050565b6000806000806080858703121561255557600080fd5b84356125608161229a565b935060208501356125708161229a565b925060408501359150606085013567ffffffffffffffff81111561259357600080fd5b8501601f810187136125a457600080fd5b6125b387823560208401612393565b91505092959194509250565b600080604083850312156125d257600080fd5b82356125dd8161229a565b915060208301356125ed8161229a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061264157607f821691505b6020821081141561266257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561269157612691612668565b500190565b60008160001904831182151516156126b0576126b0612668565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826126da576126da6126b5565b500490565b6000828210156126f1576126f1612668565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156127bc576127bc612668565b5060010190565b6000845160206127d68285838a01612216565b8551918401916127e98184848a01612216565b8554920191600090600181811c908083168061280657607f831692505b85831081141561282457634e487b7160e01b85526022600452602485fd5b808015612838576001811461284957612876565b60ff19851688528388019550612876565b60008b81526020902060005b8581101561286e5781548a820152908401908801612855565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826128e8576128e86126b5565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061292090830184612242565b9695505050505050565b60006020828403121561293c57600080fd5b81516117e6816121b356fea264697066735822122090dfa7196305b21d1c84132af25e8dcb15b07b993eacca400b682741a6ba10a664736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f42697420426f7420536f63696574790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342425300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Bit Bot Society
Arg [1] : _symbol (string): BBS
Arg [2] : _initBaseURI (string):

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 42697420426f7420536f63696574790000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4242530000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000


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.