ETH Price: $3,058.98 (-2.42%)

Token

Sky Club (SKYCLUB)
 

Overview

Max Total Supply

1,524 SKYCLUB

Holders

557

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
jasonz.eth
Balance
1 SKYCLUB
0xd551B861414B7a2836E4B4615B8155C4b1ECC067
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SkyClub

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : SkyClub.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./ERC721A.sol";

contract SkyClub is ERC721A, IERC2981,ReentrancyGuard,Ownable {
    //set variables
    uint256 public maxSupply; 
    uint256 public price;
    uint256 public maxQtyPerMember;    
    uint256 public maxQtyPerTransaction; 

    bool public _skyMintActive = false;
    
    //mappings for counters
    mapping(address => uint8) public _skyMintCounter;    
    mapping(address => uint256) public _ownerCounter;     

    //wallet for on cahin royalties
    address public royaltyWallet = 0x6952566b3d3b1bb6e76FD0c3EeE14D39eeaE3846;

    // merkle root
    bytes32 public skyMintRoot;

    // metadata URI
    string private _baseTokenURI;

    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter ;
    PaymentSplitter private _splitter;       

    constructor(            
        string memory _name,
        string memory _symbol,
        address[] memory payees,
        uint256[] memory shares,
        uint256 _maxSizeBatch,
        uint256 _maxCollection,
        uint256 _maxSupply,
        uint256 _price,
        uint256 _maxQtyPerMember,
        uint256 _maxQtyPerTransaction
    )
        ERC721A(_name, _symbol, _maxSizeBatch, _maxCollection )        
    {         
        maxSupply = _maxSupply;
        price = _price;
        maxQtyPerMember = _maxQtyPerMember;
        maxQtyPerTransaction = _maxQtyPerTransaction;
        _splitter = new PaymentSplitter(payees, shares);
    }
    

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }    

    function setSkyMintActive(bool isActive) external onlyOwner {
        _skyMintActive = isActive;
    }

    function setMaxSupply(uint256 _newmaxSupply) public onlyOwner {
        maxSupply = _newmaxSupply;
    }

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

    function setMaxQtyPerMember(uint256 _maxQtyPerMember) external onlyOwner {
        maxQtyPerMember = _maxQtyPerMember;
    }

    function setMaxQtyPerTransaction(uint256 _maxQtyPerTransaction) external onlyOwner {
        maxQtyPerTransaction = _maxQtyPerTransaction;
    } 

    function setSkyMintRoot(bytes32 _root) external onlyOwner {
        skyMintRoot = _root;
    }        

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

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

    // Presale
    function skyclubMint(uint8 quantity, bytes32[] calldata _merkleProof)
        external
        payable
        callerIsUser     
        nonReentrant   
    {       
        require(_skyMintActive, "Whitelist mint is not yet active");
        require(_skyMintCounter[msg.sender] + quantity <= maxQtyPerMember, "Exceeds Max Per Wallet Address");
        require(quantity > 0, "Must mint more than 0 tokens");
        require(totalSupply() + quantity <= maxSupply, "Sold out");
        require(quantity <= maxQtyPerTransaction, "Exceeds max per transaction");        
        require(price * quantity >= msg.value, "Incorrect funds");
        // check proof & mint
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, skyMintRoot, leaf), "Invalid MerkleProof"); 

        _safeMint(msg.sender, quantity);
        
        payable(_splitter).transfer(msg.value);        
        _skyMintCounter[msg.sender] = _skyMintCounter[msg.sender] + quantity;        
    }     

    // owner mint
    function ownerMint(uint256 quantity) external payable callerIsUser onlyOwner 
    {       
        require(totalSupply() + quantity <= maxSupply, "Sold out");
        _safeMint(msg.sender, quantity);               
        _ownerCounter[msg.sender] = _ownerCounter[msg.sender] + quantity;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(royaltyWallet), SafeMath.div(SafeMath.mul(salePrice, 10), 100));
    }    

    function release(address payable account) public virtual nonReentrant onlyOwner {
        _splitter.release(account);
    }
    
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(royaltyWallet).transfer(balance);
    }
}

