ETH Price: $3,931.47 (+0.51%)

Token

Apocalyptic Apes (AAPES)
 

Overview

Max Total Supply

8,888 AAPES

Holders

3,141

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
armagediton.eth
Balance
3 AAPES
0xeabd4f4f10524944dd8a410681dd970cf7ae6e86
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A collection of 8,888 Post Apocalypse themed Chimp NFTs. A derivative collection of the Bored Ape Yacht Club, coming back in time to help prevent the future from which they came.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ApocalypticApes

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 99999 runs

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


import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract ApocalypticApes is ERC721, ERC721Enumerable, Ownable {
    using MerkleProof for bytes32[];
    
    struct SaleDetails {
        bytes1 phase;
        uint8 maxBatch;
        uint8 maxBuy;
        uint8 freeMints;
        uint16 totalCount;
        uint256 totalMinted;
    }
    
    address payable public treasury;

    uint256 public price = 0.07 * 10**18; // 0.07 eth; use "7 * 10**16" in JS
    bytes32 public rootHash;
    string public baseURI;
    
    string name_ = 'Apocalyptic Apes';
    string symbol_ = 'AAPES';
    string baseURI_ = 'ipfs://QmYMscQ1gu5eCaXpjs3XA6154LwhfZxxb9LjQDC9UL155d/';

    SaleDetails public saleDetails = SaleDetails({
        phase: 0,    // 0x00 = not started, 0x01 = whitelist sale, 0x02 = public sale
        maxBatch: 10,
        maxBuy: 25,
        freeMints: 100,
        totalCount: 8_888,
        totalMinted: 0
    });
    

    mapping(uint16 => address) public ownerByToken;
    mapping(address => uint8) public walletBuys;
    mapping(address => bytes1) public manualWhitelist;
    //  0x00 = none, 0x01 = whitelisted, 
    //  0x02 or higher up to max buy = free mints
    //          (turns to whitelist after they mint the free ones)

    event MintApe (address indexed buyer, uint256 startWith, uint256 batch);

    constructor() ERC721(name_, symbol_) {
        baseURI = baseURI_;
        treasury = payable(msg.sender);
      
    }

    function totalSupply() public view virtual override returns (uint256) {
        return saleDetails.totalMinted;
    }

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

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

    function changePrice(uint256 _newPrice) public onlyOwner {
        price = _newPrice;
    }    

    function setPhase(bytes1 _phase) public onlyOwner {
        saleDetails.phase = _phase;
    }

    function whitelist(address _user, bytes1 _status) public onlyOwner {
        manualWhitelist[_user] = _status;
    }

    function whitelist(address[] memory _user, bytes1 _status) public onlyOwner {
        for (uint256 i = 0; i < _user.length; i++) {
            manualWhitelist[_user[i]] = _status;
        }
    }

    function mintApe(uint8 _batchCount, uint8 authAmnt, bytes32[] memory proof, bytes32 leaf) payable public {
        require(saleDetails.phase != 0, "Sale has not started");
        require(_batchCount > 0 && _batchCount <= saleDetails.maxBatch, "Batch purchase limit exceeded");
        require(saleDetails.totalMinted + _batchCount <= saleDetails.totalCount - saleDetails.freeMints, "Not enough inventory");
        require(msg.value == _batchCount * price, "Invalid value sent");
        require(walletBuys[msg.sender] + _batchCount <= saleDetails.maxBuy, "Buy limit reached");

        // TODO: Untested verification; need to generate merkle tree with whitelist data
        if (saleDetails.phase != 0x02 && !verify(proof, leaf, msg.sender, authAmnt))
            require(manualWhitelist[msg.sender] > 0,"Not whitelisted!");
 
        emit MintApe(_msgSender(), saleDetails.totalMinted+1, _batchCount);
        for(uint8 i=0; i< _batchCount; i++){
            _mint(_msgSender(), 1 + saleDetails.totalMinted++);
        }
        walletBuys[msg.sender] += _batchCount;
    }
    
    function mintApe() public {
        require(saleDetails.phase != 0, "Sale has not started");
        require(saleDetails.totalMinted + 1 <= saleDetails.totalCount, "Not enough inventory");
        require(manualWhitelist[msg.sender] >= 0x02,"No free mints!");
 
        walletBuys[msg.sender] += 1;
        manualWhitelist[msg.sender] = bytes1(uint8(manualWhitelist[msg.sender]) - 1);
        
        emit MintApe(_msgSender(), saleDetails.totalMinted+1, 1);
        _mint(_msgSender(), 1 + (saleDetails.totalCount - saleDetails.freeMints));

        saleDetails.totalMinted++;
        saleDetails.freeMints--;
    }

    function verify(
        bytes32[] memory proof,
        bytes32 leaf,
        address user,
        uint8 authAmnt
    ) public view returns (bool) {
        bytes32 trueLeaf = keccak256(abi.encodePacked(user,authAmnt));
        return MerkleProof.verify(proof, rootHash, trueLeaf) && trueLeaf == leaf;
    }

    function changeRootHash(bytes32 _rootHash) external onlyOwner {
        rootHash = _rootHash;
    }

    function changeTreasury(address payable _newWallet) external onlyOwner {
        treasury = _newWallet;
    }

    function walletInventory(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);

        for (uint256 i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokensId;
    }

    /**
   * Override isApprovedForAll to auto-approve opensea proxy contract
   */
    function isApprovedForAll(
        address _owner,
        address _operator
    ) public override view returns (bool isOperator) {
      // if OpenSea's ERC721 Proxy Address is detected, auto-return true
        if (_operator == address(0xa5409ec958C83C3f309868babACA7c86DCB077c1  )) {     // OpenSea approval
            return true;
        }
        
        // otherwise, use the default ERC721.isApprovedForAll()
        return ERC721.isApprovedForAll(_owner, _operator);
    }

    function safeMint(address to, uint256 tokenId) public onlyOwner {
        require(saleDetails.totalMinted++ <= saleDetails.totalCount, "No more mints available");
        _safeMint(to, tokenId);
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {

        super._beforeTokenTransfer(from, to, tokenId);
    }
    
    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

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

    function distributeFunds() public payable {
        require(payable(treasury).send(address(this).balance), "Distribution reverted");     
    }

}

File 2 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 8 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 9 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

File 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

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":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"startWith","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"batch","type":"uint256"}],"name":"MintApe","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":"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":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rootHash","type":"bytes32"}],"name":"changeRootHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newWallet","type":"address"}],"name":"changeTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeFunds","outputs":[],"stateMutability":"payable","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":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"manualWhitelist","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintApe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_batchCount","type":"uint8"},{"internalType":"uint8","name":"authAmnt","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"mintApe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"ownerByToken","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rootHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","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":[],"name":"saleDetails","outputs":[{"internalType":"bytes1","name":"phase","type":"bytes1"},{"internalType":"uint8","name":"maxBatch","type":"uint8"},{"internalType":"uint8","name":"maxBuy","type":"uint8"},{"internalType":"uint8","name":"freeMints","type":"uint8"},{"internalType":"uint16","name":"totalCount","type":"uint16"},{"internalType":"uint256","name":"totalMinted","type":"uint256"}],"stateMutability":"view","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":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes1","name":"_phase","type":"bytes1"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint8","name":"authAmnt","type":"uint8"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletBuys","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletInventory","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_user","type":"address[]"},{"internalType":"bytes1","name":"_status","type":"bytes1"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes1","name":"_status","type":"bytes1"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"}]

