ETH Price: $3,527.66 (+1.17%)
Gas: 2 Gwei

Token

Bastard GAN Apes (BGANAPES)
 

Overview

Max Total Supply

1,128 BGANAPES

Holders

257

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BGANAPES
0x3fc5b7d16ea69b00819d7873fdff70f6712fd0fe
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BastardApes

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

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

interface HolderInterface {
    function balanceOf(address _owner) external view returns (uint256 balance);
}

contract BastardApes is ERC721Enumerable, Ownable {

    using Strings for uint256;

    string _baseTokenURI;
    uint256 public MAX_APES = 7777;
    uint256 public MAX_CLAIMABLE_APES = 1000;
    uint256 public maxApePurchase = 20;
    bool public isSaleActive = false;

    uint256 private _price = 0.02 ether;

    mapping(address => bool) private _claimed;
    uint256 public totalClaimed = 0;

    HolderInterface private _holderContract;

    constructor(string memory baseURI, address holdersAddress) ERC721("Bastard GAN Apes", "BGANAPES")  {
        setBaseURI(baseURI);
        _holderContract = HolderInterface(holdersAddress);

        // owner gets the first 10 apes
        _safeMint(msg.sender, 0);
        _safeMint(msg.sender, 1);
        _safeMint(msg.sender, 2);
        _safeMint(msg.sender, 3);
        _safeMint(msg.sender, 4);
        _safeMint(msg.sender, 5);
        _safeMint(msg.sender, 6);
        _safeMint(msg.sender, 7);
        _safeMint(msg.sender, 8);
        _safeMint(msg.sender, 9);
    }

    function mintApe(uint256 num) public payable {
        uint256 supply = totalSupply();
        require(isSaleActive, "Sale is not currently active");
        require(num <= maxApePurchase, "Exceeds maxApePurchase");
        require(supply + num <= MAX_APES, "Exceeds MAX_APES");
        require(msg.value >= _price * num, "Ether sent is not correct");

        for(uint256 i; i < num; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function claimApe() public {
        uint256 supply = totalSupply();
        require(isSaleActive, "Sale is not currently active");
        require(supply + 1 <= MAX_APES, "Exceeds MAX_APES");
        require(supply + 1 <= MAX_CLAIMABLE_APES, "Exceeds MAX_CLAIMABLE_APES");
        require(!_claimed[msg.sender], "Address already claimed");

        require(_holderContract.balanceOf(msg.sender) > 0, "Must own an ape");

        _safeMint(msg.sender, supply);
        totalClaimed += 1;
        _claimed[msg.sender] = true;
    }

    function tokensOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokenIds = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function setPrice(uint256 _newPrice) public onlyOwner() {
        _price = _newPrice;
    }

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

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

    function getPrice() public view returns (uint256){
        return _price;
    }

    function toggleSaleActive() public onlyOwner {
        isSaleActive = !isSaleActive;
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"holdersAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_APES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CLAIMABLE_APES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimApe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxApePurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","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":[],"name":"toggleSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611e61600c556103e8600d556014600e556000600f60006101000a81548160ff02191690831515021790555066470de4df82000060105560006012553480156200004d57600080fd5b5060405162005b0538038062005b05833981810160405281019062000073919062000f64565b6040518060400160405280601081526020017f426173746172642047414e2041706573000000000000000000000000000000008152506040518060400160405280600881526020017f4247414e415045530000000000000000000000000000000000000000000000008152508160009080519060200190620000f792919062000dd6565b5080600190805190602001906200011092919062000dd6565b50505062000133620001276200024b60201b60201c565b6200025360201b60201c565b62000144826200031960201b60201c565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000198336000620003c460201b60201c565b620001ab336001620003c460201b60201c565b620001be336002620003c460201b60201c565b620001d1336003620003c460201b60201c565b620001e4336004620003c460201b60201c565b620001f7336005620003c460201b60201c565b6200020a336006620003c460201b60201c565b6200021d336007620003c460201b60201c565b62000230336008620003c460201b60201c565b62000243336009620003c460201b60201c565b50506200167b565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003296200024b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200034f620003ea60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039f90620011cc565b60405180910390fd5b80600b9080519060200190620003c092919062000dd6565b5050565b620003e68282604051806020016040528060008152506200041460201b60201c565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200042683836200048260201b60201c565b6200043b60008484846200066860201b60201c565b6200047d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004749062001144565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ec90620011aa565b60405180910390fd5b62000506816200082260201b60201c565b1562000549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005409062001166565b60405180910390fd5b6200055d600083836200088e60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620005af91906200127a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620006968473ffffffffffffffffffffffffffffffffffffffff16620009d560201b62001a6b1760201c565b1562000815578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006c86200024b60201b60201c565b8786866040518563ffffffff1660e01b8152600401620006ec9493929190620010f0565b602060405180830381600087803b1580156200070757600080fd5b505af19250505080156200073b57506040513d601f19601f8201168201806040525081019062000738919062000f32565b60015b620007c4573d80600081146200076e576040519150601f19603f3d011682016040523d82523d6000602084013e62000773565b606091505b50600081511415620007bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007b39062001144565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506200081a565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620008a6838383620009e860201b62001a7e1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620008f357620008ed81620009ed60201b60201c565b6200093b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200093a5762000939838262000a3660201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200098857620009828162000bb360201b60201c565b620009d0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620009cf57620009ce828262000c8f60201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000a508462000d1b60201b62000dd01760201c565b62000a5c9190620012d7565b905060006007600084815260200190815260200160002054905081811462000b42576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000bc99190620012d7565b905060006009600084815260200190815260200160002054905060006008838154811062000bfc5762000bfb620014ab565b5b90600052602060002001549050806008838154811062000c215762000c20620014ab565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000c735762000c726200147c565b5b6001900381819060005260206000200160009055905550505050565b600062000ca78362000d1b60201b62000dd01760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000d8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d869062001188565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000de490620013b2565b90600052602060002090601f01602090048101928262000e08576000855562000e54565b82601f1062000e2357805160ff191683800117855562000e54565b8280016001018555821562000e54579182015b8281111562000e5357825182559160200191906001019062000e36565b5b50905062000e63919062000e67565b5090565b5b8082111562000e8257600081600090555060010162000e68565b5090565b600062000e9d62000e978462001217565b620011ee565b90508281526020810184848401111562000ebc5762000ebb6200150e565b5b62000ec98482856200137c565b509392505050565b60008151905062000ee28162001647565b92915050565b60008151905062000ef98162001661565b92915050565b600082601f83011262000f175762000f1662001509565b5b815162000f2984826020860162000e86565b91505092915050565b60006020828403121562000f4b5762000f4a62001518565b5b600062000f5b8482850162000ee8565b91505092915050565b6000806040838503121562000f7e5762000f7d62001518565b5b600083015167ffffffffffffffff81111562000f9f5762000f9e62001513565b5b62000fad8582860162000eff565b925050602062000fc08582860162000ed1565b9150509250929050565b62000fd58162001312565b82525050565b600062000fe8826200124d565b62000ff4818562001258565b9350620010068185602086016200137c565b62001011816200151d565b840191505092915050565b60006200102b60328362001269565b915062001038826200152e565b604082019050919050565b600062001052601c8362001269565b91506200105f826200157d565b602082019050919050565b600062001079602a8362001269565b91506200108682620015a6565b604082019050919050565b6000620010a060208362001269565b9150620010ad82620015f5565b602082019050919050565b6000620010c760208362001269565b9150620010d4826200161e565b602082019050919050565b620010ea8162001372565b82525050565b600060808201905062001107600083018762000fca565b62001116602083018662000fca565b620011256040830185620010df565b818103606083015262001139818462000fdb565b905095945050505050565b600060208201905081810360008301526200115f816200101c565b9050919050565b60006020820190508181036000830152620011818162001043565b9050919050565b60006020820190508181036000830152620011a3816200106a565b9050919050565b60006020820190508181036000830152620011c58162001091565b9050919050565b60006020820190508181036000830152620011e781620010b8565b9050919050565b6000620011fa6200120d565b9050620012088282620013e8565b919050565b6000604051905090565b600067ffffffffffffffff821115620012355762001234620014da565b5b62001240826200151d565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620012878262001372565b9150620012948362001372565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620012cc57620012cb6200141e565b5b828201905092915050565b6000620012e48262001372565b9150620012f18362001372565b9250828210156200130757620013066200141e565b5b828203905092915050565b60006200131f8262001352565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200139c5780820151818401526020810190506200137f565b83811115620013ac576000848401525b50505050565b60006002820490506001821680620013cb57607f821691505b60208210811415620013e257620013e16200144d565b5b50919050565b620013f3826200151d565b810181811067ffffffffffffffff82111715620014155762001414620014da565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620016528162001312565b81146200165e57600080fd5b50565b6200166c8162001326565b81146200167857600080fd5b50565b61447a806200168b6000396000f3fe6080604052600436106101e35760003560e01c80638462151c11610102578063b532151211610095578063d54ad2a111610064578063d54ad2a1146106d3578063e985e9c5146106fe578063eae6efcd1461073b578063f2fde38b14610752576101e3565b8063b532151214610617578063b88d4fde14610642578063bb8a16bd1461066b578063c87b56dd14610696576101e3565b806395d89b41116100d157806395d89b411461057c57806398d5fdca146105a7578063a22cb465146105d2578063a723533e146105fb576101e3565b80638462151c146104d4578063853828b6146105115780638da5cb5b1461052857806391b7f5ed14610553576101e3565b806342842e0e1161017a578063571dff3b11610149578063571dff3b146104185780636352211e1461044357806370a0823114610480578063715018a6146104bd576101e3565b806342842e0e1461035e5780634f6ccce71461038757806355f804b3146103c4578063564566a8146103ed576101e3565b806318160ddd116101b657806318160ddd146102b657806323b872dd146102e15780632f745c591461030a5780633100a53514610347576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612f07565b61077b565b60405161021c9190613571565b60405180910390f35b34801561023157600080fd5b5061023a6107f5565b604051610247919061358c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612faa565b610887565b60405161028491906134e8565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612ec7565b61090c565b005b3480156102c257600080fd5b506102cb610a24565b6040516102d891906138ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612db1565b610a31565b005b34801561031657600080fd5b50610331600480360381019061032c9190612ec7565b610a91565b60405161033e91906138ce565b60405180910390f35b34801561035357600080fd5b5061035c610b36565b005b34801561036a57600080fd5b5061038560048036038101906103809190612db1565b610bde565b005b34801561039357600080fd5b506103ae60048036038101906103a99190612faa565b610bfe565b6040516103bb91906138ce565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190612f61565b610c6f565b005b3480156103f957600080fd5b50610402610d05565b60405161040f9190613571565b60405180910390f35b34801561042457600080fd5b5061042d610d18565b60405161043a91906138ce565b60405180910390f35b34801561044f57600080fd5b5061046a60048036038101906104659190612faa565b610d1e565b60405161047791906134e8565b60405180910390f35b34801561048c57600080fd5b506104a760048036038101906104a29190612d44565b610dd0565b6040516104b491906138ce565b60405180910390f35b3480156104c957600080fd5b506104d2610e88565b005b3480156104e057600080fd5b506104fb60048036038101906104f69190612d44565b610f10565b604051610508919061354f565b60405180910390f35b34801561051d57600080fd5b50610526610fbe565b005b34801561053457600080fd5b5061053d611089565b60405161054a91906134e8565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190612faa565b6110b3565b005b34801561058857600080fd5b50610591611139565b60405161059e919061358c565b60405180910390f35b3480156105b357600080fd5b506105bc6111cb565b6040516105c991906138ce565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190612e87565b6111d5565b005b61061560048036038101906106109190612faa565b611356565b005b34801561062357600080fd5b5061062c6114ce565b60405161063991906138ce565b60405180910390f35b34801561064e57600080fd5b5061066960048036038101906106649190612e04565b6114d4565b005b34801561067757600080fd5b50610680611536565b60405161068d91906138ce565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b89190612faa565b61153c565b6040516106ca919061358c565b60405180910390f35b3480156106df57600080fd5b506106e86115e3565b6040516106f591906138ce565b60405180910390f35b34801561070a57600080fd5b5061072560048036038101906107209190612d71565b6115e9565b6040516107329190613571565b60405180910390f35b34801561074757600080fd5b5061075061167d565b005b34801561075e57600080fd5b5061077960048036038101906107749190612d44565b611973565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ee57506107ed82611a83565b5b9050919050565b60606000805461080490613bb7565b80601f016020809104026020016040519081016040528092919081815260200182805461083090613bb7565b801561087d5780601f106108525761010080835404028352916020019161087d565b820191906000526020600020905b81548152906001019060200180831161086057829003601f168201915b5050505050905090565b600061089282611b65565b6108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c89061372e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091782610d1e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f906137ce565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a7611bd1565b73ffffffffffffffffffffffffffffffffffffffff1614806109d657506109d5816109d0611bd1565b6115e9565b5b610a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c9061368e565b60405180910390fd5b610a1f8383611bd9565b505050565b6000600880549050905090565b610a42610a3c611bd1565b82611c92565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a789061382e565b60405180910390fd5b610a8c838383611d70565b505050565b6000610a9c83610dd0565b8210610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad4906135ae565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b3e611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610b5c611089565b73ffffffffffffffffffffffffffffffffffffffff1614610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba99061374e565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b610bf9838383604051806020016040528060008152506114d4565b505050565b6000610c08610a24565b8210610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c409061386e565b60405180910390fd5b60088281548110610c5d57610c5c613d50565b5b90600052602060002001549050919050565b610c77611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610c95611089565b73ffffffffffffffffffffffffffffffffffffffff1614610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce29061374e565b60405180910390fd5b80600b9080519060200190610d01929190612b43565b5050565b600f60009054906101000a900460ff1681565b600e5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906136ce565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e38906136ae565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e90611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610eae611089565b73ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb9061374e565b60405180910390fd5b610f0e6000611fcc565b565b60606000610f1d83610dd0565b905060008167ffffffffffffffff811115610f3b57610f3a613d7f565b5b604051908082528060200260200182016040528015610f695781602001602082028036833780820191505090505b50905060005b82811015610fb357610f818582610a91565b828281518110610f9457610f93613d50565b5b6020026020010181815250508080610fab90613c1a565b915050610f6f565b508092505050919050565b610fc6611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610fe4611089565b73ffffffffffffffffffffffffffffffffffffffff161461103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110319061374e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611085573d6000803e3d6000fd5b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110bb611bd1565b73ffffffffffffffffffffffffffffffffffffffff166110d9611089565b73ffffffffffffffffffffffffffffffffffffffff161461112f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111269061374e565b60405180910390fd5b8060108190555050565b60606001805461114890613bb7565b80601f016020809104026020016040519081016040528092919081815260200182805461117490613bb7565b80156111c15780601f10611196576101008083540402835291602001916111c1565b820191906000526020600020905b8154815290600101906020018083116111a457829003601f168201915b5050505050905090565b6000601054905090565b6111dd611bd1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112429061364e565b60405180910390fd5b8060056000611258611bd1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611305611bd1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161134a9190613571565b60405180910390a35050565b6000611360610a24565b9050600f60009054906101000a900460ff166113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a89061380e565b60405180910390fd5b600e548211156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed906136ee565b60405180910390fd5b600c54828261140591906139ec565b1115611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d906138ae565b60405180910390fd5b816010546114549190613a73565b341015611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d906137ee565b60405180910390fd5b60005b828110156114c9576114b63382846114b191906139ec565b612092565b80806114c190613c1a565b915050611499565b505050565b600d5481565b6114e56114df611bd1565b83611c92565b611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b9061382e565b60405180910390fd5b611530848484846120b0565b50505050565b600c5481565b606061154782611b65565b611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d906137ae565b60405180910390fd5b600061159061210c565b905060008151116115b057604051806020016040528060008152506115db565b806115ba8461219e565b6040516020016115cb9291906134c4565b6040516020818303038152906040525b915050919050565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611687610a24565b9050600f60009054906101000a900460ff166116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf9061380e565b60405180910390fd5b600c546001826116e891906139ec565b1115611729576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611720906138ae565b60405180910390fd5b600d5460018261173991906139ec565b111561177a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117719061388e565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fe9061376e565b60405180910390fd5b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161186491906134e8565b60206040518083038186803b15801561187c57600080fd5b505afa158015611890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b49190612fd7565b116118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb9061384e565b60405180910390fd5b6118fe3382612092565b60016012600082825461191191906139ec565b925050819055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61197b611bd1565b73ffffffffffffffffffffffffffffffffffffffff16611999611089565b73ffffffffffffffffffffffffffffffffffffffff16146119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e69061374e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a56906135ee565b60405180910390fd5b611a6881611fcc565b50565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b4e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b5e5750611b5d826122ff565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c4c83610d1e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c9d82611b65565b611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd39061366e565b60405180910390fd5b6000611ce783610d1e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d5657508373ffffffffffffffffffffffffffffffffffffffff16611d3e84610887565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d675750611d6681856115e9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d9082610d1e565b73ffffffffffffffffffffffffffffffffffffffff1614611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd9061378e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d9061362e565b60405180910390fd5b611e61838383612369565b611e6c600082611bd9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebc9190613acd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f1391906139ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120ac82826040518060200160405280600081525061247d565b5050565b6120bb848484611d70565b6120c7848484846124d8565b612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd906135ce565b60405180910390fd5b50505050565b6060600b805461211b90613bb7565b80601f016020809104026020016040519081016040528092919081815260200182805461214790613bb7565b80156121945780601f1061216957610100808354040283529160200191612194565b820191906000526020600020905b81548152906001019060200180831161217757829003601f168201915b5050505050905090565b606060008214156121e6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122fa565b600082905060005b6000821461221857808061220190613c1a565b915050600a826122119190613a42565b91506121ee565b60008167ffffffffffffffff81111561223457612233613d7f565b5b6040519080825280601f01601f1916602001820160405280156122665781602001600182028036833780820191505090505b5090505b600085146122f35760018261227f9190613acd565b9150600a8561228e9190613c63565b603061229a91906139ec565b60f81b8183815181106122b0576122af613d50565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122ec9190613a42565b945061226a565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612374838383611a7e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123b7576123b28161266f565b6123f6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123f5576123f483826126b8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124395761243481612825565b612478565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124775761247682826128f6565b5b5b505050565b6124878383612975565b61249460008484846124d8565b6124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906135ce565b60405180910390fd5b505050565b60006124f98473ffffffffffffffffffffffffffffffffffffffff16611a6b565b15612662578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612522611bd1565b8786866040518563ffffffff1660e01b81526004016125449493929190613503565b602060405180830381600087803b15801561255e57600080fd5b505af192505050801561258f57506040513d601f19601f8201168201806040525081019061258c9190612f34565b60015b612612573d80600081146125bf576040519150601f19603f3d011682016040523d82523d6000602084013e6125c4565b606091505b5060008151141561260a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612601906135ce565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612667565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126c584610dd0565b6126cf9190613acd565b90506000600760008481526020019081526020016000205490508181146127b4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128399190613acd565b905060006009600084815260200190815260200160002054905060006008838154811061286957612868613d50565b5b90600052602060002001549050806008838154811061288b5761288a613d50565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128da576128d9613d21565b5b6001900381819060005260206000200160009055905550505050565b600061290183610dd0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc9061370e565b60405180910390fd5b6129ee81611b65565b15612a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a259061360e565b60405180910390fd5b612a3a60008383612369565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8a91906139ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612b4f90613bb7565b90600052602060002090601f016020900481019282612b715760008555612bb8565b82601f10612b8a57805160ff1916838001178555612bb8565b82800160010185558215612bb8579182015b82811115612bb7578251825591602001919060010190612b9c565b5b509050612bc59190612bc9565b5090565b5b80821115612be2576000816000905550600101612bca565b5090565b6000612bf9612bf48461390e565b6138e9565b905082815260208101848484011115612c1557612c14613db3565b5b612c20848285613b75565b509392505050565b6000612c3b612c368461393f565b6138e9565b905082815260208101848484011115612c5757612c56613db3565b5b612c62848285613b75565b509392505050565b600081359050612c79816143e8565b92915050565b600081359050612c8e816143ff565b92915050565b600081359050612ca381614416565b92915050565b600081519050612cb881614416565b92915050565b600082601f830112612cd357612cd2613dae565b5b8135612ce3848260208601612be6565b91505092915050565b600082601f830112612d0157612d00613dae565b5b8135612d11848260208601612c28565b91505092915050565b600081359050612d298161442d565b92915050565b600081519050612d3e8161442d565b92915050565b600060208284031215612d5a57612d59613dbd565b5b6000612d6884828501612c6a565b91505092915050565b60008060408385031215612d8857612d87613dbd565b5b6000612d9685828601612c6a565b9250506020612da785828601612c6a565b9150509250929050565b600080600060608486031215612dca57612dc9613dbd565b5b6000612dd886828701612c6a565b9350506020612de986828701612c6a565b9250506040612dfa86828701612d1a565b9150509250925092565b60008060008060808587031215612e1e57612e1d613dbd565b5b6000612e2c87828801612c6a565b9450506020612e3d87828801612c6a565b9350506040612e4e87828801612d1a565b925050606085013567ffffffffffffffff811115612e6f57612e6e613db8565b5b612e7b87828801612cbe565b91505092959194509250565b60008060408385031215612e9e57612e9d613dbd565b5b6000612eac85828601612c6a565b9250506020612ebd85828601612c7f565b9150509250929050565b60008060408385031215612ede57612edd613dbd565b5b6000612eec85828601612c6a565b9250506020612efd85828601612d1a565b9150509250929050565b600060208284031215612f1d57612f1c613dbd565b5b6000612f2b84828501612c94565b91505092915050565b600060208284031215612f4a57612f49613dbd565b5b6000612f5884828501612ca9565b91505092915050565b600060208284031215612f7757612f76613dbd565b5b600082013567ffffffffffffffff811115612f9557612f94613db8565b5b612fa184828501612cec565b91505092915050565b600060208284031215612fc057612fbf613dbd565b5b6000612fce84828501612d1a565b91505092915050565b600060208284031215612fed57612fec613dbd565b5b6000612ffb84828501612d2f565b91505092915050565b600061301083836134a6565b60208301905092915050565b61302581613b01565b82525050565b600061303682613980565b61304081856139ae565b935061304b83613970565b8060005b8381101561307c5781516130638882613004565b975061306e836139a1565b92505060018101905061304f565b5085935050505092915050565b61309281613b13565b82525050565b60006130a38261398b565b6130ad81856139bf565b93506130bd818560208601613b84565b6130c681613dc2565b840191505092915050565b60006130dc82613996565b6130e681856139d0565b93506130f6818560208601613b84565b6130ff81613dc2565b840191505092915050565b600061311582613996565b61311f81856139e1565b935061312f818560208601613b84565b80840191505092915050565b6000613148602b836139d0565b915061315382613dd3565b604082019050919050565b600061316b6032836139d0565b915061317682613e22565b604082019050919050565b600061318e6026836139d0565b915061319982613e71565b604082019050919050565b60006131b1601c836139d0565b91506131bc82613ec0565b602082019050919050565b60006131d46024836139d0565b91506131df82613ee9565b604082019050919050565b60006131f76019836139d0565b915061320282613f38565b602082019050919050565b600061321a602c836139d0565b915061322582613f61565b604082019050919050565b600061323d6038836139d0565b915061324882613fb0565b604082019050919050565b6000613260602a836139d0565b915061326b82613fff565b604082019050919050565b60006132836029836139d0565b915061328e8261404e565b604082019050919050565b60006132a66016836139d0565b91506132b18261409d565b602082019050919050565b60006132c96020836139d0565b91506132d4826140c6565b602082019050919050565b60006132ec602c836139d0565b91506132f7826140ef565b604082019050919050565b600061330f6020836139d0565b915061331a8261413e565b602082019050919050565b60006133326017836139d0565b915061333d82614167565b602082019050919050565b60006133556029836139d0565b915061336082614190565b604082019050919050565b6000613378602f836139d0565b9150613383826141df565b604082019050919050565b600061339b6021836139d0565b91506133a68261422e565b604082019050919050565b60006133be6019836139d0565b91506133c98261427d565b602082019050919050565b60006133e1601c836139d0565b91506133ec826142a6565b602082019050919050565b60006134046031836139d0565b915061340f826142cf565b604082019050919050565b6000613427600f836139d0565b91506134328261431e565b602082019050919050565b600061344a602c836139d0565b915061345582614347565b604082019050919050565b600061346d601a836139d0565b915061347882614396565b602082019050919050565b60006134906010836139d0565b915061349b826143bf565b602082019050919050565b6134af81613b6b565b82525050565b6134be81613b6b565b82525050565b60006134d0828561310a565b91506134dc828461310a565b91508190509392505050565b60006020820190506134fd600083018461301c565b92915050565b6000608082019050613518600083018761301c565b613525602083018661301c565b61353260408301856134b5565b81810360608301526135448184613098565b905095945050505050565b60006020820190508181036000830152613569818461302b565b905092915050565b60006020820190506135866000830184613089565b92915050565b600060208201905081810360008301526135a681846130d1565b905092915050565b600060208201905081810360008301526135c78161313b565b9050919050565b600060208201905081810360008301526135e78161315e565b9050919050565b6000602082019050818103600083015261360781613181565b9050919050565b60006020820190508181036000830152613627816131a4565b9050919050565b60006020820190508181036000830152613647816131c7565b9050919050565b60006020820190508181036000830152613667816131ea565b9050919050565b600060208201905081810360008301526136878161320d565b9050919050565b600060208201905081810360008301526136a781613230565b9050919050565b600060208201905081810360008301526136c781613253565b9050919050565b600060208201905081810360008301526136e781613276565b9050919050565b6000602082019050818103600083015261370781613299565b9050919050565b60006020820190508181036000830152613727816132bc565b9050919050565b60006020820190508181036000830152613747816132df565b9050919050565b6000602082019050818103600083015261376781613302565b9050919050565b6000602082019050818103600083015261378781613325565b9050919050565b600060208201905081810360008301526137a781613348565b9050919050565b600060208201905081810360008301526137c78161336b565b9050919050565b600060208201905081810360008301526137e78161338e565b9050919050565b60006020820190508181036000830152613807816133b1565b9050919050565b60006020820190508181036000830152613827816133d4565b9050919050565b60006020820190508181036000830152613847816133f7565b9050919050565b600060208201905081810360008301526138678161341a565b9050919050565b600060208201905081810360008301526138878161343d565b9050919050565b600060208201905081810360008301526138a781613460565b9050919050565b600060208201905081810360008301526138c781613483565b9050919050565b60006020820190506138e360008301846134b5565b92915050565b60006138f3613904565b90506138ff8282613be9565b919050565b6000604051905090565b600067ffffffffffffffff82111561392957613928613d7f565b5b61393282613dc2565b9050602081019050919050565b600067ffffffffffffffff82111561395a57613959613d7f565b5b61396382613dc2565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006139f782613b6b565b9150613a0283613b6b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a3757613a36613c94565b5b828201905092915050565b6000613a4d82613b6b565b9150613a5883613b6b565b925082613a6857613a67613cc3565b5b828204905092915050565b6000613a7e82613b6b565b9150613a8983613b6b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ac257613ac1613c94565b5b828202905092915050565b6000613ad882613b6b565b9150613ae383613b6b565b925082821015613af657613af5613c94565b5b828203905092915050565b6000613b0c82613b4b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ba2578082015181840152602081019050613b87565b83811115613bb1576000848401525b50505050565b60006002820490506001821680613bcf57607f821691505b60208210811415613be357613be2613cf2565b5b50919050565b613bf282613dc2565b810181811067ffffffffffffffff82111715613c1157613c10613d7f565b5b80604052505050565b6000613c2582613b6b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c5857613c57613c94565b5b600182019050919050565b6000613c6e82613b6b565b9150613c7983613b6b565b925082613c8957613c88613cc3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178417065507572636861736500000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4164647265737320616c726561647920636c61696d6564000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f53616c65206973206e6f742063757272656e746c792061637469766500000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d757374206f776e20616e206170650000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473204d41585f434c41494d41424c455f41504553000000000000600082015250565b7f45786365656473204d41585f4150455300000000000000000000000000000000600082015250565b6143f181613b01565b81146143fc57600080fd5b50565b61440881613b13565b811461441357600080fd5b50565b61441f81613b1f565b811461442a57600080fd5b50565b61443681613b6b565b811461444157600080fd5b5056fea2646970667358221220fd4ae2f7811a742336de8e0a29dd00934db23a7b4bb70039e71ccc27c10ba81d64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6170692e62617374617264617065732e636f6d2f00000000

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80638462151c11610102578063b532151211610095578063d54ad2a111610064578063d54ad2a1146106d3578063e985e9c5146106fe578063eae6efcd1461073b578063f2fde38b14610752576101e3565b8063b532151214610617578063b88d4fde14610642578063bb8a16bd1461066b578063c87b56dd14610696576101e3565b806395d89b41116100d157806395d89b411461057c57806398d5fdca146105a7578063a22cb465146105d2578063a723533e146105fb576101e3565b80638462151c146104d4578063853828b6146105115780638da5cb5b1461052857806391b7f5ed14610553576101e3565b806342842e0e1161017a578063571dff3b11610149578063571dff3b146104185780636352211e1461044357806370a0823114610480578063715018a6146104bd576101e3565b806342842e0e1461035e5780634f6ccce71461038757806355f804b3146103c4578063564566a8146103ed576101e3565b806318160ddd116101b657806318160ddd146102b657806323b872dd146102e15780632f745c591461030a5780633100a53514610347576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612f07565b61077b565b60405161021c9190613571565b60405180910390f35b34801561023157600080fd5b5061023a6107f5565b604051610247919061358c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612faa565b610887565b60405161028491906134e8565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612ec7565b61090c565b005b3480156102c257600080fd5b506102cb610a24565b6040516102d891906138ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612db1565b610a31565b005b34801561031657600080fd5b50610331600480360381019061032c9190612ec7565b610a91565b60405161033e91906138ce565b60405180910390f35b34801561035357600080fd5b5061035c610b36565b005b34801561036a57600080fd5b5061038560048036038101906103809190612db1565b610bde565b005b34801561039357600080fd5b506103ae60048036038101906103a99190612faa565b610bfe565b6040516103bb91906138ce565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190612f61565b610c6f565b005b3480156103f957600080fd5b50610402610d05565b60405161040f9190613571565b60405180910390f35b34801561042457600080fd5b5061042d610d18565b60405161043a91906138ce565b60405180910390f35b34801561044f57600080fd5b5061046a60048036038101906104659190612faa565b610d1e565b60405161047791906134e8565b60405180910390f35b34801561048c57600080fd5b506104a760048036038101906104a29190612d44565b610dd0565b6040516104b491906138ce565b60405180910390f35b3480156104c957600080fd5b506104d2610e88565b005b3480156104e057600080fd5b506104fb60048036038101906104f69190612d44565b610f10565b604051610508919061354f565b60405180910390f35b34801561051d57600080fd5b50610526610fbe565b005b34801561053457600080fd5b5061053d611089565b60405161054a91906134e8565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190612faa565b6110b3565b005b34801561058857600080fd5b50610591611139565b60405161059e919061358c565b60405180910390f35b3480156105b357600080fd5b506105bc6111cb565b6040516105c991906138ce565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190612e87565b6111d5565b005b61061560048036038101906106109190612faa565b611356565b005b34801561062357600080fd5b5061062c6114ce565b60405161063991906138ce565b60405180910390f35b34801561064e57600080fd5b5061066960048036038101906106649190612e04565b6114d4565b005b34801561067757600080fd5b50610680611536565b60405161068d91906138ce565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b89190612faa565b61153c565b6040516106ca919061358c565b60405180910390f35b3480156106df57600080fd5b506106e86115e3565b6040516106f591906138ce565b60405180910390f35b34801561070a57600080fd5b5061072560048036038101906107209190612d71565b6115e9565b6040516107329190613571565b60405180910390f35b34801561074757600080fd5b5061075061167d565b005b34801561075e57600080fd5b5061077960048036038101906107749190612d44565b611973565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ee57506107ed82611a83565b5b9050919050565b60606000805461080490613bb7565b80601f016020809104026020016040519081016040528092919081815260200182805461083090613bb7565b801561087d5780601f106108525761010080835404028352916020019161087d565b820191906000526020600020905b81548152906001019060200180831161086057829003601f168201915b5050505050905090565b600061089282611b65565b6108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c89061372e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091782610d1e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f906137ce565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a7611bd1565b73ffffffffffffffffffffffffffffffffffffffff1614806109d657506109d5816109d0611bd1565b6115e9565b5b610a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c9061368e565b60405180910390fd5b610a1f8383611bd9565b505050565b6000600880549050905090565b610a42610a3c611bd1565b82611c92565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a789061382e565b60405180910390fd5b610a8c838383611d70565b505050565b6000610a9c83610dd0565b8210610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad4906135ae565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b3e611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610b5c611089565b73ffffffffffffffffffffffffffffffffffffffff1614610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba99061374e565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b610bf9838383604051806020016040528060008152506114d4565b505050565b6000610c08610a24565b8210610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c409061386e565b60405180910390fd5b60088281548110610c5d57610c5c613d50565b5b90600052602060002001549050919050565b610c77611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610c95611089565b73ffffffffffffffffffffffffffffffffffffffff1614610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce29061374e565b60405180910390fd5b80600b9080519060200190610d01929190612b43565b5050565b600f60009054906101000a900460ff1681565b600e5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906136ce565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e38906136ae565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e90611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610eae611089565b73ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb9061374e565b60405180910390fd5b610f0e6000611fcc565b565b60606000610f1d83610dd0565b905060008167ffffffffffffffff811115610f3b57610f3a613d7f565b5b604051908082528060200260200182016040528015610f695781602001602082028036833780820191505090505b50905060005b82811015610fb357610f818582610a91565b828281518110610f9457610f93613d50565b5b6020026020010181815250508080610fab90613c1a565b915050610f6f565b508092505050919050565b610fc6611bd1565b73ffffffffffffffffffffffffffffffffffffffff16610fe4611089565b73ffffffffffffffffffffffffffffffffffffffff161461103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110319061374e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611085573d6000803e3d6000fd5b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110bb611bd1565b73ffffffffffffffffffffffffffffffffffffffff166110d9611089565b73ffffffffffffffffffffffffffffffffffffffff161461112f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111269061374e565b60405180910390fd5b8060108190555050565b60606001805461114890613bb7565b80601f016020809104026020016040519081016040528092919081815260200182805461117490613bb7565b80156111c15780601f10611196576101008083540402835291602001916111c1565b820191906000526020600020905b8154815290600101906020018083116111a457829003601f168201915b5050505050905090565b6000601054905090565b6111dd611bd1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112429061364e565b60405180910390fd5b8060056000611258611bd1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611305611bd1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161134a9190613571565b60405180910390a35050565b6000611360610a24565b9050600f60009054906101000a900460ff166113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a89061380e565b60405180910390fd5b600e548211156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed906136ee565b60405180910390fd5b600c54828261140591906139ec565b1115611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d906138ae565b60405180910390fd5b816010546114549190613a73565b341015611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d906137ee565b60405180910390fd5b60005b828110156114c9576114b63382846114b191906139ec565b612092565b80806114c190613c1a565b915050611499565b505050565b600d5481565b6114e56114df611bd1565b83611c92565b611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b9061382e565b60405180910390fd5b611530848484846120b0565b50505050565b600c5481565b606061154782611b65565b611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d906137ae565b60405180910390fd5b600061159061210c565b905060008151116115b057604051806020016040528060008152506115db565b806115ba8461219e565b6040516020016115cb9291906134c4565b6040516020818303038152906040525b915050919050565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611687610a24565b9050600f60009054906101000a900460ff166116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf9061380e565b60405180910390fd5b600c546001826116e891906139ec565b1115611729576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611720906138ae565b60405180910390fd5b600d5460018261173991906139ec565b111561177a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117719061388e565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fe9061376e565b60405180910390fd5b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161186491906134e8565b60206040518083038186803b15801561187c57600080fd5b505afa158015611890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b49190612fd7565b116118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb9061384e565b60405180910390fd5b6118fe3382612092565b60016012600082825461191191906139ec565b925050819055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61197b611bd1565b73ffffffffffffffffffffffffffffffffffffffff16611999611089565b73ffffffffffffffffffffffffffffffffffffffff16146119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e69061374e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a56906135ee565b60405180910390fd5b611a6881611fcc565b50565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b4e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b5e5750611b5d826122ff565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c4c83610d1e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c9d82611b65565b611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd39061366e565b60405180910390fd5b6000611ce783610d1e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d5657508373ffffffffffffffffffffffffffffffffffffffff16611d3e84610887565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d675750611d6681856115e9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d9082610d1e565b73ffffffffffffffffffffffffffffffffffffffff1614611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd9061378e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d9061362e565b60405180910390fd5b611e61838383612369565b611e6c600082611bd9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebc9190613acd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f1391906139ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120ac82826040518060200160405280600081525061247d565b5050565b6120bb848484611d70565b6120c7848484846124d8565b612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd906135ce565b60405180910390fd5b50505050565b6060600b805461211b90613bb7565b80601f016020809104026020016040519081016040528092919081815260200182805461214790613bb7565b80156121945780601f1061216957610100808354040283529160200191612194565b820191906000526020600020905b81548152906001019060200180831161217757829003601f168201915b5050505050905090565b606060008214156121e6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122fa565b600082905060005b6000821461221857808061220190613c1a565b915050600a826122119190613a42565b91506121ee565b60008167ffffffffffffffff81111561223457612233613d7f565b5b6040519080825280601f01601f1916602001820160405280156122665781602001600182028036833780820191505090505b5090505b600085146122f35760018261227f9190613acd565b9150600a8561228e9190613c63565b603061229a91906139ec565b60f81b8183815181106122b0576122af613d50565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122ec9190613a42565b945061226a565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612374838383611a7e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123b7576123b28161266f565b6123f6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123f5576123f483826126b8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124395761243481612825565b612478565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124775761247682826128f6565b5b5b505050565b6124878383612975565b61249460008484846124d8565b6124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906135ce565b60405180910390fd5b505050565b60006124f98473ffffffffffffffffffffffffffffffffffffffff16611a6b565b15612662578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612522611bd1565b8786866040518563ffffffff1660e01b81526004016125449493929190613503565b602060405180830381600087803b15801561255e57600080fd5b505af192505050801561258f57506040513d601f19601f8201168201806040525081019061258c9190612f34565b60015b612612573d80600081146125bf576040519150601f19603f3d011682016040523d82523d6000602084013e6125c4565b606091505b5060008151141561260a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612601906135ce565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612667565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126c584610dd0565b6126cf9190613acd565b90506000600760008481526020019081526020016000205490508181146127b4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128399190613acd565b905060006009600084815260200190815260200160002054905060006008838154811061286957612868613d50565b5b90600052602060002001549050806008838154811061288b5761288a613d50565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128da576128d9613d21565b5b6001900381819060005260206000200160009055905550505050565b600061290183610dd0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc9061370e565b60405180910390fd5b6129ee81611b65565b15612a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a259061360e565b60405180910390fd5b612a3a60008383612369565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8a91906139ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612b4f90613bb7565b90600052602060002090601f016020900481019282612b715760008555612bb8565b82601f10612b8a57805160ff1916838001178555612bb8565b82800160010185558215612bb8579182015b82811115612bb7578251825591602001919060010190612b9c565b5b509050612bc59190612bc9565b5090565b5b80821115612be2576000816000905550600101612bca565b5090565b6000612bf9612bf48461390e565b6138e9565b905082815260208101848484011115612c1557612c14613db3565b5b612c20848285613b75565b509392505050565b6000612c3b612c368461393f565b6138e9565b905082815260208101848484011115612c5757612c56613db3565b5b612c62848285613b75565b509392505050565b600081359050612c79816143e8565b92915050565b600081359050612c8e816143ff565b92915050565b600081359050612ca381614416565b92915050565b600081519050612cb881614416565b92915050565b600082601f830112612cd357612cd2613dae565b5b8135612ce3848260208601612be6565b91505092915050565b600082601f830112612d0157612d00613dae565b5b8135612d11848260208601612c28565b91505092915050565b600081359050612d298161442d565b92915050565b600081519050612d3e8161442d565b92915050565b600060208284031215612d5a57612d59613dbd565b5b6000612d6884828501612c6a565b91505092915050565b60008060408385031215612d8857612d87613dbd565b5b6000612d9685828601612c6a565b9250506020612da785828601612c6a565b9150509250929050565b600080600060608486031215612dca57612dc9613dbd565b5b6000612dd886828701612c6a565b9350506020612de986828701612c6a565b9250506040612dfa86828701612d1a565b9150509250925092565b60008060008060808587031215612e1e57612e1d613dbd565b5b6000612e2c87828801612c6a565b9450506020612e3d87828801612c6a565b9350506040612e4e87828801612d1a565b925050606085013567ffffffffffffffff811115612e6f57612e6e613db8565b5b612e7b87828801612cbe565b91505092959194509250565b60008060408385031215612e9e57612e9d613dbd565b5b6000612eac85828601612c6a565b9250506020612ebd85828601612c7f565b9150509250929050565b60008060408385031215612ede57612edd613dbd565b5b6000612eec85828601612c6a565b9250506020612efd85828601612d1a565b9150509250929050565b600060208284031215612f1d57612f1c613dbd565b5b6000612f2b84828501612c94565b91505092915050565b600060208284031215612f4a57612f49613dbd565b5b6000612f5884828501612ca9565b91505092915050565b600060208284031215612f7757612f76613dbd565b5b600082013567ffffffffffffffff811115612f9557612f94613db8565b5b612fa184828501612cec565b91505092915050565b600060208284031215612fc057612fbf613dbd565b5b6000612fce84828501612d1a565b91505092915050565b600060208284031215612fed57612fec613dbd565b5b6000612ffb84828501612d2f565b91505092915050565b600061301083836134a6565b60208301905092915050565b61302581613b01565b82525050565b600061303682613980565b61304081856139ae565b935061304b83613970565b8060005b8381101561307c5781516130638882613004565b975061306e836139a1565b92505060018101905061304f565b5085935050505092915050565b61309281613b13565b82525050565b60006130a38261398b565b6130ad81856139bf565b93506130bd818560208601613b84565b6130c681613dc2565b840191505092915050565b60006130dc82613996565b6130e681856139d0565b93506130f6818560208601613b84565b6130ff81613dc2565b840191505092915050565b600061311582613996565b61311f81856139e1565b935061312f818560208601613b84565b80840191505092915050565b6000613148602b836139d0565b915061315382613dd3565b604082019050919050565b600061316b6032836139d0565b915061317682613e22565b604082019050919050565b600061318e6026836139d0565b915061319982613e71565b604082019050919050565b60006131b1601c836139d0565b91506131bc82613ec0565b602082019050919050565b60006131d46024836139d0565b91506131df82613ee9565b604082019050919050565b60006131f76019836139d0565b915061320282613f38565b602082019050919050565b600061321a602c836139d0565b915061322582613f61565b604082019050919050565b600061323d6038836139d0565b915061324882613fb0565b604082019050919050565b6000613260602a836139d0565b915061326b82613fff565b604082019050919050565b60006132836029836139d0565b915061328e8261404e565b604082019050919050565b60006132a66016836139d0565b91506132b18261409d565b602082019050919050565b60006132c96020836139d0565b91506132d4826140c6565b602082019050919050565b60006132ec602c836139d0565b91506132f7826140ef565b604082019050919050565b600061330f6020836139d0565b915061331a8261413e565b602082019050919050565b60006133326017836139d0565b915061333d82614167565b602082019050919050565b60006133556029836139d0565b915061336082614190565b604082019050919050565b6000613378602f836139d0565b9150613383826141df565b604082019050919050565b600061339b6021836139d0565b91506133a68261422e565b604082019050919050565b60006133be6019836139d0565b91506133c98261427d565b602082019050919050565b60006133e1601c836139d0565b91506133ec826142a6565b602082019050919050565b60006134046031836139d0565b915061340f826142cf565b604082019050919050565b6000613427600f836139d0565b91506134328261431e565b602082019050919050565b600061344a602c836139d0565b915061345582614347565b604082019050919050565b600061346d601a836139d0565b915061347882614396565b602082019050919050565b60006134906010836139d0565b915061349b826143bf565b602082019050919050565b6134af81613b6b565b82525050565b6134be81613b6b565b82525050565b60006134d0828561310a565b91506134dc828461310a565b91508190509392505050565b60006020820190506134fd600083018461301c565b92915050565b6000608082019050613518600083018761301c565b613525602083018661301c565b61353260408301856134b5565b81810360608301526135448184613098565b905095945050505050565b60006020820190508181036000830152613569818461302b565b905092915050565b60006020820190506135866000830184613089565b92915050565b600060208201905081810360008301526135a681846130d1565b905092915050565b600060208201905081810360008301526135c78161313b565b9050919050565b600060208201905081810360008301526135e78161315e565b9050919050565b6000602082019050818103600083015261360781613181565b9050919050565b60006020820190508181036000830152613627816131a4565b9050919050565b60006020820190508181036000830152613647816131c7565b9050919050565b60006020820190508181036000830152613667816131ea565b9050919050565b600060208201905081810360008301526136878161320d565b9050919050565b600060208201905081810360008301526136a781613230565b9050919050565b600060208201905081810360008301526136c781613253565b9050919050565b600060208201905081810360008301526136e781613276565b9050919050565b6000602082019050818103600083015261370781613299565b9050919050565b60006020820190508181036000830152613727816132bc565b9050919050565b60006020820190508181036000830152613747816132df565b9050919050565b6000602082019050818103600083015261376781613302565b9050919050565b6000602082019050818103600083015261378781613325565b9050919050565b600060208201905081810360008301526137a781613348565b9050919050565b600060208201905081810360008301526137c78161336b565b9050919050565b600060208201905081810360008301526137e78161338e565b9050919050565b60006020820190508181036000830152613807816133b1565b9050919050565b60006020820190508181036000830152613827816133d4565b9050919050565b60006020820190508181036000830152613847816133f7565b9050919050565b600060208201905081810360008301526138678161341a565b9050919050565b600060208201905081810360008301526138878161343d565b9050919050565b600060208201905081810360008301526138a781613460565b9050919050565b600060208201905081810360008301526138c781613483565b9050919050565b60006020820190506138e360008301846134b5565b92915050565b60006138f3613904565b90506138ff8282613be9565b919050565b6000604051905090565b600067ffffffffffffffff82111561392957613928613d7f565b5b61393282613dc2565b9050602081019050919050565b600067ffffffffffffffff82111561395a57613959613d7f565b5b61396382613dc2565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006139f782613b6b565b9150613a0283613b6b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a3757613a36613c94565b5b828201905092915050565b6000613a4d82613b6b565b9150613a5883613b6b565b925082613a6857613a67613cc3565b5b828204905092915050565b6000613a7e82613b6b565b9150613a8983613b6b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ac257613ac1613c94565b5b828202905092915050565b6000613ad882613b6b565b9150613ae383613b6b565b925082821015613af657613af5613c94565b5b828203905092915050565b6000613b0c82613b4b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ba2578082015181840152602081019050613b87565b83811115613bb1576000848401525b50505050565b60006002820490506001821680613bcf57607f821691505b60208210811415613be357613be2613cf2565b5b50919050565b613bf282613dc2565b810181811067ffffffffffffffff82111715613c1157613c10613d7f565b5b80604052505050565b6000613c2582613b6b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c5857613c57613c94565b5b600182019050919050565b6000613c6e82613b6b565b9150613c7983613b6b565b925082613c8957613c88613cc3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178417065507572636861736500000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4164647265737320616c726561647920636c61696d6564000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f53616c65206973206e6f742063757272656e746c792061637469766500000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d757374206f776e20616e206170650000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473204d41585f434c41494d41424c455f41504553000000000000600082015250565b7f45786365656473204d41585f4150455300000000000000000000000000000000600082015250565b6143f181613b01565b81146143fc57600080fd5b50565b61440881613b13565b811461441357600080fd5b50565b61441f81613b1f565b811461442a57600080fd5b50565b61443681613b6b565b811461444157600080fd5b5056fea2646970667358221220fd4ae2f7811a742336de8e0a29dd00934db23a7b4bb70039e71ccc27c10ba81d64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6170692e62617374617264617065732e636f6d2f00000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.bastardapes.com/
Arg [1] : holdersAddress (address): 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [3] : 68747470733a2f2f6170692e62617374617264617065732e636f6d2f00000000


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.