ETH Price: $3,450.33 (-1.06%)
Gas: 2 Gwei

Token

Yung Ape Squad (YAS)
 

Overview

Max Total Supply

6,643 YAS

Holders

2,970

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
26 YAS
0x688aba8b53caeae1ce6ee84700ba996055cb8686
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Multi-century inter-species warfare has left a handful of survivors from the Ape population. To reverse engineer their extinction and ignite an uproar, adult Apes hid their younglings amongst different parts of the cosmos.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
YungApes

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : YungApes.sol
// SPDX-License-Identifier: None

pragma solidity ^0.8.4;

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




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

  
  uint256 public mintPrice = 42000000000000000;
  uint256 public mintLimitPerTx = 10;
  uint256 public mintLimitPerAddress = 20;
  uint256 public maxSupply = 6969;
  uint256 private publicNextId = 697;
  uint256 private privateWhitelistNextId = 1;
  uint256 private maxWhitelistAddresses = 696;

  Counters.Counter private _tokenIdCounter;


  bool public preSaleState = false;
  bool public publicSaleState = false;

  
  string public baseURI;

  address private deployer;
  address payable private gnosisWallet;

  mapping (address => uint256[]) private tokenIdsOfAddresses;
  mapping (uint256 => address) private addressesOfTokenIds;
  mapping (address => uint256) public mintedByAddress;

  event GnosisWalletSet (address indexed newGnosisAddress);

  constructor() ERC721("Yung Ape Squad", "YAS") { 
    deployer = msg.sender;
  }
  
  modifier whitelisted {
    require(tokenIdsOfAddresses[msg.sender].length > 0, "You aren't whitelisted!");
    _;
  }

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

  function setBaseURI(string calldata newBaseUri) external onlyOwner {
    baseURI = newBaseUri;
  }

  function addToWhitelist(address[] memory wallets) public onlyOwner {
    require(wallets.length + privateWhitelistNextId <= maxWhitelistAddresses +1, "This would exceed max whitelist spots.");

    for(uint i = 0; i < wallets.length; i++) {
      tokenIdsOfAddresses[wallets[i]].push(privateWhitelistNextId);
      addressesOfTokenIds[privateWhitelistNextId] = wallets[i];
      privateWhitelistNextId++;
    }

  }

  function whitelistedIdsOfWallet (address wallet) public view returns(uint256[] memory tokenIds){
    return tokenIdsOfAddresses[wallet];
  }

  function setGnosisSafeWallet(address payable _newAddress) public onlyOwner {
    gnosisWallet = _newAddress;
    emit GnosisWalletSet(gnosisWallet);
  }

  function changeStatePreSale() external onlyOwner returns(bool) {
      preSaleState = !preSaleState;
      return preSaleState;
  }
  
  function changeStatePublicSale() external onlyOwner returns(bool) {
    publicSaleState = !publicSaleState;
    return publicSaleState;
  }
  
  function claimYungApe(uint tokenId) external whitelisted{
    require(preSaleState, "Presale is not active");

    mintInternalPresale(msg.sender, tokenId);
  }

  function claimYungApeMultiple(uint256[] memory _tokenIds) external whitelisted{
    require(preSaleState, "Presale is not active");
    require(_tokenIds.length <= tokenIdsOfAddresses[msg.sender].length, "You aren't whitelisted for this amount of tokens.");

    for(uint256 _index = 0; _index < _tokenIds.length; _index++){
      if(!_exists(_tokenIds[_index])){
        mintInternalPresale(msg.sender, _tokenIds[_index]);
      }
    }


  }

  function mint(uint256 numberOfTokens) external payable {
    require(publicSaleState, "Sale is not active");
    require(numberOfTokens <= mintLimitPerTx, "Too many tokens for one transaction");
    uint256 currentMintedByAddress = mintedByAddress[msg.sender];
    require(currentMintedByAddress + numberOfTokens <= mintLimitPerAddress, "You don't have enough mints left for minting this many tokens for this address");
    require(msg.value >= mintPrice.mul(numberOfTokens), "Insufficient payment");

    mintInternal(msg.sender, numberOfTokens);
  }

  function mintInternal(address wallet, uint amount) internal {
    require(publicNextId.add(amount) <= maxSupply, "Not enough tokens left");

    
    for(uint i = 0; i< amount; i++){
    _safeMint(wallet, publicNextId);
    publicNextId++;
    _tokenIdCounter.increment();
    mintedByAddress[wallet] ++;
    }

  }

  function mintInternalPresale(address wallet, uint tokenId) internal {

    uint currentTokenSupply = totalSupply();
    require(currentTokenSupply.add(1) <= maxSupply, "Not enough tokens left");
    require(!_exists(tokenId),"Token already exists?");
    require(addressesOfTokenIds[tokenId] == wallet, "You weren't holding this id when the snapshot was taken");

    
    
    _safeMint(wallet, tokenId);
    _tokenIdCounter.increment();
    mintedByAddress[wallet] ++;
    
    
    
    
    
    
  }

 
  function reserve(uint256 amount) external onlyOwner {
    mintInternal(msg.sender, amount);
    mintedByAddress[msg.sender] -= amount;
    
  }

  function withdraw() external onlyOwner {
    require(address(this).balance > 0, "No balance to withdraw");
    uint256 balance = address(this).balance;
    gnosisWallet.transfer(balance/4);
    payable(deployer).transfer(address(this).balance); 
  }


  function isClaimed(uint tokenId) external view returns(bool tokenExists){
    return _exists(tokenId);
  }

    function totalSupply() public view returns (uint){
    return _tokenIdCounter.current();
  }

  function tokensOfOwner(address _owner, uint startId, uint endId) external view returns(uint256[] memory ) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index = 0;

            for (uint256 tokenId = startId; tokenId < endId; tokenId++) {
                if (index == tokenCount) break;

                if (ownerOf(tokenId) == _owner) {
                    result[index] = tokenId;
                    index++;
                }
            }

            return result;
        }
  }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 5 of 13 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 13 : 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 7 of 13 : 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 8 of 13 : 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 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : 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 13 of 13 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newGnosisAddress","type":"address"}],"name":"GnosisWalletSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"changeStatePreSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeStatePublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimYungApe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimYungApeMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"tokenExists","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimitPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimitPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newAddress","type":"address"}],"name":"setGnosisSafeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"whitelistedIdsOfWallet","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052669536c708910000600755600a6008556014600955611b39600a556102b9600b556001600c556102b8600d556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055503480156200007357600080fd5b506040518060400160405280600e81526020017f59756e67204170652053717561640000000000000000000000000000000000008152506040518060400160405280600381526020017f594153000000000000000000000000000000000000000000000000000000000081525062000100620000f46200017b60201b60201c565b6200018360201b60201c565b81600190805190602001906200011892919062000247565b5080600290805190602001906200013192919062000247565b50505033601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200035c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025590620002f7565b90600052602060002090601f016020900481019282620002795760008555620002c5565b82601f106200029457805160ff1916838001178555620002c5565b82800160010185558215620002c5579182015b82811115620002c4578251825591602001919060010190620002a7565b5b509050620002d49190620002d8565b5090565b5b80821115620002f3576000816000905550600101620002d9565b5090565b600060028204905060018216806200031057607f821691505b602082108114156200032757620003266200032d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614f00806200036c6000396000f3fe6080604052600436106102255760003560e01c80637f64978311610123578063b690c1cf116100ab578063d5abeb011161006f578063d5abeb011461080c578063e3a7183114610837578063e932444414610860578063e985e9c51461088b578063f2fde38b146108c857610225565b8063b690c1cf14610701578063b88d4fde1461073e578063c839fe9414610767578063c87b56dd146107a4578063d1cbf17d146107e157610225565b806395d89b41116100f257806395d89b41146106295780639ce7a700146106545780639e34070f1461067f578063a0712d68146106bc578063a22cb465146106d857610225565b80637f64978314610583578063819b25ba146105ac5780638a03ff2f146105d55780638da5cb5b146105fe57610225565b80633ccfd60b116101b15780636817c76c116101755780636817c76c146104ae5780636c0360eb146104d957806370a0823114610504578063715018a61461054157806371adc02a1461055857610225565b80633ccfd60b146103dd57806342842e0e146103f457806355f804b31461041d578063588d0d0f146104465780636352211e1461047157610225565b8063095ea7b3116101f8578063095ea7b3146102fa57806318160ddd1461032357806323b872dd1461034e5780632c218fd4146103775780633ca63f2c146103a057610225565b806301ffc9a71461022a578063068b2fec1461026757806306fdde0314610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613810565b6108f1565b60405161025e9190613ea6565b60405180910390f35b34801561027357600080fd5b5061027c6109d3565b6040516102899190614263565b60405180910390f35b34801561029e57600080fd5b506102a76109d9565b6040516102b49190613ec1565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df91906138a7565b610a6b565b6040516102f19190613e1d565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190613703565b610af0565b005b34801561032f57600080fd5b50610338610c08565b6040516103459190614263565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906135fd565b610c19565b005b34801561038357600080fd5b5061039e60048036038101906103999190613598565b610c79565b005b3480156103ac57600080fd5b506103c760048036038101906103c2919061356f565b610d9e565b6040516103d49190614263565b60405180910390f35b3480156103e957600080fd5b506103f2610db6565b005b34801561040057600080fd5b5061041b600480360381019061041691906135fd565b610f5b565b005b34801561042957600080fd5b50610444600480360381019061043f9190613862565b610f7b565b005b34801561045257600080fd5b5061045b61100d565b6040516104689190613ea6565b60405180910390f35b34801561047d57600080fd5b50610498600480360381019061049391906138a7565b6110ca565b6040516104a59190613e1d565b60405180910390f35b3480156104ba57600080fd5b506104c361117c565b6040516104d09190614263565b60405180910390f35b3480156104e557600080fd5b506104ee611182565b6040516104fb9190613ec1565b60405180910390f35b34801561051057600080fd5b5061052b6004803603810190610526919061356f565b611210565b6040516105389190614263565b60405180910390f35b34801561054d57600080fd5b506105566112c8565b005b34801561056457600080fd5b5061056d611350565b60405161057a9190613ea6565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a5919061378e565b611363565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906138a7565b6115b5565b005b3480156105e157600080fd5b506105fc60048036038101906105f791906137cf565b611694565b005b34801561060a57600080fd5b506106136118a9565b6040516106209190613e1d565b60405180910390f35b34801561063557600080fd5b5061063e6118d2565b60405161064b9190613ec1565b60405180910390f35b34801561066057600080fd5b50610669611964565b6040516106769190614263565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a191906138a7565b61196a565b6040516106b39190613ea6565b60405180910390f35b6106d660048036038101906106d191906138a7565b61197c565b005b3480156106e457600080fd5b506106ff60048036038101906106fa91906136c7565b611b09565b005b34801561070d57600080fd5b506107286004803603810190610723919061356f565b611c8a565b6040516107359190613e84565b60405180910390f35b34801561074a57600080fd5b506107656004803603810190610760919061364c565b611d21565b005b34801561077357600080fd5b5061078e6004803603810190610789919061373f565b611d83565b60405161079b9190613e84565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c691906138a7565b611f55565b6040516107d89190613ec1565b60405180910390f35b3480156107ed57600080fd5b506107f6611ffc565b6040516108039190613ea6565b60405180910390f35b34801561081857600080fd5b506108216120b9565b60405161082e9190614263565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906138a7565b6120bf565b005b34801561086c57600080fd5b506108756121a0565b6040516108829190613ea6565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad91906135c1565b6121b3565b6040516108bf9190613ea6565b60405180910390f35b3480156108d457600080fd5b506108ef60048036038101906108ea919061356f565b612247565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109bc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cc57506109cb8261233f565b5b9050919050565b60085481565b6060600180546109e890614585565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1490614585565b8015610a615780601f10610a3657610100808354040283529160200191610a61565b820191906000526020600020905b815481529060010190602001808311610a4457829003601f168201915b5050505050905090565b6000610a76826123a9565b610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac90614103565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afb826110ca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b63906141c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8b612415565b73ffffffffffffffffffffffffffffffffffffffff161480610bba5750610bb981610bb4612415565b6121b3565b5b610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf090614023565b60405180910390fd5b610c03838361241d565b505050565b6000610c14600e6124d6565b905090565b610c2a610c24612415565b826124e4565b610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906141e3565b60405180910390fd5b610c748383836125c2565b505050565b610c81612415565b73ffffffffffffffffffffffffffffffffffffffff16610c9f6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90614143565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f152b58dab5bbad64947b0e59d1ff9f6b8fa4fa1fd26cb5c8dfae7421562724db60405160405180910390a250565b60156020528060005260406000206000915090505481565b610dbe612415565b73ffffffffffffffffffffffffffffffffffffffff16610ddc6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614143565b60405180910390fd5b60004711610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906141a3565b60405180910390fd5b6000479050601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600483610ec391906143fe565b9081150290604051600060405180830381858888f19350505050158015610eee573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f57573d6000803e3d6000fd5b5050565b610f7683838360405180602001604052806000815250611d21565b505050565b610f83612415565b73ffffffffffffffffffffffffffffffffffffffff16610fa16118a9565b73ffffffffffffffffffffffffffffffffffffffff1614610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee90614143565b60405180910390fd5b818160109190611008929190613270565b505050565b6000611017612415565b73ffffffffffffffffffffffffffffffffffffffff166110356118a9565b73ffffffffffffffffffffffffffffffffffffffff161461108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290614143565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550600f60009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a90614063565b60405180910390fd5b80915050919050565b60075481565b6010805461118f90614585565b80601f01602080910402602001604051908101604052809291908181526020018280546111bb90614585565b80156112085780601f106111dd57610100808354040283529160200191611208565b820191906000526020600020905b8154815290600101906020018083116111eb57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614043565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112d0612415565b73ffffffffffffffffffffffffffffffffffffffff166112ee6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b90614143565b60405180910390fd5b61134e600061281e565b565b600f60019054906101000a900460ff1681565b61136b612415565b73ffffffffffffffffffffffffffffffffffffffff166113896118a9565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690614143565b60405180910390fd5b6001600d546113ee91906143a8565b600c5482516113fd91906143a8565b111561143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590614123565b60405180910390fd5b60005b81518110156115b15760136000838381518110611487577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600c54908060018154018082558091505060019003906000526020600020016000909190919091505581818151811061152b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160146000600c54815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c6000815480929190611599906145e8565b919050555080806115a9906145e8565b915050611441565b5050565b6115bd612415565b73ffffffffffffffffffffffffffffffffffffffff166115db6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614143565b60405180910390fd5b61163b33826128e2565b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461168a9190614489565b9250508190555050565b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011611719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171090614223565b60405180910390fd5b600f60009054906101000a900460ff16611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90614243565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050815111156117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e590613f83565b60405180910390fd5b60005b81518110156118a557611843828281518110611836577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516123a9565b6118925761189133838381518110611884577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516129e1565b5b808061189d906145e8565b9150506117f1565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546118e190614585565b80601f016020809104026020016040519081016040528092919081815260200182805461190d90614585565b801561195a5780601f1061192f5761010080835404028352916020019161195a565b820191906000526020600020905b81548152906001019060200180831161193d57829003601f168201915b5050505050905090565b60095481565b6000611975826123a9565b9050919050565b600f60019054906101000a900460ff166119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c290613fe3565b60405180910390fd5b600854811115611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790613ee3565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506009548282611a6391906143a8565b1115611aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9b906140c3565b60405180910390fd5b611ab982600754612b9d90919063ffffffff16565b341015611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af2906140e3565b60405180910390fd5b611b0533836128e2565b5050565b611b11612415565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7690613fc3565b60405180910390fd5b8060066000611b8c612415565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c39612415565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c7e9190613ea6565b60405180910390a35050565b6060601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611d1557602002820191906000526020600020905b815481526020019060010190808311611d01575b50505050509050919050565b611d32611d2c612415565b836124e4565b611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d68906141e3565b60405180910390fd5b611d7d84848484612bb3565b50505050565b60606000611d9085611210565b90506000811415611e1357600067ffffffffffffffff811115611ddc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e0a5781602001602082028036833780820191505090505b50915050611f4e565b60008167ffffffffffffffff811115611e55577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e835781602001602082028036833780820191505090505b5090506000808690505b85811015611f465783821415611ea257611f46565b8773ffffffffffffffffffffffffffffffffffffffff16611ec2826110ca565b73ffffffffffffffffffffffffffffffffffffffff161415611f335780838381518110611f18577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611f2f906145e8565b9250505b8080611f3e906145e8565b915050611e8d565b508193505050505b9392505050565b6060611f60826123a9565b611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690614183565b60405180910390fd5b6000611fa9612c0f565b90506000815111611fc95760405180602001604052806000815250611ff4565b80611fd384612ca1565b604051602001611fe4929190613df9565b6040516020818303038152906040525b915050919050565b6000612006612415565b73ffffffffffffffffffffffffffffffffffffffff166120246118a9565b73ffffffffffffffffffffffffffffffffffffffff161461207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207190614143565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550600f60019054906101000a900460ff16905090565b600a5481565b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b90614223565b60405180910390fd5b600f60009054906101000a900460ff16612193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218a90614243565b60405180910390fd5b61219d33826129e1565b50565b600f60009054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61224f612415565b73ffffffffffffffffffffffffffffffffffffffff1661226d6118a9565b73ffffffffffffffffffffffffffffffffffffffff16146122c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ba90614143565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a90613f23565b60405180910390fd5b61233c8161281e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612490836110ca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006124ef826123a9565b61252e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252590614003565b60405180910390fd5b6000612539836110ca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125a857508373ffffffffffffffffffffffffffffffffffffffff1661259084610a6b565b73ffffffffffffffffffffffffffffffffffffffff16145b806125b957506125b881856121b3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125e2826110ca565b73ffffffffffffffffffffffffffffffffffffffff1614612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90614163565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269f90613fa3565b60405180910390fd5b6126b3838383612e4e565b6126be60008261241d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461270e9190614489565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461276591906143a8565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a546128fa82600b54612e5390919063ffffffff16565b111561293b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293290614083565b60405180910390fd5b60005b818110156129dc5761295283600b54612e69565b600b6000815480929190612965906145e8565b9190505550612974600e612e87565b601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906129c4906145e8565b919050555080806129d4906145e8565b91505061293e565b505050565b60006129eb610c08565b9050600a54612a04600183612e5390919063ffffffff16565b1115612a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3c90614083565b60405180910390fd5b612a4e826123a9565b15612a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8590614203565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166014600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2690613f63565b60405180910390fd5b612b398383612e69565b612b43600e612e87565b601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190612b93906145e8565b9190505550505050565b60008183612bab919061442f565b905092915050565b612bbe8484846125c2565b612bca84848484612e9d565b612c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0090613f03565b60405180910390fd5b50505050565b606060108054612c1e90614585565b80601f0160208091040260200160405190810160405280929190818152602001828054612c4a90614585565b8015612c975780601f10612c6c57610100808354040283529160200191612c97565b820191906000526020600020905b815481529060010190602001808311612c7a57829003601f168201915b5050505050905090565b60606000821415612ce9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e49565b600082905060005b60008214612d1b578080612d04906145e8565b915050600a82612d1491906143fe565b9150612cf1565b60008167ffffffffffffffff811115612d5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d8f5781602001600182028036833780820191505090505b5090505b60008514612e4257600182612da89190614489565b9150600a85612db79190614631565b6030612dc391906143a8565b60f81b818381518110612dff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e3b91906143fe565b9450612d93565b8093505050505b919050565b505050565b60008183612e6191906143a8565b905092915050565b612e83828260405180602001604052806000815250613034565b5050565b6001816000016000828254019250508190555050565b6000612ebe8473ffffffffffffffffffffffffffffffffffffffff1661308f565b15613027578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ee7612415565b8786866040518563ffffffff1660e01b8152600401612f099493929190613e38565b602060405180830381600087803b158015612f2357600080fd5b505af1925050508015612f5457506040513d601f19601f82011682018060405250810190612f519190613839565b60015b612fd7573d8060008114612f84576040519150601f19603f3d011682016040523d82523d6000602084013e612f89565b606091505b50600081511415612fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc690613f03565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061302c565b600190505b949350505050565b61303e83836130a2565b61304b6000848484612e9d565b61308a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308190613f03565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613112576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613109906140a3565b60405180910390fd5b61311b816123a9565b1561315b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315290613f43565b60405180910390fd5b61316760008383612e4e565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131b791906143a8565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461327c90614585565b90600052602060002090601f01602090048101928261329e57600085556132e5565b82601f106132b757803560ff19168380011785556132e5565b828001600101855582156132e5579182015b828111156132e45782358255916020019190600101906132c9565b5b5090506132f291906132f6565b5090565b5b8082111561330f5760008160009055506001016132f7565b5090565b6000613326613321846142a3565b61427e565b9050808382526020820190508285602086028201111561334557600080fd5b60005b85811015613375578161335b8882613429565b845260208401935060208301925050600181019050613348565b5050509392505050565b600061339261338d846142cf565b61427e565b905080838252602082019050828560208602820111156133b157600080fd5b60005b858110156133e157816133c7888261355a565b8452602084019350602083019250506001810190506133b4565b5050509392505050565b60006133fe6133f9846142fb565b61427e565b90508281526020810184848401111561341657600080fd5b613421848285614543565b509392505050565b60008135905061343881614e57565b92915050565b60008135905061344d81614e6e565b92915050565b600082601f83011261346457600080fd5b8135613474848260208601613313565b91505092915050565b600082601f83011261348e57600080fd5b813561349e84826020860161337f565b91505092915050565b6000813590506134b681614e85565b92915050565b6000813590506134cb81614e9c565b92915050565b6000815190506134e081614e9c565b92915050565b600082601f8301126134f757600080fd5b81356135078482602086016133eb565b91505092915050565b60008083601f84011261352257600080fd5b8235905067ffffffffffffffff81111561353b57600080fd5b60208301915083600182028301111561355357600080fd5b9250929050565b60008135905061356981614eb3565b92915050565b60006020828403121561358157600080fd5b600061358f84828501613429565b91505092915050565b6000602082840312156135aa57600080fd5b60006135b88482850161343e565b91505092915050565b600080604083850312156135d457600080fd5b60006135e285828601613429565b92505060206135f385828601613429565b9150509250929050565b60008060006060848603121561361257600080fd5b600061362086828701613429565b935050602061363186828701613429565b92505060406136428682870161355a565b9150509250925092565b6000806000806080858703121561366257600080fd5b600061367087828801613429565b945050602061368187828801613429565b93505060406136928782880161355a565b925050606085013567ffffffffffffffff8111156136af57600080fd5b6136bb878288016134e6565b91505092959194509250565b600080604083850312156136da57600080fd5b60006136e885828601613429565b92505060206136f9858286016134a7565b9150509250929050565b6000806040838503121561371657600080fd5b600061372485828601613429565b92505060206137358582860161355a565b9150509250929050565b60008060006060848603121561375457600080fd5b600061376286828701613429565b93505060206137738682870161355a565b92505060406137848682870161355a565b9150509250925092565b6000602082840312156137a057600080fd5b600082013567ffffffffffffffff8111156137ba57600080fd5b6137c684828501613453565b91505092915050565b6000602082840312156137e157600080fd5b600082013567ffffffffffffffff8111156137fb57600080fd5b6138078482850161347d565b91505092915050565b60006020828403121561382257600080fd5b6000613830848285016134bc565b91505092915050565b60006020828403121561384b57600080fd5b6000613859848285016134d1565b91505092915050565b6000806020838503121561387557600080fd5b600083013567ffffffffffffffff81111561388f57600080fd5b61389b85828601613510565b92509250509250929050565b6000602082840312156138b957600080fd5b60006138c78482850161355a565b91505092915050565b60006138dc8383613ddb565b60208301905092915050565b6138f1816144bd565b82525050565b60006139028261433c565b61390c818561436a565b93506139178361432c565b8060005b8381101561394857815161392f88826138d0565b975061393a8361435d565b92505060018101905061391b565b5085935050505092915050565b61395e816144e1565b82525050565b600061396f82614347565b613979818561437b565b9350613989818560208601614552565b6139928161471e565b840191505092915050565b60006139a882614352565b6139b2818561438c565b93506139c2818560208601614552565b6139cb8161471e565b840191505092915050565b60006139e182614352565b6139eb818561439d565b93506139fb818560208601614552565b80840191505092915050565b6000613a1460238361438c565b9150613a1f8261472f565b604082019050919050565b6000613a3760328361438c565b9150613a428261477e565b604082019050919050565b6000613a5a60268361438c565b9150613a65826147cd565b604082019050919050565b6000613a7d601c8361438c565b9150613a888261481c565b602082019050919050565b6000613aa060378361438c565b9150613aab82614845565b604082019050919050565b6000613ac360318361438c565b9150613ace82614894565b604082019050919050565b6000613ae660248361438c565b9150613af1826148e3565b604082019050919050565b6000613b0960198361438c565b9150613b1482614932565b602082019050919050565b6000613b2c60128361438c565b9150613b378261495b565b602082019050919050565b6000613b4f602c8361438c565b9150613b5a82614984565b604082019050919050565b6000613b7260388361438c565b9150613b7d826149d3565b604082019050919050565b6000613b95602a8361438c565b9150613ba082614a22565b604082019050919050565b6000613bb860298361438c565b9150613bc382614a71565b604082019050919050565b6000613bdb60168361438c565b9150613be682614ac0565b602082019050919050565b6000613bfe60208361438c565b9150613c0982614ae9565b602082019050919050565b6000613c21604e8361438c565b9150613c2c82614b12565b606082019050919050565b6000613c4460148361438c565b9150613c4f82614b87565b602082019050919050565b6000613c67602c8361438c565b9150613c7282614bb0565b604082019050919050565b6000613c8a60268361438c565b9150613c9582614bff565b604082019050919050565b6000613cad60208361438c565b9150613cb882614c4e565b602082019050919050565b6000613cd060298361438c565b9150613cdb82614c77565b604082019050919050565b6000613cf3602f8361438c565b9150613cfe82614cc6565b604082019050919050565b6000613d1660168361438c565b9150613d2182614d15565b602082019050919050565b6000613d3960218361438c565b9150613d4482614d3e565b604082019050919050565b6000613d5c60318361438c565b9150613d6782614d8d565b604082019050919050565b6000613d7f60158361438c565b9150613d8a82614ddc565b602082019050919050565b6000613da260178361438c565b9150613dad82614e05565b602082019050919050565b6000613dc560158361438c565b9150613dd082614e2e565b602082019050919050565b613de481614539565b82525050565b613df381614539565b82525050565b6000613e0582856139d6565b9150613e1182846139d6565b91508190509392505050565b6000602082019050613e3260008301846138e8565b92915050565b6000608082019050613e4d60008301876138e8565b613e5a60208301866138e8565b613e676040830185613dea565b8181036060830152613e798184613964565b905095945050505050565b60006020820190508181036000830152613e9e81846138f7565b905092915050565b6000602082019050613ebb6000830184613955565b92915050565b60006020820190508181036000830152613edb818461399d565b905092915050565b60006020820190508181036000830152613efc81613a07565b9050919050565b60006020820190508181036000830152613f1c81613a2a565b9050919050565b60006020820190508181036000830152613f3c81613a4d565b9050919050565b60006020820190508181036000830152613f5c81613a70565b9050919050565b60006020820190508181036000830152613f7c81613a93565b9050919050565b60006020820190508181036000830152613f9c81613ab6565b9050919050565b60006020820190508181036000830152613fbc81613ad9565b9050919050565b60006020820190508181036000830152613fdc81613afc565b9050919050565b60006020820190508181036000830152613ffc81613b1f565b9050919050565b6000602082019050818103600083015261401c81613b42565b9050919050565b6000602082019050818103600083015261403c81613b65565b9050919050565b6000602082019050818103600083015261405c81613b88565b9050919050565b6000602082019050818103600083015261407c81613bab565b9050919050565b6000602082019050818103600083015261409c81613bce565b9050919050565b600060208201905081810360008301526140bc81613bf1565b9050919050565b600060208201905081810360008301526140dc81613c14565b9050919050565b600060208201905081810360008301526140fc81613c37565b9050919050565b6000602082019050818103600083015261411c81613c5a565b9050919050565b6000602082019050818103600083015261413c81613c7d565b9050919050565b6000602082019050818103600083015261415c81613ca0565b9050919050565b6000602082019050818103600083015261417c81613cc3565b9050919050565b6000602082019050818103600083015261419c81613ce6565b9050919050565b600060208201905081810360008301526141bc81613d09565b9050919050565b600060208201905081810360008301526141dc81613d2c565b9050919050565b600060208201905081810360008301526141fc81613d4f565b9050919050565b6000602082019050818103600083015261421c81613d72565b9050919050565b6000602082019050818103600083015261423c81613d95565b9050919050565b6000602082019050818103600083015261425c81613db8565b9050919050565b60006020820190506142786000830184613dea565b92915050565b6000614288614299565b905061429482826145b7565b919050565b6000604051905090565b600067ffffffffffffffff8211156142be576142bd6146ef565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142ea576142e96146ef565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614316576143156146ef565b5b61431f8261471e565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143b382614539565b91506143be83614539565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143f3576143f2614662565b5b828201905092915050565b600061440982614539565b915061441483614539565b92508261442457614423614691565b5b828204905092915050565b600061443a82614539565b915061444583614539565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561447e5761447d614662565b5b828202905092915050565b600061449482614539565b915061449f83614539565b9250828210156144b2576144b1614662565b5b828203905092915050565b60006144c882614519565b9050919050565b60006144da82614519565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614570578082015181840152602081019050614555565b8381111561457f576000848401525b50505050565b6000600282049050600182168061459d57607f821691505b602082108114156145b1576145b06146c0565b5b50919050565b6145c08261471e565b810181811067ffffffffffffffff821117156145df576145de6146ef565b5b80604052505050565b60006145f382614539565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561462657614625614662565b5b600182019050919050565b600061463c82614539565b915061464783614539565b92508261465757614656614691565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f546f6f206d616e7920746f6b656e7320666f72206f6e65207472616e7361637460008201527f696f6e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7520776572656e277420686f6c64696e672074686973206964207768656e60008201527f2074686520736e617073686f74207761732074616b656e000000000000000000602082015250565b7f596f75206172656e27742077686974656c697374656420666f7220746869732060008201527f616d6f756e74206f6620746f6b656e732e000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520646f6e2774206861766520656e6f756768206d696e7473206c65667460008201527f20666f72206d696e74696e672074686973206d616e7920746f6b656e7320666f60208201527f7220746869732061646472657373000000000000000000000000000000000000604082015250565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5468697320776f756c6420657863656564206d61782077686974656c6973742060008201527f73706f74732e0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e20616c7265616479206578697374733f0000000000000000000000600082015250565b7f596f75206172656e27742077686974656c697374656421000000000000000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b614e60816144bd565b8114614e6b57600080fd5b50565b614e77816144cf565b8114614e8257600080fd5b50565b614e8e816144e1565b8114614e9957600080fd5b50565b614ea5816144ed565b8114614eb057600080fd5b50565b614ebc81614539565b8114614ec757600080fd5b5056fea26469706673582212206bc2aee56fd3ae740f6a37e1391d964568dfb3eb42203d81dec48516204ec8f564736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102255760003560e01c80637f64978311610123578063b690c1cf116100ab578063d5abeb011161006f578063d5abeb011461080c578063e3a7183114610837578063e932444414610860578063e985e9c51461088b578063f2fde38b146108c857610225565b8063b690c1cf14610701578063b88d4fde1461073e578063c839fe9414610767578063c87b56dd146107a4578063d1cbf17d146107e157610225565b806395d89b41116100f257806395d89b41146106295780639ce7a700146106545780639e34070f1461067f578063a0712d68146106bc578063a22cb465146106d857610225565b80637f64978314610583578063819b25ba146105ac5780638a03ff2f146105d55780638da5cb5b146105fe57610225565b80633ccfd60b116101b15780636817c76c116101755780636817c76c146104ae5780636c0360eb146104d957806370a0823114610504578063715018a61461054157806371adc02a1461055857610225565b80633ccfd60b146103dd57806342842e0e146103f457806355f804b31461041d578063588d0d0f146104465780636352211e1461047157610225565b8063095ea7b3116101f8578063095ea7b3146102fa57806318160ddd1461032357806323b872dd1461034e5780632c218fd4146103775780633ca63f2c146103a057610225565b806301ffc9a71461022a578063068b2fec1461026757806306fdde0314610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613810565b6108f1565b60405161025e9190613ea6565b60405180910390f35b34801561027357600080fd5b5061027c6109d3565b6040516102899190614263565b60405180910390f35b34801561029e57600080fd5b506102a76109d9565b6040516102b49190613ec1565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df91906138a7565b610a6b565b6040516102f19190613e1d565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190613703565b610af0565b005b34801561032f57600080fd5b50610338610c08565b6040516103459190614263565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906135fd565b610c19565b005b34801561038357600080fd5b5061039e60048036038101906103999190613598565b610c79565b005b3480156103ac57600080fd5b506103c760048036038101906103c2919061356f565b610d9e565b6040516103d49190614263565b60405180910390f35b3480156103e957600080fd5b506103f2610db6565b005b34801561040057600080fd5b5061041b600480360381019061041691906135fd565b610f5b565b005b34801561042957600080fd5b50610444600480360381019061043f9190613862565b610f7b565b005b34801561045257600080fd5b5061045b61100d565b6040516104689190613ea6565b60405180910390f35b34801561047d57600080fd5b50610498600480360381019061049391906138a7565b6110ca565b6040516104a59190613e1d565b60405180910390f35b3480156104ba57600080fd5b506104c361117c565b6040516104d09190614263565b60405180910390f35b3480156104e557600080fd5b506104ee611182565b6040516104fb9190613ec1565b60405180910390f35b34801561051057600080fd5b5061052b6004803603810190610526919061356f565b611210565b6040516105389190614263565b60405180910390f35b34801561054d57600080fd5b506105566112c8565b005b34801561056457600080fd5b5061056d611350565b60405161057a9190613ea6565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a5919061378e565b611363565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906138a7565b6115b5565b005b3480156105e157600080fd5b506105fc60048036038101906105f791906137cf565b611694565b005b34801561060a57600080fd5b506106136118a9565b6040516106209190613e1d565b60405180910390f35b34801561063557600080fd5b5061063e6118d2565b60405161064b9190613ec1565b60405180910390f35b34801561066057600080fd5b50610669611964565b6040516106769190614263565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a191906138a7565b61196a565b6040516106b39190613ea6565b60405180910390f35b6106d660048036038101906106d191906138a7565b61197c565b005b3480156106e457600080fd5b506106ff60048036038101906106fa91906136c7565b611b09565b005b34801561070d57600080fd5b506107286004803603810190610723919061356f565b611c8a565b6040516107359190613e84565b60405180910390f35b34801561074a57600080fd5b506107656004803603810190610760919061364c565b611d21565b005b34801561077357600080fd5b5061078e6004803603810190610789919061373f565b611d83565b60405161079b9190613e84565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c691906138a7565b611f55565b6040516107d89190613ec1565b60405180910390f35b3480156107ed57600080fd5b506107f6611ffc565b6040516108039190613ea6565b60405180910390f35b34801561081857600080fd5b506108216120b9565b60405161082e9190614263565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906138a7565b6120bf565b005b34801561086c57600080fd5b506108756121a0565b6040516108829190613ea6565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad91906135c1565b6121b3565b6040516108bf9190613ea6565b60405180910390f35b3480156108d457600080fd5b506108ef60048036038101906108ea919061356f565b612247565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109bc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cc57506109cb8261233f565b5b9050919050565b60085481565b6060600180546109e890614585565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1490614585565b8015610a615780601f10610a3657610100808354040283529160200191610a61565b820191906000526020600020905b815481529060010190602001808311610a4457829003601f168201915b5050505050905090565b6000610a76826123a9565b610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac90614103565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afb826110ca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b63906141c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8b612415565b73ffffffffffffffffffffffffffffffffffffffff161480610bba5750610bb981610bb4612415565b6121b3565b5b610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf090614023565b60405180910390fd5b610c03838361241d565b505050565b6000610c14600e6124d6565b905090565b610c2a610c24612415565b826124e4565b610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906141e3565b60405180910390fd5b610c748383836125c2565b505050565b610c81612415565b73ffffffffffffffffffffffffffffffffffffffff16610c9f6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90614143565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f152b58dab5bbad64947b0e59d1ff9f6b8fa4fa1fd26cb5c8dfae7421562724db60405160405180910390a250565b60156020528060005260406000206000915090505481565b610dbe612415565b73ffffffffffffffffffffffffffffffffffffffff16610ddc6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614143565b60405180910390fd5b60004711610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906141a3565b60405180910390fd5b6000479050601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600483610ec391906143fe565b9081150290604051600060405180830381858888f19350505050158015610eee573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f57573d6000803e3d6000fd5b5050565b610f7683838360405180602001604052806000815250611d21565b505050565b610f83612415565b73ffffffffffffffffffffffffffffffffffffffff16610fa16118a9565b73ffffffffffffffffffffffffffffffffffffffff1614610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee90614143565b60405180910390fd5b818160109190611008929190613270565b505050565b6000611017612415565b73ffffffffffffffffffffffffffffffffffffffff166110356118a9565b73ffffffffffffffffffffffffffffffffffffffff161461108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290614143565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550600f60009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a90614063565b60405180910390fd5b80915050919050565b60075481565b6010805461118f90614585565b80601f01602080910402602001604051908101604052809291908181526020018280546111bb90614585565b80156112085780601f106111dd57610100808354040283529160200191611208565b820191906000526020600020905b8154815290600101906020018083116111eb57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614043565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112d0612415565b73ffffffffffffffffffffffffffffffffffffffff166112ee6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b90614143565b60405180910390fd5b61134e600061281e565b565b600f60019054906101000a900460ff1681565b61136b612415565b73ffffffffffffffffffffffffffffffffffffffff166113896118a9565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690614143565b60405180910390fd5b6001600d546113ee91906143a8565b600c5482516113fd91906143a8565b111561143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590614123565b60405180910390fd5b60005b81518110156115b15760136000838381518110611487577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600c54908060018154018082558091505060019003906000526020600020016000909190919091505581818151811061152b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160146000600c54815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c6000815480929190611599906145e8565b919050555080806115a9906145e8565b915050611441565b5050565b6115bd612415565b73ffffffffffffffffffffffffffffffffffffffff166115db6118a9565b73ffffffffffffffffffffffffffffffffffffffff1614611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614143565b60405180910390fd5b61163b33826128e2565b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461168a9190614489565b9250508190555050565b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011611719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171090614223565b60405180910390fd5b600f60009054906101000a900460ff16611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90614243565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050815111156117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e590613f83565b60405180910390fd5b60005b81518110156118a557611843828281518110611836577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516123a9565b6118925761189133838381518110611884577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516129e1565b5b808061189d906145e8565b9150506117f1565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546118e190614585565b80601f016020809104026020016040519081016040528092919081815260200182805461190d90614585565b801561195a5780601f1061192f5761010080835404028352916020019161195a565b820191906000526020600020905b81548152906001019060200180831161193d57829003601f168201915b5050505050905090565b60095481565b6000611975826123a9565b9050919050565b600f60019054906101000a900460ff166119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c290613fe3565b60405180910390fd5b600854811115611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790613ee3565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506009548282611a6391906143a8565b1115611aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9b906140c3565b60405180910390fd5b611ab982600754612b9d90919063ffffffff16565b341015611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af2906140e3565b60405180910390fd5b611b0533836128e2565b5050565b611b11612415565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7690613fc3565b60405180910390fd5b8060066000611b8c612415565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c39612415565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c7e9190613ea6565b60405180910390a35050565b6060601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611d1557602002820191906000526020600020905b815481526020019060010190808311611d01575b50505050509050919050565b611d32611d2c612415565b836124e4565b611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d68906141e3565b60405180910390fd5b611d7d84848484612bb3565b50505050565b60606000611d9085611210565b90506000811415611e1357600067ffffffffffffffff811115611ddc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e0a5781602001602082028036833780820191505090505b50915050611f4e565b60008167ffffffffffffffff811115611e55577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e835781602001602082028036833780820191505090505b5090506000808690505b85811015611f465783821415611ea257611f46565b8773ffffffffffffffffffffffffffffffffffffffff16611ec2826110ca565b73ffffffffffffffffffffffffffffffffffffffff161415611f335780838381518110611f18577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611f2f906145e8565b9250505b8080611f3e906145e8565b915050611e8d565b508193505050505b9392505050565b6060611f60826123a9565b611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690614183565b60405180910390fd5b6000611fa9612c0f565b90506000815111611fc95760405180602001604052806000815250611ff4565b80611fd384612ca1565b604051602001611fe4929190613df9565b6040516020818303038152906040525b915050919050565b6000612006612415565b73ffffffffffffffffffffffffffffffffffffffff166120246118a9565b73ffffffffffffffffffffffffffffffffffffffff161461207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207190614143565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550600f60019054906101000a900460ff16905090565b600a5481565b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b90614223565b60405180910390fd5b600f60009054906101000a900460ff16612193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218a90614243565b60405180910390fd5b61219d33826129e1565b50565b600f60009054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61224f612415565b73ffffffffffffffffffffffffffffffffffffffff1661226d6118a9565b73ffffffffffffffffffffffffffffffffffffffff16146122c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ba90614143565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a90613f23565b60405180910390fd5b61233c8161281e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612490836110ca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006124ef826123a9565b61252e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252590614003565b60405180910390fd5b6000612539836110ca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125a857508373ffffffffffffffffffffffffffffffffffffffff1661259084610a6b565b73ffffffffffffffffffffffffffffffffffffffff16145b806125b957506125b881856121b3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125e2826110ca565b73ffffffffffffffffffffffffffffffffffffffff1614612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90614163565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269f90613fa3565b60405180910390fd5b6126b3838383612e4e565b6126be60008261241d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461270e9190614489565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461276591906143a8565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a546128fa82600b54612e5390919063ffffffff16565b111561293b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293290614083565b60405180910390fd5b60005b818110156129dc5761295283600b54612e69565b600b6000815480929190612965906145e8565b9190505550612974600e612e87565b601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906129c4906145e8565b919050555080806129d4906145e8565b91505061293e565b505050565b60006129eb610c08565b9050600a54612a04600183612e5390919063ffffffff16565b1115612a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3c90614083565b60405180910390fd5b612a4e826123a9565b15612a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8590614203565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166014600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2690613f63565b60405180910390fd5b612b398383612e69565b612b43600e612e87565b601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190612b93906145e8565b9190505550505050565b60008183612bab919061442f565b905092915050565b612bbe8484846125c2565b612bca84848484612e9d565b612c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0090613f03565b60405180910390fd5b50505050565b606060108054612c1e90614585565b80601f0160208091040260200160405190810160405280929190818152602001828054612c4a90614585565b8015612c975780601f10612c6c57610100808354040283529160200191612c97565b820191906000526020600020905b815481529060010190602001808311612c7a57829003601f168201915b5050505050905090565b60606000821415612ce9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e49565b600082905060005b60008214612d1b578080612d04906145e8565b915050600a82612d1491906143fe565b9150612cf1565b60008167ffffffffffffffff811115612d5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d8f5781602001600182028036833780820191505090505b5090505b60008514612e4257600182612da89190614489565b9150600a85612db79190614631565b6030612dc391906143a8565b60f81b818381518110612dff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e3b91906143fe565b9450612d93565b8093505050505b919050565b505050565b60008183612e6191906143a8565b905092915050565b612e83828260405180602001604052806000815250613034565b5050565b6001816000016000828254019250508190555050565b6000612ebe8473ffffffffffffffffffffffffffffffffffffffff1661308f565b15613027578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ee7612415565b8786866040518563ffffffff1660e01b8152600401612f099493929190613e38565b602060405180830381600087803b158015612f2357600080fd5b505af1925050508015612f5457506040513d601f19601f82011682018060405250810190612f519190613839565b60015b612fd7573d8060008114612f84576040519150601f19603f3d011682016040523d82523d6000602084013e612f89565b606091505b50600081511415612fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc690613f03565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061302c565b600190505b949350505050565b61303e83836130a2565b61304b6000848484612e9d565b61308a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308190613f03565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613112576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613109906140a3565b60405180910390fd5b61311b816123a9565b1561315b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315290613f43565b60405180910390fd5b61316760008383612e4e565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131b791906143a8565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461327c90614585565b90600052602060002090601f01602090048101928261329e57600085556132e5565b82601f106132b757803560ff19168380011785556132e5565b828001600101855582156132e5579182015b828111156132e45782358255916020019190600101906132c9565b5b5090506132f291906132f6565b5090565b5b8082111561330f5760008160009055506001016132f7565b5090565b6000613326613321846142a3565b61427e565b9050808382526020820190508285602086028201111561334557600080fd5b60005b85811015613375578161335b8882613429565b845260208401935060208301925050600181019050613348565b5050509392505050565b600061339261338d846142cf565b61427e565b905080838252602082019050828560208602820111156133b157600080fd5b60005b858110156133e157816133c7888261355a565b8452602084019350602083019250506001810190506133b4565b5050509392505050565b60006133fe6133f9846142fb565b61427e565b90508281526020810184848401111561341657600080fd5b613421848285614543565b509392505050565b60008135905061343881614e57565b92915050565b60008135905061344d81614e6e565b92915050565b600082601f83011261346457600080fd5b8135613474848260208601613313565b91505092915050565b600082601f83011261348e57600080fd5b813561349e84826020860161337f565b91505092915050565b6000813590506134b681614e85565b92915050565b6000813590506134cb81614e9c565b92915050565b6000815190506134e081614e9c565b92915050565b600082601f8301126134f757600080fd5b81356135078482602086016133eb565b91505092915050565b60008083601f84011261352257600080fd5b8235905067ffffffffffffffff81111561353b57600080fd5b60208301915083600182028301111561355357600080fd5b9250929050565b60008135905061356981614eb3565b92915050565b60006020828403121561358157600080fd5b600061358f84828501613429565b91505092915050565b6000602082840312156135aa57600080fd5b60006135b88482850161343e565b91505092915050565b600080604083850312156135d457600080fd5b60006135e285828601613429565b92505060206135f385828601613429565b9150509250929050565b60008060006060848603121561361257600080fd5b600061362086828701613429565b935050602061363186828701613429565b92505060406136428682870161355a565b9150509250925092565b6000806000806080858703121561366257600080fd5b600061367087828801613429565b945050602061368187828801613429565b93505060406136928782880161355a565b925050606085013567ffffffffffffffff8111156136af57600080fd5b6136bb878288016134e6565b91505092959194509250565b600080604083850312156136da57600080fd5b60006136e885828601613429565b92505060206136f9858286016134a7565b9150509250929050565b6000806040838503121561371657600080fd5b600061372485828601613429565b92505060206137358582860161355a565b9150509250929050565b60008060006060848603121561375457600080fd5b600061376286828701613429565b93505060206137738682870161355a565b92505060406137848682870161355a565b9150509250925092565b6000602082840312156137a057600080fd5b600082013567ffffffffffffffff8111156137ba57600080fd5b6137c684828501613453565b91505092915050565b6000602082840312156137e157600080fd5b600082013567ffffffffffffffff8111156137fb57600080fd5b6138078482850161347d565b91505092915050565b60006020828403121561382257600080fd5b6000613830848285016134bc565b91505092915050565b60006020828403121561384b57600080fd5b6000613859848285016134d1565b91505092915050565b6000806020838503121561387557600080fd5b600083013567ffffffffffffffff81111561388f57600080fd5b61389b85828601613510565b92509250509250929050565b6000602082840312156138b957600080fd5b60006138c78482850161355a565b91505092915050565b60006138dc8383613ddb565b60208301905092915050565b6138f1816144bd565b82525050565b60006139028261433c565b61390c818561436a565b93506139178361432c565b8060005b8381101561394857815161392f88826138d0565b975061393a8361435d565b92505060018101905061391b565b5085935050505092915050565b61395e816144e1565b82525050565b600061396f82614347565b613979818561437b565b9350613989818560208601614552565b6139928161471e565b840191505092915050565b60006139a882614352565b6139b2818561438c565b93506139c2818560208601614552565b6139cb8161471e565b840191505092915050565b60006139e182614352565b6139eb818561439d565b93506139fb818560208601614552565b80840191505092915050565b6000613a1460238361438c565b9150613a1f8261472f565b604082019050919050565b6000613a3760328361438c565b9150613a428261477e565b604082019050919050565b6000613a5a60268361438c565b9150613a65826147cd565b604082019050919050565b6000613a7d601c8361438c565b9150613a888261481c565b602082019050919050565b6000613aa060378361438c565b9150613aab82614845565b604082019050919050565b6000613ac360318361438c565b9150613ace82614894565b604082019050919050565b6000613ae660248361438c565b9150613af1826148e3565b604082019050919050565b6000613b0960198361438c565b9150613b1482614932565b602082019050919050565b6000613b2c60128361438c565b9150613b378261495b565b602082019050919050565b6000613b4f602c8361438c565b9150613b5a82614984565b604082019050919050565b6000613b7260388361438c565b9150613b7d826149d3565b604082019050919050565b6000613b95602a8361438c565b9150613ba082614a22565b604082019050919050565b6000613bb860298361438c565b9150613bc382614a71565b604082019050919050565b6000613bdb60168361438c565b9150613be682614ac0565b602082019050919050565b6000613bfe60208361438c565b9150613c0982614ae9565b602082019050919050565b6000613c21604e8361438c565b9150613c2c82614b12565b606082019050919050565b6000613c4460148361438c565b9150613c4f82614b87565b602082019050919050565b6000613c67602c8361438c565b9150613c7282614bb0565b604082019050919050565b6000613c8a60268361438c565b9150613c9582614bff565b604082019050919050565b6000613cad60208361438c565b9150613cb882614c4e565b602082019050919050565b6000613cd060298361438c565b9150613cdb82614c77565b604082019050919050565b6000613cf3602f8361438c565b9150613cfe82614cc6565b604082019050919050565b6000613d1660168361438c565b9150613d2182614d15565b602082019050919050565b6000613d3960218361438c565b9150613d4482614d3e565b604082019050919050565b6000613d5c60318361438c565b9150613d6782614d8d565b604082019050919050565b6000613d7f60158361438c565b9150613d8a82614ddc565b602082019050919050565b6000613da260178361438c565b9150613dad82614e05565b602082019050919050565b6000613dc560158361438c565b9150613dd082614e2e565b602082019050919050565b613de481614539565b82525050565b613df381614539565b82525050565b6000613e0582856139d6565b9150613e1182846139d6565b91508190509392505050565b6000602082019050613e3260008301846138e8565b92915050565b6000608082019050613e4d60008301876138e8565b613e5a60208301866138e8565b613e676040830185613dea565b8181036060830152613e798184613964565b905095945050505050565b60006020820190508181036000830152613e9e81846138f7565b905092915050565b6000602082019050613ebb6000830184613955565b92915050565b60006020820190508181036000830152613edb818461399d565b905092915050565b60006020820190508181036000830152613efc81613a07565b9050919050565b60006020820190508181036000830152613f1c81613a2a565b9050919050565b60006020820190508181036000830152613f3c81613a4d565b9050919050565b60006020820190508181036000830152613f5c81613a70565b9050919050565b60006020820190508181036000830152613f7c81613a93565b9050919050565b60006020820190508181036000830152613f9c81613ab6565b9050919050565b60006020820190508181036000830152613fbc81613ad9565b9050919050565b60006020820190508181036000830152613fdc81613afc565b9050919050565b60006020820190508181036000830152613ffc81613b1f565b9050919050565b6000602082019050818103600083015261401c81613b42565b9050919050565b6000602082019050818103600083015261403c81613b65565b9050919050565b6000602082019050818103600083015261405c81613b88565b9050919050565b6000602082019050818103600083015261407c81613bab565b9050919050565b6000602082019050818103600083015261409c81613bce565b9050919050565b600060208201905081810360008301526140bc81613bf1565b9050919050565b600060208201905081810360008301526140dc81613c14565b9050919050565b600060208201905081810360008301526140fc81613c37565b9050919050565b6000602082019050818103600083015261411c81613c5a565b9050919050565b6000602082019050818103600083015261413c81613c7d565b9050919050565b6000602082019050818103600083015261415c81613ca0565b9050919050565b6000602082019050818103600083015261417c81613cc3565b9050919050565b6000602082019050818103600083015261419c81613ce6565b9050919050565b600060208201905081810360008301526141bc81613d09565b9050919050565b600060208201905081810360008301526141dc81613d2c565b9050919050565b600060208201905081810360008301526141fc81613d4f565b9050919050565b6000602082019050818103600083015261421c81613d72565b9050919050565b6000602082019050818103600083015261423c81613d95565b9050919050565b6000602082019050818103600083015261425c81613db8565b9050919050565b60006020820190506142786000830184613dea565b92915050565b6000614288614299565b905061429482826145b7565b919050565b6000604051905090565b600067ffffffffffffffff8211156142be576142bd6146ef565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142ea576142e96146ef565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614316576143156146ef565b5b61431f8261471e565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143b382614539565b91506143be83614539565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143f3576143f2614662565b5b828201905092915050565b600061440982614539565b915061441483614539565b92508261442457614423614691565b5b828204905092915050565b600061443a82614539565b915061444583614539565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561447e5761447d614662565b5b828202905092915050565b600061449482614539565b915061449f83614539565b9250828210156144b2576144b1614662565b5b828203905092915050565b60006144c882614519565b9050919050565b60006144da82614519565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614570578082015181840152602081019050614555565b8381111561457f576000848401525b50505050565b6000600282049050600182168061459d57607f821691505b602082108114156145b1576145b06146c0565b5b50919050565b6145c08261471e565b810181811067ffffffffffffffff821117156145df576145de6146ef565b5b80604052505050565b60006145f382614539565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561462657614625614662565b5b600182019050919050565b600061463c82614539565b915061464783614539565b92508261465757614656614691565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f546f6f206d616e7920746f6b656e7320666f72206f6e65207472616e7361637460008201527f696f6e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7520776572656e277420686f6c64696e672074686973206964207768656e60008201527f2074686520736e617073686f74207761732074616b656e000000000000000000602082015250565b7f596f75206172656e27742077686974656c697374656420666f7220746869732060008201527f616d6f756e74206f6620746f6b656e732e000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520646f6e2774206861766520656e6f756768206d696e7473206c65667460008201527f20666f72206d696e74696e672074686973206d616e7920746f6b656e7320666f60208201527f7220746869732061646472657373000000000000000000000000000000000000604082015250565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5468697320776f756c6420657863656564206d61782077686974656c6973742060008201527f73706f74732e0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e20616c7265616479206578697374733f0000000000000000000000600082015250565b7f596f75206172656e27742077686974656c697374656421000000000000000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b614e60816144bd565b8114614e6b57600080fd5b50565b614e77816144cf565b8114614e8257600080fd5b50565b614e8e816144e1565b8114614e9957600080fd5b50565b614ea5816144ed565b8114614eb057600080fd5b50565b614ebc81614539565b8114614ec757600080fd5b5056fea26469706673582212206bc2aee56fd3ae740f6a37e1391d964568dfb3eb42203d81dec48516204ec8f564736f6c63430008040033

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.