66f8b0a10e470000600c5560c0604052601060808190526f41706f63616c7970746963204170657360801b60a09081526200003e91600f9190620002f7565b5060408051808201909152600580825264414150455360d81b60209092019182526200006d91601091620002f7565b50604051806060016040528060368152602001620044866036913980516200009e91601191602090910190620002f7565b506040805160c0810182526000808252600a6020830152601992820192909252606460608201526122b8608082015260a0018190526012805465ffffffffffff19166522b864190a00179055601355348015620000fa57600080fd5b50600f80546200010a9062000421565b80601f0160208091040260200160405190810160405280929190818152602001828054620001389062000421565b8015620001895780601f106200015d5761010080835404028352916020019162000189565b820191906000526020600020905b8154815290600101906020018083116200016b57829003601f168201915b5050505050601080546200019d9062000421565b80601f0160208091040260200160405190810160405280929190818152602001828054620001cb9062000421565b80156200021c5780601f10620001f0576101008083540402835291602001916200021c565b820191906000526020600020905b815481529060010190602001808311620001fe57829003601f168201915b5050845162000236935060009250602086019150620002f7565b5080516200024c906001906020840190620002f7565b5050506200026962000263620002a160201b60201c565b620002a5565b6011600e9080546200027b9062000421565b6200028892919062000386565b50600b80546001600160a01b031916331790556200045e565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003059062000421565b90600052602060002090601f01602090048101928262000329576000855562000374565b82601f106200034457805160ff191683800117855562000374565b8280016001018555821562000374579182015b828111156200037457825182559160200191906001019062000357565b50620003829291506200040a565b5090565b828054620003949062000421565b90600052602060002090601f016020900481019282620003b8576000855562000374565b82601f10620003cb578054855562000374565b828001600101855582156200037457600052602060002091601f016020900482015b8281111562000374578254825591600101919060010190620003ed565b5b808211156200038257600081556001016200040b565b600181811c908216806200043657607f821691505b602082108114156200045857634e487b7160e01b600052602260045260246000fd5b50919050565b614018806200046e6000396000f3fe6080604052600436106102bb5760003560e01c806370a082311161016e578063b14f2a39116100cb578063dbe17a581161007f578063e985e9c511610064578063e985e9c51461086d578063ed5b729e1461088d578063f2fde38b146108ad57600080fd5b8063dbe17a581461080b578063dea96c981461082b57600080fd5b8063c87b56dd116100b0578063c87b56dd14610777578063d25acb2e14610797578063d9e9c978146107aa57600080fd5b8063b14f2a3914610737578063b88d4fde1461075757600080fd5b8063a035b1fe11610122578063a22cb46511610107578063a22cb465146106e2578063a2592a5514610702578063a2b40d191461071757600080fd5b8063a035b1fe146106ac578063a1448194146106c257600080fd5b80638da5cb5b116101535780638da5cb5b146106295780638e0b84111461065457806395d89b411461069757600080fd5b806370a08231146105f4578063715018a61461061457600080fd5b80633a6a4d2e1161021c5780635817efbf116101d057806362844178116101b5578063628441781461059f5780636352211e146105bf5780636c0360eb146105df57600080fd5b80635817efbf1461055257806361d027b31461057257600080fd5b806342842e0e1161020157806342842e0e146104f25780634f6ccce71461051257806355f804b31461053257600080fd5b80633a6a4d2e146104bd5780633f3c1136146104c557600080fd5b80631d80009a1161027357806323b872dd1161025857806323b872dd146103d35780632f745c59146103f35780633474a4a61461041357600080fd5b80631d80009a1461039d578063232ad49b146103b357600080fd5b8063081812fc116102a4578063081812fc14610317578063095ea7b31461035c57806318160ddd1461037e57600080fd5b806301ffc9a7146102c057806306fdde03146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db3660046135f0565b6108cd565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b5061030a6108de565b6040516102ec9190613683565b34801561032357600080fd5b50610337610332366004613696565b610970565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102ec565b34801561036857600080fd5b5061037c6103773660046136d1565b610a4f565b005b34801561038a57600080fd5b506013545b6040519081526020016102ec565b3480156103a957600080fd5b5061038f600d5481565b3480156103bf57600080fd5b5061037c6103ce3660046137d4565b610bdc565b3480156103df57600080fd5b5061037c6103ee366004613885565b610ced565b3480156103ff57600080fd5b5061038f61040e3660046136d1565b610d8e565b34801561041f57600080fd5b506012546013546104609160f881901b91610100820460ff90811692620100008104821692630100000082049092169164010000000090910461ffff169086565b604080517fff00000000000000000000000000000000000000000000000000000000000000909716875260ff9586166020880152938516938601939093529216606084015261ffff909116608083015260a082015260c0016102ec565b61037c610e5d565b3480156104d157600080fd5b506104e56104e03660046138c6565b610efa565b6040516102ec91906138e3565b3480156104fe57600080fd5b5061037c61050d366004613885565b610f9c565b34801561051e57600080fd5b5061038f61052d366004613696565b610fb7565b34801561053e57600080fd5b5061037c61054d36600461399d565b611075565b34801561055e57600080fd5b506102e061056d366004613a5d565b61110d565b34801561057e57600080fd5b50600b546103379073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105ab57600080fd5b5061037c6105ba366004613ac7565b6111ac565b3480156105cb57600080fd5b506103376105da366004613696565b611261565b3480156105eb57600080fd5b5061030a611313565b34801561060057600080fd5b5061038f61060f3660046138c6565b6113a1565b34801561062057600080fd5b5061037c61146f565b34801561063557600080fd5b50600a5473ffffffffffffffffffffffffffffffffffffffff16610337565b34801561066057600080fd5b5061033761066f366004613ae2565b60146020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156106a357600080fd5b5061030a6114fa565b3480156106b857600080fd5b5061038f600c5481565b3480156106ce57600080fd5b5061037c6106dd3660046136d1565b611509565b3480156106ee57600080fd5b5061037c6106fd366004613b06565b611621565b34801561070e57600080fd5b5061037c61162c565b34801561072357600080fd5b5061037c610732366004613696565b611969565b34801561074357600080fd5b5061037c6107523660046138c6565b6119ef565b34801561076357600080fd5b5061037c610772366004613b44565b611ab7565b34801561078357600080fd5b5061030a610792366004613696565b611b5f565b61037c6107a5366004613bc4565b611b6a565b3480156107b657600080fd5b506107da6107c53660046138c6565b60166020526000908152604090205460f81b81565b6040517fff0000000000000000000000000000000000000000000000000000000000000090911681526020016102ec565b34801561081757600080fd5b5061037c610826366004613696565b612007565b34801561083757600080fd5b5061085b6108463660046138c6565b60156020526000908152604090205460ff1681565b60405160ff90911681526020016102ec565b34801561087957600080fd5b506102e0610888366004613c2a565b61208d565b34801561089957600080fd5b5061037c6108a8366004613c58565b612107565b3480156108b957600080fd5b5061037c6108c83660046138c6565b6121e1565b60006108d882612311565b92915050565b6060600080546108ed90613c8d565b80601f016020809104026020016040519081016040528092919081815260200182805461091990613c8d565b80156109665780601f1061093b57610100808354040283529160200191610966565b820191906000526020600020905b81548152906001019060200180831161094957829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a5a82611261565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b3373ffffffffffffffffffffffffffffffffffffffff82161480610b415750610b41813361208d565b610bcd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a1d565b610bd78383612367565b505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610c5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b60005b8251811015610bd7578160166000858481518110610c8057610c80613ce1565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360f81c02179055508080610ce590613d3f565b915050610c60565b610cf73382612407565b610d83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b610bd7838383612542565b6000610d99836113a1565b8210610e27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a1d565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600b5460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050610ef8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f446973747269627574696f6e20726576657274656400000000000000000000006044820152606401610a1d565b565b60606000610f07836113a1565b905060008167ffffffffffffffff811115610f2457610f246136fd565b604051908082528060200260200182016040528015610f4d578160200160208202803683370190505b50905060005b82811015610f9457610f658582610d8e565b828281518110610f7757610f77613ce1565b602090810291909101015280610f8c81613d3f565b915050610f53565b509392505050565b610bd783838360405180602001604052806000815250611ab7565b6000610fc260085490565b8210611050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a1d565b6008828154811061106357611063613ce1565b90600052602060002001549050919050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146110f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b805161110990600e906020840190613529565b5050565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b1660208201527fff0000000000000000000000000000000000000000000000000000000000000060f883901b166034820152600090819060350160405160208183030381529060405280519060200120905061119586600d54836127b4565b80156111a057508481145b9150505b949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660f89290921c919091179055565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806108d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a1d565b600e805461132090613c8d565b80601f016020809104026020016040519081016040528092919081815260200182805461134c90613c8d565b80156113995780601f1061136e57610100808354040283529160200191611399565b820191906000526020600020905b81548152906001019060200180831161137c57829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff8216611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a1d565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146114f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b610ef860006127ca565b6060600180546108ed90613c8d565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461158a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b6012546013805464010000000090920461ffff16919060006115ab83613d3f565b919050551115611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f206d6f7265206d696e747320617661696c61626c650000000000000000006044820152606401610a1d565b6111098282612841565b61110933838361285b565b60125460f81b7fff00000000000000000000000000000000000000000000000000000000000000166116ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f53616c6520686173206e6f7420737461727465640000000000000000000000006044820152606401610a1d565b60125460135464010000000090910461ffff16906116d9906001613d78565b1115611741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420656e6f75676820696e76656e746f72790000000000000000000000006044820152606401610a1d565b336000908152601660205260409020547f020000000000000000000000000000000000000000000000000000000000000060f89190911b7fff00000000000000000000000000000000000000000000000000000000000000161015611802576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f2066726565206d696e7473210000000000000000000000000000000000006044820152606401610a1d565b33600090815260156020526040812080546001929061182590849060ff16613d90565b82546101009290920a60ff8181021990931691831602179091553360009081526016602052604090205461185d925060019116613db5565b33600081815260166020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff93909316929092179091556013547fe859232996df7ea316358328d54c8123e3db2f1b03ebd13a73bfbfaa9c56b67d906118cd906001613d78565b60408051918252600160208301520160405180910390a261191f3360125461190b906301000000810460ff1690640100000000900461ffff16613dd8565b611916906001613dfb565b61ffff16612989565b6013805490600061192f83613d3f565b9091555050601280546301000000900460ff1690600361194e83613e21565b91906101000a81548160ff021916908360ff16021790555050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146119ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b600c55565b600a5473ffffffffffffffffffffffffffffffffffffffff163314611a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611ac13383612407565b611b4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b611b5984848484612b57565b50505050565b60606108d882612bfa565b60125460f81b7fff0000000000000000000000000000000000000000000000000000000000000016611bf8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f53616c6520686173206e6f7420737461727465640000000000000000000000006044820152606401610a1d565b60008460ff16118015611c19575060125460ff610100909104811690851611155b611c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4261746368207075726368617365206c696d69742065786365656465640000006044820152606401610a1d565b601254611ca2906301000000810460ff1690640100000000900461ffff16613dd8565b61ffff168460ff16601260010154611cba9190613d78565b1115611d22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420656e6f75676820696e76656e746f72790000000000000000000000006044820152606401610a1d565b600c54611d329060ff8616613e5c565b3414611d9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e76616c69642076616c75652073656e7400000000000000000000000000006044820152606401610a1d565b6012543360009081526015602052604090205460ff62010000909204821691611dc591879116613d90565b60ff161115611e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f427579206c696d697420726561636865640000000000000000000000000000006044820152606401610a1d565b60125460f81b7fff00000000000000000000000000000000000000000000000000000000000000167f020000000000000000000000000000000000000000000000000000000000000014801590611e905750611e8e8282338661110d565b155b15611f30573360009081526016602052604090205460f81b7fff0000000000000000000000000000000000000000000000000000000000000016611f30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f742077686974656c697374656421000000000000000000000000000000006044820152606401610a1d565b60135433907fe859232996df7ea316358328d54c8123e3db2f1b03ebd13a73bfbfaa9c56b67d90611f62906001613d78565b6040805191825260ff881660208301520160405180910390a260005b8460ff168160ff161015611fc657611fb43360138054906000611fa083613d3f565b90915550611faf906001613d78565b612989565b80611fbe81613e99565b915050611f7e565b503360009081526015602052604081208054869290611fe990849060ff16613d90565b92506101000a81548160ff021916908360ff16021790555050505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b600d55565b600073ffffffffffffffffffffffffffffffffffffffff821673a5409ec958c83c3f309868babaca7c86dcb077c114156120c9575060016108d8565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260166020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660f89290921c919091179055565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b73ffffffffffffffffffffffffffffffffffffffff8116612305576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a1d565b61230e816127ca565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806108d857506108d882612d09565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906123c182611261565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166124b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a1d565b60006124c383611261565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061253257508373ffffffffffffffffffffffffffffffffffffffff1661251a84610970565b73ffffffffffffffffffffffffffffffffffffffff16145b806111a457506111a4818561208d565b8273ffffffffffffffffffffffffffffffffffffffff1661256282611261565b73ffffffffffffffffffffffffffffffffffffffff1614612605576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a1d565b73ffffffffffffffffffffffffffffffffffffffff82166126a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6126b2838383612dec565b6126bd600082612367565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906126f3908490613eb9565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061272e908490613d78565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826127c18584612df7565b14949350505050565b600a805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611109828260405180602001604052806000815250612e9b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a1d565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216612a06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1d565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612a92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a1d565b612a9e60008383612dec565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612ad4908490613d78565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612b62848484612542565b612b6e84848484612f3e565b611b59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612cae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a1d565b6000612cb861312b565b90506000815111612cd85760405180602001604052806000815250612100565b80612ce28461313a565b604051602001612cf3929190613ed0565b6040516020818303038152906040529392505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612d9c57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108d857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108d8565b610bd783838361326c565b600081815b8451811015610f94576000858281518110612e1957612e19613ce1565b60200260200101519050808311612e5b576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612e88565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612e9381613d3f565b915050612dfc565b612ea58383612989565b612eb26000848484612f3e565b610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613123576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612fb5903390899088908890600401613ef6565b6020604051808303816000875af192505050801561300e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261300b91810190613f3f565b60015b6130d8573d80801561303c576040519150601f19603f3d011682016040523d82523d6000602084013e613041565b606091505b5080516130d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506111a4565b5060016111a4565b6060600e80546108ed90613c8d565b60608161317a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156131a4578061318e81613d3f565b915061319d9050600a83613f8b565b915061317e565b60008167ffffffffffffffff8111156131bf576131bf6136fd565b6040519080825280601f01601f1916602001820160405280156131e9576020820181803683370190505b5090505b84156111a4576131fe600183613eb9565b915061320b600a86613f9f565b613216906030613d78565b60f81b81838151811061322b5761322b613ce1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613265600a86613f8b565b94506131ed565b73ffffffffffffffffffffffffffffffffffffffff83166132d4576132cf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613311565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613311576133118382613372565b73ffffffffffffffffffffffffffffffffffffffff821661333557610bd781613429565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610bd757610bd782826134d8565b6000600161337f846113a1565b6133899190613eb9565b6000838152600760205260409020549091508082146133e95773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b60085460009061343b90600190613eb9565b6000838152600960205260408120546008805493945090928490811061346357613463613ce1565b90600052602060002001549050806008838154811061348457613484613ce1565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806134bc576134bc613fb3565b6001900381819060005260206000200160009055905550505050565b60006134e3836113a1565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461353590613c8d565b90600052602060002090601f016020900481019282613557576000855561359d565b82601f1061357057805160ff191683800117855561359d565b8280016001018555821561359d579182015b8281111561359d578251825591602001919060010190613582565b506135a99291506135ad565b5090565b5b808211156135a957600081556001016135ae565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461230e57600080fd5b60006020828403121561360257600080fd5b8135612100816135c2565b60005b83811015613628578181015183820152602001613610565b83811115611b595750506000910152565b6000815180845261365181602086016020860161360d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006121006020830184613639565b6000602082840312156136a857600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461230e57600080fd5b600080604083850312156136e457600080fd5b82356136ef816136af565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613773576137736136fd565b604052919050565b600067ffffffffffffffff821115613795576137956136fd565b5060051b60200190565b80357fff00000000000000000000000000000000000000000000000000000000000000811681146137cf57600080fd5b919050565b600080604083850312156137e757600080fd5b823567ffffffffffffffff8111156137fe57600080fd5b8301601f8101851361380f57600080fd5b8035602061382461381f8361377b565b61372c565b82815260059290921b8301810191818101908884111561384357600080fd5b938201935b8385101561386a57843561385b816136af565b82529382019390820190613848565b9550613879905086820161379f565b93505050509250929050565b60008060006060848603121561389a57600080fd5b83356138a5816136af565b925060208401356138b5816136af565b929592945050506040919091013590565b6000602082840312156138d857600080fd5b8135612100816136af565b6020808252825182820181905260009190848201906040850190845b8181101561391b578351835292840192918401916001016138ff565b50909695505050505050565b600067ffffffffffffffff831115613941576139416136fd565b61397260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601160161372c565b905082815283838301111561398657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156139af57600080fd5b813567ffffffffffffffff8111156139c657600080fd5b8201601f810184136139d757600080fd5b6111a484823560208401613927565b600082601f8301126139f757600080fd5b81356020613a0761381f8361377b565b82815260059290921b84018101918181019086841115613a2657600080fd5b8286015b84811015613a415780358352918301918301613a2a565b509695505050505050565b803560ff811681146137cf57600080fd5b60008060008060808587031215613a7357600080fd5b843567ffffffffffffffff811115613a8a57600080fd5b613a96878288016139e6565b945050602085013592506040850135613aae816136af565b9150613abc60608601613a4c565b905092959194509250565b600060208284031215613ad957600080fd5b6121008261379f565b600060208284031215613af457600080fd5b813561ffff8116811461210057600080fd5b60008060408385031215613b1957600080fd5b8235613b24816136af565b915060208301358015158114613b3957600080fd5b809150509250929050565b60008060008060808587031215613b5a57600080fd5b8435613b65816136af565b93506020850135613b75816136af565b925060408501359150606085013567ffffffffffffffff811115613b9857600080fd5b8501601f81018713613ba957600080fd5b613bb887823560208401613927565b91505092959194509250565b60008060008060808587031215613bda57600080fd5b613be385613a4c565b9350613bf160208601613a4c565b9250604085013567ffffffffffffffff811115613c0d57600080fd5b613c19878288016139e6565b949793965093946060013593505050565b60008060408385031215613c3d57600080fd5b8235613c48816136af565b91506020830135613b39816136af565b60008060408385031215613c6b57600080fd5b8235613c76816136af565b9150613c846020840161379f565b90509250929050565b600181811c90821680613ca157607f821691505b60208210811415613cdb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d7157613d71613d10565b5060010190565b60008219821115613d8b57613d8b613d10565b500190565b600060ff821660ff84168060ff03821115613dad57613dad613d10565b019392505050565b600060ff821660ff841680821015613dcf57613dcf613d10565b90039392505050565b600061ffff83811690831681811015613df357613df3613d10565b039392505050565b600061ffff808316818516808303821115613e1857613e18613d10565b01949350505050565b600060ff821680613e3457613e34613d10565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e9457613e94613d10565b500290565b600060ff821660ff811415613eb057613eb0613d10565b60010192915050565b600082821015613ecb57613ecb613d10565b500390565b60008351613ee281846020880161360d565b835190830190613e1881836020880161360d565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613f356080830184613639565b9695505050505050565b600060208284031215613f5157600080fd5b8151612100816135c2565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613f9a57613f9a613f5c565b500490565b600082613fae57613fae613f5c565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122067d253ad5d74f138acdcd145537d626625dc3a7fbbb27a10402f2d3d82e1157664736f6c634300080a0033697066733a2f2f516d594d7363513167753565436158706a73335841363135344c7768665a787862394c6a51444339554c313535642f

