ETH Price: $3,414.62 (+3.09%)

Token

BallerApes (BALLER)
 

Overview

Max Total Supply

572 BALLER

Holders

207

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
w-a-g-m-i.eth
Balance
3 BALLER
0xb4cf8b089e5db3fb4267d3533d1dab4e9c10ca07
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
BallerApes

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : BallerApes.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract BallerApes is ERC721, ERC721Enumerable, ERC721Burnable, Ownable {
    using ECDSA for bytes32;

    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    uint256 public maxTokenSupply;

    uint256 public constant MAX_MINTS_PER_TXN = 20;

    uint256 public mintPrice = 0.08 ether;

    bool public saleIsActive = false;

    bool public presaleIsActive = false;

    string public baseURI;

    string public provenance;

    uint256 public currentBatchNumber = 1;

    // Used to validate authorized mint addresses
    address public signerAddress = 0x4cF49B4F82aE3aED2499b4F57A8208bb001A6EDC;

    address[5] private _shareholders;

    uint[5] private _shares;

    IERC721 public pigskinApesContractInstance;

    // Mapping from batch number to addresses to get a bool on whether the address has claimed its free NFTs
    mapping (uint256 => mapping (address => bool)) public hasClaimed;

    event PaymentReleased(address to, uint256 amount);

    constructor(string memory name, string memory symbol, uint256 maxBallerApeSupply, address pigskinApesAddress) ERC721(name, symbol) {
        maxTokenSupply = maxBallerApeSupply;

        _shareholders[0] = 0xD83C7bcED50Ba86f1C1FBf29aBba278E3659F72A; // Mark
        _shareholders[1] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3; // Treasure-Seeker
        _shareholders[2] = 0xBaC76260da2763003f1d1D110DAfac140daA4644; // Jose
        _shareholders[3] = 0xa07b04d4940d549b224e2a4802B541b6648cA40a; // Blair
        _shareholders[4] = 0x4D842f973158E70a6A54e0b0FBF752A70aF14FbD; // Toni

        _shares[0] = 4100;
        _shares[1] = 2200;
        _shares[2] = 2200;
        _shares[3] = 1000;
        _shares[4] = 500;

        pigskinApesContractInstance = IERC721(pigskinApesAddress);
    }

    function setSignerAddress(address newSignerAddress) public onlyOwner {
        signerAddress = newSignerAddress;
    }

    function setCurrentBatchNumber(uint256 newBatchNumber) public onlyOwner {
        currentBatchNumber = newBatchNumber;
    }

    function setMaxTokenSupply(uint256 maxPigskinApeSupply) public onlyOwner {
        maxTokenSupply = maxPigskinApeSupply;
    }

    function setMintPrice(uint256 newPrice) public onlyOwner {
        mintPrice = newPrice;
    }

    /*
    * Distribute eth prize to a single addresses
    */
    function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner {
        Address.sendValue(to, amount);
        emit PaymentReleased(to, amount);
    }

    /*
    * Distribute eth prizes to multiple addresses
    */
    function withdrawMultipleForGiveaway(uint256 amount, address[] memory winnerAddresses) public onlyOwner {
        for (uint256 i = 0;  i < winnerAddresses.length; i++) {
            Address.sendValue(payable(winnerAddresses[i]), amount);
            emit PaymentReleased(winnerAddresses[i], amount);
        }
    }

    function withdraw(uint256 amount) public onlyOwner {
        require(address(this).balance >= amount, "Insufficient balance");
        
        uint256 totalShares = 10000;
        for (uint256 i = 0; i < 5; i++) {
            uint256 payment = amount * _shares[i] / totalShares;

            Address.sendValue(payable(_shareholders[i]), payment);
            emit PaymentReleased(_shareholders[i], payment);
        }
    }

    /*
    * Mint reserved NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner {        
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(mintAddress, _tokenIdCounter.current());
        }
    }

    /*
    * Mint reserved NFTs for multiple winner addresses (1 per address)
    */
    function reserveMintMultiple(address[] memory winnerAddresses) public onlyOwner {        
        for (uint256 i = 0; i < winnerAddresses.length; i++) {
            _tokenIdCounter.increment();
            _safeMint(winnerAddresses[i], _tokenIdCounter.current());
        }
    }

    /*
    * Pause sale if active, make active if paused.
    */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /*
    * Pause pre-sale if active, make active if paused.
    */
    function flipPresaleState() public onlyOwner {
        presaleIsActive = !presaleIsActive;
    }

    /*
    * Mint Baller Ape NFTs, woot!
    */
    function adoptApes(uint256 numberOfTokens) public payable {
        require(saleIsActive || (presaleIsActive && pigskinApesContractInstance.balanceOf(msg.sender) > 0), "Sale is not active or your address doesn't own a Pigskin Ape");
        require(totalSupply() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available baller apes");
        require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");
        require(numberOfTokens <= MAX_MINTS_PER_TXN, "You can only adopt 20 baller apes at a time");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = _tokenIdCounter.current() + 1;
            if (mintIndex <= maxTokenSupply) {
                _tokenIdCounter.increment();
                _safeMint(msg.sender, mintIndex);
            }
        }
    }

    function hashClaim(address buyer, uint256 numberOfMints, uint256 batchNumber) public pure returns (bytes32) {
        return keccak256(abi.encode(
            buyer,
            numberOfMints,
            batchNumber
        ));
    }

    /*
    * For winners to claim free Baller Ape NFTs
    */
    function claimApes(uint256 numberOfMints, uint256 batchNumber, bytes memory signature) public {
        require(currentBatchNumber == batchNumber, "This batch has expired");
        require(!hasClaimed[batchNumber][msg.sender], "This address has already minted");
        bytes32 hashToVerify = hashClaim(msg.sender, numberOfMints, batchNumber);
        require(signerAddress == hashToVerify.toEthSignedMessageHash().recover(signature), "Invalid signature");

        hasClaimed[batchNumber][msg.sender] = true;

        for (uint256 i = 1; i <= numberOfMints; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

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

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

    /*     
    * Set provenance once it's calculated.
    */
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        provenance = provenanceHash;
    }

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

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

File 2 of 16 : 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 16 : 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}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

File 4 of 16 : 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 5 of 16 : 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 6 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 7 of 16 : 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 8 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 9 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 10 of 16 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 16 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 16 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 14 of 16 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 15 of 16 : 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 16 of 16 : 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
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxBallerApeSupply","type":"uint256"},{"internalType":"address","name":"pigskinApesAddress","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"adoptApes","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"uint256","name":"batchNumber","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claimApes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentBatchNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"uint256","name":"batchNumber","type":"uint256"}],"name":"hashClaim","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pigskinApesContractInstance","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"winnerAddresses","type":"address[]"}],"name":"reserveMintMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBatchNumber","type":"uint256"}],"name":"setCurrentBatchNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPigskinApeSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSignerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"winnerAddresses","type":"address[]"}],"name":"withdrawMultipleForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267011c37937e080000600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506001601155734cf49b4f82ae3aed2499b4f57a8208bb001a6edc601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000ad57600080fd5b5060405162006859380380620068598339818101604052810190620000d39190620007bd565b83838160009080519060200190620000ed929190620004d0565b50806001908051906020019062000106929190620004d0565b50505060006200011b620004c860201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600c8190555073d83c7bced50ba86f1c1fbf29abba278e3659f72a6013600060058110620001ee57620001ed6200086d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e360136001600581106200025a57620002596200086d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bac76260da2763003f1d1d110dafac140daa46446013600260058110620002c657620002c56200086d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a07b04d4940d549b224e2a4802b541b6648ca40a60136003600581106200033257620003316200086d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734d842f973158e70a6a54e0b0fbf752a70af14fbd60136004600581106200039e576200039d6200086d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506110046018600060058110620003f857620003f76200086d565b5b018190555061089860186001600581106200041857620004176200086d565b5b018190555061089860186002600581106200043857620004376200086d565b5b01819055506103e860186003600581106200045857620004576200086d565b5b01819055506101f460186004600581106200047857620004776200086d565b5b018190555080601d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000901565b600033905090565b828054620004de90620008cb565b90600052602060002090601f0160209004810192826200050257600085556200054e565b82601f106200051d57805160ff19168380011785556200054e565b828001600101855582156200054e579182015b828111156200054d57825182559160200191906001019062000530565b5b5090506200055d919062000561565b5090565b5b808211156200057c57600081600090555060010162000562565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005e9826200059e565b810181811067ffffffffffffffff821117156200060b576200060a620005af565b5b80604052505050565b60006200062062000580565b90506200062e8282620005de565b919050565b600067ffffffffffffffff821115620006515762000650620005af565b5b6200065c826200059e565b9050602081019050919050565b60005b83811015620006895780820151818401526020810190506200066c565b8381111562000699576000848401525b50505050565b6000620006b6620006b08462000633565b62000614565b905082815260208101848484011115620006d557620006d462000599565b5b620006e284828562000669565b509392505050565b600082601f83011262000702576200070162000594565b5b8151620007148482602086016200069f565b91505092915050565b6000819050919050565b62000732816200071d565b81146200073e57600080fd5b50565b600081519050620007528162000727565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007858262000758565b9050919050565b620007978162000778565b8114620007a357600080fd5b50565b600081519050620007b7816200078c565b92915050565b60008060008060808587031215620007da57620007d96200058a565b5b600085015167ffffffffffffffff811115620007fb57620007fa6200058f565b5b6200080987828801620006ea565b945050602085015167ffffffffffffffff8111156200082d576200082c6200058f565b5b6200083b87828801620006ea565b93505060406200084e8782880162000741565b92505060606200086187828801620007a6565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008e457607f821691505b60208210811415620008fb57620008fa6200089c565b5b50919050565b615f4880620009116000396000f3fe6080604052600436106102885760003560e01c80636352211e1161015a578063b88d4fde116100c1578063eb8d24441161007a578063eb8d2444146109cd578063f05bc446146109f8578063f2fde38b14610a21578063f48fa80b14610a4a578063f4a0a52814610a75578063f81227d414610a9e57610288565b8063b88d4fde146108ab578063c87b56dd146108d4578063d79daa3814610911578063dfe93fa31461093a578063e52ceba914610965578063e985e9c51461099057610288565b80638da5cb5b116101135780638da5cb5b146107be578063906c4f96146107e957806395d89b41146108125780639e0a397e1461083d578063a22cb46514610859578063b07ed9821461088257610288565b80636352211e1461069a5780636817c76c146106d75780636c0360eb1461070257806370a082311461072d578063715018a61461076a578063873f6f9e1461078157610288565b806330f72cd4116101fe5780634d7762cf116101b75780634d7762cf1461058c5780634f6ccce7146105b557806350f7c204146105f257806355f804b31461061d5780635b7633d01461064657806360b02f701461067157610288565b806330f72cd41461049257806334918dfd146104bd57806336ac1d0f146104d457806342842e0e1461051157806342966c681461053a5780634d7313a41461056357610288565b80630f7309e8116102505780630f7309e81461038457806310969523146103af57806318160ddd146103d857806323b872dd146104035780632e1a7d4d1461042c5780632f745c591461045557610288565b806301ffc9a71461028d578063046dc166146102ca57806306fdde03146102f3578063081812fc1461031e578063095ea7b31461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613e17565b610ab5565b6040516102c19190613e5f565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613ed8565b610ac7565b005b3480156102ff57600080fd5b50610308610b87565b6040516103159190613f9e565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190613ff6565b610c19565b6040516103529190614032565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d919061404d565b610c9e565b005b34801561039057600080fd5b50610399610db6565b6040516103a69190613f9e565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d191906141c2565b610e44565b005b3480156103e457600080fd5b506103ed610eda565b6040516103fa919061421a565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190614235565b610ee7565b005b34801561043857600080fd5b50610453600480360381019061044e9190613ff6565b610f47565b005b34801561046157600080fd5b5061047c6004803603810190610477919061404d565b61110f565b604051610489919061421a565b60405180910390f35b34801561049e57600080fd5b506104a76111b4565b6040516104b49190613e5f565b60405180910390f35b3480156104c957600080fd5b506104d26111c7565b005b3480156104e057600080fd5b506104fb60048036038101906104f69190614288565b61126f565b60405161050891906142f4565b60405180910390f35b34801561051d57600080fd5b5061053860048036038101906105339190614235565b6112a5565b005b34801561054657600080fd5b50610561600480360381019061055c9190613ff6565b6112c5565b005b34801561056f57600080fd5b5061058a6004803603810190610585919061434d565b611321565b005b34801561059857600080fd5b506105b360048036038101906105ae9190614455565b6113e4565b005b3480156105c157600080fd5b506105dc60048036038101906105d79190613ff6565b6114fb565b6040516105e9919061421a565b60405180910390f35b3480156105fe57600080fd5b5061060761156c565b604051610614919061421a565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f91906141c2565b611572565b005b34801561065257600080fd5b5061065b611608565b6040516106689190614032565b60405180910390f35b34801561067d57600080fd5b50610698600480360381019061069391906144b1565b61162e565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190613ff6565b6116ed565b6040516106ce9190614032565b60405180910390f35b3480156106e357600080fd5b506106ec61179f565b6040516106f9919061421a565b60405180910390f35b34801561070e57600080fd5b506107176117a5565b6040516107249190613f9e565b60405180910390f35b34801561073957600080fd5b50610754600480360381019061074f9190613ed8565b611833565b604051610761919061421a565b60405180910390f35b34801561077657600080fd5b5061077f6118eb565b005b34801561078d57600080fd5b506107a860048036038101906107a391906144b1565b611a28565b6040516107b59190613e5f565b60405180910390f35b3480156107ca57600080fd5b506107d3611a57565b6040516107e09190614032565b60405180910390f35b3480156107f557600080fd5b50610810600480360381019061080b91906144f1565b611a81565b005b34801561081e57600080fd5b50610827611b57565b6040516108349190613f9e565b60405180910390f35b61085760048036038101906108529190613ff6565b611be9565b005b34801561086557600080fd5b50610880600480360381019061087b9190614566565b611e3c565b005b34801561088e57600080fd5b506108a960048036038101906108a49190613ff6565b611fbd565b005b3480156108b757600080fd5b506108d260048036038101906108cd9190614647565b612043565b005b3480156108e057600080fd5b506108fb60048036038101906108f69190613ff6565b6120a5565b6040516109089190613f9e565b60405180910390f35b34801561091d57600080fd5b50610938600480360381019061093391906146ca565b61214c565b005b34801561094657600080fd5b5061094f612395565b60405161095c919061421a565b60405180910390f35b34801561097157600080fd5b5061097a61239a565b6040516109879190614798565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b291906147b3565b6123c0565b6040516109c49190613e5f565b60405180910390f35b3480156109d957600080fd5b506109e2612454565b6040516109ef9190613e5f565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613ff6565b612467565b005b348015610a2d57600080fd5b50610a486004803603810190610a439190613ed8565b6124ed565b005b348015610a5657600080fd5b50610a5f612699565b604051610a6c919061421a565b60405180910390f35b348015610a8157600080fd5b50610a9c6004803603810190610a979190613ff6565b61269f565b005b348015610aaa57600080fd5b50610ab3612725565b005b6000610ac0826127cd565b9050919050565b610acf612847565b73ffffffffffffffffffffffffffffffffffffffff16610aed611a57565b73ffffffffffffffffffffffffffffffffffffffff1614610b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3a9061483f565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060008054610b969061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc29061488e565b8015610c0f5780601f10610be457610100808354040283529160200191610c0f565b820191906000526020600020905b815481529060010190602001808311610bf257829003601f168201915b5050505050905090565b6000610c248261284f565b610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a90614932565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ca9826116ed565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d11906149c4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d39612847565b73ffffffffffffffffffffffffffffffffffffffff161480610d685750610d6781610d62612847565b6123c0565b5b610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90614a56565b60405180910390fd5b610db183836128bb565b505050565b60108054610dc39061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054610def9061488e565b8015610e3c5780601f10610e1157610100808354040283529160200191610e3c565b820191906000526020600020905b815481529060010190602001808311610e1f57829003601f168201915b505050505081565b610e4c612847565b73ffffffffffffffffffffffffffffffffffffffff16610e6a611a57565b73ffffffffffffffffffffffffffffffffffffffff1614610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb79061483f565b60405180910390fd5b8060109080519060200190610ed6929190613d08565b5050565b6000600880549050905090565b610ef8610ef2612847565b82612974565b610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e90614ae8565b60405180910390fd5b610f42838383612a52565b505050565b610f4f612847565b73ffffffffffffffffffffffffffffffffffffffff16610f6d611a57565b73ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba9061483f565b60405180910390fd5b80471015611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90614b54565b60405180910390fd5b6000612710905060005b600581101561110a57600082601883600581106110305761102f614b74565b5b01548561103d9190614bd2565b6110479190614c5b565b9050611088601383600581106110605761105f614b74565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612cae565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601383600581106110bd576110bc614b74565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516110ee929190614c8c565b60405180910390a150808061110290614cb5565b915050611010565b505050565b600061111a83611833565b821061115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290614d70565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60019054906101000a900460ff1681565b6111cf612847565b73ffffffffffffffffffffffffffffffffffffffff166111ed611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a9061483f565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b600083838360405160200161128693929190614d90565b6040516020818303038152906040528051906020012090509392505050565b6112c083838360405180602001604052806000815250612043565b505050565b6112d66112d0612847565b82612974565b611315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130c90614e39565b60405180910390fd5b61131e81612da2565b50565b611329612847565b73ffffffffffffffffffffffffffffffffffffffff16611347611a57565b73ffffffffffffffffffffffffffffffffffffffff161461139d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113949061483f565b60405180910390fd5b6113a78183612cae565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516113d8929190614e7a565b60405180910390a15050565b6113ec612847565b73ffffffffffffffffffffffffffffffffffffffff1661140a611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579061483f565b60405180910390fd5b60005b81518110156114f65761149082828151811061148257611481614b74565b5b602002602001015184612cae565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282815181106114c4576114c3614b74565b5b6020026020010151846040516114db929190614c8c565b60405180910390a180806114ee90614cb5565b915050611463565b505050565b6000611505610eda565b8210611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d90614f15565b60405180910390fd5b6008828154811061155a57611559614b74565b5b90600052602060002001549050919050565b600c5481565b61157a612847565b73ffffffffffffffffffffffffffffffffffffffff16611598611a57565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e59061483f565b60405180910390fd5b80600f9080519060200190611604929190613d08565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611636612847565b73ffffffffffffffffffffffffffffffffffffffff16611654611a57565b73ffffffffffffffffffffffffffffffffffffffff16146116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a19061483f565b60405180910390fd5b6000600190505b8281116116e8576116c2600b612eb3565b6116d5826116d0600b612ec9565b612ed7565b80806116e090614cb5565b9150506116b1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178d90614fa7565b60405180910390fd5b80915050919050565b600d5481565b600f80546117b29061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546117de9061488e565b801561182b5780601f106118005761010080835404028352916020019161182b565b820191906000526020600020905b81548152906001019060200180831161180e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90615039565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118f3612847565b73ffffffffffffffffffffffffffffffffffffffff16611911611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e9061483f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601e6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a89612847565b73ffffffffffffffffffffffffffffffffffffffff16611aa7611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af49061483f565b60405180910390fd5b60005b8151811015611b5357611b13600b612eb3565b611b40828281518110611b2957611b28614b74565b5b6020026020010151611b3b600b612ec9565b612ed7565b8080611b4b90614cb5565b915050611b00565b5050565b606060018054611b669061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054611b929061488e565b8015611bdf5780601f10611bb457610100808354040283529160200191611bdf565b820191906000526020600020905b815481529060010190602001808311611bc257829003601f168201915b5050505050905090565b600e60009054906101000a900460ff1680611cb75750600e60019054906101000a900460ff168015611cb657506000601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611c739190614032565b602060405180830381865afa158015611c90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb4919061506e565b115b5b611cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ced9061510d565b60405180910390fd5b600c5481611d02610eda565b611d0c919061512d565b1115611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d44906151f5565b60405180910390fd5b3481600d54611d5c9190614bd2565b1115611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490615261565b60405180910390fd5b6014811115611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd8906152f3565b60405180910390fd5b60005b81811015611e385760006001611dfa600b612ec9565b611e04919061512d565b9050600c548111611e2457611e19600b612eb3565b611e233382612ed7565b5b508080611e3090614cb5565b915050611de4565b5050565b611e44612847565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea99061535f565b60405180910390fd5b8060056000611ebf612847565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f6c612847565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fb19190613e5f565b60405180910390a35050565b611fc5612847565b73ffffffffffffffffffffffffffffffffffffffff16611fe3611a57565b73ffffffffffffffffffffffffffffffffffffffff1614612039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120309061483f565b60405180910390fd5b80600c8190555050565b61205461204e612847565b83612974565b612093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208a90614ae8565b60405180910390fd5b61209f84848484612ef5565b50505050565b60606120b08261284f565b6120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e6906153f1565b60405180910390fd5b60006120f9612f51565b905060008151116121195760405180602001604052806000815250612144565b8061212384612fe3565b60405160200161213492919061544d565b6040516020818303038152906040525b915050919050565b8160115414612190576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612187906154bd565b60405180910390fd5b601e600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590615529565b60405180910390fd5b600061223b33858561126f565b90506122588261224a83613144565b61317490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de90615595565b60405180910390fd5b6001601e600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600190505b84811161238e57612368600b612eb3565b61237b33612376600b612ec9565b612ed7565b808061238690614cb5565b915050612357565b5050505050565b601481565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b61246f612847565b73ffffffffffffffffffffffffffffffffffffffff1661248d611a57565b73ffffffffffffffffffffffffffffffffffffffff16146124e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124da9061483f565b60405180910390fd5b8060118190555050565b6124f5612847565b73ffffffffffffffffffffffffffffffffffffffff16612513611a57565b73ffffffffffffffffffffffffffffffffffffffff1614612569576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125609061483f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d090615627565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60115481565b6126a7612847565b73ffffffffffffffffffffffffffffffffffffffff166126c5611a57565b73ffffffffffffffffffffffffffffffffffffffff161461271b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127129061483f565b60405180910390fd5b80600d8190555050565b61272d612847565b73ffffffffffffffffffffffffffffffffffffffff1661274b611a57565b73ffffffffffffffffffffffffffffffffffffffff16146127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127989061483f565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612840575061283f8261323e565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661292e836116ed565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061297f8261284f565b6129be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b5906156b9565b60405180910390fd5b60006129c9836116ed565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a3857508373ffffffffffffffffffffffffffffffffffffffff16612a2084610c19565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a495750612a4881856123c0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a72826116ed565b73ffffffffffffffffffffffffffffffffffffffff1614612ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abf9061574b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2f906157dd565b60405180910390fd5b612b43838383613320565b612b4e6000826128bb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b9e91906157fd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bf5919061512d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce89061587d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d17906158ce565b60006040518083038185875af1925050503d8060008114612d54576040519150601f19603f3d011682016040523d82523d6000602084013e612d59565b606091505b5050905080612d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9490615955565b60405180910390fd5b505050565b6000612dad826116ed565b9050612dbb81600084613320565b612dc66000836128bb565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e1691906157fd565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612ef1828260405180602001604052806000815250613330565b5050565b612f00848484612a52565b612f0c8484848461338b565b612f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f42906159e7565b60405180910390fd5b50505050565b6060600f8054612f609061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054612f8c9061488e565b8015612fd95780601f10612fae57610100808354040283529160200191612fd9565b820191906000526020600020905b815481529060010190602001808311612fbc57829003601f168201915b5050505050905090565b6060600082141561302b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061313f565b600082905060005b6000821461305d57808061304690614cb5565b915050600a826130569190614c5b565b9150613033565b60008167ffffffffffffffff81111561307957613078614097565b5b6040519080825280601f01601f1916602001820160405280156130ab5781602001600182028036833780820191505090505b5090505b60008514613138576001826130c491906157fd565b9150600a856130d39190615a07565b60306130df919061512d565b60f81b8183815181106130f5576130f4614b74565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131319190614c5b565b94506130af565b8093505050505b919050565b6000816040516020016131579190615aa5565b604051602081830303815290604052805190602001209050919050565b6000806000806041855114156131a1576020850151925060408501519150606085015160001a9050613227565b6040855114156131eb576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050613226565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321d90615b17565b60405180910390fd5b5b61323386828585613513565b935050505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061330957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061331957506133188261369e565b5b9050919050565b61332b838383613708565b505050565b61333a838361381c565b613347600084848461338b565b613386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337d906159e7565b60405180910390fd5b505050565b60006133ac8473ffffffffffffffffffffffffffffffffffffffff166139ea565b15613506578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133d5612847565b8786866040518563ffffffff1660e01b81526004016133f79493929190615b8c565b6020604051808303816000875af192505050801561343357506040513d601f19601f820116820180604052508101906134309190615bed565b60015b6134b6573d8060008114613463576040519150601f19603f3d011682016040523d82523d6000602084013e613468565b606091505b506000815114156134ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a5906159e7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061350b565b600190505b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c111561357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615c8c565b60405180910390fd5b601b8460ff1614806135905750601c8460ff16145b6135cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c690615d1e565b60405180910390fd5b6000600186868686604051600081526020016040526040516135f49493929190615d5a565b6020604051602081039080840390855afa158015613616573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368990615deb565b60405180910390fd5b80915050949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137138383836139fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137565761375181613a02565b613795565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613794576137938382613a4b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137d8576137d381613bb8565b613817565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613816576138158282613c89565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561388c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388390615e57565b60405180910390fd5b6138958161284f565b156138d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138cc90615ec3565b60405180910390fd5b6138e160008383613320565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613931919061512d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a5884611833565b613a6291906157fd565b9050600060076000848152602001908152602001600020549050818114613b47576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bcc91906157fd565b9050600060096000848152602001908152602001600020549050600060088381548110613bfc57613bfb614b74565b5b906000526020600020015490508060088381548110613c1e57613c1d614b74565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613c6d57613c6c615ee3565b5b6001900381819060005260206000200160009055905550505050565b6000613c9483611833565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d149061488e565b90600052602060002090601f016020900481019282613d365760008555613d7d565b82601f10613d4f57805160ff1916838001178555613d7d565b82800160010185558215613d7d579182015b82811115613d7c578251825591602001919060010190613d61565b5b509050613d8a9190613d8e565b5090565b5b80821115613da7576000816000905550600101613d8f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613df481613dbf565b8114613dff57600080fd5b50565b600081359050613e1181613deb565b92915050565b600060208284031215613e2d57613e2c613db5565b5b6000613e3b84828501613e02565b91505092915050565b60008115159050919050565b613e5981613e44565b82525050565b6000602082019050613e746000830184613e50565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ea582613e7a565b9050919050565b613eb581613e9a565b8114613ec057600080fd5b50565b600081359050613ed281613eac565b92915050565b600060208284031215613eee57613eed613db5565b5b6000613efc84828501613ec3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f3f578082015181840152602081019050613f24565b83811115613f4e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f7082613f05565b613f7a8185613f10565b9350613f8a818560208601613f21565b613f9381613f54565b840191505092915050565b60006020820190508181036000830152613fb88184613f65565b905092915050565b6000819050919050565b613fd381613fc0565b8114613fde57600080fd5b50565b600081359050613ff081613fca565b92915050565b60006020828403121561400c5761400b613db5565b5b600061401a84828501613fe1565b91505092915050565b61402c81613e9a565b82525050565b60006020820190506140476000830184614023565b92915050565b6000806040838503121561406457614063613db5565b5b600061407285828601613ec3565b925050602061408385828601613fe1565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140cf82613f54565b810181811067ffffffffffffffff821117156140ee576140ed614097565b5b80604052505050565b6000614101613dab565b905061410d82826140c6565b919050565b600067ffffffffffffffff82111561412d5761412c614097565b5b61413682613f54565b9050602081019050919050565b82818337600083830152505050565b600061416561416084614112565b6140f7565b90508281526020810184848401111561418157614180614092565b5b61418c848285614143565b509392505050565b600082601f8301126141a9576141a861408d565b5b81356141b9848260208601614152565b91505092915050565b6000602082840312156141d8576141d7613db5565b5b600082013567ffffffffffffffff8111156141f6576141f5613dba565b5b61420284828501614194565b91505092915050565b61421481613fc0565b82525050565b600060208201905061422f600083018461420b565b92915050565b60008060006060848603121561424e5761424d613db5565b5b600061425c86828701613ec3565b935050602061426d86828701613ec3565b925050604061427e86828701613fe1565b9150509250925092565b6000806000606084860312156142a1576142a0613db5565b5b60006142af86828701613ec3565b93505060206142c086828701613fe1565b92505060406142d186828701613fe1565b9150509250925092565b6000819050919050565b6142ee816142db565b82525050565b600060208201905061430960008301846142e5565b92915050565b600061431a82613e7a565b9050919050565b61432a8161430f565b811461433557600080fd5b50565b60008135905061434781614321565b92915050565b6000806040838503121561436457614363613db5565b5b600061437285828601613fe1565b925050602061438385828601614338565b9150509250929050565b600067ffffffffffffffff8211156143a8576143a7614097565b5b602082029050602081019050919050565b600080fd5b60006143d16143cc8461438d565b6140f7565b905080838252602082019050602084028301858111156143f4576143f36143b9565b5b835b8181101561441d57806144098882613ec3565b8452602084019350506020810190506143f6565b5050509392505050565b600082601f83011261443c5761443b61408d565b5b813561444c8482602086016143be565b91505092915050565b6000806040838503121561446c5761446b613db5565b5b600061447a85828601613fe1565b925050602083013567ffffffffffffffff81111561449b5761449a613dba565b5b6144a785828601614427565b9150509250929050565b600080604083850312156144c8576144c7613db5565b5b60006144d685828601613fe1565b92505060206144e785828601613ec3565b9150509250929050565b60006020828403121561450757614506613db5565b5b600082013567ffffffffffffffff81111561452557614524613dba565b5b61453184828501614427565b91505092915050565b61454381613e44565b811461454e57600080fd5b50565b6000813590506145608161453a565b92915050565b6000806040838503121561457d5761457c613db5565b5b600061458b85828601613ec3565b925050602061459c85828601614551565b9150509250929050565b600067ffffffffffffffff8211156145c1576145c0614097565b5b6145ca82613f54565b9050602081019050919050565b60006145ea6145e5846145a6565b6140f7565b90508281526020810184848401111561460657614605614092565b5b614611848285614143565b509392505050565b600082601f83011261462e5761462d61408d565b5b813561463e8482602086016145d7565b91505092915050565b6000806000806080858703121561466157614660613db5565b5b600061466f87828801613ec3565b945050602061468087828801613ec3565b935050604061469187828801613fe1565b925050606085013567ffffffffffffffff8111156146b2576146b1613dba565b5b6146be87828801614619565b91505092959194509250565b6000806000606084860312156146e3576146e2613db5565b5b60006146f186828701613fe1565b935050602061470286828701613fe1565b925050604084013567ffffffffffffffff81111561472357614722613dba565b5b61472f86828701614619565b9150509250925092565b6000819050919050565b600061475e61475961475484613e7a565b614739565b613e7a565b9050919050565b600061477082614743565b9050919050565b600061478282614765565b9050919050565b61479281614777565b82525050565b60006020820190506147ad6000830184614789565b92915050565b600080604083850312156147ca576147c9613db5565b5b60006147d885828601613ec3565b92505060206147e985828601613ec3565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614829602083613f10565b9150614834826147f3565b602082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806148a657607f821691505b602082108114156148ba576148b961485f565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061491c602c83613f10565b9150614927826148c0565b604082019050919050565b6000602082019050818103600083015261494b8161490f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006149ae602183613f10565b91506149b982614952565b604082019050919050565b600060208201905081810360008301526149dd816149a1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a40603883613f10565b9150614a4b826149e4565b604082019050919050565b60006020820190508181036000830152614a6f81614a33565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614ad2603183613f10565b9150614add82614a76565b604082019050919050565b60006020820190508181036000830152614b0181614ac5565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614b3e601483613f10565b9150614b4982614b08565b602082019050919050565b60006020820190508181036000830152614b6d81614b31565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614bdd82613fc0565b9150614be883613fc0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c2157614c20614ba3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c6682613fc0565b9150614c7183613fc0565b925082614c8157614c80614c2c565b5b828204905092915050565b6000604082019050614ca16000830185614023565b614cae602083018461420b565b9392505050565b6000614cc082613fc0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cf357614cf2614ba3565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614d5a602b83613f10565b9150614d6582614cfe565b604082019050919050565b60006020820190508181036000830152614d8981614d4d565b9050919050565b6000606082019050614da56000830186614023565b614db2602083018561420b565b614dbf604083018461420b565b949350505050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614e23603083613f10565b9150614e2e82614dc7565b604082019050919050565b60006020820190508181036000830152614e5281614e16565b9050919050565b6000614e6482614765565b9050919050565b614e7481614e59565b82525050565b6000604082019050614e8f6000830185614e6b565b614e9c602083018461420b565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614eff602c83613f10565b9150614f0a82614ea3565b604082019050919050565b60006020820190508181036000830152614f2e81614ef2565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614f91602983613f10565b9150614f9c82614f35565b604082019050919050565b60006020820190508181036000830152614fc081614f84565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615023602a83613f10565b915061502e82614fc7565b604082019050919050565b6000602082019050818103600083015261505281615016565b9050919050565b60008151905061506881613fca565b92915050565b60006020828403121561508457615083613db5565b5b600061509284828501615059565b91505092915050565b7f53616c65206973206e6f7420616374697665206f7220796f757220616464726560008201527f737320646f65736e2774206f776e206120506967736b696e2041706500000000602082015250565b60006150f7603c83613f10565b91506151028261509b565b604082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b600061513882613fc0565b915061514383613fc0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517857615177614ba3565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c652062616c6c657220617065730000000000000000000000000000000000602082015250565b60006151df602f83613f10565b91506151ea82615183565b604082019050919050565b6000602082019050818103600083015261520e816151d2565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b600061524b601f83613f10565b915061525682615215565b602082019050919050565b6000602082019050818103600083015261527a8161523e565b9050919050565b7f596f752063616e206f6e6c792061646f70742032302062616c6c65722061706560008201527f7320617420612074696d65000000000000000000000000000000000000000000602082015250565b60006152dd602b83613f10565b91506152e882615281565b604082019050919050565b6000602082019050818103600083015261530c816152d0565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615349601983613f10565b915061535482615313565b602082019050919050565b600060208201905081810360008301526153788161533c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006153db602f83613f10565b91506153e68261537f565b604082019050919050565b6000602082019050818103600083015261540a816153ce565b9050919050565b600081905092915050565b600061542782613f05565b6154318185615411565b9350615441818560208601613f21565b80840191505092915050565b6000615459828561541c565b9150615465828461541c565b91508190509392505050565b7f5468697320626174636820686173206578706972656400000000000000000000600082015250565b60006154a7601683613f10565b91506154b282615471565b602082019050919050565b600060208201905081810360008301526154d68161549a565b9050919050565b7f5468697320616464726573732068617320616c7265616479206d696e74656400600082015250565b6000615513601f83613f10565b915061551e826154dd565b602082019050919050565b6000602082019050818103600083015261554281615506565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b600061557f601183613f10565b915061558a82615549565b602082019050919050565b600060208201905081810360008301526155ae81615572565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615611602683613f10565b915061561c826155b5565b604082019050919050565b6000602082019050818103600083015261564081615604565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006156a3602c83613f10565b91506156ae82615647565b604082019050919050565b600060208201905081810360008301526156d281615696565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615735602983613f10565b9150615740826156d9565b604082019050919050565b6000602082019050818103600083015261576481615728565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157c7602483613f10565b91506157d28261576b565b604082019050919050565b600060208201905081810360008301526157f6816157ba565b9050919050565b600061580882613fc0565b915061581383613fc0565b92508282101561582657615825614ba3565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615867601d83613f10565b915061587282615831565b602082019050919050565b600060208201905081810360008301526158968161585a565b9050919050565b600081905092915050565b50565b60006158b860008361589d565b91506158c3826158a8565b600082019050919050565b60006158d9826158ab565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061593f603a83613f10565b915061594a826158e3565b604082019050919050565b6000602082019050818103600083015261596e81615932565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006159d1603283613f10565b91506159dc82615975565b604082019050919050565b60006020820190508181036000830152615a00816159c4565b9050919050565b6000615a1282613fc0565b9150615a1d83613fc0565b925082615a2d57615a2c614c2c565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615a6e601c83615411565b9150615a7982615a38565b601c82019050919050565b6000819050919050565b615a9f615a9a826142db565b615a84565b82525050565b6000615ab082615a61565b9150615abc8284615a8e565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615b01601f83613f10565b9150615b0c82615acb565b602082019050919050565b60006020820190508181036000830152615b3081615af4565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615b5e82615b37565b615b688185615b42565b9350615b78818560208601613f21565b615b8181613f54565b840191505092915050565b6000608082019050615ba16000830187614023565b615bae6020830186614023565b615bbb604083018561420b565b8181036060830152615bcd8184615b53565b905095945050505050565b600081519050615be781613deb565b92915050565b600060208284031215615c0357615c02613db5565b5b6000615c1184828501615bd8565b91505092915050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c76602283613f10565b9150615c8182615c1a565b604082019050919050565b60006020820190508181036000830152615ca581615c69565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d08602283613f10565b9150615d1382615cac565b604082019050919050565b60006020820190508181036000830152615d3781615cfb565b9050919050565b600060ff82169050919050565b615d5481615d3e565b82525050565b6000608082019050615d6f60008301876142e5565b615d7c6020830186615d4b565b615d8960408301856142e5565b615d9660608301846142e5565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615dd5601883613f10565b9150615de082615d9f565b602082019050919050565b60006020820190508181036000830152615e0481615dc8565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e41602083613f10565b9150615e4c82615e0b565b602082019050919050565b60006020820190508181036000830152615e7081615e34565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615ead601c83613f10565b9150615eb882615e77565b602082019050919050565b60006020820190508181036000830152615edc81615ea0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220070ce8902c7fd8917827880b62058bf0ca2664f979d1dd744c3513da2bdcdb3764736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000082200000000000000000000000058d871d9a1b8551b7a852e0b2641fff7d3a8d606000000000000000000000000000000000000000000000000000000000000000a42616c6c65724170657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000642414c4c45520000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636352211e1161015a578063b88d4fde116100c1578063eb8d24441161007a578063eb8d2444146109cd578063f05bc446146109f8578063f2fde38b14610a21578063f48fa80b14610a4a578063f4a0a52814610a75578063f81227d414610a9e57610288565b8063b88d4fde146108ab578063c87b56dd146108d4578063d79daa3814610911578063dfe93fa31461093a578063e52ceba914610965578063e985e9c51461099057610288565b80638da5cb5b116101135780638da5cb5b146107be578063906c4f96146107e957806395d89b41146108125780639e0a397e1461083d578063a22cb46514610859578063b07ed9821461088257610288565b80636352211e1461069a5780636817c76c146106d75780636c0360eb1461070257806370a082311461072d578063715018a61461076a578063873f6f9e1461078157610288565b806330f72cd4116101fe5780634d7762cf116101b75780634d7762cf1461058c5780634f6ccce7146105b557806350f7c204146105f257806355f804b31461061d5780635b7633d01461064657806360b02f701461067157610288565b806330f72cd41461049257806334918dfd146104bd57806336ac1d0f146104d457806342842e0e1461051157806342966c681461053a5780634d7313a41461056357610288565b80630f7309e8116102505780630f7309e81461038457806310969523146103af57806318160ddd146103d857806323b872dd146104035780632e1a7d4d1461042c5780632f745c591461045557610288565b806301ffc9a71461028d578063046dc166146102ca57806306fdde03146102f3578063081812fc1461031e578063095ea7b31461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613e17565b610ab5565b6040516102c19190613e5f565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613ed8565b610ac7565b005b3480156102ff57600080fd5b50610308610b87565b6040516103159190613f9e565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190613ff6565b610c19565b6040516103529190614032565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d919061404d565b610c9e565b005b34801561039057600080fd5b50610399610db6565b6040516103a69190613f9e565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d191906141c2565b610e44565b005b3480156103e457600080fd5b506103ed610eda565b6040516103fa919061421a565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190614235565b610ee7565b005b34801561043857600080fd5b50610453600480360381019061044e9190613ff6565b610f47565b005b34801561046157600080fd5b5061047c6004803603810190610477919061404d565b61110f565b604051610489919061421a565b60405180910390f35b34801561049e57600080fd5b506104a76111b4565b6040516104b49190613e5f565b60405180910390f35b3480156104c957600080fd5b506104d26111c7565b005b3480156104e057600080fd5b506104fb60048036038101906104f69190614288565b61126f565b60405161050891906142f4565b60405180910390f35b34801561051d57600080fd5b5061053860048036038101906105339190614235565b6112a5565b005b34801561054657600080fd5b50610561600480360381019061055c9190613ff6565b6112c5565b005b34801561056f57600080fd5b5061058a6004803603810190610585919061434d565b611321565b005b34801561059857600080fd5b506105b360048036038101906105ae9190614455565b6113e4565b005b3480156105c157600080fd5b506105dc60048036038101906105d79190613ff6565b6114fb565b6040516105e9919061421a565b60405180910390f35b3480156105fe57600080fd5b5061060761156c565b604051610614919061421a565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f91906141c2565b611572565b005b34801561065257600080fd5b5061065b611608565b6040516106689190614032565b60405180910390f35b34801561067d57600080fd5b50610698600480360381019061069391906144b1565b61162e565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190613ff6565b6116ed565b6040516106ce9190614032565b60405180910390f35b3480156106e357600080fd5b506106ec61179f565b6040516106f9919061421a565b60405180910390f35b34801561070e57600080fd5b506107176117a5565b6040516107249190613f9e565b60405180910390f35b34801561073957600080fd5b50610754600480360381019061074f9190613ed8565b611833565b604051610761919061421a565b60405180910390f35b34801561077657600080fd5b5061077f6118eb565b005b34801561078d57600080fd5b506107a860048036038101906107a391906144b1565b611a28565b6040516107b59190613e5f565b60405180910390f35b3480156107ca57600080fd5b506107d3611a57565b6040516107e09190614032565b60405180910390f35b3480156107f557600080fd5b50610810600480360381019061080b91906144f1565b611a81565b005b34801561081e57600080fd5b50610827611b57565b6040516108349190613f9e565b60405180910390f35b61085760048036038101906108529190613ff6565b611be9565b005b34801561086557600080fd5b50610880600480360381019061087b9190614566565b611e3c565b005b34801561088e57600080fd5b506108a960048036038101906108a49190613ff6565b611fbd565b005b3480156108b757600080fd5b506108d260048036038101906108cd9190614647565b612043565b005b3480156108e057600080fd5b506108fb60048036038101906108f69190613ff6565b6120a5565b6040516109089190613f9e565b60405180910390f35b34801561091d57600080fd5b50610938600480360381019061093391906146ca565b61214c565b005b34801561094657600080fd5b5061094f612395565b60405161095c919061421a565b60405180910390f35b34801561097157600080fd5b5061097a61239a565b6040516109879190614798565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b291906147b3565b6123c0565b6040516109c49190613e5f565b60405180910390f35b3480156109d957600080fd5b506109e2612454565b6040516109ef9190613e5f565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613ff6565b612467565b005b348015610a2d57600080fd5b50610a486004803603810190610a439190613ed8565b6124ed565b005b348015610a5657600080fd5b50610a5f612699565b604051610a6c919061421a565b60405180910390f35b348015610a8157600080fd5b50610a9c6004803603810190610a979190613ff6565b61269f565b005b348015610aaa57600080fd5b50610ab3612725565b005b6000610ac0826127cd565b9050919050565b610acf612847565b73ffffffffffffffffffffffffffffffffffffffff16610aed611a57565b73ffffffffffffffffffffffffffffffffffffffff1614610b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3a9061483f565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060008054610b969061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc29061488e565b8015610c0f5780601f10610be457610100808354040283529160200191610c0f565b820191906000526020600020905b815481529060010190602001808311610bf257829003601f168201915b5050505050905090565b6000610c248261284f565b610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a90614932565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ca9826116ed565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d11906149c4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d39612847565b73ffffffffffffffffffffffffffffffffffffffff161480610d685750610d6781610d62612847565b6123c0565b5b610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90614a56565b60405180910390fd5b610db183836128bb565b505050565b60108054610dc39061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054610def9061488e565b8015610e3c5780601f10610e1157610100808354040283529160200191610e3c565b820191906000526020600020905b815481529060010190602001808311610e1f57829003601f168201915b505050505081565b610e4c612847565b73ffffffffffffffffffffffffffffffffffffffff16610e6a611a57565b73ffffffffffffffffffffffffffffffffffffffff1614610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb79061483f565b60405180910390fd5b8060109080519060200190610ed6929190613d08565b5050565b6000600880549050905090565b610ef8610ef2612847565b82612974565b610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e90614ae8565b60405180910390fd5b610f42838383612a52565b505050565b610f4f612847565b73ffffffffffffffffffffffffffffffffffffffff16610f6d611a57565b73ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba9061483f565b60405180910390fd5b80471015611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90614b54565b60405180910390fd5b6000612710905060005b600581101561110a57600082601883600581106110305761102f614b74565b5b01548561103d9190614bd2565b6110479190614c5b565b9050611088601383600581106110605761105f614b74565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612cae565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601383600581106110bd576110bc614b74565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516110ee929190614c8c565b60405180910390a150808061110290614cb5565b915050611010565b505050565b600061111a83611833565b821061115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290614d70565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60019054906101000a900460ff1681565b6111cf612847565b73ffffffffffffffffffffffffffffffffffffffff166111ed611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a9061483f565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b600083838360405160200161128693929190614d90565b6040516020818303038152906040528051906020012090509392505050565b6112c083838360405180602001604052806000815250612043565b505050565b6112d66112d0612847565b82612974565b611315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130c90614e39565b60405180910390fd5b61131e81612da2565b50565b611329612847565b73ffffffffffffffffffffffffffffffffffffffff16611347611a57565b73ffffffffffffffffffffffffffffffffffffffff161461139d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113949061483f565b60405180910390fd5b6113a78183612cae565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516113d8929190614e7a565b60405180910390a15050565b6113ec612847565b73ffffffffffffffffffffffffffffffffffffffff1661140a611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579061483f565b60405180910390fd5b60005b81518110156114f65761149082828151811061148257611481614b74565b5b602002602001015184612cae565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282815181106114c4576114c3614b74565b5b6020026020010151846040516114db929190614c8c565b60405180910390a180806114ee90614cb5565b915050611463565b505050565b6000611505610eda565b8210611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d90614f15565b60405180910390fd5b6008828154811061155a57611559614b74565b5b90600052602060002001549050919050565b600c5481565b61157a612847565b73ffffffffffffffffffffffffffffffffffffffff16611598611a57565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e59061483f565b60405180910390fd5b80600f9080519060200190611604929190613d08565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611636612847565b73ffffffffffffffffffffffffffffffffffffffff16611654611a57565b73ffffffffffffffffffffffffffffffffffffffff16146116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a19061483f565b60405180910390fd5b6000600190505b8281116116e8576116c2600b612eb3565b6116d5826116d0600b612ec9565b612ed7565b80806116e090614cb5565b9150506116b1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178d90614fa7565b60405180910390fd5b80915050919050565b600d5481565b600f80546117b29061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546117de9061488e565b801561182b5780601f106118005761010080835404028352916020019161182b565b820191906000526020600020905b81548152906001019060200180831161180e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90615039565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118f3612847565b73ffffffffffffffffffffffffffffffffffffffff16611911611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e9061483f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601e6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a89612847565b73ffffffffffffffffffffffffffffffffffffffff16611aa7611a57565b73ffffffffffffffffffffffffffffffffffffffff1614611afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af49061483f565b60405180910390fd5b60005b8151811015611b5357611b13600b612eb3565b611b40828281518110611b2957611b28614b74565b5b6020026020010151611b3b600b612ec9565b612ed7565b8080611b4b90614cb5565b915050611b00565b5050565b606060018054611b669061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054611b929061488e565b8015611bdf5780601f10611bb457610100808354040283529160200191611bdf565b820191906000526020600020905b815481529060010190602001808311611bc257829003601f168201915b5050505050905090565b600e60009054906101000a900460ff1680611cb75750600e60019054906101000a900460ff168015611cb657506000601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611c739190614032565b602060405180830381865afa158015611c90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb4919061506e565b115b5b611cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ced9061510d565b60405180910390fd5b600c5481611d02610eda565b611d0c919061512d565b1115611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d44906151f5565b60405180910390fd5b3481600d54611d5c9190614bd2565b1115611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490615261565b60405180910390fd5b6014811115611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd8906152f3565b60405180910390fd5b60005b81811015611e385760006001611dfa600b612ec9565b611e04919061512d565b9050600c548111611e2457611e19600b612eb3565b611e233382612ed7565b5b508080611e3090614cb5565b915050611de4565b5050565b611e44612847565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea99061535f565b60405180910390fd5b8060056000611ebf612847565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f6c612847565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fb19190613e5f565b60405180910390a35050565b611fc5612847565b73ffffffffffffffffffffffffffffffffffffffff16611fe3611a57565b73ffffffffffffffffffffffffffffffffffffffff1614612039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120309061483f565b60405180910390fd5b80600c8190555050565b61205461204e612847565b83612974565b612093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208a90614ae8565b60405180910390fd5b61209f84848484612ef5565b50505050565b60606120b08261284f565b6120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e6906153f1565b60405180910390fd5b60006120f9612f51565b905060008151116121195760405180602001604052806000815250612144565b8061212384612fe3565b60405160200161213492919061544d565b6040516020818303038152906040525b915050919050565b8160115414612190576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612187906154bd565b60405180910390fd5b601e600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590615529565b60405180910390fd5b600061223b33858561126f565b90506122588261224a83613144565b61317490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de90615595565b60405180910390fd5b6001601e600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600190505b84811161238e57612368600b612eb3565b61237b33612376600b612ec9565b612ed7565b808061238690614cb5565b915050612357565b5050505050565b601481565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b61246f612847565b73ffffffffffffffffffffffffffffffffffffffff1661248d611a57565b73ffffffffffffffffffffffffffffffffffffffff16146124e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124da9061483f565b60405180910390fd5b8060118190555050565b6124f5612847565b73ffffffffffffffffffffffffffffffffffffffff16612513611a57565b73ffffffffffffffffffffffffffffffffffffffff1614612569576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125609061483f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d090615627565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60115481565b6126a7612847565b73ffffffffffffffffffffffffffffffffffffffff166126c5611a57565b73ffffffffffffffffffffffffffffffffffffffff161461271b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127129061483f565b60405180910390fd5b80600d8190555050565b61272d612847565b73ffffffffffffffffffffffffffffffffffffffff1661274b611a57565b73ffffffffffffffffffffffffffffffffffffffff16146127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127989061483f565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612840575061283f8261323e565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661292e836116ed565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061297f8261284f565b6129be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b5906156b9565b60405180910390fd5b60006129c9836116ed565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a3857508373ffffffffffffffffffffffffffffffffffffffff16612a2084610c19565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a495750612a4881856123c0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a72826116ed565b73ffffffffffffffffffffffffffffffffffffffff1614612ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abf9061574b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2f906157dd565b60405180910390fd5b612b43838383613320565b612b4e6000826128bb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b9e91906157fd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bf5919061512d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce89061587d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d17906158ce565b60006040518083038185875af1925050503d8060008114612d54576040519150601f19603f3d011682016040523d82523d6000602084013e612d59565b606091505b5050905080612d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9490615955565b60405180910390fd5b505050565b6000612dad826116ed565b9050612dbb81600084613320565b612dc66000836128bb565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e1691906157fd565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612ef1828260405180602001604052806000815250613330565b5050565b612f00848484612a52565b612f0c8484848461338b565b612f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f42906159e7565b60405180910390fd5b50505050565b6060600f8054612f609061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054612f8c9061488e565b8015612fd95780601f10612fae57610100808354040283529160200191612fd9565b820191906000526020600020905b815481529060010190602001808311612fbc57829003601f168201915b5050505050905090565b6060600082141561302b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061313f565b600082905060005b6000821461305d57808061304690614cb5565b915050600a826130569190614c5b565b9150613033565b60008167ffffffffffffffff81111561307957613078614097565b5b6040519080825280601f01601f1916602001820160405280156130ab5781602001600182028036833780820191505090505b5090505b60008514613138576001826130c491906157fd565b9150600a856130d39190615a07565b60306130df919061512d565b60f81b8183815181106130f5576130f4614b74565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131319190614c5b565b94506130af565b8093505050505b919050565b6000816040516020016131579190615aa5565b604051602081830303815290604052805190602001209050919050565b6000806000806041855114156131a1576020850151925060408501519150606085015160001a9050613227565b6040855114156131eb576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050613226565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321d90615b17565b60405180910390fd5b5b61323386828585613513565b935050505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061330957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061331957506133188261369e565b5b9050919050565b61332b838383613708565b505050565b61333a838361381c565b613347600084848461338b565b613386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337d906159e7565b60405180910390fd5b505050565b60006133ac8473ffffffffffffffffffffffffffffffffffffffff166139ea565b15613506578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133d5612847565b8786866040518563ffffffff1660e01b81526004016133f79493929190615b8c565b6020604051808303816000875af192505050801561343357506040513d601f19601f820116820180604052508101906134309190615bed565b60015b6134b6573d8060008114613463576040519150601f19603f3d011682016040523d82523d6000602084013e613468565b606091505b506000815114156134ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a5906159e7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061350b565b600190505b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c111561357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615c8c565b60405180910390fd5b601b8460ff1614806135905750601c8460ff16145b6135cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c690615d1e565b60405180910390fd5b6000600186868686604051600081526020016040526040516135f49493929190615d5a565b6020604051602081039080840390855afa158015613616573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368990615deb565b60405180910390fd5b80915050949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137138383836139fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137565761375181613a02565b613795565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613794576137938382613a4b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137d8576137d381613bb8565b613817565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613816576138158282613c89565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561388c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388390615e57565b60405180910390fd5b6138958161284f565b156138d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138cc90615ec3565b60405180910390fd5b6138e160008383613320565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613931919061512d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a5884611833565b613a6291906157fd565b9050600060076000848152602001908152602001600020549050818114613b47576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bcc91906157fd565b9050600060096000848152602001908152602001600020549050600060088381548110613bfc57613bfb614b74565b5b906000526020600020015490508060088381548110613c1e57613c1d614b74565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613c6d57613c6c615ee3565b5b6001900381819060005260206000200160009055905550505050565b6000613c9483611833565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d149061488e565b90600052602060002090601f016020900481019282613d365760008555613d7d565b82601f10613d4f57805160ff1916838001178555613d7d565b82800160010185558215613d7d579182015b82811115613d7c578251825591602001919060010190613d61565b5b509050613d8a9190613d8e565b5090565b5b80821115613da7576000816000905550600101613d8f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613df481613dbf565b8114613dff57600080fd5b50565b600081359050613e1181613deb565b92915050565b600060208284031215613e2d57613e2c613db5565b5b6000613e3b84828501613e02565b91505092915050565b60008115159050919050565b613e5981613e44565b82525050565b6000602082019050613e746000830184613e50565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ea582613e7a565b9050919050565b613eb581613e9a565b8114613ec057600080fd5b50565b600081359050613ed281613eac565b92915050565b600060208284031215613eee57613eed613db5565b5b6000613efc84828501613ec3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f3f578082015181840152602081019050613f24565b83811115613f4e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f7082613f05565b613f7a8185613f10565b9350613f8a818560208601613f21565b613f9381613f54565b840191505092915050565b60006020820190508181036000830152613fb88184613f65565b905092915050565b6000819050919050565b613fd381613fc0565b8114613fde57600080fd5b50565b600081359050613ff081613fca565b92915050565b60006020828403121561400c5761400b613db5565b5b600061401a84828501613fe1565b91505092915050565b61402c81613e9a565b82525050565b60006020820190506140476000830184614023565b92915050565b6000806040838503121561406457614063613db5565b5b600061407285828601613ec3565b925050602061408385828601613fe1565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140cf82613f54565b810181811067ffffffffffffffff821117156140ee576140ed614097565b5b80604052505050565b6000614101613dab565b905061410d82826140c6565b919050565b600067ffffffffffffffff82111561412d5761412c614097565b5b61413682613f54565b9050602081019050919050565b82818337600083830152505050565b600061416561416084614112565b6140f7565b90508281526020810184848401111561418157614180614092565b5b61418c848285614143565b509392505050565b600082601f8301126141a9576141a861408d565b5b81356141b9848260208601614152565b91505092915050565b6000602082840312156141d8576141d7613db5565b5b600082013567ffffffffffffffff8111156141f6576141f5613dba565b5b61420284828501614194565b91505092915050565b61421481613fc0565b82525050565b600060208201905061422f600083018461420b565b92915050565b60008060006060848603121561424e5761424d613db5565b5b600061425c86828701613ec3565b935050602061426d86828701613ec3565b925050604061427e86828701613fe1565b9150509250925092565b6000806000606084860312156142a1576142a0613db5565b5b60006142af86828701613ec3565b93505060206142c086828701613fe1565b92505060406142d186828701613fe1565b9150509250925092565b6000819050919050565b6142ee816142db565b82525050565b600060208201905061430960008301846142e5565b92915050565b600061431a82613e7a565b9050919050565b61432a8161430f565b811461433557600080fd5b50565b60008135905061434781614321565b92915050565b6000806040838503121561436457614363613db5565b5b600061437285828601613fe1565b925050602061438385828601614338565b9150509250929050565b600067ffffffffffffffff8211156143a8576143a7614097565b5b602082029050602081019050919050565b600080fd5b60006143d16143cc8461438d565b6140f7565b905080838252602082019050602084028301858111156143f4576143f36143b9565b5b835b8181101561441d57806144098882613ec3565b8452602084019350506020810190506143f6565b5050509392505050565b600082601f83011261443c5761443b61408d565b5b813561444c8482602086016143be565b91505092915050565b6000806040838503121561446c5761446b613db5565b5b600061447a85828601613fe1565b925050602083013567ffffffffffffffff81111561449b5761449a613dba565b5b6144a785828601614427565b9150509250929050565b600080604083850312156144c8576144c7613db5565b5b60006144d685828601613fe1565b92505060206144e785828601613ec3565b9150509250929050565b60006020828403121561450757614506613db5565b5b600082013567ffffffffffffffff81111561452557614524613dba565b5b61453184828501614427565b91505092915050565b61454381613e44565b811461454e57600080fd5b50565b6000813590506145608161453a565b92915050565b6000806040838503121561457d5761457c613db5565b5b600061458b85828601613ec3565b925050602061459c85828601614551565b9150509250929050565b600067ffffffffffffffff8211156145c1576145c0614097565b5b6145ca82613f54565b9050602081019050919050565b60006145ea6145e5846145a6565b6140f7565b90508281526020810184848401111561460657614605614092565b5b614611848285614143565b509392505050565b600082601f83011261462e5761462d61408d565b5b813561463e8482602086016145d7565b91505092915050565b6000806000806080858703121561466157614660613db5565b5b600061466f87828801613ec3565b945050602061468087828801613ec3565b935050604061469187828801613fe1565b925050606085013567ffffffffffffffff8111156146b2576146b1613dba565b5b6146be87828801614619565b91505092959194509250565b6000806000606084860312156146e3576146e2613db5565b5b60006146f186828701613fe1565b935050602061470286828701613fe1565b925050604084013567ffffffffffffffff81111561472357614722613dba565b5b61472f86828701614619565b9150509250925092565b6000819050919050565b600061475e61475961475484613e7a565b614739565b613e7a565b9050919050565b600061477082614743565b9050919050565b600061478282614765565b9050919050565b61479281614777565b82525050565b60006020820190506147ad6000830184614789565b92915050565b600080604083850312156147ca576147c9613db5565b5b60006147d885828601613ec3565b92505060206147e985828601613ec3565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614829602083613f10565b9150614834826147f3565b602082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806148a657607f821691505b602082108114156148ba576148b961485f565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061491c602c83613f10565b9150614927826148c0565b604082019050919050565b6000602082019050818103600083015261494b8161490f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006149ae602183613f10565b91506149b982614952565b604082019050919050565b600060208201905081810360008301526149dd816149a1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a40603883613f10565b9150614a4b826149e4565b604082019050919050565b60006020820190508181036000830152614a6f81614a33565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614ad2603183613f10565b9150614add82614a76565b604082019050919050565b60006020820190508181036000830152614b0181614ac5565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614b3e601483613f10565b9150614b4982614b08565b602082019050919050565b60006020820190508181036000830152614b6d81614b31565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614bdd82613fc0565b9150614be883613fc0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c2157614c20614ba3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c6682613fc0565b9150614c7183613fc0565b925082614c8157614c80614c2c565b5b828204905092915050565b6000604082019050614ca16000830185614023565b614cae602083018461420b565b9392505050565b6000614cc082613fc0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cf357614cf2614ba3565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614d5a602b83613f10565b9150614d6582614cfe565b604082019050919050565b60006020820190508181036000830152614d8981614d4d565b9050919050565b6000606082019050614da56000830186614023565b614db2602083018561420b565b614dbf604083018461420b565b949350505050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614e23603083613f10565b9150614e2e82614dc7565b604082019050919050565b60006020820190508181036000830152614e5281614e16565b9050919050565b6000614e6482614765565b9050919050565b614e7481614e59565b82525050565b6000604082019050614e8f6000830185614e6b565b614e9c602083018461420b565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614eff602c83613f10565b9150614f0a82614ea3565b604082019050919050565b60006020820190508181036000830152614f2e81614ef2565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614f91602983613f10565b9150614f9c82614f35565b604082019050919050565b60006020820190508181036000830152614fc081614f84565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615023602a83613f10565b915061502e82614fc7565b604082019050919050565b6000602082019050818103600083015261505281615016565b9050919050565b60008151905061506881613fca565b92915050565b60006020828403121561508457615083613db5565b5b600061509284828501615059565b91505092915050565b7f53616c65206973206e6f7420616374697665206f7220796f757220616464726560008201527f737320646f65736e2774206f776e206120506967736b696e2041706500000000602082015250565b60006150f7603c83613f10565b91506151028261509b565b604082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b600061513882613fc0565b915061514383613fc0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517857615177614ba3565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c652062616c6c657220617065730000000000000000000000000000000000602082015250565b60006151df602f83613f10565b91506151ea82615183565b604082019050919050565b6000602082019050818103600083015261520e816151d2565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b600061524b601f83613f10565b915061525682615215565b602082019050919050565b6000602082019050818103600083015261527a8161523e565b9050919050565b7f596f752063616e206f6e6c792061646f70742032302062616c6c65722061706560008201527f7320617420612074696d65000000000000000000000000000000000000000000602082015250565b60006152dd602b83613f10565b91506152e882615281565b604082019050919050565b6000602082019050818103600083015261530c816152d0565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615349601983613f10565b915061535482615313565b602082019050919050565b600060208201905081810360008301526153788161533c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006153db602f83613f10565b91506153e68261537f565b604082019050919050565b6000602082019050818103600083015261540a816153ce565b9050919050565b600081905092915050565b600061542782613f05565b6154318185615411565b9350615441818560208601613f21565b80840191505092915050565b6000615459828561541c565b9150615465828461541c565b91508190509392505050565b7f5468697320626174636820686173206578706972656400000000000000000000600082015250565b60006154a7601683613f10565b91506154b282615471565b602082019050919050565b600060208201905081810360008301526154d68161549a565b9050919050565b7f5468697320616464726573732068617320616c7265616479206d696e74656400600082015250565b6000615513601f83613f10565b915061551e826154dd565b602082019050919050565b6000602082019050818103600083015261554281615506565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b600061557f601183613f10565b915061558a82615549565b602082019050919050565b600060208201905081810360008301526155ae81615572565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615611602683613f10565b915061561c826155b5565b604082019050919050565b6000602082019050818103600083015261564081615604565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006156a3602c83613f10565b91506156ae82615647565b604082019050919050565b600060208201905081810360008301526156d281615696565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615735602983613f10565b9150615740826156d9565b604082019050919050565b6000602082019050818103600083015261576481615728565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157c7602483613f10565b91506157d28261576b565b604082019050919050565b600060208201905081810360008301526157f6816157ba565b9050919050565b600061580882613fc0565b915061581383613fc0565b92508282101561582657615825614ba3565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615867601d83613f10565b915061587282615831565b602082019050919050565b600060208201905081810360008301526158968161585a565b9050919050565b600081905092915050565b50565b60006158b860008361589d565b91506158c3826158a8565b600082019050919050565b60006158d9826158ab565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061593f603a83613f10565b915061594a826158e3565b604082019050919050565b6000602082019050818103600083015261596e81615932565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006159d1603283613f10565b91506159dc82615975565b604082019050919050565b60006020820190508181036000830152615a00816159c4565b9050919050565b6000615a1282613fc0565b9150615a1d83613fc0565b925082615a2d57615a2c614c2c565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615a6e601c83615411565b9150615a7982615a38565b601c82019050919050565b6000819050919050565b615a9f615a9a826142db565b615a84565b82525050565b6000615ab082615a61565b9150615abc8284615a8e565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615b01601f83613f10565b9150615b0c82615acb565b602082019050919050565b60006020820190508181036000830152615b3081615af4565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615b5e82615b37565b615b688185615b42565b9350615b78818560208601613f21565b615b8181613f54565b840191505092915050565b6000608082019050615ba16000830187614023565b615bae6020830186614023565b615bbb604083018561420b565b8181036060830152615bcd8184615b53565b905095945050505050565b600081519050615be781613deb565b92915050565b600060208284031215615c0357615c02613db5565b5b6000615c1184828501615bd8565b91505092915050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c76602283613f10565b9150615c8182615c1a565b604082019050919050565b60006020820190508181036000830152615ca581615c69565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d08602283613f10565b9150615d1382615cac565b604082019050919050565b60006020820190508181036000830152615d3781615cfb565b9050919050565b600060ff82169050919050565b615d5481615d3e565b82525050565b6000608082019050615d6f60008301876142e5565b615d7c6020830186615d4b565b615d8960408301856142e5565b615d9660608301846142e5565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615dd5601883613f10565b9150615de082615d9f565b602082019050919050565b60006020820190508181036000830152615e0481615dc8565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e41602083613f10565b9150615e4c82615e0b565b602082019050919050565b60006020820190508181036000830152615e7081615e34565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615ead601c83613f10565b9150615eb882615e77565b602082019050919050565b60006020820190508181036000830152615edc81615ea0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220070ce8902c7fd8917827880b62058bf0ca2664f979d1dd744c3513da2bdcdb3764736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000082200000000000000000000000058d871d9a1b8551b7a852e0b2641fff7d3a8d606000000000000000000000000000000000000000000000000000000000000000a42616c6c65724170657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000642414c4c45520000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): BallerApes
Arg [1] : symbol (string): BALLER
Arg [2] : maxBallerApeSupply (uint256): 2082
Arg [3] : pigskinApesAddress (address): 0x58D871d9a1b8551b7A852E0B2641FFf7D3a8D606

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000822
Arg [3] : 00000000000000000000000058d871d9a1b8551b7a852e0b2641fff7d3a8d606
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 42616c6c65724170657300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 42414c4c45520000000000000000000000000000000000000000000000000000


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.