File 2 of 21 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
    Context,
    ERC165,
    IERC721,
    IERC721Metadata,
    IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    string public baseExtension = ".json";

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable collectionSize;
    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) private _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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
     * `maxBatchSize` refers to how much a minter can mint at a time.
     * `collectionSize_` refers to how many tokxens are in the collection.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_,
        uint256 collectionSize_
    ) {
        require(
            collectionSize_ > 0,
            "ERC721A: collection must have a nonzero supply"
        );
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
        collectionSize = collectionSize_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        override
        returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
        internal
        view
        returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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(), baseExtension))
                : "";
    }

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
    {
        require(operator != _msgSender(), "ERC721A: 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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - there must be `quantity` tokens remaining unminted in the total collection.
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
     */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > collectionSize - 1) {
            endIndex = collectionSize - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @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(
                        "ERC721A: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 21 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 21 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

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

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

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

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

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

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

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

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

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

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

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

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

    /**
     * @dev Getter for the amount of payee's releasable Ether.
     */
    function releasable(address account) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + totalReleased();
        return _pendingPayment(account, totalReceived, released(account));
    }

    /**
     * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
     * IERC20 contract.
     */
    function releasable(IERC20 token, address account) public view returns (uint256) {
        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        return _pendingPayment(account, totalReceived, released(token, account));
    }

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

        uint256 payment = releasable(account);

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

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

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

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

        uint256 payment = releasable(token, account);

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

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

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

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

File 5 of 21 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 21 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 7 of 21 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 8 of 21 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 9 of 21 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 10 of 21 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 13 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 16 of 21 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 17 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

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

pragma solidity ^0.8.0;

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

File 19 of 21 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 20 of 21 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 21 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "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":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"},{"internalType":"uint256","name":"_maxSizeBatch","type":"uint256"},{"internalType":"uint256","name":"_maxCollection","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_maxQtyPerMember","type":"uint256"},{"internalType":"uint256","name":"_maxQtyPerTransaction","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_ownerCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_skyMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_skyMintCounter","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxQtyPerMember","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQtyPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxQtyPerMember","type":"uint256"}],"name":"setMaxQtyPerMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxQtyPerTransaction","type":"uint256"}],"name":"setMaxQtyPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setNewPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSkyMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setSkyMintRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skyMintRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"skyclubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600090805190602001906200005192919062000372565b50600060015560006008556000600f60006101000a81548160ff021916908315150217905550736952566b3d3b1bb6e76fd0c3eee14d39eeae3846601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000d957600080fd5b5060405162008387380380620083878339818101604052810190620000ff91906200081e565b898987876000811162000149576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001409062000a17565b60405180910390fd5b600082116200018f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001869062000aaf565b60405180910390fd5b8360029080519060200190620001a792919062000372565b508260039080519060200190620001c092919062000372565b508160a081815250508060808181525050505050506001600981905550620001fd620001f1620002a460201b60201c565b620002ac60201b60201c565b83600b8190555082600c8190555081600d8190555080600e819055508787604051620002299062000403565b6200023692919062000c6d565b604051809103906000f08015801562000253573d6000803e3d6000fd5b50601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505050505062000d0d565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003809062000cd7565b90600052602060002090601f016020900481019282620003a45760008555620003f0565b82601f10620003bf57805160ff1916838001178555620003f0565b82800160010185558215620003f0579182015b82811115620003ef578251825591602001919060010190620003d2565b5b509050620003ff919062000411565b5090565b6123a58062005fe283390190565b5b808211156200042c57600081600090555060010162000412565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000499826200044e565b810181811067ffffffffffffffff82111715620004bb57620004ba6200045f565b5b80604052505050565b6000620004d062000430565b9050620004de82826200048e565b919050565b600067ffffffffffffffff8211156200050157620005006200045f565b5b6200050c826200044e565b9050602081019050919050565b60005b83811015620005395780820151818401526020810190506200051c565b8381111562000549576000848401525b50505050565b6000620005666200056084620004e3565b620004c4565b90508281526020810184848401111562000585576200058462000449565b5b6200059284828562000519565b509392505050565b600082601f830112620005b257620005b162000444565b5b8151620005c48482602086016200054f565b91505092915050565b600067ffffffffffffffff821115620005eb57620005ea6200045f565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200062e8262000601565b9050919050565b620006408162000621565b81146200064c57600080fd5b50565b600081519050620006608162000635565b92915050565b60006200067d6200067784620005cd565b620004c4565b90508083825260208201905060208402830185811115620006a357620006a2620005fc565b5b835b81811015620006d05780620006bb88826200064f565b845260208401935050602081019050620006a5565b5050509392505050565b600082601f830112620006f257620006f162000444565b5b81516200070484826020860162000666565b91505092915050565b600067ffffffffffffffff8211156200072b576200072a6200045f565b5b602082029050602081019050919050565b6000819050919050565b62000751816200073c565b81146200075d57600080fd5b50565b600081519050620007718162000746565b92915050565b60006200078e62000788846200070d565b620004c4565b90508083825260208201905060208402830185811115620007b457620007b3620005fc565b5b835b81811015620007e15780620007cc888262000760565b845260208401935050602081019050620007b6565b5050509392505050565b600082601f83011262000803576200080262000444565b5b81516200081584826020860162000777565b91505092915050565b6000806000806000806000806000806101408b8d0312156200084557620008446200043a565b5b60008b015167ffffffffffffffff8111156200086657620008656200043f565b5b620008748d828e016200059a565b9a505060208b015167ffffffffffffffff8111156200089857620008976200043f565b5b620008a68d828e016200059a565b99505060408b015167ffffffffffffffff811115620008ca57620008c96200043f565b5b620008d88d828e01620006da565b98505060608b015167ffffffffffffffff811115620008fc57620008fb6200043f565b5b6200090a8d828e01620007eb565b97505060806200091d8d828e0162000760565b96505060a0620009308d828e0162000760565b95505060c0620009438d828e0162000760565b94505060e0620009568d828e0162000760565b9350506101006200096a8d828e0162000760565b9250506101206200097e8d828e0162000760565b9150509295989b9194979a5092959850565b600082825260208201905092915050565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b6000620009ff602e8362000990565b915062000a0c82620009a1565b604082019050919050565b6000602082019050818103600083015262000a3281620009f0565b9050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b600062000a9760278362000990565b915062000aa48262000a39565b604082019050919050565b6000602082019050818103600083015262000aca8162000a88565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b62000b088162000621565b82525050565b600062000b1c838362000afd565b60208301905092915050565b6000602082019050919050565b600062000b428262000ad1565b62000b4e818562000adc565b935062000b5b8362000aed565b8060005b8381101562000b9257815162000b76888262000b0e565b975062000b838362000b28565b92505060018101905062000b5f565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b62000bd6816200073c565b82525050565b600062000bea838362000bcb565b60208301905092915050565b6000602082019050919050565b600062000c108262000b9f565b62000c1c818562000baa565b935062000c298362000bbb565b8060005b8381101562000c6057815162000c44888262000bdc565b975062000c518362000bf6565b92505060018101905062000c2d565b5085935050505092915050565b6000604082019050818103600083015262000c89818562000b35565b9050818103602083015262000c9f818462000c03565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000cf057607f821691505b6020821081141562000d075762000d0662000ca8565b5b50919050565b60805160a0516152a462000d3e600039600081816127220152818161274b0152612f070152600050506152a46000f3fe6080604052600436106102515760003560e01c80636f8b44b011610139578063c87b56dd116100b6578063e0ce4e361161007a578063e0ce4e36146108ca578063e3c25039146108f3578063e985e9c51461091e578063ee8cdd4e1461095b578063f19e75d414610984578063f2fde38b146109a057610251565b8063c87b56dd146107f2578063cd6908e61461082f578063d4ddf08714610858578063d5abeb0114610874578063d7224ba01461089f57610251565b806395d89b41116100fd57806395d89b411461071f578063a035b1fe1461074a578063a22cb46514610775578063b88d4fde1461079e578063c6682862146107c757610251565b80636f8b44b01461064e57806370a0823114610677578063715018a6146106b45780637fbd2745146106cb5780638da5cb5b146106f457610251565b80633ccfd60b116101d2578063524a76fb11610196578063524a76fb1461051a57806355f804b314610543578063561cb2111461056c5780636352211e146105a9578063667bc823146105e65780636bd24a3c1461062357610251565b80633ccfd60b146104475780633f0d2ec11461045e57806342842e0e146104895780634f6ccce7146104b257806350b16532146104ef57610251565b806318160ddd1161021957806318160ddd1461034f578063191655871461037a57806323b872dd146103a35780632a55205a146103cc5780632f745c591461040a57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630ed5995514610324575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906134b0565b6109c9565b60405161028a91906134f8565b60405180910390f35b34801561029f57600080fd5b506102a8610a43565b6040516102b591906135ac565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613604565b610ad5565b6040516102f29190613672565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906136b9565b610b5a565b005b34801561033057600080fd5b50610339610c73565b6040516103469190613708565b60405180910390f35b34801561035b57600080fd5b50610364610c79565b6040516103719190613708565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613761565b610c83565b005b3480156103af57600080fd5b506103ca60048036038101906103c5919061378e565b610d71565b005b3480156103d857600080fd5b506103f360048036038101906103ee91906137e1565b610d81565b604051610401929190613821565b60405180910390f35b34801561041657600080fd5b50610431600480360381019061042c91906136b9565b610e0f565b60405161043e9190613708565b60405180910390f35b34801561045357600080fd5b5061045c61100d565b005b34801561046a57600080fd5b50610473611086565b6040516104809190613672565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab919061378e565b6110ac565b005b3480156104be57600080fd5b506104d960048036038101906104d49190613604565b6110cc565b6040516104e69190613708565b60405180910390f35b3480156104fb57600080fd5b5061050461111f565b6040516105119190613863565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c9190613604565b611125565b005b34801561054f57600080fd5b5061056a600480360381019061056591906138e3565b611137565b005b34801561057857600080fd5b50610593600480360381019061058e9190613930565b611155565b6040516105a09190613708565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb9190613604565b61116d565b6040516105dd9190613672565b60405180910390f35b3480156105f257600080fd5b5061060d60048036038101906106089190613930565b611183565b60405161061a9190613979565b60405180910390f35b34801561062f57600080fd5b506106386111a3565b6040516106459190613708565b60405180910390f35b34801561065a57600080fd5b5061067560048036038101906106709190613604565b6111a9565b005b34801561068357600080fd5b5061069e60048036038101906106999190613930565b6111bb565b6040516106ab9190613708565b60405180910390f35b3480156106c057600080fd5b506106c96112a4565b005b3480156106d757600080fd5b506106f260048036038101906106ed91906139c0565b6112b8565b005b34801561070057600080fd5b506107096112dd565b6040516107169190613672565b60405180910390f35b34801561072b57600080fd5b50610734611307565b60405161074191906135ac565b60405180910390f35b34801561075657600080fd5b5061075f611399565b60405161076c9190613708565b60405180910390f35b34801561078157600080fd5b5061079c600480360381019061079791906139ed565b61139f565b005b3480156107aa57600080fd5b506107c560048036038101906107c09190613b5d565b611520565b005b3480156107d357600080fd5b506107dc61157c565b6040516107e991906135ac565b60405180910390f35b3480156107fe57600080fd5b5061081960048036038101906108149190613604565b61160a565b60405161082691906135ac565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613604565b6116b4565b005b610872600480360381019061086d9190613c62565b6116c6565b005b34801561088057600080fd5b50610889611b96565b6040516108969190613708565b60405180910390f35b3480156108ab57600080fd5b506108b4611b9c565b6040516108c19190613708565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190613cee565b611ba2565b005b3480156108ff57600080fd5b50610908611bb4565b60405161091591906134f8565b60405180910390f35b34801561092a57600080fd5b5061094560048036038101906109409190613d1b565b611bc7565b60405161095291906134f8565b60405180910390f35b34801561096757600080fd5b50610982600480360381019061097d9190613604565b611c5b565b005b61099e60048036038101906109999190613604565b611c6d565b005b3480156109ac57600080fd5b506109c760048036038101906109c29190613930565b611dd5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3c5750610a3b82611e59565b5b9050919050565b606060028054610a5290613d8a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7e90613d8a565b8015610acb5780601f10610aa057610100808354040283529160200191610acb565b820191906000526020600020905b815481529060010190602001808311610aae57829003601f168201915b5050505050905090565b6000610ae082611fa3565b610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1690613e2e565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b658261116d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd90613ec0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf5611fb1565b73ffffffffffffffffffffffffffffffffffffffff161480610c245750610c2381610c1e611fb1565b611bc7565b5b610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a90613f52565b60405180910390fd5b610c6e838383611fb9565b505050565b600d5481565b6000600154905090565b60026009541415610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090613fbe565b60405180910390fd5b6002600981905550610cd961206b565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166319165587826040518263ffffffff1660e01b8152600401610d349190613fed565b600060405180830381600087803b158015610d4e57600080fd5b505af1158015610d62573d6000803e3d6000fd5b50505050600160098190555050565b610d7c8383836120e9565b505050565b600080610d8d84611fa3565b610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390614054565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610e04610dfd85600a6126a2565b60646126b8565b915091509250929050565b6000610e1a836111bb565b8210610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e52906140e6565b60405180910390fd5b6000610e65610c79565b905060008060005b83811015610fcb576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f5f57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fb75786841415610fa8578195505050505050611007565b8380610fb390614135565b9450505b508080610fc390614135565b915050610e6d565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe906141f0565b60405180910390fd5b92915050565b61101561206b565b6000479050601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611082573d6000803e3d6000fd5b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110c783838360405180602001604052806000815250611520565b505050565b60006110d6610c79565b8210611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90614282565b60405180910390fd5b819050919050565b60135481565b61112d61206b565b80600d8190555050565b61113f61206b565b818160149190611150929190613367565b505050565b60116020528060005260406000206000915090505481565b6000611178826126ce565b600001519050919050565b60106020528060005260406000206000915054906101000a900460ff1681565b600e5481565b6111b161206b565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390614314565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6112ac61206b565b6112b660006128d1565b565b6112c061206b565b80600f60006101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461131690613d8a565b80601f016020809104026020016040519081016040528092919081815260200182805461134290613d8a565b801561138f5780601f106113645761010080835404028352916020019161138f565b820191906000526020600020905b81548152906001019060200180831161137257829003601f168201915b5050505050905090565b600c5481565b6113a7611fb1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c90614380565b60405180910390fd5b8060076000611422611fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114cf611fb1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161151491906134f8565b60405180910390a35050565b61152b8484846120e9565b61153784848484612997565b611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90614412565b60405180910390fd5b50505050565b6000805461158990613d8a565b80601f01602080910402602001604051908101604052809291908181526020018280546115b590613d8a565b80156116025780601f106115d757610100808354040283529160200191611602565b820191906000526020600020905b8154815290600101906020018083116115e557829003601f168201915b505050505081565b606061161582611fa3565b611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b906144a4565b60405180910390fd5b600061165e612b2e565b9050600081511161167e57604051806020016040528060008152506116ac565b8061168884612bc0565b600060405160200161169c93929190614594565b6040516020818303038152906040525b915050919050565b6116bc61206b565b80600e8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b90614611565b60405180910390fd5b6002600954141561177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613fbe565b60405180910390fd5b6002600981905550600f60009054906101000a900460ff166117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c89061467d565b60405180910390fd5b600d5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661182c919061469d565b60ff161115611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186790614720565b60405180910390fd5b60008360ff16116118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad9061478c565b60405180910390fd5b600b548360ff166118c5610c79565b6118cf91906147ac565b1115611910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119079061484e565b60405180910390fd5b600e548360ff161115611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f906148ba565b60405180910390fd5b348360ff16600c5461196a91906148da565b10156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a290614980565b60405180910390fd5b6000336040516020016119be91906149e8565b604051602081830303815290604052805190602001209050611a24838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483612d21565b611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a90614a4f565b60405180910390fd5b611a70338560ff16612d38565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611ad8573d6000803e3d6000fd5b5083601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b31919061469d565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550506001600981905550505050565b600b5481565b60085481565b611baa61206b565b8060138190555050565b600f60009054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c6361206b565b80600c8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614611565b60405180910390fd5b611ce361206b565b600b5481611cef610c79565b611cf991906147ac565b1115611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d319061484e565b60405180910390fd5b611d443382612d38565b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d8f91906147ac565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611ddd61206b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490614ae1565b60405180910390fd5b611e56816128d1565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f2457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f8c57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f9c5750611f9b82612d56565b5b9050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612073611fb1565b73ffffffffffffffffffffffffffffffffffffffff166120916112dd565b73ffffffffffffffffffffffffffffffffffffffff16146120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90614b4d565b60405180910390fd5b565b60006120f4826126ce565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661211b611fb1565b73ffffffffffffffffffffffffffffffffffffffff1614806121775750612140611fb1565b73ffffffffffffffffffffffffffffffffffffffff1661215f84610ad5565b73ffffffffffffffffffffffffffffffffffffffff16145b806121935750612192826000015161218d611fb1565b611bc7565b5b9050806121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90614bdf565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90614c71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae90614d03565b60405180910390fd5b6122c48585856001612dc0565b6122d46000848460000151611fb9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166123429190614d3f565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166123e69190614d73565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846124ec91906147ac565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156126325761256281611fa3565b15612631576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461269a8686866001612dc6565b505050505050565b600081836126b091906148da565b905092915050565b600081836126c69190614de8565b905092915050565b6126d66133ed565b6126df82611fa3565b61271e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271590614e8b565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106127825760017f0000000000000000000000000000000000000000000000000000000000000000846127759190614eab565b61277f91906147ac565b90505b60008390505b818110612890576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461287c578093505050506128cc565b50808061288890614edf565b915050612788565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c390614f7b565b60405180910390fd5b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006129b88473ffffffffffffffffffffffffffffffffffffffff16612dcc565b15612b21578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129e1611fb1565b8786866040518563ffffffff1660e01b8152600401612a039493929190614ff0565b602060405180830381600087803b158015612a1d57600080fd5b505af1925050508015612a4e57506040513d601f19601f82011682018060405250810190612a4b9190615051565b60015b612ad1573d8060008114612a7e576040519150601f19603f3d011682016040523d82523d6000602084013e612a83565b606091505b50600081511415612ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac090614412565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b26565b600190505b949350505050565b606060148054612b3d90613d8a565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6990613d8a565b8015612bb65780601f10612b8b57610100808354040283529160200191612bb6565b820191906000526020600020905b815481529060010190602001808311612b9957829003601f168201915b5050505050905090565b60606000821415612c08576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d1c565b600082905060005b60008214612c3a578080612c2390614135565b915050600a82612c339190614de8565b9150612c10565b60008167ffffffffffffffff811115612c5657612c55613a32565b5b6040519080825280601f01601f191660200182016040528015612c885781602001600182028036833780820191505090505b5090505b60008514612d1557600182612ca19190614eab565b9150600a85612cb0919061507e565b6030612cbc91906147ac565b60f81b818381518110612cd257612cd16150af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d0e9190614de8565b9450612c8c565b8093505050505b919050565b600082612d2e8584612def565b1490509392505050565b612d52828260405180602001604052806000815250612e45565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b8451811015612e3a57612e2582868381518110612e1857612e176150af565b5b6020026020010151613325565b91508080612e3290614135565b915050612df8565b508091505092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb390615150565b60405180910390fd5b612ec581611fa3565b15612f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efc906151bc565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115612f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5f9061524e565b60405180910390fd5b612f756000858386612dc0565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516130729190614d73565b6fffffffffffffffffffffffffffffffff1681526020018583602001516130999190614d73565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561330857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132a86000888488612997565b6132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132de90614412565b60405180910390fd5b81806132f290614135565b925050808061330090614135565b915050613237565b508060018190555061331d6000878588612dc6565b505050505050565b600081831061333d576133388284613350565b613348565b6133478383613350565b5b905092915050565b600082600052816020526040600020905092915050565b82805461337390613d8a565b90600052602060002090601f01602090048101928261339557600085556133dc565b82601f106133ae57803560ff19168380011785556133dc565b828001600101855582156133dc579182015b828111156133db5782358255916020019190600101906133c0565b5b5090506133e99190613427565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613440576000816000905550600101613428565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61348d81613458565b811461349857600080fd5b50565b6000813590506134aa81613484565b92915050565b6000602082840312156134c6576134c561344e565b5b60006134d48482850161349b565b91505092915050565b60008115159050919050565b6134f2816134dd565b82525050565b600060208201905061350d60008301846134e9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561354d578082015181840152602081019050613532565b8381111561355c576000848401525b50505050565b6000601f19601f8301169050919050565b600061357e82613513565b613588818561351e565b935061359881856020860161352f565b6135a181613562565b840191505092915050565b600060208201905081810360008301526135c68184613573565b905092915050565b6000819050919050565b6135e1816135ce565b81146135ec57600080fd5b50565b6000813590506135fe816135d8565b92915050565b60006020828403121561361a5761361961344e565b5b6000613628848285016135ef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061365c82613631565b9050919050565b61366c81613651565b82525050565b60006020820190506136876000830184613663565b92915050565b61369681613651565b81146136a157600080fd5b50565b6000813590506136b38161368d565b92915050565b600080604083850312156136d0576136cf61344e565b5b60006136de858286016136a4565b92505060206136ef858286016135ef565b9150509250929050565b613702816135ce565b82525050565b600060208201905061371d60008301846136f9565b92915050565b600061372e82613631565b9050919050565b61373e81613723565b811461374957600080fd5b50565b60008135905061375b81613735565b92915050565b6000602082840312156137775761377661344e565b5b60006137858482850161374c565b91505092915050565b6000806000606084860312156137a7576137a661344e565b5b60006137b5868287016136a4565b93505060206137c6868287016136a4565b92505060406137d7868287016135ef565b9150509250925092565b600080604083850312156137f8576137f761344e565b5b6000613806858286016135ef565b9250506020613817858286016135ef565b9150509250929050565b60006040820190506138366000830185613663565b61384360208301846136f9565b9392505050565b6000819050919050565b61385d8161384a565b82525050565b60006020820190506138786000830184613854565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138a3576138a261387e565b5b8235905067ffffffffffffffff8111156138c0576138bf613883565b5b6020830191508360018202830111156138dc576138db613888565b5b9250929050565b600080602083850312156138fa576138f961344e565b5b600083013567ffffffffffffffff81111561391857613917613453565b5b6139248582860161388d565b92509250509250929050565b6000602082840312156139465761394561344e565b5b6000613954848285016136a4565b91505092915050565b600060ff82169050919050565b6139738161395d565b82525050565b600060208201905061398e600083018461396a565b92915050565b61399d816134dd565b81146139a857600080fd5b50565b6000813590506139ba81613994565b92915050565b6000602082840312156139d6576139d561344e565b5b60006139e4848285016139ab565b91505092915050565b60008060408385031215613a0457613a0361344e565b5b6000613a12858286016136a4565b9250506020613a23858286016139ab565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a6a82613562565b810181811067ffffffffffffffff82111715613a8957613a88613a32565b5b80604052505050565b6000613a9c613444565b9050613aa88282613a61565b919050565b600067ffffffffffffffff821115613ac857613ac7613a32565b5b613ad182613562565b9050602081019050919050565b82818337600083830152505050565b6000613b00613afb84613aad565b613a92565b905082815260208101848484011115613b1c57613b1b613a2d565b5b613b27848285613ade565b509392505050565b600082601f830112613b4457613b4361387e565b5b8135613b54848260208601613aed565b91505092915050565b60008060008060808587031215613b7757613b7661344e565b5b6000613b85878288016136a4565b9450506020613b96878288016136a4565b9350506040613ba7878288016135ef565b925050606085013567ffffffffffffffff811115613bc857613bc7613453565b5b613bd487828801613b2f565b91505092959194509250565b613be98161395d565b8114613bf457600080fd5b50565b600081359050613c0681613be0565b92915050565b60008083601f840112613c2257613c2161387e565b5b8235905067ffffffffffffffff811115613c3f57613c3e613883565b5b602083019150836020820283011115613c5b57613c5a613888565b5b9250929050565b600080600060408486031215613c7b57613c7a61344e565b5b6000613c8986828701613bf7565b935050602084013567ffffffffffffffff811115613caa57613ca9613453565b5b613cb686828701613c0c565b92509250509250925092565b613ccb8161384a565b8114613cd657600080fd5b50565b600081359050613ce881613cc2565b92915050565b600060208284031215613d0457613d0361344e565b5b6000613d1284828501613cd9565b91505092915050565b60008060408385031215613d3257613d3161344e565b5b6000613d40858286016136a4565b9250506020613d51858286016136a4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613da257607f821691505b60208210811415613db657613db5613d5b565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613e18602d8361351e565b9150613e2382613dbc565b604082019050919050565b60006020820190508181036000830152613e4781613e0b565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613eaa60228361351e565b9150613eb582613e4e565b604082019050919050565b60006020820190508181036000830152613ed981613e9d565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613f3c60398361351e565b9150613f4782613ee0565b604082019050919050565b60006020820190508181036000830152613f6b81613f2f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613fa8601f8361351e565b9150613fb382613f72565b602082019050919050565b60006020820190508181036000830152613fd781613f9b565b9050919050565b613fe781613723565b82525050565b60006020820190506140026000830184613fde565b92915050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b600061403e60118361351e565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006140d060228361351e565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614140826135ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561417357614172614106565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006141da602e8361351e565b91506141e58261417e565b604082019050919050565b60006020820190508181036000830152614209816141cd565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b600061426c60238361351e565b915061427782614210565b604082019050919050565b6000602082019050818103600083015261429b8161425f565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006142fe602b8361351e565b9150614309826142a2565b604082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b600061436a601a8361351e565b915061437582614334565b602082019050919050565b600060208201905081810360008301526143998161435d565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006143fc60338361351e565b9150614407826143a0565b604082019050919050565b6000602082019050818103600083015261442b816143ef565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061448e602f8361351e565b915061449982614432565b604082019050919050565b600060208201905081810360008301526144bd81614481565b9050919050565b600081905092915050565b60006144da82613513565b6144e481856144c4565b93506144f481856020860161352f565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461452281613d8a565b61452c81866144c4565b9450600182166000811461454757600181146145585761458b565b60ff1983168652818601935061458b565b61456185614500565b60005b8381101561458357815481890152600182019150602081019050614564565b838801955050505b50505092915050565b60006145a082866144cf565b91506145ac82856144cf565b91506145b88284614515565b9150819050949350505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006145fb601e8361351e565b9150614606826145c5565b602082019050919050565b6000602082019050818103600083015261462a816145ee565b9050919050565b7f57686974656c697374206d696e74206973206e6f742079657420616374697665600082015250565b600061466760208361351e565b915061467282614631565b602082019050919050565b600060208201905081810360008301526146968161465a565b9050919050565b60006146a88261395d565b91506146b38361395d565b92508260ff038211156146c9576146c8614106565b5b828201905092915050565b7f45786365656473204d6178205065722057616c6c657420416464726573730000600082015250565b600061470a601e8361351e565b9150614715826146d4565b602082019050919050565b60006020820190508181036000830152614739816146fd565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000614776601c8361351e565b915061478182614740565b602082019050919050565b600060208201905081810360008301526147a581614769565b9050919050565b60006147b7826135ce565b91506147c2836135ce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147f7576147f6614106565b5b828201905092915050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061483860088361351e565b915061484382614802565b602082019050919050565b600060208201905081810360008301526148678161482b565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e0000000000600082015250565b60006148a4601b8361351e565b91506148af8261486e565b602082019050919050565b600060208201905081810360008301526148d381614897565b9050919050565b60006148e5826135ce565b91506148f0836135ce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561492957614928614106565b5b828202905092915050565b7f496e636f72726563742066756e64730000000000000000000000000000000000600082015250565b600061496a600f8361351e565b915061497582614934565b602082019050919050565b600060208201905081810360008301526149998161495d565b9050919050565b60008160601b9050919050565b60006149b8826149a0565b9050919050565b60006149ca826149ad565b9050919050565b6149e26149dd82613651565b6149bf565b82525050565b60006149f482846149d1565b60148201915081905092915050565b7f496e76616c6964204d65726b6c6550726f6f6600000000000000000000000000600082015250565b6000614a3960138361351e565b9150614a4482614a03565b602082019050919050565b60006020820190508181036000830152614a6881614a2c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614acb60268361351e565b9150614ad682614a6f565b604082019050919050565b60006020820190508181036000830152614afa81614abe565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b3760208361351e565b9150614b4282614b01565b602082019050919050565b60006020820190508181036000830152614b6681614b2a565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614bc960328361351e565b9150614bd482614b6d565b604082019050919050565b60006020820190508181036000830152614bf881614bbc565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614c5b60268361351e565b9150614c6682614bff565b604082019050919050565b60006020820190508181036000830152614c8a81614c4e565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614ced60258361351e565b9150614cf882614c91565b604082019050919050565b60006020820190508181036000830152614d1c81614ce0565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000614d4a82614d23565b9150614d5583614d23565b925082821015614d6857614d67614106565b5b828203905092915050565b6000614d7e82614d23565b9150614d8983614d23565b9250826fffffffffffffffffffffffffffffffff03821115614dae57614dad614106565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614df3826135ce565b9150614dfe836135ce565b925082614e0e57614e0d614db9565b5b828204905092915050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000614e75602a8361351e565b9150614e8082614e19565b604082019050919050565b60006020820190508181036000830152614ea481614e68565b9050919050565b6000614eb6826135ce565b9150614ec1836135ce565b925082821015614ed457614ed3614106565b5b828203905092915050565b6000614eea826135ce565b91506000821415614efe57614efd614106565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000614f65602f8361351e565b9150614f7082614f09565b604082019050919050565b60006020820190508181036000830152614f9481614f58565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614fc282614f9b565b614fcc8185614fa6565b9350614fdc81856020860161352f565b614fe581613562565b840191505092915050565b60006080820190506150056000830187613663565b6150126020830186613663565b61501f60408301856136f9565b81810360608301526150318184614fb7565b905095945050505050565b60008151905061504b81613484565b92915050565b6000602082840312156150675761506661344e565b5b60006150758482850161503c565b91505092915050565b6000615089826135ce565b9150615094836135ce565b9250826150a4576150a3614db9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061513a60218361351e565b9150615145826150de565b604082019050919050565b600060208201905081810360008301526151698161512d565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b60006151a6601d8361351e565b91506151b182615170565b602082019050919050565b600060208201905081810360008301526151d581615199565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b600061523860228361351e565b9150615243826151dc565b604082019050919050565b600060208201905081810360008301526152678161522b565b905091905056fea26469706673582212200dfe1846dad3a12a26eae4762b7d50bc1659fb60ad9cc9eead56c003f6db1c0f64736f6c634300080900336080604052604051620023a5380380620023a5833981810160405281019062000029919062000668565b805182511462000070576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000679062000774565b60405180910390fd5b6000825111620000b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ae90620007e6565b60405180910390fd5b60005b8251811015620001265762000110838281518110620000de57620000dd62000808565b5b6020026020010151838381518110620000fc57620000fb62000808565b5b60200260200101516200012f60201b60201c565b80806200011d9062000866565b915050620000ba565b50505062000b02565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000199906200092a565b60405180910390fd5b60008111620001e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001df906200099c565b60405180910390fd5b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200026d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002649062000a34565b60405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060005462000324919062000a56565b6000819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200035d92919062000ad5565b60405180910390a15050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003cd8262000382565b810181811067ffffffffffffffff82111715620003ef57620003ee62000393565b5b80604052505050565b60006200040462000369565b9050620004128282620003c2565b919050565b600067ffffffffffffffff82111562000435576200043462000393565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000478826200044b565b9050919050565b6200048a816200046b565b81146200049657600080fd5b50565b600081519050620004aa816200047f565b92915050565b6000620004c7620004c18462000417565b620003f8565b90508083825260208201905060208402830185811115620004ed57620004ec62000446565b5b835b818110156200051a578062000505888262000499565b845260208401935050602081019050620004ef565b5050509392505050565b600082601f8301126200053c576200053b6200037d565b5b81516200054e848260208601620004b0565b91505092915050565b600067ffffffffffffffff82111562000575576200057462000393565b5b602082029050602081019050919050565b6000819050919050565b6200059b8162000586565b8114620005a757600080fd5b50565b600081519050620005bb8162000590565b92915050565b6000620005d8620005d28462000557565b620003f8565b90508083825260208201905060208402830185811115620005fe57620005fd62000446565b5b835b818110156200062b5780620006168882620005aa565b84526020840193505060208101905062000600565b5050509392505050565b600082601f8301126200064d576200064c6200037d565b5b81516200065f848260208601620005c1565b91505092915050565b6000806040838503121562000682576200068162000373565b5b600083015167ffffffffffffffff811115620006a357620006a262000378565b5b620006b18582860162000524565b925050602083015167ffffffffffffffff811115620006d557620006d462000378565b5b620006e38582860162000635565b9150509250929050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b60006200075c603283620006ed565b91506200076982620006fe565b604082019050919050565b600060208201905081810360008301526200078f816200074d565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b6000620007ce601a83620006ed565b9150620007db8262000796565b602082019050919050565b600060208201905081810360008301526200080181620007bf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620008738262000586565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620008a957620008a862000837565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000912602c83620006ed565b91506200091f82620008b4565b604082019050919050565b60006020820190508181036000830152620009458162000903565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000984601d83620006ed565b915062000991826200094c565b602082019050919050565b60006020820190508181036000830152620009b78162000975565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000a1c602b83620006ed565b915062000a2982620009be565b604082019050919050565b6000602082019050818103600083015262000a4f8162000a0d565b9050919050565b600062000a638262000586565b915062000a708362000586565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000aa85762000aa762000837565b5b828201905092915050565b62000abe816200046b565b82525050565b62000acf8162000586565b82525050565b600060408201905062000aec600083018562000ab3565b62000afb602083018462000ac4565b9392505050565b6118938062000b126000396000f3fe6080604052600436106100a05760003560e01c80639852595c116100645780639852595c146101e3578063a3f8eace14610220578063c45ac0501461025d578063ce7c2ac21461029a578063d79779b2146102d7578063e33b7de314610314576100e7565b806319165587146100ec5780633a98ef3914610115578063406072a91461014057806348b750441461017d5780638b83209b146101a6576100e7565b366100e7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706100ce61033f565b346040516100dd929190610e5a565b60405180910390a1005b600080fd5b3480156100f857600080fd5b50610113600480360381019061010e9190610ec6565b610347565b005b34801561012157600080fd5b5061012a6104d0565b6040516101379190610ef3565b60405180910390f35b34801561014c57600080fd5b5061016760048036038101906101629190610f78565b6104d9565b6040516101749190610ef3565b60405180910390f35b34801561018957600080fd5b506101a4600480360381019061019f9190610f78565b610560565b005b3480156101b257600080fd5b506101cd60048036038101906101c89190610fe4565b61077d565b6040516101da9190611011565b60405180910390f35b3480156101ef57600080fd5b5061020a6004803603810190610205919061102c565b6107c5565b6040516102179190610ef3565b60405180910390f35b34801561022c57600080fd5b506102476004803603810190610242919061102c565b61080e565b6040516102549190610ef3565b60405180910390f35b34801561026957600080fd5b50610284600480360381019061027f9190610f78565b610841565b6040516102919190610ef3565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc919061102c565b6108ff565b6040516102ce9190610ef3565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190611059565b610948565b60405161030b9190610ef3565b60405180910390f35b34801561032057600080fd5b50610329610991565b6040516103369190610ef3565b60405180910390f35b600033905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116103c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c090611109565b60405180910390fd5b60006103d48261080e565b9050600081141561041a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104119061119b565b60405180910390fd5b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461046991906111ea565b92505081905550806001600082825461048291906111ea565b92505081905550610493828261099b565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516104c492919061129f565b60405180910390a15050565b60008054905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116105e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d990611109565b60405180910390fd5b60006105ee8383610841565b90506000811415610634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062b9061119b565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106c091906111ea565b9250508190555080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461071691906111ea565b92505081905550610728838383610a8f565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8383604051610770929190610e5a565b60405180910390a2505050565b600060048281548110610793576107926112c8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080610819610991565b4761082491906111ea565b90506108398382610834866107c5565b610b15565b915050919050565b60008061084d84610948565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108869190611011565b60206040518083038186803b15801561089e57600080fd5b505afa1580156108b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d6919061130c565b6108e091906111ea565b90506108f683826108f187876104d9565b610b15565b91505092915050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600154905090565b804710156109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d590611385565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610a04906113d6565b60006040518083038185875af1925050503d8060008114610a41576040519150601f19603f3d011682016040523d82523d6000602084013e610a46565b606091505b5050905080610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a819061145d565b60405180910390fd5b505050565b610b108363a9059cbb60e01b8484604051602401610aae929190610e5a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610b83565b505050565b600081600054600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485610b66919061147d565b610b709190611506565b610b7a9190611537565b90509392505050565b6000610be5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c4a9092919063ffffffff16565b9050600081511115610c455780806020019051810190610c0591906115a3565b610c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3b90611642565b60405180910390fd5b5b505050565b6060610c598484600085610c62565b90509392505050565b606082471015610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e906116d4565b60405180910390fd5b610cb085610d76565b610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690611740565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610d1891906117cf565b60006040518083038185875af1925050503d8060008114610d55576040519150601f19603f3d011682016040523d82523d6000602084013e610d5a565b606091505b5091509150610d6a828286610d99565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315610da957829050610df9565b600083511115610dbc5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df0919061183b565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610e2b82610e00565b9050919050565b610e3b81610e20565b82525050565b6000819050919050565b610e5481610e41565b82525050565b6000604082019050610e6f6000830185610e32565b610e7c6020830184610e4b565b9392505050565b600080fd5b6000610e9382610e00565b9050919050565b610ea381610e88565b8114610eae57600080fd5b50565b600081359050610ec081610e9a565b92915050565b600060208284031215610edc57610edb610e83565b5b6000610eea84828501610eb1565b91505092915050565b6000602082019050610f086000830184610e4b565b92915050565b6000610f1982610e20565b9050919050565b610f2981610f0e565b8114610f3457600080fd5b50565b600081359050610f4681610f20565b92915050565b610f5581610e20565b8114610f6057600080fd5b50565b600081359050610f7281610f4c565b92915050565b60008060408385031215610f8f57610f8e610e83565b5b6000610f9d85828601610f37565b9250506020610fae85828601610f63565b9150509250929050565b610fc181610e41565b8114610fcc57600080fd5b50565b600081359050610fde81610fb8565b92915050565b600060208284031215610ffa57610ff9610e83565b5b600061100884828501610fcf565b91505092915050565b60006020820190506110266000830184610e32565b92915050565b60006020828403121561104257611041610e83565b5b600061105084828501610f63565b91505092915050565b60006020828403121561106f5761106e610e83565b5b600061107d84828501610f37565b91505092915050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b60006110f3602683611086565b91506110fe82611097565b604082019050919050565b60006020820190508181036000830152611122816110e6565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000611185602b83611086565b915061119082611129565b604082019050919050565b600060208201905081810360008301526111b481611178565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111f582610e41565b915061120083610e41565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611235576112346111bb565b5b828201905092915050565b6000819050919050565b600061126561126061125b84610e00565b611240565b610e00565b9050919050565b60006112778261124a565b9050919050565b60006112898261126c565b9050919050565b6112998161127e565b82525050565b60006040820190506112b46000830185611290565b6112c16020830184610e4b565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061130681610fb8565b92915050565b60006020828403121561132257611321610e83565b5b6000611330848285016112f7565b91505092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061136f601d83611086565b915061137a82611339565b602082019050919050565b6000602082019050818103600083015261139e81611362565b9050919050565b600081905092915050565b50565b60006113c06000836113a5565b91506113cb826113b0565b600082019050919050565b60006113e1826113b3565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000611447603a83611086565b9150611452826113eb565b604082019050919050565b600060208201905081810360008301526114768161143a565b9050919050565b600061148882610e41565b915061149383610e41565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156114cc576114cb6111bb565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061151182610e41565b915061151c83610e41565b92508261152c5761152b6114d7565b5b828204905092915050565b600061154282610e41565b915061154d83610e41565b9250828210156115605761155f6111bb565b5b828203905092915050565b60008115159050919050565b6115808161156b565b811461158b57600080fd5b50565b60008151905061159d81611577565b92915050565b6000602082840312156115b9576115b8610e83565b5b60006115c78482850161158e565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061162c602a83611086565b9150611637826115d0565b604082019050919050565b6000602082019050818103600083015261165b8161161f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006116be602683611086565b91506116c982611662565b604082019050919050565b600060208201905081810360008301526116ed816116b1565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061172a601d83611086565b9150611735826116f4565b602082019050919050565b600060208201905081810360008301526117598161171d565b9050919050565b600081519050919050565b60005b8381101561178957808201518184015260208101905061176e565b83811115611798576000848401525b50505050565b60006117a982611760565b6117b381856113a5565b93506117c381856020860161176b565b80840191505092915050565b60006117db828461179e565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b600061180d826117e6565b6118178185611086565b935061182781856020860161176b565b611830816117f1565b840191505092915050565b600060208201905081810360008301526118558184611802565b90509291505056fea2646970667358221220fb355fc1654a2703376e38cd7b73c9bed7b7f9dd5101a0a5dbc492bac51f50e064736f6c634300080900330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000008536b7920436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007534b59434c55420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000006952566b3d3b1bb6e76fd0c3eee14d39eeae38460000000000000000000000008ab5496a45c92c36ec293d2681f1d3706eaff85d000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000003cf0000000000000000000000000000000000000000000000000000000000000019

Deployed Bytecode

0x6080604052600436106102515760003560e01c80636f8b44b011610139578063c87b56dd116100b6578063e0ce4e361161007a578063e0ce4e36146108ca578063e3c25039146108f3578063e985e9c51461091e578063ee8cdd4e1461095b578063f19e75d414610984578063f2fde38b146109a057610251565b8063c87b56dd146107f2578063cd6908e61461082f578063d4ddf08714610858578063d5abeb0114610874578063d7224ba01461089f57610251565b806395d89b41116100fd57806395d89b411461071f578063a035b1fe1461074a578063a22cb46514610775578063b88d4fde1461079e578063c6682862146107c757610251565b80636f8b44b01461064e57806370a0823114610677578063715018a6146106b45780637fbd2745146106cb5780638da5cb5b146106f457610251565b80633ccfd60b116101d2578063524a76fb11610196578063524a76fb1461051a57806355f804b314610543578063561cb2111461056c5780636352211e146105a9578063667bc823146105e65780636bd24a3c1461062357610251565b80633ccfd60b146104475780633f0d2ec11461045e57806342842e0e146104895780634f6ccce7146104b257806350b16532146104ef57610251565b806318160ddd1161021957806318160ddd1461034f578063191655871461037a57806323b872dd146103a35780632a55205a146103cc5780632f745c591461040a57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630ed5995514610324575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906134b0565b6109c9565b60405161028a91906134f8565b60405180910390f35b34801561029f57600080fd5b506102a8610a43565b6040516102b591906135ac565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613604565b610ad5565b6040516102f29190613672565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906136b9565b610b5a565b005b34801561033057600080fd5b50610339610c73565b6040516103469190613708565b60405180910390f35b34801561035b57600080fd5b50610364610c79565b6040516103719190613708565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613761565b610c83565b005b3480156103af57600080fd5b506103ca60048036038101906103c5919061378e565b610d71565b005b3480156103d857600080fd5b506103f360048036038101906103ee91906137e1565b610d81565b604051610401929190613821565b60405180910390f35b34801561041657600080fd5b50610431600480360381019061042c91906136b9565b610e0f565b60405161043e9190613708565b60405180910390f35b34801561045357600080fd5b5061045c61100d565b005b34801561046a57600080fd5b50610473611086565b6040516104809190613672565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab919061378e565b6110ac565b005b3480156104be57600080fd5b506104d960048036038101906104d49190613604565b6110cc565b6040516104e69190613708565b60405180910390f35b3480156104fb57600080fd5b5061050461111f565b6040516105119190613863565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c9190613604565b611125565b005b34801561054f57600080fd5b5061056a600480360381019061056591906138e3565b611137565b005b34801561057857600080fd5b50610593600480360381019061058e9190613930565b611155565b6040516105a09190613708565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb9190613604565b61116d565b6040516105dd9190613672565b60405180910390f35b3480156105f257600080fd5b5061060d60048036038101906106089190613930565b611183565b60405161061a9190613979565b60405180910390f35b34801561062f57600080fd5b506106386111a3565b6040516106459190613708565b60405180910390f35b34801561065a57600080fd5b5061067560048036038101906106709190613604565b6111a9565b005b34801561068357600080fd5b5061069e60048036038101906106999190613930565b6111bb565b6040516106ab9190613708565b60405180910390f35b3480156106c057600080fd5b506106c96112a4565b005b3480156106d757600080fd5b506106f260048036038101906106ed91906139c0565b6112b8565b005b34801561070057600080fd5b506107096112dd565b6040516107169190613672565b60405180910390f35b34801561072b57600080fd5b50610734611307565b60405161074191906135ac565b60405180910390f35b34801561075657600080fd5b5061075f611399565b60405161076c9190613708565b60405180910390f35b34801561078157600080fd5b5061079c600480360381019061079791906139ed565b61139f565b005b3480156107aa57600080fd5b506107c560048036038101906107c09190613b5d565b611520565b005b3480156107d357600080fd5b506107dc61157c565b6040516107e991906135ac565b60405180910390f35b3480156107fe57600080fd5b5061081960048036038101906108149190613604565b61160a565b60405161082691906135ac565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613604565b6116b4565b005b610872600480360381019061086d9190613c62565b6116c6565b005b34801561088057600080fd5b50610889611b96565b6040516108969190613708565b60405180910390f35b3480156108ab57600080fd5b506108b4611b9c565b6040516108c19190613708565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190613cee565b611ba2565b005b3480156108ff57600080fd5b50610908611bb4565b60405161091591906134f8565b60405180910390f35b34801561092a57600080fd5b5061094560048036038101906109409190613d1b565b611bc7565b60405161095291906134f8565b60405180910390f35b34801561096757600080fd5b50610982600480360381019061097d9190613604565b611c5b565b005b61099e60048036038101906109999190613604565b611c6d565b005b3480156109ac57600080fd5b506109c760048036038101906109c29190613930565b611dd5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3c5750610a3b82611e59565b5b9050919050565b606060028054610a5290613d8a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7e90613d8a565b8015610acb5780601f10610aa057610100808354040283529160200191610acb565b820191906000526020600020905b815481529060010190602001808311610aae57829003601f168201915b5050505050905090565b6000610ae082611fa3565b610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1690613e2e565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b658261116d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd90613ec0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf5611fb1565b73ffffffffffffffffffffffffffffffffffffffff161480610c245750610c2381610c1e611fb1565b611bc7565b5b610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a90613f52565b60405180910390fd5b610c6e838383611fb9565b505050565b600d5481565b6000600154905090565b60026009541415610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090613fbe565b60405180910390fd5b6002600981905550610cd961206b565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166319165587826040518263ffffffff1660e01b8152600401610d349190613fed565b600060405180830381600087803b158015610d4e57600080fd5b505af1158015610d62573d6000803e3d6000fd5b50505050600160098190555050565b610d7c8383836120e9565b505050565b600080610d8d84611fa3565b610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390614054565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610e04610dfd85600a6126a2565b60646126b8565b915091509250929050565b6000610e1a836111bb565b8210610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e52906140e6565b60405180910390fd5b6000610e65610c79565b905060008060005b83811015610fcb576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f5f57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fb75786841415610fa8578195505050505050611007565b8380610fb390614135565b9450505b508080610fc390614135565b915050610e6d565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe906141f0565b60405180910390fd5b92915050565b61101561206b565b6000479050601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611082573d6000803e3d6000fd5b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110c783838360405180602001604052806000815250611520565b505050565b60006110d6610c79565b8210611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90614282565b60405180910390fd5b819050919050565b60135481565b61112d61206b565b80600d8190555050565b61113f61206b565b818160149190611150929190613367565b505050565b60116020528060005260406000206000915090505481565b6000611178826126ce565b600001519050919050565b60106020528060005260406000206000915054906101000a900460ff1681565b600e5481565b6111b161206b565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390614314565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6112ac61206b565b6112b660006128d1565b565b6112c061206b565b80600f60006101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461131690613d8a565b80601f016020809104026020016040519081016040528092919081815260200182805461134290613d8a565b801561138f5780601f106113645761010080835404028352916020019161138f565b820191906000526020600020905b81548152906001019060200180831161137257829003601f168201915b5050505050905090565b600c5481565b6113a7611fb1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c90614380565b60405180910390fd5b8060076000611422611fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114cf611fb1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161151491906134f8565b60405180910390a35050565b61152b8484846120e9565b61153784848484612997565b611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90614412565b60405180910390fd5b50505050565b6000805461158990613d8a565b80601f01602080910402602001604051908101604052809291908181526020018280546115b590613d8a565b80156116025780601f106115d757610100808354040283529160200191611602565b820191906000526020600020905b8154815290600101906020018083116115e557829003601f168201915b505050505081565b606061161582611fa3565b611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b906144a4565b60405180910390fd5b600061165e612b2e565b9050600081511161167e57604051806020016040528060008152506116ac565b8061168884612bc0565b600060405160200161169c93929190614594565b6040516020818303038152906040525b915050919050565b6116bc61206b565b80600e8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b90614611565b60405180910390fd5b6002600954141561177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613fbe565b60405180910390fd5b6002600981905550600f60009054906101000a900460ff166117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c89061467d565b60405180910390fd5b600d5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661182c919061469d565b60ff161115611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186790614720565b60405180910390fd5b60008360ff16116118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad9061478c565b60405180910390fd5b600b548360ff166118c5610c79565b6118cf91906147ac565b1115611910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119079061484e565b60405180910390fd5b600e548360ff161115611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f906148ba565b60405180910390fd5b348360ff16600c5461196a91906148da565b10156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a290614980565b60405180910390fd5b6000336040516020016119be91906149e8565b604051602081830303815290604052805190602001209050611a24838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483612d21565b611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a90614a4f565b60405180910390fd5b611a70338560ff16612d38565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611ad8573d6000803e3d6000fd5b5083601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b31919061469d565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550506001600981905550505050565b600b5481565b60085481565b611baa61206b565b8060138190555050565b600f60009054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c6361206b565b80600c8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614611565b60405180910390fd5b611ce361206b565b600b5481611cef610c79565b611cf991906147ac565b1115611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d319061484e565b60405180910390fd5b611d443382612d38565b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d8f91906147ac565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611ddd61206b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490614ae1565b60405180910390fd5b611e56816128d1565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f2457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f8c57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f9c5750611f9b82612d56565b5b9050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612073611fb1565b73ffffffffffffffffffffffffffffffffffffffff166120916112dd565b73ffffffffffffffffffffffffffffffffffffffff16146120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90614b4d565b60405180910390fd5b565b60006120f4826126ce565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661211b611fb1565b73ffffffffffffffffffffffffffffffffffffffff1614806121775750612140611fb1565b73ffffffffffffffffffffffffffffffffffffffff1661215f84610ad5565b73ffffffffffffffffffffffffffffffffffffffff16145b806121935750612192826000015161218d611fb1565b611bc7565b5b9050806121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90614bdf565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90614c71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae90614d03565b60405180910390fd5b6122c48585856001612dc0565b6122d46000848460000151611fb9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166123429190614d3f565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166123e69190614d73565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846124ec91906147ac565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156126325761256281611fa3565b15612631576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461269a8686866001612dc6565b505050505050565b600081836126b091906148da565b905092915050565b600081836126c69190614de8565b905092915050565b6126d66133ed565b6126df82611fa3565b61271e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271590614e8b565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000003e883106127825760017f00000000000000000000000000000000000000000000000000000000000003e8846127759190614eab565b61277f91906147ac565b90505b60008390505b818110612890576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461287c578093505050506128cc565b50808061288890614edf565b915050612788565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c390614f7b565b60405180910390fd5b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006129b88473ffffffffffffffffffffffffffffffffffffffff16612dcc565b15612b21578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129e1611fb1565b8786866040518563ffffffff1660e01b8152600401612a039493929190614ff0565b602060405180830381600087803b158015612a1d57600080fd5b505af1925050508015612a4e57506040513d601f19601f82011682018060405250810190612a4b9190615051565b60015b612ad1573d8060008114612a7e576040519150601f19603f3d011682016040523d82523d6000602084013e612a83565b606091505b50600081511415612ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac090614412565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b26565b600190505b949350505050565b606060148054612b3d90613d8a565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6990613d8a565b8015612bb65780601f10612b8b57610100808354040283529160200191612bb6565b820191906000526020600020905b815481529060010190602001808311612b9957829003601f168201915b5050505050905090565b60606000821415612c08576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d1c565b600082905060005b60008214612c3a578080612c2390614135565b915050600a82612c339190614de8565b9150612c10565b60008167ffffffffffffffff811115612c5657612c55613a32565b5b6040519080825280601f01601f191660200182016040528015612c885781602001600182028036833780820191505090505b5090505b60008514612d1557600182612ca19190614eab565b9150600a85612cb0919061507e565b6030612cbc91906147ac565b60f81b818381518110612cd257612cd16150af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d0e9190614de8565b9450612c8c565b8093505050505b919050565b600082612d2e8584612def565b1490509392505050565b612d52828260405180602001604052806000815250612e45565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b8451811015612e3a57612e2582868381518110612e1857612e176150af565b5b6020026020010151613325565b91508080612e3290614135565b915050612df8565b508091505092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb390615150565b60405180910390fd5b612ec581611fa3565b15612f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efc906151bc565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003e8831115612f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5f9061524e565b60405180910390fd5b612f756000858386612dc0565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516130729190614d73565b6fffffffffffffffffffffffffffffffff1681526020018583602001516130999190614d73565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561330857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132a86000888488612997565b6132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132de90614412565b60405180910390fd5b81806132f290614135565b925050808061330090614135565b915050613237565b508060018190555061331d6000878588612dc6565b505050505050565b600081831061333d576133388284613350565b613348565b6133478383613350565b5b905092915050565b600082600052816020526040600020905092915050565b82805461337390613d8a565b90600052602060002090601f01602090048101928261339557600085556133dc565b82601f106133ae57803560ff19168380011785556133dc565b828001600101855582156133dc579182015b828111156133db5782358255916020019190600101906133c0565b5b5090506133e99190613427565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613440576000816000905550600101613428565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61348d81613458565b811461349857600080fd5b50565b6000813590506134aa81613484565b92915050565b6000602082840312156134c6576134c561344e565b5b60006134d48482850161349b565b91505092915050565b60008115159050919050565b6134f2816134dd565b82525050565b600060208201905061350d60008301846134e9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561354d578082015181840152602081019050613532565b8381111561355c576000848401525b50505050565b6000601f19601f8301169050919050565b600061357e82613513565b613588818561351e565b935061359881856020860161352f565b6135a181613562565b840191505092915050565b600060208201905081810360008301526135c68184613573565b905092915050565b6000819050919050565b6135e1816135ce565b81146135ec57600080fd5b50565b6000813590506135fe816135d8565b92915050565b60006020828403121561361a5761361961344e565b5b6000613628848285016135ef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061365c82613631565b9050919050565b61366c81613651565b82525050565b60006020820190506136876000830184613663565b92915050565b61369681613651565b81146136a157600080fd5b50565b6000813590506136b38161368d565b92915050565b600080604083850312156136d0576136cf61344e565b5b60006136de858286016136a4565b92505060206136ef858286016135ef565b9150509250929050565b613702816135ce565b82525050565b600060208201905061371d60008301846136f9565b92915050565b600061372e82613631565b9050919050565b61373e81613723565b811461374957600080fd5b50565b60008135905061375b81613735565b92915050565b6000602082840312156137775761377661344e565b5b60006137858482850161374c565b91505092915050565b6000806000606084860312156137a7576137a661344e565b5b60006137b5868287016136a4565b93505060206137c6868287016136a4565b92505060406137d7868287016135ef565b9150509250925092565b600080604083850312156137f8576137f761344e565b5b6000613806858286016135ef565b9250506020613817858286016135ef565b9150509250929050565b60006040820190506138366000830185613663565b61384360208301846136f9565b9392505050565b6000819050919050565b61385d8161384a565b82525050565b60006020820190506138786000830184613854565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138a3576138a261387e565b5b8235905067ffffffffffffffff8111156138c0576138bf613883565b5b6020830191508360018202830111156138dc576138db613888565b5b9250929050565b600080602083850312156138fa576138f961344e565b5b600083013567ffffffffffffffff81111561391857613917613453565b5b6139248582860161388d565b92509250509250929050565b6000602082840312156139465761394561344e565b5b6000613954848285016136a4565b91505092915050565b600060ff82169050919050565b6139738161395d565b82525050565b600060208201905061398e600083018461396a565b92915050565b61399d816134dd565b81146139a857600080fd5b50565b6000813590506139ba81613994565b92915050565b6000602082840312156139d6576139d561344e565b5b60006139e4848285016139ab565b91505092915050565b60008060408385031215613a0457613a0361344e565b5b6000613a12858286016136a4565b9250506020613a23858286016139ab565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a6a82613562565b810181811067ffffffffffffffff82111715613a8957613a88613a32565b5b80604052505050565b6000613a9c613444565b9050613aa88282613a61565b919050565b600067ffffffffffffffff821115613ac857613ac7613a32565b5b613ad182613562565b9050602081019050919050565b82818337600083830152505050565b6000613b00613afb84613aad565b613a92565b905082815260208101848484011115613b1c57613b1b613a2d565b5b613b27848285613ade565b509392505050565b600082601f830112613b4457613b4361387e565b5b8135613b54848260208601613aed565b91505092915050565b60008060008060808587031215613b7757613b7661344e565b5b6000613b85878288016136a4565b9450506020613b96878288016136a4565b9350506040613ba7878288016135ef565b925050606085013567ffffffffffffffff811115613bc857613bc7613453565b5b613bd487828801613b2f565b91505092959194509250565b613be98161395d565b8114613bf457600080fd5b50565b600081359050613c0681613be0565b92915050565b60008083601f840112613c2257613c2161387e565b5b8235905067ffffffffffffffff811115613c3f57613c3e613883565b5b602083019150836020820283011115613c5b57613c5a613888565b5b9250929050565b600080600060408486031215613c7b57613c7a61344e565b5b6000613c8986828701613bf7565b935050602084013567ffffffffffffffff811115613caa57613ca9613453565b5b613cb686828701613c0c565b92509250509250925092565b613ccb8161384a565b8114613cd657600080fd5b50565b600081359050613ce881613cc2565b92915050565b600060208284031215613d0457613d0361344e565b5b6000613d1284828501613cd9565b91505092915050565b60008060408385031215613d3257613d3161344e565b5b6000613d40858286016136a4565b9250506020613d51858286016136a4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613da257607f821691505b60208210811415613db657613db5613d5b565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613e18602d8361351e565b9150613e2382613dbc565b604082019050919050565b60006020820190508181036000830152613e4781613e0b565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613eaa60228361351e565b9150613eb582613e4e565b604082019050919050565b60006020820190508181036000830152613ed981613e9d565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613f3c60398361351e565b9150613f4782613ee0565b604082019050919050565b60006020820190508181036000830152613f6b81613f2f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613fa8601f8361351e565b9150613fb382613f72565b602082019050919050565b60006020820190508181036000830152613fd781613f9b565b9050919050565b613fe781613723565b82525050565b60006020820190506140026000830184613fde565b92915050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b600061403e60118361351e565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006140d060228361351e565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614140826135ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561417357614172614106565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006141da602e8361351e565b91506141e58261417e565b604082019050919050565b60006020820190508181036000830152614209816141cd565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b600061426c60238361351e565b915061427782614210565b604082019050919050565b6000602082019050818103600083015261429b8161425f565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006142fe602b8361351e565b9150614309826142a2565b604082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b600061436a601a8361351e565b915061437582614334565b602082019050919050565b600060208201905081810360008301526143998161435d565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006143fc60338361351e565b9150614407826143a0565b604082019050919050565b6000602082019050818103600083015261442b816143ef565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061448e602f8361351e565b915061449982614432565b604082019050919050565b600060208201905081810360008301526144bd81614481565b9050919050565b600081905092915050565b60006144da82613513565b6144e481856144c4565b93506144f481856020860161352f565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461452281613d8a565b61452c81866144c4565b9450600182166000811461454757600181146145585761458b565b60ff1983168652818601935061458b565b61456185614500565b60005b8381101561458357815481890152600182019150602081019050614564565b838801955050505b50505092915050565b60006145a082866144cf565b91506145ac82856144cf565b91506145b88284614515565b9150819050949350505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006145fb601e8361351e565b9150614606826145c5565b602082019050919050565b6000602082019050818103600083015261462a816145ee565b9050919050565b7f57686974656c697374206d696e74206973206e6f742079657420616374697665600082015250565b600061466760208361351e565b915061467282614631565b602082019050919050565b600060208201905081810360008301526146968161465a565b9050919050565b60006146a88261395d565b91506146b38361395d565b92508260ff038211156146c9576146c8614106565b5b828201905092915050565b7f45786365656473204d6178205065722057616c6c657420416464726573730000600082015250565b600061470a601e8361351e565b9150614715826146d4565b602082019050919050565b60006020820190508181036000830152614739816146fd565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000614776601c8361351e565b915061478182614740565b602082019050919050565b600060208201905081810360008301526147a581614769565b9050919050565b60006147b7826135ce565b91506147c2836135ce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147f7576147f6614106565b5b828201905092915050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061483860088361351e565b915061484382614802565b602082019050919050565b600060208201905081810360008301526148678161482b565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e0000000000600082015250565b60006148a4601b8361351e565b91506148af8261486e565b602082019050919050565b600060208201905081810360008301526148d381614897565b9050919050565b60006148e5826135ce565b91506148f0836135ce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561492957614928614106565b5b828202905092915050565b7f496e636f72726563742066756e64730000000000000000000000000000000000600082015250565b600061496a600f8361351e565b915061497582614934565b602082019050919050565b600060208201905081810360008301526149998161495d565b9050919050565b60008160601b9050919050565b60006149b8826149a0565b9050919050565b60006149ca826149ad565b9050919050565b6149e26149dd82613651565b6149bf565b82525050565b60006149f482846149d1565b60148201915081905092915050565b7f496e76616c6964204d65726b6c6550726f6f6600000000000000000000000000600082015250565b6000614a3960138361351e565b9150614a4482614a03565b602082019050919050565b60006020820190508181036000830152614a6881614a2c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614acb60268361351e565b9150614ad682614a6f565b604082019050919050565b60006020820190508181036000830152614afa81614abe565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b3760208361351e565b9150614b4282614b01565b602082019050919050565b60006020820190508181036000830152614b6681614b2a565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614bc960328361351e565b9150614bd482614b6d565b604082019050919050565b60006020820190508181036000830152614bf881614bbc565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614c5b60268361351e565b9150614c6682614bff565b604082019050919050565b60006020820190508181036000830152614c8a81614c4e565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614ced60258361351e565b9150614cf882614c91565b604082019050919050565b60006020820190508181036000830152614d1c81614ce0565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000614d4a82614d23565b9150614d5583614d23565b925082821015614d6857614d67614106565b5b828203905092915050565b6000614d7e82614d23565b9150614d8983614d23565b9250826fffffffffffffffffffffffffffffffff03821115614dae57614dad614106565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614df3826135ce565b9150614dfe836135ce565b925082614e0e57614e0d614db9565b5b828204905092915050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000614e75602a8361351e565b9150614e8082614e19565b604082019050919050565b60006020820190508181036000830152614ea481614e68565b9050919050565b6000614eb6826135ce565b9150614ec1836135ce565b925082821015614ed457614ed3614106565b5b828203905092915050565b6000614eea826135ce565b91506000821415614efe57614efd614106565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000614f65602f8361351e565b9150614f7082614f09565b604082019050919050565b60006020820190508181036000830152614f9481614f58565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614fc282614f9b565b614fcc8185614fa6565b9350614fdc81856020860161352f565b614fe581613562565b840191505092915050565b60006080820190506150056000830187613663565b6150126020830186613663565b61501f60408301856136f9565b81810360608301526150318184614fb7565b905095945050505050565b60008151905061504b81613484565b92915050565b6000602082840312156150675761506661344e565b5b60006150758482850161503c565b91505092915050565b6000615089826135ce565b9150615094836135ce565b9250826150a4576150a3614db9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061513a60218361351e565b9150615145826150de565b604082019050919050565b600060208201905081810360008301526151698161512d565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b60006151a6601d8361351e565b91506151b182615170565b602082019050919050565b600060208201905081810360008301526151d581615199565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b600061523860228361351e565b9150615243826151dc565b604082019050919050565b600060208201905081810360008301526152678161522b565b905091905056fea26469706673582212200dfe1846dad3a12a26eae4762b7d50bc1659fb60ad9cc9eead56c003f6db1c0f64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000008536b7920436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007534b59434c55420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000006952566b3d3b1bb6e76fd0c3eee14d39eeae38460000000000000000000000008ab5496a45c92c36ec293d2681f1d3706eaff85d000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000003cf0000000000000000000000000000000000000000000000000000000000000019

-----Decoded View---------------
Arg [0] : _name (string): Sky Club
Arg [1] : _symbol (string): SKYCLUB
Arg [2] : payees (address[]): 0x6952566b3d3b1bb6e76FD0c3EeE14D39eeaE3846,0x8AB5496a45c92c36eC293d2681F1d3706eaff85D
Arg [3] : shares (uint256[]): 975,25
Arg [4] : _maxSizeBatch (uint256): 1000
Arg [5] : _maxCollection (uint256): 10000
Arg [6] : _maxSupply (uint256): 10000
Arg [7] : _price (uint256): 50000000000000000
Arg [8] : _maxQtyPerMember (uint256): 1
Arg [9] : _maxQtyPerTransaction (uint256): 1

-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [6] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [7] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [11] : 536b7920436c7562000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [13] : 534b59434c554200000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 0000000000000000000000006952566b3d3b1bb6e76fd0c3eee14d39eeae3846
Arg [16] : 0000000000000000000000008ab5496a45c92c36ec293d2681f1d3706eaff85d
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [18] : 00000000000000000000000000000000000000000000000000000000000003cf
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000019


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.