Deployed Bytecode

0x6080604052600436106102bb5760003560e01c806370a082311161016e578063b14f2a39116100cb578063dbe17a581161007f578063e985e9c511610064578063e985e9c51461086d578063ed5b729e1461088d578063f2fde38b146108ad57600080fd5b8063dbe17a581461080b578063dea96c981461082b57600080fd5b8063c87b56dd116100b0578063c87b56dd14610777578063d25acb2e14610797578063d9e9c978146107aa57600080fd5b8063b14f2a3914610737578063b88d4fde1461075757600080fd5b8063a035b1fe11610122578063a22cb46511610107578063a22cb465146106e2578063a2592a5514610702578063a2b40d191461071757600080fd5b8063a035b1fe146106ac578063a1448194146106c257600080fd5b80638da5cb5b116101535780638da5cb5b146106295780638e0b84111461065457806395d89b411461069757600080fd5b806370a08231146105f4578063715018a61461061457600080fd5b80633a6a4d2e1161021c5780635817efbf116101d057806362844178116101b5578063628441781461059f5780636352211e146105bf5780636c0360eb146105df57600080fd5b80635817efbf1461055257806361d027b31461057257600080fd5b806342842e0e1161020157806342842e0e146104f25780634f6ccce71461051257806355f804b31461053257600080fd5b80633a6a4d2e146104bd5780633f3c1136146104c557600080fd5b80631d80009a1161027357806323b872dd1161025857806323b872dd146103d35780632f745c59146103f35780633474a4a61461041357600080fd5b80631d80009a1461039d578063232ad49b146103b357600080fd5b8063081812fc116102a4578063081812fc14610317578063095ea7b31461035c57806318160ddd1461037e57600080fd5b806301ffc9a7146102c057806306fdde03146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db3660046135f0565b6108cd565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b5061030a6108de565b6040516102ec9190613683565b34801561032357600080fd5b50610337610332366004613696565b610970565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102ec565b34801561036857600080fd5b5061037c6103773660046136d1565b610a4f565b005b34801561038a57600080fd5b506013545b6040519081526020016102ec565b3480156103a957600080fd5b5061038f600d5481565b3480156103bf57600080fd5b5061037c6103ce3660046137d4565b610bdc565b3480156103df57600080fd5b5061037c6103ee366004613885565b610ced565b3480156103ff57600080fd5b5061038f61040e3660046136d1565b610d8e565b34801561041f57600080fd5b506012546013546104609160f881901b91610100820460ff90811692620100008104821692630100000082049092169164010000000090910461ffff169086565b604080517fff00000000000000000000000000000000000000000000000000000000000000909716875260ff9586166020880152938516938601939093529216606084015261ffff909116608083015260a082015260c0016102ec565b61037c610e5d565b3480156104d157600080fd5b506104e56104e03660046138c6565b610efa565b6040516102ec91906138e3565b3480156104fe57600080fd5b5061037c61050d366004613885565b610f9c565b34801561051e57600080fd5b5061038f61052d366004613696565b610fb7565b34801561053e57600080fd5b5061037c61054d36600461399d565b611075565b34801561055e57600080fd5b506102e061056d366004613a5d565b61110d565b34801561057e57600080fd5b50600b546103379073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105ab57600080fd5b5061037c6105ba366004613ac7565b6111ac565b3480156105cb57600080fd5b506103376105da366004613696565b611261565b3480156105eb57600080fd5b5061030a611313565b34801561060057600080fd5b5061038f61060f3660046138c6565b6113a1565b34801561062057600080fd5b5061037c61146f565b34801561063557600080fd5b50600a5473ffffffffffffffffffffffffffffffffffffffff16610337565b34801561066057600080fd5b5061033761066f366004613ae2565b60146020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156106a357600080fd5b5061030a6114fa565b3480156106b857600080fd5b5061038f600c5481565b3480156106ce57600080fd5b5061037c6106dd3660046136d1565b611509565b3480156106ee57600080fd5b5061037c6106fd366004613b06565b611621565b34801561070e57600080fd5b5061037c61162c565b34801561072357600080fd5b5061037c610732366004613696565b611969565b34801561074357600080fd5b5061037c6107523660046138c6565b6119ef565b34801561076357600080fd5b5061037c610772366004613b44565b611ab7565b34801561078357600080fd5b5061030a610792366004613696565b611b5f565b61037c6107a5366004613bc4565b611b6a565b3480156107b657600080fd5b506107da6107c53660046138c6565b60166020526000908152604090205460f81b81565b6040517fff0000000000000000000000000000000000000000000000000000000000000090911681526020016102ec565b34801561081757600080fd5b5061037c610826366004613696565b612007565b34801561083757600080fd5b5061085b6108463660046138c6565b60156020526000908152604090205460ff1681565b60405160ff90911681526020016102ec565b34801561087957600080fd5b506102e0610888366004613c2a565b61208d565b34801561089957600080fd5b5061037c6108a8366004613c58565b612107565b3480156108b957600080fd5b5061037c6108c83660046138c6565b6121e1565b60006108d882612311565b92915050565b6060600080546108ed90613c8d565b80601f016020809104026020016040519081016040528092919081815260200182805461091990613c8d565b80156109665780601f1061093b57610100808354040283529160200191610966565b820191906000526020600020905b81548152906001019060200180831161094957829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a5a82611261565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b3373ffffffffffffffffffffffffffffffffffffffff82161480610b415750610b41813361208d565b610bcd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a1d565b610bd78383612367565b505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610c5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b60005b8251811015610bd7578160166000858481518110610c8057610c80613ce1565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360f81c02179055508080610ce590613d3f565b915050610c60565b610cf73382612407565b610d83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b610bd7838383612542565b6000610d99836113a1565b8210610e27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a1d565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600b5460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050610ef8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f446973747269627574696f6e20726576657274656400000000000000000000006044820152606401610a1d565b565b60606000610f07836113a1565b905060008167ffffffffffffffff811115610f2457610f246136fd565b604051908082528060200260200182016040528015610f4d578160200160208202803683370190505b50905060005b82811015610f9457610f658582610d8e565b828281518110610f7757610f77613ce1565b602090810291909101015280610f8c81613d3f565b915050610f53565b509392505050565b610bd783838360405180602001604052806000815250611ab7565b6000610fc260085490565b8210611050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a1d565b6008828154811061106357611063613ce1565b90600052602060002001549050919050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146110f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b805161110990600e906020840190613529565b5050565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b1660208201527fff0000000000000000000000000000000000000000000000000000000000000060f883901b166034820152600090819060350160405160208183030381529060405280519060200120905061119586600d54836127b4565b80156111a057508481145b9150505b949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660f89290921c919091179055565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806108d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a1d565b600e805461132090613c8d565b80601f016020809104026020016040519081016040528092919081815260200182805461134c90613c8d565b80156113995780601f1061136e57610100808354040283529160200191611399565b820191906000526020600020905b81548152906001019060200180831161137c57829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff8216611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a1d565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146114f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b610ef860006127ca565b6060600180546108ed90613c8d565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461158a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b6012546013805464010000000090920461ffff16919060006115ab83613d3f565b919050551115611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f206d6f7265206d696e747320617661696c61626c650000000000000000006044820152606401610a1d565b6111098282612841565b61110933838361285b565b60125460f81b7fff00000000000000000000000000000000000000000000000000000000000000166116ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f53616c6520686173206e6f7420737461727465640000000000000000000000006044820152606401610a1d565b60125460135464010000000090910461ffff16906116d9906001613d78565b1115611741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420656e6f75676820696e76656e746f72790000000000000000000000006044820152606401610a1d565b336000908152601660205260409020547f020000000000000000000000000000000000000000000000000000000000000060f89190911b7fff00000000000000000000000000000000000000000000000000000000000000161015611802576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f2066726565206d696e7473210000000000000000000000000000000000006044820152606401610a1d565b33600090815260156020526040812080546001929061182590849060ff16613d90565b82546101009290920a60ff8181021990931691831602179091553360009081526016602052604090205461185d925060019116613db5565b33600081815260166020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff93909316929092179091556013547fe859232996df7ea316358328d54c8123e3db2f1b03ebd13a73bfbfaa9c56b67d906118cd906001613d78565b60408051918252600160208301520160405180910390a261191f3360125461190b906301000000810460ff1690640100000000900461ffff16613dd8565b611916906001613dfb565b61ffff16612989565b6013805490600061192f83613d3f565b9091555050601280546301000000900460ff1690600361194e83613e21565b91906101000a81548160ff021916908360ff16021790555050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146119ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b600c55565b600a5473ffffffffffffffffffffffffffffffffffffffff163314611a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611ac13383612407565b611b4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b611b5984848484612b57565b50505050565b60606108d882612bfa565b60125460f81b7fff0000000000000000000000000000000000000000000000000000000000000016611bf8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f53616c6520686173206e6f7420737461727465640000000000000000000000006044820152606401610a1d565b60008460ff16118015611c19575060125460ff610100909104811690851611155b611c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4261746368207075726368617365206c696d69742065786365656465640000006044820152606401610a1d565b601254611ca2906301000000810460ff1690640100000000900461ffff16613dd8565b61ffff168460ff16601260010154611cba9190613d78565b1115611d22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420656e6f75676820696e76656e746f72790000000000000000000000006044820152606401610a1d565b600c54611d329060ff8616613e5c565b3414611d9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e76616c69642076616c75652073656e7400000000000000000000000000006044820152606401610a1d565b6012543360009081526015602052604090205460ff62010000909204821691611dc591879116613d90565b60ff161115611e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f427579206c696d697420726561636865640000000000000000000000000000006044820152606401610a1d565b60125460f81b7fff00000000000000000000000000000000000000000000000000000000000000167f020000000000000000000000000000000000000000000000000000000000000014801590611e905750611e8e8282338661110d565b155b15611f30573360009081526016602052604090205460f81b7fff0000000000000000000000000000000000000000000000000000000000000016611f30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f742077686974656c697374656421000000000000000000000000000000006044820152606401610a1d565b60135433907fe859232996df7ea316358328d54c8123e3db2f1b03ebd13a73bfbfaa9c56b67d90611f62906001613d78565b6040805191825260ff881660208301520160405180910390a260005b8460ff168160ff161015611fc657611fb43360138054906000611fa083613d3f565b90915550611faf906001613d78565b612989565b80611fbe81613e99565b915050611f7e565b503360009081526015602052604081208054869290611fe990849060ff16613d90565b92506101000a81548160ff021916908360ff16021790555050505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b600d55565b600073ffffffffffffffffffffffffffffffffffffffff821673a5409ec958c83c3f309868babaca7c86dcb077c114156120c9575060016108d8565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260166020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660f89290921c919091179055565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b73ffffffffffffffffffffffffffffffffffffffff8116612305576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a1d565b61230e816127ca565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806108d857506108d882612d09565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906123c182611261565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166124b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a1d565b60006124c383611261565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061253257508373ffffffffffffffffffffffffffffffffffffffff1661251a84610970565b73ffffffffffffffffffffffffffffffffffffffff16145b806111a457506111a4818561208d565b8273ffffffffffffffffffffffffffffffffffffffff1661256282611261565b73ffffffffffffffffffffffffffffffffffffffff1614612605576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a1d565b73ffffffffffffffffffffffffffffffffffffffff82166126a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6126b2838383612dec565b6126bd600082612367565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906126f3908490613eb9565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061272e908490613d78565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826127c18584612df7565b14949350505050565b600a805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611109828260405180602001604052806000815250612e9b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a1d565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216612a06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1d565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612a92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a1d565b612a9e60008383612dec565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612ad4908490613d78565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612b62848484612542565b612b6e84848484612f3e565b611b59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612cae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a1d565b6000612cb861312b565b90506000815111612cd85760405180602001604052806000815250612100565b80612ce28461313a565b604051602001612cf3929190613ed0565b6040516020818303038152906040529392505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612d9c57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108d857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108d8565b610bd783838361326c565b600081815b8451811015610f94576000858281518110612e1957612e19613ce1565b60200260200101519050808311612e5b576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612e88565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612e9381613d3f565b915050612dfc565b612ea58383612989565b612eb26000848484612f3e565b610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613123576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612fb5903390899088908890600401613ef6565b6020604051808303816000875af192505050801561300e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261300b91810190613f3f565b60015b6130d8573d80801561303c576040519150601f19603f3d011682016040523d82523d6000602084013e613041565b606091505b5080516130d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506111a4565b5060016111a4565b6060600e80546108ed90613c8d565b60608161317a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156131a4578061318e81613d3f565b915061319d9050600a83613f8b565b915061317e565b60008167ffffffffffffffff8111156131bf576131bf6136fd565b6040519080825280601f01601f1916602001820160405280156131e9576020820181803683370190505b5090505b84156111a4576131fe600183613eb9565b915061320b600a86613f9f565b613216906030613d78565b60f81b81838151811061322b5761322b613ce1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613265600a86613f8b565b94506131ed565b73ffffffffffffffffffffffffffffffffffffffff83166132d4576132cf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613311565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613311576133118382613372565b73ffffffffffffffffffffffffffffffffffffffff821661333557610bd781613429565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610bd757610bd782826134d8565b6000600161337f846113a1565b6133899190613eb9565b6000838152600760205260409020549091508082146133e95773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b60085460009061343b90600190613eb9565b6000838152600960205260408120546008805493945090928490811061346357613463613ce1565b90600052602060002001549050806008838154811061348457613484613ce1565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806134bc576134bc613fb3565b6001900381819060005260206000200160009055905550505050565b60006134e3836113a1565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461353590613c8d565b90600052602060002090601f016020900481019282613557576000855561359d565b82601f1061357057805160ff191683800117855561359d565b8280016001018555821561359d579182015b8281111561359d578251825591602001919060010190613582565b506135a99291506135ad565b5090565b5b808211156135a957600081556001016135ae565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461230e57600080fd5b60006020828403121561360257600080fd5b8135612100816135c2565b60005b83811015613628578181015183820152602001613610565b83811115611b595750506000910152565b6000815180845261365181602086016020860161360d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006121006020830184613639565b6000602082840312156136a857600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461230e57600080fd5b600080604083850312156136e457600080fd5b82356136ef816136af565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613773576137736136fd565b604052919050565b600067ffffffffffffffff821115613795576137956136fd565b5060051b60200190565b80357fff00000000000000000000000000000000000000000000000000000000000000811681146137cf57600080fd5b919050565b600080604083850312156137e757600080fd5b823567ffffffffffffffff8111156137fe57600080fd5b8301601f8101851361380f57600080fd5b8035602061382461381f8361377b565b61372c565b82815260059290921b8301810191818101908884111561384357600080fd5b938201935b8385101561386a57843561385b816136af565b82529382019390820190613848565b9550613879905086820161379f565b93505050509250929050565b60008060006060848603121561389a57600080fd5b83356138a5816136af565b925060208401356138b5816136af565b929592945050506040919091013590565b6000602082840312156138d857600080fd5b8135612100816136af565b6020808252825182820181905260009190848201906040850190845b8181101561391b578351835292840192918401916001016138ff565b50909695505050505050565b600067ffffffffffffffff831115613941576139416136fd565b61397260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601160161372c565b905082815283838301111561398657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156139af57600080fd5b813567ffffffffffffffff8111156139c657600080fd5b8201601f810184136139d757600080fd5b6111a484823560208401613927565b600082601f8301126139f757600080fd5b81356020613a0761381f8361377b565b82815260059290921b84018101918181019086841115613a2657600080fd5b8286015b84811015613a415780358352918301918301613a2a565b509695505050505050565b803560ff811681146137cf57600080fd5b60008060008060808587031215613a7357600080fd5b843567ffffffffffffffff811115613a8a57600080fd5b613a96878288016139e6565b945050602085013592506040850135613aae816136af565b9150613abc60608601613a4c565b905092959194509250565b600060208284031215613ad957600080fd5b6121008261379f565b600060208284031215613af457600080fd5b813561ffff8116811461210057600080fd5b60008060408385031215613b1957600080fd5b8235613b24816136af565b915060208301358015158114613b3957600080fd5b809150509250929050565b60008060008060808587031215613b5a57600080fd5b8435613b65816136af565b93506020850135613b75816136af565b925060408501359150606085013567ffffffffffffffff811115613b9857600080fd5b8501601f81018713613ba957600080fd5b613bb887823560208401613927565b91505092959194509250565b60008060008060808587031215613bda57600080fd5b613be385613a4c565b9350613bf160208601613a4c565b9250604085013567ffffffffffffffff811115613c0d57600080fd5b613c19878288016139e6565b949793965093946060013593505050565b60008060408385031215613c3d57600080fd5b8235613c48816136af565b91506020830135613b39816136af565b60008060408385031215613c6b57600080fd5b8235613c76816136af565b9150613c846020840161379f565b90509250929050565b600181811c90821680613ca157607f821691505b60208210811415613cdb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d7157613d71613d10565b5060010190565b60008219821115613d8b57613d8b613d10565b500190565b600060ff821660ff84168060ff03821115613dad57613dad613d10565b019392505050565b600060ff821660ff841680821015613dcf57613dcf613d10565b90039392505050565b600061ffff83811690831681811015613df357613df3613d10565b039392505050565b600061ffff808316818516808303821115613e1857613e18613d10565b01949350505050565b600060ff821680613e3457613e34613d10565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e9457613e94613d10565b500290565b600060ff821660ff811415613eb057613eb0613d10565b60010192915050565b600082821015613ecb57613ecb613d10565b500390565b60008351613ee281846020880161360d565b835190830190613e1881836020880161360d565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613f356080830184613639565b9695505050505050565b600060208284031215613f5157600080fd5b8151612100816135c2565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613f9a57613f9a613f5c565b500490565b600082613fae57613fae613f5c565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122067d253ad5d74f138acdcd145537d626625dc3a7fbbb27a10402f2d3d82e1157664736f6c634300080a0033

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.