Address Details
contract

0x179E65eAa356FfA7B9d1ca9797c2aDD35282e7C3

Contract Name
CyberBoxMarket
Creator
0xd0841b–1b7705 at 0x550417–85bd01
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
8725691
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CyberBoxMarket




Optimization enabled
false
Compiler version
v0.8.3+commit.8d00100c




EVM Version
istanbul




Verified at
2023-01-20T16:50:52.538377Z

contracts/marketPlace/CyberBoxMarket.sol

// SPDX-License-Identifier: AGPL-3.0-or-later

pragma solidity 0.8.3;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./Interface.sol";
import "hardhat/console.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import {ERC1155Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
/**
 * @title NFTKEY MarketPlace contract V1
 * Note: This marketplace contract is collection based. It serves one ERC721 contract only
 * Payment tokens usually is the chain native coin's wrapped token, e.g. WETH, WBNB
 */
contract CyberBoxMarket is Interface, OwnableUpgradeable, ReentrancyGuard, ERC1155Upgradeable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableSet for EnumerableSet.AddressSet;

    address public dev; // developer address

    struct TokenBid {
        EnumerableSet.AddressSet bidders;
        mapping(address => Bid) bids;
    }

    struct NFTFees{
        uint256 feeTokenSeller;
        uint256 feeTokenCreater;
        uint256 feeTokenProducer;
        uint256 feeNFTDev;
        uint256 feeFraction;
        uint256 feeBase;
    }

    string private _erc721Name;
    IERC721 private _erc721;
    address private _selectedNftAddress;
    address private _selectedERC20Address;
    IERC20 private _paymentToken;

    bool private _isListingAndBidEnabled = true;

    mapping(address => NFTFees) private _nftFeeManager;
    uint256 private _baseFeeTokenSeller = 975;
    uint256 private _baseFeeTokenProducer = 0;
    uint256 private _baseFeeTokenCreater = 0;
    uint256 private _baseFeeTokenDev = 25;
    uint256 private _baseFeeFraction = 25;
    uint256 private _baseFeeTokenBase = 1000;

    mapping(address => address) private _erc20Manager;

    address public maketPlaceFeeAddress;
    mapping(address => address) private _nftCreaters; // token creater memory
    mapping(address => address) private _nftProducers; // token creater memory

    uint256 private _actionTimeOutRangeMin = 86400; // 24 hours
    uint256 private _actionTimeOutRangeMax = 31536000; // One year - This can extend by owner is contract is working smoothly

    mapping(uint256 => Listing) private _tokenListings;
    EnumerableSet.UintSet private _tokenIdWithListing;

    mapping(uint256 => TokenBid) private _tokenBids;
    EnumerableSet.UintSet private _tokenIdWithBid;

    
    // uint8 public partnerSharePercentage = 0;
    // bool public hasSharePercentageProposal;
    // uint8 public partnerSharePercentageProposal;

    EnumerableSet.AddressSet private _emptyBidders; // Help initiate TokenBid struct
    uint256[] private _tempTokenIdStorage; // Storage to assist cleaning
    address[] private _tempBidderStorage; // Storage to assist cleaning bids

    modifier onlyDev() {
        require(msg.sender == dev, "auction: wrong developer");
        _;
    }

    constructor() public {

    }

    function initialize(
        string memory erc721Name_,
        address _erc721Address,
        address _paymentTokenAddress,
        address _owner
    ) public initializer {
        __ERC1155_init("");
        _erc721Name = erc721Name_;
        _erc721 = IERC721(_erc721Address);
        _selectedNftAddress = _erc721Address;
        _paymentToken = IERC20(_paymentTokenAddress);
        _erc20Manager[_erc721Address] = _paymentTokenAddress;
        _selectedERC20Address = _paymentTokenAddress;
        
        _isListingAndBidEnabled = true;
        
        _baseFeeTokenSeller = 975;
        _baseFeeTokenProducer = 0;
        _baseFeeTokenCreater = 0;
        _baseFeeTokenDev = 25;
        _baseFeeFraction = 25;
        _baseFeeTokenBase = 1000;

        _actionTimeOutRangeMin = 86400;
        _actionTimeOutRangeMax = 31536000;

        _nftFeeManager[_erc721Address] = NFTFees(
            _baseFeeTokenSeller, 
            _baseFeeTokenProducer,
            _baseFeeTokenCreater,
            _baseFeeTokenDev, 
            _baseFeeFraction, 
            _baseFeeTokenBase
        );
        console.log("_erc721Address", _erc721Address);
        dev = msg.sender;
        maketPlaceFeeAddress = _owner;
    }


    /**
     * @dev only if listing and bid is enabled
     * This is to help contract migration in case of upgrade or bug
     */
    modifier onlyMarketplaceOpen() {
        require(_isListingAndBidEnabled, "Listing and bid are not enabled");
        _;
    }

    /**
     * @dev only if the entered timestamp is within the allowed range
     * This helps to not list or bid for too short or too long period of time
     */
    modifier onlyAllowedExpireTimestamp(uint256 expireTimestamp) {
        require(
            expireTimestamp.sub(block.timestamp) >= _actionTimeOutRangeMin,
            "Please enter a longer period of time"
        );
        require(
            expireTimestamp.sub(block.timestamp) <= _actionTimeOutRangeMax,
            "Please enter a shorter period of time"
        );
        _;
    }

    /**
     * @dev check if the account is the owner of this erc721 token
     */
    function _isTokenOwner(uint256 tokenId, address account) private view returns (bool) {
        try _erc721.ownerOf(tokenId) returns (address tokenOwner) {
            return tokenOwner == account;
        } catch {
            return false;
        }
    }

    /**
     * @dev check if this contract has approved to transfer this erc721 token
     */
    function _isTokenApproved(uint256 tokenId) private view returns (bool) {
        try _erc721.getApproved(tokenId) returns (address tokenOperator) {
            return tokenOperator == address(this);
        } catch {
            return false;
        }
    }

    /**
     * @dev check if this contract has approved to all of this owner's erc721 tokens
     */
    function _isAllTokenApproved(address owner) private view returns (bool) {
        return _erc721.isApprovedForAll(owner, address(this));
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-tokenAddress}.
     */
    function tokenAddress() external view override returns (address) {
        return address(_erc721);
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-paymentTokenAddress}.
     */
    function paymentTokenAddress() external view override returns (address) {
        return address(_paymentToken);
    }

    /**
     * @dev Check if a listing is valid or not
     * The seller must be the owner
     * The seller must have give this contract allowance
     * The sell price must be more than 0
     * The listing mustn't be expired
     */
    function _isListingValid(Listing memory listing) private view returns (bool) {
        if (
            _isTokenOwner(listing.tokenId, listing.seller) &&
            (_isTokenApproved(listing.tokenId) || _isAllTokenApproved(listing.seller)) &&
            listing.listingPrice > 0 &&
            listing.expireTimestamp > block.timestamp
        ) {
            return true;
        }
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getTokenListing}.
     */
    function getTokenListing(uint256 tokenId) public view override returns (Listing memory) {
        Listing memory listing = _tokenListings[tokenId];
        if (_isListingValid(listing)) {
            return listing;
        }
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getTokenListings}.
     */
    function getTokenListings(uint256 from, uint256 size)
        public
        view

        override
        returns (Listing[] memory)
    {
        if (from < _tokenIdWithListing.length() && size > 0) {
            uint256 querySize = size;
            if ((from + size) > _tokenIdWithListing.length()) {
                querySize = _tokenIdWithListing.length() - from;
            }
            Listing[] memory listings = new Listing[](querySize);
            for (uint256 i = 0; i < querySize; i++) {
                Listing memory listing = _tokenListings[_tokenIdWithListing.at(i + from)];
                if (_isListingValid(listing)) {
                    listings[i] = listing;
                }
            }
            return listings;
        }
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getAllTokenListings}.
     */
    function getAllTokenListings() external view override returns (Listing[] memory) {
        return getTokenListings(0, _tokenIdWithListing.length());
    }

    /**
     * @dev Check if an bid is valid or not
     * Bidder must not be the owner
     * Bidder must give the contract allowance same or more than bid price
     * Bid price must > 0
     * Bid mustn't been expired
     */
    function _isBidValid(Bid memory bid) private view returns (bool) {
        if (
            !_isTokenOwner(bid.tokenId, bid.bidder) &&
            _paymentToken.allowance(bid.bidder, address(this)) >= bid.bidPrice &&
            bid.bidPrice > 0 &&
            bid.expireTimestamp > block.timestamp
        ) {
            return true;
        }
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getBidderTokenBid}.
     */
    function getBidderTokenBid(uint256 tokenId, address bidder)
        public
        view
        override
        returns (Bid memory)
    {
        Bid memory bid = _tokenBids[tokenId].bids[bidder];
        if (_isBidValid(bid)) {
            return bid;
        }
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getTokenBids}.
     */
    function getTokenBids(uint256 tokenId) external view override returns (Bid[] memory) {
        Bid[] memory bids = new Bid[](_tokenBids[tokenId].bidders.length());
        for (uint256 i; i < _tokenBids[tokenId].bidders.length(); i++) {
            address bidder = _tokenBids[tokenId].bidders.at(i);
            Bid memory bid = _tokenBids[tokenId].bids[bidder];
            if (_isBidValid(bid)) {
                bids[i] = bid;
            }
        }
        return bids;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getTokenHighestBid}.
     */
    function getTokenHighestBid(uint256 tokenId) public view override returns (Bid memory) {
        Bid memory highestBid = Bid(tokenId, 0, address(0), 0);
        for (uint256 i; i < _tokenBids[tokenId].bidders.length(); i++) {
            address bidder = _tokenBids[tokenId].bidders.at(i);
            Bid memory bid = _tokenBids[tokenId].bids[bidder];
            if (_isBidValid(bid) && bid.bidPrice > highestBid.bidPrice) {
                highestBid = bid;
            }
        }
        return highestBid;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getTokenHighestBids}.
     */
    function getTokenHighestBids(uint256 from, uint256 size)
        public
        view
        override
        returns (Bid[] memory)
    {
        if (from < _tokenIdWithBid.length() && size > 0) {
            uint256 querySize = size;
            if ((from + size) > _tokenIdWithBid.length()) {
                querySize = _tokenIdWithBid.length() - from;
            }
            Bid[] memory highestBids = new Bid[](querySize);
            for (uint256 i = 0; i < querySize; i++) {
                highestBids[i] = getTokenHighestBid(_tokenIdWithBid.at(i + from));
            }
            return highestBids;
        }
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getAllTokenHighestBids}.
     */
    function getAllTokenHighestBids() external view override returns (Bid[] memory) {
        return getTokenHighestBids(0, _tokenIdWithBid.length());
    }

    /**
     * @dev delist a token - remove token id record and remove listing from mapping
     * @param tokenId erc721 token Id
     */
    function _delistToken(uint256 tokenId) private {
        if (_tokenIdWithListing.contains(tokenId)) {
            delete _tokenListings[tokenId];
            _tokenIdWithListing.remove(tokenId);
        }
    }

    /**
     * @dev remove a bid of a bidder
     * @param tokenId erc721 token Id
     * @param bidder bidder address
     */
    function _removeBidOfBidder(uint256 tokenId, address bidder) private {
        if (_tokenBids[tokenId].bidders.contains(bidder)) {
            // Step 1: delete the bid and the address
            delete _tokenBids[tokenId].bids[bidder];
            _tokenBids[tokenId].bidders.remove(bidder);

            // Step 2: if no bid left
            if (_tokenBids[tokenId].bidders.length() == 0) {
                _tokenIdWithBid.remove(tokenId);
            }
        }
    }

    /**
     * @dev List token for sale
     * @param tokenId erc721 token Id
     * @param value min price to sell the token
     * @param expireTimestamp when would this listing expire
     */
    function listToken(
        address sender,
        uint256 tokenId,
        uint256 value,
        uint256 expireTimestamp
    ) external onlyMarketplaceOpen onlyAllowedExpireTimestamp(expireTimestamp)
     returns (
        address, 
        uint256
    ) {
        require(value > 0, "Please list for more than 0 or use the transfer function");
        require(_isTokenOwner(tokenId, sender), "Only token owner can list token");
        require(
            _isTokenApproved(tokenId) || _isAllTokenApproved(sender),
            "This token is not allowed to transfer by this contract"
        );

        _tokenListings[tokenId] = Listing(tokenId, value, sender, expireTimestamp);
        _tokenIdWithListing.add(tokenId);

        emit TokenListed(tokenId, sender, value, _erc721Name);
        return ( sender, value);
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-delistToken}.
     * msg.sender must be the seller of the listing record
     */
    function delistToken(uint256 tokenId) external override {
        require(_tokenListings[tokenId].seller == msg.sender, "Only token seller can delist token");
        emit TokenDelisted(tokenId, _tokenListings[tokenId].seller, _erc721Name);
        _delistToken(tokenId);
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-buyToken}.
     * Must have a valid listing
     * msg.sender must not the owner of token
     * msg.value must be at least sell price plus fees
     */
    function buyTokenPrepare(address sender, uint256 tokenId, uint256 value) external returns (
        address,
        address, 
        address,
        address
    ) {
        Listing memory listing = getTokenListing(tokenId); // Get valid listing
        require(listing.seller != address(0), "Token is not for sale"); // Listing not valid
        require(!_isTokenOwner(tokenId, sender), "Token owner can't buy their own token");
        require(
            value >= listing.listingPrice,
            "The value send is below sale price plus fees"
        );
        return (
            listing.seller,
            maketPlaceFeeAddress,
            _nftCreaters[_selectedNftAddress],
            _nftProducers[_selectedNftAddress]
        );
    }

    function calculateSellerFee(uint256 value) public returns(uint256){
        NFTFees memory fee = _nftFeeManager[_selectedNftAddress];
        return value.sub(value.mul(fee.feeFraction).div(fee.feeBase));
    }
    function calculateDevFee(uint256 value) public returns(uint256){
        NFTFees memory fee = _nftFeeManager[_selectedNftAddress];
        return value.mul(fee.feeNFTDev).div(fee.feeBase);
    }
    function calculateCreaterFee(uint256 value) public returns(uint256){
        NFTFees memory fee = _nftFeeManager[_selectedNftAddress];
        return value.mul(fee.feeTokenCreater).div(fee.feeBase);
    }
    function calculateProducerFee(uint256 value) public returns(uint256){
        NFTFees memory fee = _nftFeeManager[_selectedNftAddress];
        return value.mul(fee.feeTokenProducer).div(fee.feeBase);
    }

    function buyTokenComplete(address sender, uint256 tokenId) external {
        Listing memory listing = getTokenListing(tokenId); // Get valid listing
         _erc721.safeTransferFrom(listing.seller, sender, tokenId);
         // Remove token listing
        _delistToken(tokenId);
        _removeBidOfBidder(tokenId, sender);
    }

    /**
     * @dev change price for already listed token.
     * Must have a valid listing
     * msg.sender must not the owner of token
     */
    function changePrice(address sender,uint256 tokenId, uint256 newPrice) external nonReentrant {
        Listing memory listing = getTokenListing(tokenId); // Get valid listing
        require(_isTokenOwner(tokenId, sender), "Only token owner can change price of token");
        require(listing.seller != address(0), "Token is not for sale"); // Listing not valid
        require(
            newPrice >= 0,
            "The value send is below zero"
        );
        _tokenListings[tokenId].listingPrice = newPrice;
    }

    /**
     * @dev Transfer token to Other
     * Must be owner of this token
     * Must have approved this contract to transfer token
     * Must have a valid existing bid that matches the bidder address
    */
    function transferPrepare(
        address sender,
        address to,
        uint256 tokenId,
        uint256 value
    ) public {
        require(_isTokenOwner(tokenId, sender), "Only token owner can accept bid of token");
        require(
            _isTokenApproved(tokenId) || _isAllTokenApproved(sender),
            "The token is not approved to transfer by the contract"
        );
        require(
            value >= 0,
            "The value send is below sale price plus fees"
        );
        
    }
    function transferComplete(address sender, address to, uint256 tokenId) public {
        _erc721.safeTransferFrom(sender, to, tokenId);
    } 
    /**
     * @dev See {INFTKEYMarketPlaceV1-enterBidForToken}.
     * People can only enter bid if bid is allowed
     * The timestamp set needs to be in the allowed range
     * bid price > 0
     * must not be token owner
     * must allow this contract to spend enough payment token
     */
    function enterBidForToken(
        uint256 tokenId,
        uint256 bidPrice,
        uint256 expireTimestamp
    ) external override onlyMarketplaceOpen onlyAllowedExpireTimestamp(expireTimestamp) {
        require(bidPrice > 0, "Please bid for more than 0");
        require(!_isTokenOwner(tokenId, msg.sender), "This Token belongs to this address");
        require(
            _paymentToken.allowance(msg.sender, address(this)) >= bidPrice,
            "Need to have enough token holding to bid on this token"
        );

        Bid memory bid = Bid(tokenId, bidPrice, msg.sender, expireTimestamp);

        // if no bids of this token add a entry to both records _tokenIdWithBid and _tokenBids
        if (!_tokenIdWithBid.contains(tokenId)) {
            _tokenIdWithBid.add(tokenId);
            // _tokenBids[tokenId] = TokenBid(_emptyBidders);
        }

        _tokenBids[tokenId].bidders.add(msg.sender);
        _tokenBids[tokenId].bids[msg.sender] = bid;

        emit TokenBidEntered(tokenId, msg.sender, bidPrice, _erc721Name);
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-withdrawBidForToken}.
     * There must be a bid exists
     * remove this bid record
     */
    function withdrawBidForToken(uint256 tokenId) external override {
        Bid memory bid = _tokenBids[tokenId].bids[msg.sender];
        require(bid.bidder == msg.sender, "This address doesn't have bid on this token");

        emit TokenBidWithdrawn(tokenId, bid.bidder, bid.bidPrice, _erc721Name);
        _removeBidOfBidder(tokenId, msg.sender);
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-acceptBidForToken}.
     * Must be owner of this token
     * Must have approved this contract to transfer token
     * Must have a valid existing bid that matches the bidder address
     */
    function acceptBidForToken(uint256 tokenId, address bidder) external returns(
        address, address, uint256, uint256, uint256
    ) {
        require(_isTokenOwner(tokenId, msg.sender), "Only token owner can accept bid of token");
        require(
            _isTokenApproved(tokenId) || _isAllTokenApproved(msg.sender),
            "The token is not approved to transfer by the contract"
        );

        Bid memory existingBid = getBidderTokenBid(tokenId, bidder);
        require(
            existingBid.bidPrice > 0 && existingBid.bidder == bidder,
            "This token doesn't have a matching bid"
        );

        NFTFees memory fee = _nftFeeManager[_selectedNftAddress];
        
        SafeERC20.safeTransferFrom(_paymentToken, existingBid.bidder, msg.sender, existingBid.bidPrice.sub(existingBid.bidPrice.mul(fee.feeFraction).div(fee.feeBase)));
        SafeERC20.safeTransferFrom(
            _paymentToken,
            existingBid.bidder,
            maketPlaceFeeAddress,
            existingBid.bidPrice.mul(fee.feeNFTDev).div(fee.feeBase)
        );
        if (_nftCreaters[_selectedNftAddress] != address(0) && existingBid.bidPrice.mul(fee.feeTokenCreater).div(fee.feeBase) > 0) {
            SafeERC20.safeTransferFrom(
                _paymentToken,
                existingBid.bidder,
                _nftCreaters[_selectedNftAddress],
                existingBid.bidPrice.mul(fee.feeTokenCreater).div(fee.feeBase)
            );
        }

        _erc721.safeTransferFrom(msg.sender, existingBid.bidder, tokenId);

        emit TokenBidAccepted(
            tokenId,
            msg.sender,
            existingBid.bidder,
            existingBid.bidPrice,
            existingBid.bidPrice.sub(existingBid.bidPrice.mul(fee.feeFraction).div(fee.feeBase)),
            existingBid.bidPrice.mul(fee.feeFraction).div(fee.feeBase),
            _erc721Name
        );

        // Remove token listing
        _delistToken(tokenId);
        _removeBidOfBidder(tokenId, existingBid.bidder);

        return (msg.sender, 
        existingBid.bidder, 
        existingBid.bidPrice, 
        existingBid.bidPrice.sub(existingBid.bidPrice.mul(fee.feeFraction).div(fee.feeBase)), 
        existingBid.bidPrice.mul(fee.feeFraction).div(fee.feeBase)
        );
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getInvalidListingCount}.
     */
    function getInvalidListingCount() external view override returns (uint256) {
        uint256 count = 0;
        for (uint256 i = 0; i < _tokenIdWithListing.length(); i++) {
            if (!_isListingValid(_tokenListings[_tokenIdWithListing.at(i)])) {
                count = count.add(1);
            }
        }
        return count;
    }

    /**
     * @dev Count how many bid records of a token are invalid now
     */
    function _getInvalidBidOfTokenCount(uint256 tokenId) private view returns (uint256) {
        uint256 count = 0;
        for (uint256 i = 0; i < _tokenBids[tokenId].bidders.length(); i++) {
            address bidder = _tokenBids[tokenId].bidders.at(i);
            Bid memory bid = _tokenBids[tokenId].bids[bidder];
            if (!_isBidValid(bid)) {
                count = count.add(1);
            }
        }
        return count;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-getInvalidBidCount}.
     */
    function getInvalidBidCount() external view override returns (uint256) {
        uint256 count = 0;
        for (uint256 i = 0; i < _tokenIdWithBid.length(); i++) {
            count = count.add(_getInvalidBidOfTokenCount(_tokenIdWithBid.at(i)));
        }
        return count;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-cleanAllInvalidListings}.
     */
    function cleanAllInvalidListings() external override {
        for (uint256 i = 0; i < _tokenIdWithListing.length(); i++) {
            uint256 tokenId = _tokenIdWithListing.at(i);
            if (!_isListingValid(_tokenListings[tokenId])) {
                _tempTokenIdStorage.push(tokenId);
            }
        }
        for (uint256 i = 0; i < _tempTokenIdStorage.length; i++) {
            _delistToken(_tempTokenIdStorage[i]);
        }
        delete _tempTokenIdStorage;
    }

    /**
     * @dev remove invalid bids of a token
     * @param tokenId erc721 token Id
     */
    function _cleanInvalidBidsOfToken(uint256 tokenId) private {
        for (uint256 i = 0; i < _tokenBids[tokenId].bidders.length(); i++) {
            address bidder = _tokenBids[tokenId].bidders.at(i);
            Bid memory bid = _tokenBids[tokenId].bids[bidder];
            if (!_isBidValid(bid)) {
                _tempBidderStorage.push(_tokenBids[tokenId].bidders.at(i));
            }
        }
        for (uint256 i = 0; i < _tempBidderStorage.length; i++) {
            address bidder = _tempBidderStorage[i];
            _removeBidOfBidder(tokenId, bidder);
        }
        delete _tempBidderStorage;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-cleanAllInvalidBids}.
     */
    function cleanAllInvalidBids() external override {
        for (uint256 i = 0; i < _tokenIdWithBid.length(); i++) {
            uint256 tokenId = _tokenIdWithBid.at(i);
            uint256 invalidCount = _getInvalidBidOfTokenCount(tokenId);
            if (invalidCount > 0) {
                _tempTokenIdStorage.push(tokenId);
            }
        }
        for (uint256 i = 0; i < _tempTokenIdStorage.length; i++) {
            _cleanInvalidBidsOfToken(_tempTokenIdStorage[i]);
        }
        delete _tempTokenIdStorage;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-erc721Name}.
     */
    function erc721Name() external view override returns (string memory) {
        return _erc721Name;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-isListingAndBidEnabled}.
     */
    function isListingAndBidEnabled() external view override returns (bool) {
        return _isListingAndBidEnabled;
    }

    /**
     * @dev Enable to disable Bids and Listing
     */
    function changeMarketplaceStatus(bool enabled) external onlyDev {
        _isListingAndBidEnabled = enabled;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-actionTimeOutRangeMin}.
     */
    function actionTimeOutRangeMin() external view override returns (uint256) {
        return _actionTimeOutRangeMin;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-actionTimeOutRangeMax}.
     */
    function actionTimeOutRangeMax() external view override returns (uint256) {
        return _actionTimeOutRangeMax;
    }

    /**
     * @dev Change minimum listing and bid time range
     */
    function changeMinActionTimeLimit(uint256 timeInSec) external onlyDev {
        _actionTimeOutRangeMin = timeInSec;
    }

    /**
     * @dev Change maximum listing and bid time range
     */
    function changeMaxActionTimeLimit(uint256 timeInSec) external onlyDev {
        _actionTimeOutRangeMax = timeInSec;
    }

    /**
     * @dev See {INFTKEYMarketPlaceV1-serviceFee}.
     * @param nftAddress nft token address for getting service fee
     * @return feeTokenSeller
     * @return feeTokenCreater
     * @return feeNFTDev
     * @return feeFraction
     * @return feeBase
     */
    // function serviceFee() external view override returns (uint256, uint256) {
    //     return (_feeFraction, _feeTokenBase);
    // }
    function serviceFee(address nftAddress) external view override returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        NFTFees memory fee = _nftFeeManager[nftAddress];
        require(fee.feeBase == _baseFeeTokenBase, "This token is not registed");
        return (
            fee.feeTokenSeller, 
            fee.feeTokenCreater, 
            fee.feeTokenProducer, 
            fee.feeNFTDev, 
            fee.feeFraction, 
            fee.feeBase
        );
    }

    // /**
    //  * @dev Set nft tokens fees
    //  * @param _nftAddress Token maket fee address
    //  * @param _feeSeller Token seller fee address
    //  * @param _feeCreater Token creater fee address
    //  * @param _feeDev Token dev fee address
    //  */
    function setNFTFees(
        address _nftAddress,
        uint256 _feeCreater,
        uint256 _feeProducer,
        uint256 _feeDev
        )
        external
        onlyDev
    {
        require(
            _feeCreater == 0 || _nftCreaters[_nftAddress] != address(0), "This token don't set creater address"
        );
        require(
            _feeProducer == 0 || _nftProducers[_nftAddress] != address(0), "This token don't set producer address"
        );

        uint256 feeBase = _baseFeeTokenBase;
        uint256 feeTokenCreater = _feeCreater;
        uint256 feeTokenProducer = _feeProducer;
        uint256 feeNFTDev = _feeDev;
        uint256 feeTokenSeller = feeBase - _feeCreater - _feeDev - _feeProducer;
        uint256 feeFraction = feeTokenCreater + feeNFTDev + feeTokenProducer;
        _nftFeeManager[_nftAddress] = NFTFees(
                    feeTokenSeller, 
                    feeTokenCreater,
                    feeTokenProducer,
                    feeNFTDev, 
                    feeFraction, 
                    feeBase
                );
    }

    /**
     * @dev Set partner address and profit share
     * @param _nftAddress Token maket fee address
     * @param _maketPlaceFeeAddress Token maket fee address
     * @param _maketPlaceFeePercentage Token maket place fee for 1000
     */
    function setMaketPlaceAddressAndDevFee(
        address _nftAddress,
        address _maketPlaceFeeAddress, 
        uint256 _maketPlaceFeePercentage)
        external
        onlyDev
    {
        require(
            _maketPlaceFeePercentage > 0 && _maketPlaceFeePercentage <= 1000,
            "Allowed percentage range is 1 to 1000"
        );
        maketPlaceFeeAddress = _maketPlaceFeeAddress;
        NFTFees memory fee = _nftFeeManager[_nftAddress];
        require(
            fee.feeBase == _baseFeeTokenBase, "This token is not registed"
        );
        
        uint256 feeTokenCreater = fee.feeTokenCreater;
        uint256 feeTokenProducer = fee.feeTokenProducer;
        uint256 feeNFTDev = _maketPlaceFeePercentage;
        uint256 feeTokenSeller = fee.feeBase - feeTokenCreater - feeNFTDev;
        uint256 feeFraction = feeTokenCreater + feeNFTDev + feeTokenProducer;

        _nftFeeManager[_nftAddress] = NFTFees(feeTokenSeller, feeTokenCreater, feeTokenProducer, feeNFTDev, feeFraction, fee.feeBase);
    }

    /**
     * @dev Set partner address and profit share
     * @param _nftAddress Token maket fee address
     * @param _tokenCreaterAddress Token maket fee address
     */
    function setTokenCreaterAddress(
        address _nftAddress,
        address _tokenCreaterAddress)
        external
        onlyDev
    {
        // require(tokenCreaterAddress == address(0), "Owner can't change partner address once it's set");
        require(_tokenCreaterAddress != address(0), "Can't set to address 0x0");
        NFTFees memory fee = _nftFeeManager[_nftAddress];
        require(
            fee.feeBase == _baseFeeTokenBase, "This token is not registed"
        );
        _nftCreaters[_nftAddress] = _tokenCreaterAddress;
    }

    /**
     * @dev Set partner address and profit share
     * @param _nftAddress Token maket fee address
     * @param _tokenProducerAddress Token maket fee address
     */
    function setTokenProducerAddress(
        address _nftAddress,
        address _tokenProducerAddress)
        external
        onlyDev
    {
        // require(tokenCreaterAddress == address(0), "Owner can't change partner address once it's set");
        require(_tokenProducerAddress != address(0), "Can't set to address 0x0");
        NFTFees memory fee = _nftFeeManager[_nftAddress];
        require(
            fee.feeBase == _baseFeeTokenBase, "This token is not registed"
        );
        _nftProducers[_nftAddress] = _tokenProducerAddress;
    }

    /**
     * @dev Change partner address
     * @param _nftAddress Token maket fee address
     * @param _tokenCreaterAddress Partner address
     * Only partner can change their share address
     */
    function changeTokenCreaterAddress(
        address _nftAddress,
        address _tokenCreaterAddress) external {
        // require(msg.sender == tokenCreaterAddress, "Only partner can change partner address");

        _nftCreaters[_nftAddress] = _tokenCreaterAddress;

        // if (_tokenCreaterAddress == address(0)) {
        //     _feeTokenCreater = 0;
        // }
    }

    function changeERC721Token(
        string memory erc721Name_,
        address _erc721Address,
        address _erc20Address
        ) external onlyDev {
        _erc721Name = erc721Name_;
        _erc721 = IERC721(_erc721Address);
        _selectedNftAddress = _erc721Address;
        
        _erc20Manager[_erc721Address] = _erc20Address;
        _paymentToken = IERC20(_erc20Address);
        _selectedERC20Address = _erc20Address;

        _nftFeeManager[_erc721Address] = NFTFees(
            _baseFeeTokenSeller, 
            _baseFeeTokenCreater,
            _baseFeeTokenProducer,
            _baseFeeTokenDev, 
            _baseFeeFraction, 
            _baseFeeTokenBase);
    }

    function changeDev(address _newDev) public onlyDev {
        dev  = _newDev;
    }

}
        

/_openzeppelin/contracts/security/ReentrancyGuard.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}
          

/_openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.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));
        }
    }

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

/_openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

/_openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/utils/Strings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

/_openzeppelin/contracts/utils/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
}
          

/_openzeppelin/contracts/utils/math/SafeMath.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/utils/structs/EnumerableSet.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}
          

/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}
          

/_openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155Upgradeable.sol";
import "./IERC1155ReceiverUpgradeable.sol";
import "./extensions/IERC1155MetadataURIUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC1155Upgradeable, IERC1155MetadataURIUpgradeable {
    using AddressUpgradeable for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    function __ERC1155_init(string memory uri_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC1155_init_unchained(uri_);
    }

    function __ERC1155_init_unchained(string memory uri_) internal initializer {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155ReceiverUpgradeable(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155ReceiverUpgradeable.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155ReceiverUpgradeable(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155ReceiverUpgradeable.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
    uint256[47] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155ReceiverUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155ReceiverUpgradeable is IERC165Upgradeable {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}
          

/_openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155Upgradeable is IERC165Upgradeable {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}
          

/_openzeppelin/contracts-upgradeable/token/ERC1155/extensions/IERC1155MetadataURIUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155Upgradeable.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURIUpgradeable is IERC1155Upgradeable {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}
          

/_openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 IERC165Upgradeable {
    /**
     * @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);
}
          

/contracts/marketPlace/Interface.sol

// SPDX-License-Identifier: AGPL-3.0-or-later

pragma solidity 0.8.3;
pragma experimental ABIEncoderV2;

interface Interface {
    struct Bid {
        uint256 tokenId;
        uint256 bidPrice;
        address bidder;
        uint256 expireTimestamp;
    }

    struct Listing {
        uint256 tokenId;
        uint256 listingPrice;
        address seller;
        uint256 expireTimestamp;
    }

    event TokenListed(
        uint256 indexed tokenId, 
        address indexed fromAddress, 
        uint256 minValue, 
        string nft);
    event TokenDelisted(uint256 indexed tokenId, address indexed fromAddress, string nft);
    event TokenBidEntered(uint256 indexed tokenId, address indexed fromAddress, uint256 value, string nft);
    event TokenBidWithdrawn(uint256 indexed tokenId, address indexed fromAddress, uint256 value, string nft);
    event TokenBought(
        uint256 indexed tokenId,
        address indexed fromAddress,
        address indexed toAddress,
        uint256 total,
        uint256 value,
        uint256 fees,
        string nft
    );
    event TokenBidAccepted(
        uint256 indexed tokenId,
        address indexed owner,
        address indexed bidder,
        uint256 total,
        uint256 value,
        uint256 fees,
        string nft
    );

    event TokenTransfered(
        uint256 indexed tokenId,
        address indexed from,
        address indexed to,
        uint256 total,
        string nft
    );

    event TokenFeeChanged(
        address nftAddress,
        string nft
    );

    /**
     * @dev surface the erc721 token contract address
     */
    function tokenAddress() external view returns (address);

    /**
     * @dev surface the erc20 payment token contract addres
     s
     */
    function paymentTokenAddress() external view returns (address);

    /**
     * @dev get current listing of a token
     * @param tokenId erc721 token Id
     * @return current valid listing or empty listing struct
     */
    function getTokenListing(uint256 tokenId) external view returns (Listing memory);

    /**
     * @dev get current valid listings by size
     * @param from index to start
     * @param size size to query
     * @return current valid listings
     * This to help batch query when list gets big
     */
    function getTokenListings(uint256 from, uint256 size) external view returns (Listing[] memory);

    /**
     * @dev get all current valid listings
     * @return current valid listings
     */
    function getAllTokenListings() external view returns (Listing[] memory);

    /**
     * @dev get bidder's bid on a token
     * @param tokenId erc721 token Id
     * @param bidder address of a bidder
     * @return Valid bid or empty bid
     */
    function getBidderTokenBid(uint256 tokenId, address bidder) external view returns (Bid memory);

    /**
     * @dev get all valid bids of a token
     * @param tokenId erc721 token Id
     * @return Valid bids of a token
     */
    function getTokenBids(uint256 tokenId) external view returns (Bid[] memory);

    /**
     * @dev get highest bid of a token
     * @param tokenId erc721 token Id
     * @return Valid highest bid or empty bid
     */
    function getTokenHighestBid(uint256 tokenId) external view returns (Bid memory);

    /**
     * @dev get current highest bids
     * @param from index to start
     * @param size size to query
     * @return current highest bids
     * This to help batch query when list gets big
     */
    function getTokenHighestBids(uint256 from, uint256 size) external view returns (Bid[] memory);

    /**
     * @dev get all highest bids
     * @return All valid highest bids
     */
    function getAllTokenHighestBids() external view returns (Bid[] memory);

    
    function delistToken(uint256 tokenId) external;

    /**
     * @dev Enter bid for token
     * @param tokenId erc721 token Id
     * @param bidPrice price in payment token
     * @param expireTimestamp when would this bid expire
     */
    function enterBidForToken(
        uint256 tokenId,
        uint256 bidPrice,
        uint256 expireTimestamp
    ) external;

    /**
     * @dev Withdraw bid for token
     * @param tokenId erc721 token Id
     */
    function withdrawBidForToken(uint256 tokenId) external;

    /**
     * @dev Count how many listing records are invalid now
     * This is to help admin to decide to do a cleaning or not
     */
    function getInvalidListingCount() external view returns (uint256);

    /**
     * @dev Count how many bids records are invalid now
     * This is to help admin to decide to do a cleaning or not
     */
    function getInvalidBidCount() external view returns (uint256);

    /**
     * @dev Clean all invalid listings
     */
    function cleanAllInvalidListings() external;

    /**
     * @dev Clean all invalid bids
     */
    function cleanAllInvalidBids() external;

    /**
     * @dev Name of ERC721 token
     */
    function erc721Name() external view returns (string memory);

    /**
     * @dev Show if listing and bid are enabled
     */
    function isListingAndBidEnabled() external view returns (bool);

    /**
     * @dev Surface minimum listing and bid time range
     */
    function actionTimeOutRangeMin() external view returns (uint256);

    /**
     * @dev Surface maximum listing and bid time range
     */
    function actionTimeOutRangeMax() external view returns (uint256);

    /**
     * @dev Service fee
     * @return fee fraction and fee base
     */
    function serviceFee(address nftAddress) external view returns (uint256, uint256, uint256, uint256, uint256, uint256);
}
          

/hardhat/console.sol

// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"TokenBidAccepted","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"bidder","internalType":"address","indexed":true},{"type":"uint256","name":"total","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"uint256","name":"fees","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenBidEntered","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenBidWithdrawn","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenBought","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"address","name":"toAddress","internalType":"address","indexed":true},{"type":"uint256","name":"total","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"uint256","name":"fees","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenDelisted","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenFeeChanged","inputs":[{"type":"address","name":"nftAddress","internalType":"address","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenListed","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"uint256","name":"minValue","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenTransfered","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"total","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TransferBatch","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256[]","name":"ids","internalType":"uint256[]","indexed":false},{"type":"uint256[]","name":"values","internalType":"uint256[]","indexed":false}],"anonymous":false},{"type":"event","name":"TransferSingle","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"URI","inputs":[{"type":"string","name":"value","internalType":"string","indexed":false},{"type":"uint256","name":"id","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"acceptBidForToken","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"actionTimeOutRangeMax","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"actionTimeOutRangeMin","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"balanceOfBatch","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"buyTokenComplete","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"}],"name":"buyTokenPrepare","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateCreaterFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateDevFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateProducerFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateSellerFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeDev","inputs":[{"type":"address","name":"_newDev","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeERC721Token","inputs":[{"type":"string","name":"erc721Name_","internalType":"string"},{"type":"address","name":"_erc721Address","internalType":"address"},{"type":"address","name":"_erc20Address","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeMarketplaceStatus","inputs":[{"type":"bool","name":"enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeMaxActionTimeLimit","inputs":[{"type":"uint256","name":"timeInSec","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeMinActionTimeLimit","inputs":[{"type":"uint256","name":"timeInSec","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changePrice","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"newPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeTokenCreaterAddress","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_tokenCreaterAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"cleanAllInvalidBids","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"cleanAllInvalidListings","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"delistToken","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"dev","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enterBidForToken","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"erc721Name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Interface.Bid[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getAllTokenHighestBids","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Interface.Listing[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"listingPrice","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getAllTokenListings","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct Interface.Bid","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getBidderTokenBid","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getInvalidBidCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getInvalidListingCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Interface.Bid[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getTokenBids","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct Interface.Bid","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getTokenHighestBid","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Interface.Bid[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getTokenHighestBids","inputs":[{"type":"uint256","name":"from","internalType":"uint256"},{"type":"uint256","name":"size","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct Interface.Listing","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"listingPrice","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getTokenListing","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Interface.Listing[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"listingPrice","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]}],"name":"getTokenListings","inputs":[{"type":"uint256","name":"from","internalType":"uint256"},{"type":"uint256","name":"size","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"string","name":"erc721Name_","internalType":"string"},{"type":"address","name":"_erc721Address","internalType":"address"},{"type":"address","name":"_paymentTokenAddress","internalType":"address"},{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isListingAndBidEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"listToken","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"value","internalType":"uint256"},{"type":"uint256","name":"expireTimestamp","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"maketPlaceFeeAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"paymentTokenAddress","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeBatchTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"serviceFee","inputs":[{"type":"address","name":"nftAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaketPlaceAddressAndDevFee","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_maketPlaceFeeAddress","internalType":"address"},{"type":"uint256","name":"_maketPlaceFeePercentage","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNFTFees","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"uint256","name":"_feeCreater","internalType":"uint256"},{"type":"uint256","name":"_feeProducer","internalType":"uint256"},{"type":"uint256","name":"_feeDev","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenCreaterAddress","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_tokenCreaterAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenProducerAddress","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_tokenProducerAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"tokenAddress","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferComplete","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferPrepare","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawBidForToken","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]}]
              

Contract Creation Code

0x6080604052600160cf60146101000a81548160ff0219169083151502179055506103cf60d155600060d255600060d355601960d455601960d5556103e860d6556201518060db556301e1338060dc553480156200005b57600080fd5b50600160658190555061a54580620000746000396000f3fe608060405234801561001057600080fd5b50600436106103825760003560e01c806385f5a92a116101de578063b6be53ba1161010f578063e7d585a8116100ad578063f0e6dcab1161007c578063f0e6dcab14610abe578063f242432a14610adc578063f2fde38b14610af8578063f34822b414610b1457610382565b8063e7d585a814610a26578063e8dbfd5a14610a56578063e985e9c514610a72578063ecadef0e14610aa257610382565b8063d493a8b0116100e9578063d493a8b0146109b4578063e0f04eaf146109d0578063e1548702146109ec578063e724488114610a0a57610382565b8063b6be53ba1461095e578063b7e6a1941461097a578063bed659bc1461099857610382565b80639d76ea581161017c578063a6a27f3a11610156578063a6a27f3a146108c1578063ae4044d4146108df578063afb18fe71461090f578063b43d901d1461092d57610382565b80639d76ea581461086b578063a22cb46514610889578063a3c0b5f0146108a557610382565b806391cca3db116101b857806391cca3db146107d157806398792eec146107ef5780639912cd8c1461081f5780639a8cea821461083b57610382565b806385f5a92a1461077b57806388a8c95c146107975780638da5cb5b146107b357610382565b8063453dfc50116102b857806363c46cdf1161025657806373885b701161023057806373885b7014610707578063741cbae41461072557806375ccb1f2146107415780637d7660e01461077157610382565b806363c46cdf1461069d57806370a3b390146106cd578063715018a6146106fd57610382565b806354b0de6a1161029257806354b0de6a146105fe57806355d946571461061c5780635cc2c66b14610638578063606df4301461066857610382565b8063453dfc50146105945780634e1273f4146105b257806350bdf590146105e257610382565b806326b2a35311610325578063336c16c6116102ff578063336c16c61461051c57806334e0955214610550578063383fba251461056c57806340a979191461057657610382565b806326b2a353146104c65780632eb2c2d6146104e257806333549d3d146104fe57610382565b80630ade7702116103615780630ade7702146104175780630e89341c1461044a5780631e56afe91461047a5780632426fc24146104aa57610382565b8062fdd58e1461038757806301ffc9a7146103b757806307da163b146103e7575b600080fd5b6103a1600480360381019061039c9190617bc1565b610b30565b6040516103ae9190619253565b60405180910390f35b6103d160048036038101906103cc9190617d6d565b610bfa565b6040516103de9190618c4e565b60405180910390f35b61040160048036038101906103fc9190617ea1565b610cdc565b60405161040e9190619253565b60405180910390f35b610431600480360381019061042c9190617bfd565b610dbe565b60405161044194939291906189f7565b60405180910390f35b610464600480360381019061045f9190617ea1565b611014565b6040516104719190618c69565b60405180910390f35b610494600480360381019061048f9190617ea1565b6110a8565b6040516104a1919061921d565b60405180910390f35b6104c460048036038101906104bf9190617ea1565b61125c565b005b6104e060048036038101906104db9190617a93565b6112f6565b005b6104fc60048036038101906104f79190617985565b6113e1565b005b610506611482565b6040516105139190619253565b60405180910390f35b61053660048036038101906105319190617ef3565b61148c565b604051610547959493929190618b35565b60405180910390f35b61056a60048036038101906105659190617a44565b611b74565b005b610574611e73565b005b61057e611ffd565b60405161058b9190619253565b60405180910390f35b61059c612063565b6040516105a99190619253565b60405180910390f35b6105cc60048036038101906105c79190617caf565b61206d565b6040516105d99190618bf5565b60405180910390f35b6105fc60048036038101906105f79190617a44565b61221e565b005b6106066122b4565b6040516106139190618bb1565b60405180910390f35b61063660048036038101906106319190617c4c565b6122cf565b005b610652600480360381019061064d9190617f2f565b612621565b60405161065f9190618bb1565b60405180910390f35b610682600480360381019061067d91906178f7565b612792565b60405161069496959493929190619313565b60405180910390f35b6106b760048036038101906106b29190617ea1565b6128a1565b6040516106c49190619253565b60405180910390f35b6106e760048036038101906106e29190617ef3565b612983565b6040516106f4919061921d565b60405180910390f35b610705612a80565b005b61070f612b08565b60405161071c9190618c69565b60405180910390f35b61073f600480360381019061073a9190617bfd565b612b9a565b005b61075b60048036038101906107569190617f2f565b612d1f565b6040516107689190618bd3565b60405180910390f35b610779612f2e565b005b61079560048036038101906107909190617ea1565b613031565b005b6107b160048036038101906107ac91906178f7565b6131e1565b005b6107bb6132b5565b6040516107c891906189b3565b60405180910390f35b6107d96132df565b6040516107e691906189b3565b60405180910390f35b61080960048036038101906108049190617ea1565b613305565b6040516108169190619238565b60405180910390f35b61083960048036038101906108349190617bc1565b6133c1565b005b61085560048036038101906108509190617ea1565b61347b565b6040516108629190619253565b60405180910390f35b61087361355d565b60405161088091906189b3565b60405180910390f35b6108a3600480360381019061089e9190617b85565b613587565b005b6108bf60048036038101906108ba9190617ea1565b61359d565b005b6108c9613637565b6040516108d69190619253565b60405180910390f35b6108f960048036038101906108f49190617ea1565b613735565b6040516109069190619253565b60405180910390f35b610917613829565b60405161092491906189b3565b60405180910390f35b61094760048036038101906109429190617c4c565b613853565b604051610955929190618b88565b60405180910390f35b61097860048036038101906109739190617d1b565b613b61565b005b610982613c0e565b60405161098f91906189b3565b60405180910390f35b6109b260048036038101906109ad9190617ea1565b613c34565b005b6109ce60048036038101906109c99190617dbf565b613d6a565b005b6109ea60048036038101906109e59190617949565b61404f565b005b6109f46142a4565b604051610a019190618bd3565b60405180910390f35b610a246004803603810190610a1f9190617f6b565b6142bf565b005b610a406004803603810190610a3b9190617ea1565b6146e0565b604051610a4d9190618bb1565b60405180910390f35b610a706004803603810190610a6b9190617949565b61491a565b005b610a8c6004803603810190610a879190617949565b614b6f565b604051610a999190618c4e565b60405180910390f35b610abc6004803603810190610ab79190617949565b614c03565b005b610ac6614c85565b604051610ad39190618c4e565b60405180910390f35b610af66004803603810190610af19190617af6565b614c9c565b005b610b126004803603810190610b0d91906178f7565b614d3d565b005b610b2e6004803603810190610b299190617e26565b614e35565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890618d3d565b60405180910390fd5b6098600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cc557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cd55750610cd48261529d565b5b9050919050565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050610db68160a00151610da883602001518661530790919063ffffffff16565b61531d90919063ffffffff16565b915050919050565b6000806000806000610dcf87613305565b9050600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161415610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90618f7d565b60405180910390fd5b610e4f8789615333565b15610e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8690618d9d565b60405180910390fd5b8060200151861015610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90618e3d565b60405180910390fd5b806040015160d860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660d9600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660da600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694509450945094505093509350935093565b6060609a805461102390619721565b80601f016020809104026020016040519081016040528092919081815260200182805461104f90619721565b801561109c5780601f106110715761010080835404028352916020019161109c565b820191906000526020600020905b81548152906001019060200180831161107f57829003601f168201915b50505050509050919050565b6110b06174f2565b6000604051806080016040528084815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905060005b61110f60e0600086815260200190815260200160002060000161541f565b8110156112525760006111408260e0600088815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506112218161544e565b8015611234575083602001518160200151115b1561123d578093505b5050808061124a90619784565b9150506110f1565b5080915050919050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e39061901d565b60405180910390fd5b8060db8190555050565b6113008285615333565b61133f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611336906191dd565b60405180910390fd5b61134882615556565b80611358575061135784615641565b5b611397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138e90618cfd565b60405180910390fd5b60008110156113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290618e3d565b60405180910390fd5b50505050565b6113e96156f7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061142f575061142e856114296156f7565b614b6f565b5b61146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146590618efd565b60405180910390fd5b61147b85858585856156ff565b5050505050565b600060db54905090565b600080600080600061149e8733615333565b6114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d4906191dd565b60405180910390fd5b6114e687615556565b806114f657506114f533615641565b5b611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90618cfd565b60405180910390fd5b60006115418888612983565b90506000816020015111801561158657508673ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16145b6115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90618ffd565b60405180910390fd5b600060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506116e960cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360400151336116e46116d18660a001516116c388608001518a6020015161530790919063ffffffff16565b61531d90919063ffffffff16565b8760200151615a6290919063ffffffff16565b615a78565b61176d60cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040015160d860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117688560a0015161175a8760600151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b615a78565b600073ffffffffffffffffffffffffffffffffffffffff1660d9600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561185b575060006118598260a0015161184b8460200151866020015161530790919063ffffffff16565b61531d90919063ffffffff16565b115b156119445761194360cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040015160d9600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661193e8560a001516119308760200151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b615a78565b5b60cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3384604001518c6040518463ffffffff1660e01b81526004016119a793929190618aa4565b600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b50505050816040015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff168a7fa363b880c35c44f1a10611bb54dfc2aa45e23daaeee4ab14719ef4f9fb5383e58560200151611a79611a668760a00151611a5889608001518b6020015161530790919063ffffffff16565b61531d90919063ffffffff16565b8860200151615a6290919063ffffffff16565b611aaa8760a00151611a9c89608001518b6020015161530790919063ffffffff16565b61531d90919063ffffffff16565b60cb604051611abc94939291906192c7565b60405180910390a4611acd89615b01565b611adb898360400151615b88565b3382604001518360200151611b2d611b1a8560a00151611b0c8760800151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b8660200151615a6290919063ffffffff16565b611b5e8560a00151611b508760800151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b9650965096509650965050509295509295909350565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb9061901d565b60405180910390fd5b600081118015611c1657506103e88111155b611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c906191bd565b60405180910390fd5b8160d860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060d060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a0015114611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f90618dfd565b60405180910390fd5b6000816020015190506000826040015190506000849050600081848660a00151611d929190619637565b611d9c9190619637565b90506000838386611dad9190619556565b611db79190619556565b90506040518060c001604052808381526020018681526020018581526020018481526020018281526020018760a0015181525060d060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050505050505050505050565b60005b611e8060de615cb4565b811015611f7b576000611e9d8260de615cc990919063ffffffff16565b9050611f3960dd600083815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050615ce3565b611f675760e58190806001815401808255809150506001900390600052602060002001600090919091909150555b508080611f7390619784565b915050611e76565b5060005b60e580549050811015611fec57611fd960e58281548110611fc9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154615b01565b8080611fe490619784565b915050611f7f565b5060e56000611ffb9190617530565b565b6000806000905060005b61201160e1615cb4565b81101561205b576120466120376120328360e1615cc990919063ffffffff16565b615d53565b83615ec790919063ffffffff16565b9150808061205390619784565b915050612007565b508091505090565b600060dc54905090565b606081518351146120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa906190dd565b60405180910390fd5b6000835167ffffffffffffffff8111156120f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156121245781602001602082028036833780820191505090505b50905060005b8451811015612213576121bd85828151811061216f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518583815181106121b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610b30565b8282815181106121f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061220c90619784565b905061212a565b508091505092915050565b60cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8484846040518463ffffffff1660e01b815260040161227d93929190618aa4565b600060405180830381600087803b15801561229757600080fd5b505af11580156122ab573d6000803e3d6000fd5b50505050505050565b60606122ca60006122c560e1615cb4565b612621565b905090565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461235f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123569061901d565b60405180910390fd5b60008314806123fa5750600073ffffffffffffffffffffffffffffffffffffffff1660d960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612439576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243090618fbd565b60405180910390fd5b60008214806124d45750600073ffffffffffffffffffffffffffffffffffffffff1660da60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250a9061911d565b60405180910390fd5b600060d65490506000849050600084905060008490506000868689876125399190619637565b6125439190619637565b61254d9190619637565b9050600083838661255e9190619556565b6125689190619556565b90506040518060c001604052808381526020018681526020018581526020018481526020018281526020018781525060d060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015590505050505050505050505050565b606061262d60e1615cb4565b8310801561263b5750600082115b1561278b57600082905061264f60e1615cb4565b838561265b9190619556565b1115612679578361266c60e1615cb4565b6126769190619637565b90505b60008167ffffffffffffffff8111156126bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156126f457816020015b6126e16174f2565b8152602001906001900390816126d95790505b50905060005b828110156127805761272961272487836127149190619556565b60e1615cc990919063ffffffff16565b6110a8565b828281518110612762577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250808061277890619784565b9150506126fa565b50809250505061278c565b5b92915050565b600080600080600080600060d060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a001511461286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286490618dfd565b60405180910390fd5b806000015181602001518260400151836060015184608001518560a001519650965096509650965096505091939550919395565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905061297b8160a0015161296d83604001518661530790919063ffffffff16565b61531d90919063ffffffff16565b915050919050565b61298b6174f2565b600060e0600085815260200190815260200160002060020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509050612a6a8161544e565b15612a785780915050612a7a565b505b92915050565b612a886156f7565b73ffffffffffffffffffffffffffffffffffffffff16612aa66132b5565b73ffffffffffffffffffffffffffffffffffffffff1614612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af390618f9d565b60405180910390fd5b612b066000615edd565b565b606060cb8054612b1790619721565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4390619721565b8015612b905780601f10612b6557610100808354040283529160200191612b90565b820191906000526020600020905b815481529060010190602001808311612b7357829003601f168201915b5050505050905090565b60026065541415612be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd79061913d565b60405180910390fd5b60026065819055506000612bf383613305565b9050612bff8385615333565b612c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c359061905d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161415612cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca990618f7d565b60405180910390fd5b6000821015612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ced9061917d565b60405180910390fd5b8160dd600085815260200190815260200160002060010181905550506001606581905550505050565b6060612d2b60de615cb4565b83108015612d395750600082115b15612f27576000829050612d4d60de615cb4565b8385612d599190619556565b1115612d775783612d6a60de615cb4565b612d749190619637565b90505b60008167ffffffffffffffff811115612db9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612df257816020015b612ddf617551565b815260200190600190039081612dd75790505b50905060005b82811015612f1c57600060dd6000612e258985612e159190619556565b60de615cc990919063ffffffff16565b815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509050612ebd81615ce3565b15612f085780838381518110612efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b508080612f1490619784565b915050612df8565b508092505050612f28565b5b92915050565b60005b612f3b60e1615cb4565b811015612faf576000612f588260e1615cc990919063ffffffff16565b90506000612f6582615d53565b90506000811115612f9a5760e58290806001815401808255809150506001900390600052602060002001600090919091909150555b50508080612fa790619784565b915050612f31565b5060005b60e5805490508110156130205761300d60e58281548110612ffd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154615fa3565b808061301890619784565b915050612fb3565b5060e5600061302f9190617530565b565b600060e0600083815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614613179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131709061903d565b60405180910390fd5b806040015173ffffffffffffffffffffffffffffffffffffffff16827fb66f4481b6969d40009ee9d840e61a3be09fc3f397f88f6f50c9f23d4c10c171836020015160cb6040516131cb92919061926e565b60405180910390a36131dd8233615b88565b5050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613271576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132689061901d565b60405180910390fd5b8060ca60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61330d617551565b600060dd600084815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506133ac81615ce3565b156133ba57809150506133bc565b505b919050565b60006133cc82613305565b905060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e826040015185856040518463ffffffff1660e01b815260040161343193929190618aa4565b600060405180830381600087803b15801561344b57600080fd5b505af115801561345f573d6000803e3d6000fd5b5050505061346c82615b01565b6134768284615b88565b505050565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506135558160a0015161354783606001518661530790919063ffffffff16565b61531d90919063ffffffff16565b915050919050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6135996135926156f7565b8383616224565b5050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461362d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136249061901d565b60405180910390fd5b8060dc8190555050565b6000806000905060005b61364b60de615cb4565b81101561372d576136ff60dd600061366d8460de615cc990919063ffffffff16565b815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050615ce3565b61371a57613717600183615ec790919063ffffffff16565b91505b808061372590619784565b915050613641565b508091505090565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506138216138128260a0015161380484608001518761530790919063ffffffff16565b61531d90919063ffffffff16565b84615a6290919063ffffffff16565b915050919050565b600060cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060cf60149054906101000a900460ff166138a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161389c90618ddd565b60405180910390fd5b8260db546138bc4283615a6290919063ffffffff16565b10156138fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f4906191fd565b60405180910390fd5b60dc546139134283615a6290919063ffffffff16565b1115613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b90618e7d565b60405180910390fd5b60008511613997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398e90618ebd565b60405180910390fd5b6139a18688615333565b6139e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d79061919d565b60405180910390fd5b6139e986615556565b806139f957506139f887615641565b5b613a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2f90618fdd565b60405180910390fd5b60405180608001604052808781526020018681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018581525060dd6000888152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050613afe8660de61639190919063ffffffff16565b508673ffffffffffffffffffffffffffffffffffffffff16867f0504f02e56fa83645f2ed13b141a022acf7376b2278ba8f333da09dd0eda278b8760cb604051613b4992919061926e565b60405180910390a38685925092505094509492505050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be89061901d565b60405180910390fd5b8060cf60146101000a81548160ff02191690831515021790555050565b60d860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660dd600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ccf9061915d565b60405180910390fd5b60dd600082815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16817f9cd8a9ace1914801cf87ba507e920bd7768512d0beaab496a00a93ab099be2e360cb604051613d569190618cbb565b60405180910390a3613d6781615b01565b50565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613df19061901d565b60405180910390fd5b8260cb9080519060200190613e1092919061758f565b508160cc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160cd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060d760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060cf60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060ce60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060c0016040528060d154815260200160d354815260200160d254815260200160d454815260200160d554815260200160d65481525060d060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050505050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146140df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140d69061901d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561414f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161414690618d5d565b60405180910390fd5b600060d060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a0015114614221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161421890618dfd565b60405180910390fd5b8160d960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b60606142ba60006142b560de615cb4565b612d1f565b905090565b60cf60149054906101000a900460ff1661430e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161430590618ddd565b60405180910390fd5b8060db546143254283615a6290919063ffffffff16565b1015614366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161435d906191fd565b60405180910390fd5b60dc5461437c4283615a6290919063ffffffff16565b11156143bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016143b490618e7d565b60405180910390fd5b60008311614400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016143f790618e1d565b60405180910390fd5b61440a8433615333565b1561444a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161444190618e9d565b60405180910390fd5b8260cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b81526004016144a89291906189ce565b60206040518083038186803b1580156144c057600080fd5b505afa1580156144d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144f89190617eca565b1015614539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161453090618f3d565b60405180910390fd5b600060405180608001604052808681526020018581526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018481525090506145888560e16163ab90919063ffffffff16565b6145a2576145a08560e161639190919063ffffffff16565b505b6145ca3360e060008881526020019081526020016000206000016163c590919063ffffffff16565b508060e0600087815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301559050503373ffffffffffffffffffffffffffffffffffffffff16857f45d80d7ccd739af6ae7190d6111f03713ea5cc645f29092df5e8d02866826bcc8660cb6040516146d192919061926e565b60405180910390a35050505050565b6060600061470260e0600085815260200190815260200160002060000161541f565b67ffffffffffffffff811115614741577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561477a57816020015b6147676174f2565b81526020019060019003908161475f5790505b50905060005b61479e60e0600086815260200190815260200160002060000161541f565b8110156149105760006147cf8260e0600088815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506148b08161544e565b156148fb57808484815181106148ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b5050808061490890619784565b915050614780565b5080915050919050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146149aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016149a19061901d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a1190618d5d565b60405180910390fd5b600060d060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a0015114614aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614ae390618dfd565b60405180910390fd5b8160da60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000609960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8060d960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600060cf60149054906101000a900460ff16905090565b614ca46156f7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480614cea5750614ce985614ce46156f7565b614b6f565b5b614d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d2090618dbd565b60405180910390fd5b614d3685858585856163f5565b5050505050565b614d456156f7565b73ffffffffffffffffffffffffffffffffffffffff16614d636132b5565b73ffffffffffffffffffffffffffffffffffffffff1614614db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614db090618f9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614e2090618d7d565b60405180910390fd5b614e3281615edd565b50565b600060019054906101000a900460ff1680614e5b575060008054906101000a900460ff16155b614e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614e9190618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015614eea576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b614f026040518060200160405280600081525061667a565b8460cb9080519060200190614f1892919061758f565b508360cc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360cd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260cf60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260d760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ce60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160cf60146101000a81548160ff0219169083151502179055506103cf60d181905550600060d281905550600060d381905550601960d481905550601960d5819055506103e860d6819055506201518060db819055506301e1338060dc819055506040518060c0016040528060d154815260200160d254815260200160d354815260200160d454815260200160d554815260200160d65481525060d060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a082015181600501559050506151f36040518060400160405280600e81526020017f5f657263373231416464726573730000000000000000000000000000000000008152508561676d565b3360ca60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160d860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080156152965760008060016101000a81548160ff0219169083151502179055505b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000818361531591906195dd565b905092915050565b6000818361532b91906195ac565b905092915050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016153909190619253565b60206040518083038186803b1580156153a857600080fd5b505afa9250505080156153d957506040513d601f19601f820116820180604052508101906153d69190617920565b60015b6153e65760009050615419565b8273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150505b92915050565b600061542d82600001616809565b9050919050565b6000615443836000018361681a565b60001c905092915050565b600061546282600001518360400151615333565b1580156155235750816020015160cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e8460400151306040518363ffffffff1660e01b81526004016154d09291906189ce565b60206040518083038186803b1580156154e857600080fd5b505afa1580156154fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906155209190617eca565b10155b8015615533575060008260200151115b80156155425750428260600151115b156155505760019050615551565b5b919050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663081812fc836040518263ffffffff1660e01b81526004016155b39190619253565b60206040518083038186803b1580156155cb57600080fd5b505afa9250505080156155fc57506040513d601f19601f820116820180604052508101906155f99190617920565b60015b615609576000905061563c565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150505b919050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c583306040518363ffffffff1660e01b81526004016156a09291906189ce565b60206040518083038186803b1580156156b857600080fd5b505afa1580156156cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906156f09190617d44565b9050919050565b600033905090565b8151835114615743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161573a906190fd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156157b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016157aa90618edd565b60405180910390fd5b60006157bd6156f7565b90506157cd81878787878761686b565b60005b84518110156159cd576000858281518110615814577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110615859577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006098600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156158fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016158f290618f5d565b60405180910390fd5b8181036098600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816098600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546159b29190619556565b92505081905550505050806159c690619784565b90506157d0565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051615a44929190618c17565b60405180910390a4615a5a818787878787616873565b505050505050565b60008183615a709190619637565b905092915050565b615afb846323b872dd60e01b858585604051602401615a9993929190618aa4565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050616a5a565b50505050565b615b158160de6163ab90919063ffffffff16565b15615b855760dd600082815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560038201600090555050615b838160de616b2190919063ffffffff16565b505b50565b615bb08160e06000858152602001908152602001600020600001616b3b90919063ffffffff16565b15615cb05760e0600083815260200190815260200160002060020160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560038201600090555050615c728160e06000858152602001908152602001600020600001616b6b90919063ffffffff16565b506000615c9360e0600085815260200190815260200160002060000161541f565b1415615caf57615cad8260e1616b2190919063ffffffff16565b505b5b5050565b6000615cc282600001616809565b9050919050565b6000615cd8836000018361681a565b60001c905092915050565b6000615cf782600001518360400151615333565b8015615d205750615d0b8260000151615556565b80615d1f5750615d1e8260400151615641565b5b5b8015615d30575060008260200151115b8015615d3f5750428260600151115b15615d4d5760019050615d4e565b5b919050565b6000806000905060005b615d7b60e0600086815260200190815260200160002060000161541f565b811015615ebd576000615dac8260e0600088815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509050615e8d8161544e565b615ea857615ea5600185615ec790919063ffffffff16565b93505b50508080615eb590619784565b915050615d5d565b5080915050919050565b60008183615ed59190619556565b905092915050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b615fc460e0600084815260200190815260200160002060000161541f565b81101561617a576000615ff58260e0600086815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600085815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506160d68161544e565b6161655760e66161048460e0600088815260200190815260200160002060000161543490919063ffffffff16565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050808061617290619784565b915050615fa6565b5060005b60e68054905081101561621257600060e682815481106161c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506161fe8382615b88565b50808061620a90619784565b91505061617e565b5060e660006162219190617615565b50565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415616293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161628a9061909d565b60405180910390fd5b80609960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516163849190618c4e565b60405180910390a3505050565b60006163a3836000018360001b616b9b565b905092915050565b60006163bd836000018360001b616c0b565b905092915050565b60006163ed836000018373ffffffffffffffffffffffffffffffffffffffff1660001b616b9b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415616465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161645c90618edd565b60405180910390fd5b600061646f6156f7565b905061648f81878761648088616c2e565b61648988616c2e565b8761686b565b60006098600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015616527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161651e90618f5d565b60405180910390fd5b8381036098600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836098600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546165de9190619556565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161665b92919061929e565b60405180910390a4616671828888888888616cf4565b50505050505050565b600060019054906101000a900460ff16806166a0575060008054906101000a900460ff16155b6166df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016166d690618f1d565b60405180910390fd5b60008060019054906101000a900460ff16159050801561672f576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b616737616edb565b61673f616fb4565b6167488261708d565b80156167695760008060016101000a81548160ff0219169083151502179055505b5050565b6168058282604051602401616783929190618c8b565b6040516020818303038152906040527f319af333000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050617170565b5050565b600081600001805490509050919050565b6000826000018281548110616858577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b505050505050565b6168928473ffffffffffffffffffffffffffffffffffffffff16617199565b15616a52578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016168d8959493929190618a3c565b602060405180830381600087803b1580156168f257600080fd5b505af192505050801561692357506040513d601f19601f820116820180604052508101906169209190617d96565b60015b6169c95761692f619889565b806308c379a0141561698c575061694461a41d565b8061694f575061698e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016169839190618c69565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016169c090618cdd565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614616a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616a4790618d1d565b60405180910390fd5b505b505050505050565b6000616abc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166171ac9092919063ffffffff16565b9050600081511115616b1c5780806020019051810190616adc9190617d44565b616b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616b12906190bd565b60405180910390fd5b5b505050565b6000616b33836000018360001b6171c4565b905092915050565b6000616b63836000018373ffffffffffffffffffffffffffffffffffffffff1660001b616c0b565b905092915050565b6000616b93836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6171c4565b905092915050565b6000616ba78383616c0b565b616c00578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050616c05565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60606000600167ffffffffffffffff811115616c73577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015616ca15781602001602082028036833780820191505090505b5090508281600081518110616cdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b616d138473ffffffffffffffffffffffffffffffffffffffff16617199565b15616ed3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401616d59959493929190618adb565b602060405180830381600087803b158015616d7357600080fd5b505af1925050508015616da457506040513d601f19601f82011682018060405250810190616da19190617d96565b60015b616e4a57616db0619889565b806308c379a01415616e0d5750616dc561a41d565b80616dd05750616e0f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616e049190618c69565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616e4190618cdd565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614616ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616ec890618d1d565b60405180910390fd5b505b505050505050565b600060019054906101000a900460ff1680616f01575060008054906101000a900460ff16155b616f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616f3790618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015616f90576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015616fb15760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680616fda575060008054906101000a900460ff16155b617019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161701090618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015617069576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561708a5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806170b3575060008054906101000a900460ff16155b6170f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016170e990618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015617142576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61714b8261734a565b801561716c5760008060016101000a81548160ff0219169083151502179055505b5050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b600080823b905060008111915050919050565b60606171bb8484600085617364565b90509392505050565b6000808360010160008481526020019081526020016000205490506000811461733e5760006001826171f69190619637565b905060006001866000018054905061720e9190619637565b90508181146172c9576000866000018281548110617255577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061729f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480617303577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050617344565b60009150505b92915050565b80609a908051906020019061736092919061758f565b5050565b6060824710156173a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016173a090618e5d565b60405180910390fd5b6173b285617478565b6173f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016173e89061907d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161741a919061899c565b60006040518083038185875af1925050503d8060008114617457576040519150601f19603f3d011682016040523d82523d6000602084013e61745c565b606091505b509150915061746c82828661748b565b92505050949350505050565b600080823b905060008111915050919050565b6060831561749b578290506174eb565b6000835111156174ae5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016174e29190618c69565b60405180910390fd5b9392505050565b60405180608001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b508054600082559060005260206000209081019061754e9190617636565b50565b60405180608001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b82805461759b90619721565b90600052602060002090601f0160209004810192826175bd5760008555617604565b82601f106175d657805160ff1916838001178555617604565b82800160010185558215617604579182015b828111156176035782518255916020019190600101906175e8565b5b5090506176119190617636565b5090565b50805460008255906000526020600020908101906176339190617636565b50565b5b8082111561764f576000816000905550600101617637565b5090565b600061766661766184619399565b619374565b9050808382526020820190508285602086028201111561768557600080fd5b60005b858110156176b5578161769b88826177a7565b845260208401935060208301925050600181019050617688565b5050509392505050565b60006176d26176cd846193c5565b619374565b905080838252602082019050828560208602820111156176f157600080fd5b60005b85811015617721578161770788826178cd565b8452602084019350602083019250506001810190506176f4565b5050509392505050565b600061773e617739846193f1565b619374565b90508281526020810184848401111561775657600080fd5b6177618482856196df565b509392505050565b600061777c61777784619422565b619374565b90508281526020810184848401111561779457600080fd5b61779f8482856196df565b509392505050565b6000813590506177b68161a4b3565b92915050565b6000815190506177cb8161a4b3565b92915050565b600082601f8301126177e257600080fd5b81356177f2848260208601617653565b91505092915050565b600082601f83011261780c57600080fd5b813561781c8482602086016176bf565b91505092915050565b6000813590506178348161a4ca565b92915050565b6000815190506178498161a4ca565b92915050565b60008135905061785e8161a4e1565b92915050565b6000815190506178738161a4e1565b92915050565b600082601f83011261788a57600080fd5b813561789a84826020860161772b565b91505092915050565b600082601f8301126178b457600080fd5b81356178c4848260208601617769565b91505092915050565b6000813590506178dc8161a4f8565b92915050565b6000815190506178f18161a4f8565b92915050565b60006020828403121561790957600080fd5b6000617917848285016177a7565b91505092915050565b60006020828403121561793257600080fd5b6000617940848285016177bc565b91505092915050565b6000806040838503121561795c57600080fd5b600061796a858286016177a7565b925050602061797b858286016177a7565b9150509250929050565b600080600080600060a0868803121561799d57600080fd5b60006179ab888289016177a7565b95505060206179bc888289016177a7565b945050604086013567ffffffffffffffff8111156179d957600080fd5b6179e5888289016177fb565b935050606086013567ffffffffffffffff811115617a0257600080fd5b617a0e888289016177fb565b925050608086013567ffffffffffffffff811115617a2b57600080fd5b617a3788828901617879565b9150509295509295909350565b600080600060608486031215617a5957600080fd5b6000617a67868287016177a7565b9350506020617a78868287016177a7565b9250506040617a89868287016178cd565b9150509250925092565b60008060008060808587031215617aa957600080fd5b6000617ab7878288016177a7565b9450506020617ac8878288016177a7565b9350506040617ad9878288016178cd565b9250506060617aea878288016178cd565b91505092959194509250565b600080600080600060a08688031215617b0e57600080fd5b6000617b1c888289016177a7565b9550506020617b2d888289016177a7565b9450506040617b3e888289016178cd565b9350506060617b4f888289016178cd565b925050608086013567ffffffffffffffff811115617b6c57600080fd5b617b7888828901617879565b9150509295509295909350565b60008060408385031215617b9857600080fd5b6000617ba6858286016177a7565b9250506020617bb785828601617825565b9150509250929050565b60008060408385031215617bd457600080fd5b6000617be2858286016177a7565b9250506020617bf3858286016178cd565b9150509250929050565b600080600060608486031215617c1257600080fd5b6000617c20868287016177a7565b9350506020617c31868287016178cd565b9250506040617c42868287016178cd565b9150509250925092565b60008060008060808587031215617c6257600080fd5b6000617c70878288016177a7565b9450506020617c81878288016178cd565b9350506040617c92878288016178cd565b9250506060617ca3878288016178cd565b91505092959194509250565b60008060408385031215617cc257600080fd5b600083013567ffffffffffffffff811115617cdc57600080fd5b617ce8858286016177d1565b925050602083013567ffffffffffffffff811115617d0557600080fd5b617d11858286016177fb565b9150509250929050565b600060208284031215617d2d57600080fd5b6000617d3b84828501617825565b91505092915050565b600060208284031215617d5657600080fd5b6000617d648482850161783a565b91505092915050565b600060208284031215617d7f57600080fd5b6000617d8d8482850161784f565b91505092915050565b600060208284031215617da857600080fd5b6000617db684828501617864565b91505092915050565b600080600060608486031215617dd457600080fd5b600084013567ffffffffffffffff811115617dee57600080fd5b617dfa868287016178a3565b9350506020617e0b868287016177a7565b9250506040617e1c868287016177a7565b9150509250925092565b60008060008060808587031215617e3c57600080fd5b600085013567ffffffffffffffff811115617e5657600080fd5b617e62878288016178a3565b9450506020617e73878288016177a7565b9350506040617e84878288016177a7565b9250506060617e95878288016177a7565b91505092959194509250565b600060208284031215617eb357600080fd5b6000617ec1848285016178cd565b91505092915050565b600060208284031215617edc57600080fd5b6000617eea848285016178e2565b91505092915050565b60008060408385031215617f0657600080fd5b6000617f14858286016178cd565b9250506020617f25858286016177a7565b9150509250929050565b60008060408385031215617f4257600080fd5b6000617f50858286016178cd565b9250506020617f61858286016178cd565b9150509250929050565b600080600060608486031215617f8057600080fd5b6000617f8e868287016178cd565b9350506020617f9f868287016178cd565b9250506040617fb0868287016178cd565b9150509250925092565b6000617fc6838361882a565b60808301905092915050565b6000617fde83836188d4565b60808301905092915050565b6000617ff6838361897e565b60208301905092915050565b61800b8161966b565b82525050565b61801a8161966b565b82525050565b600061802b82619498565b61803581856194f6565b935061804083619453565b8060005b838110156180715781516180588882617fba565b9750618063836194cf565b925050600181019050618044565b5085935050505092915050565b6000618089826194a3565b6180938185619507565b935061809e83619463565b8060005b838110156180cf5781516180b68882617fd2565b97506180c1836194dc565b9250506001810190506180a2565b5085935050505092915050565b60006180e7826194ae565b6180f18185619518565b93506180fc83619473565b8060005b8381101561812d5781516181148882617fea565b975061811f836194e9565b925050600181019050618100565b5085935050505092915050565b6181438161967d565b82525050565b6000618154826194b9565b61815e8185619529565b935061816e8185602086016196ee565b618177816198ab565b840191505092915050565b600061818d826194b9565b618197818561953a565b93506181a78185602086016196ee565b80840191505092915050565b60006181be826194c4565b6181c88185619545565b93506181d88185602086016196ee565b6181e1816198ab565b840191505092915050565b600081546181f981619721565b6182038186619545565b9450600182166000811461821e576001811461823057618263565b60ff1983168652602086019350618263565b61823985619483565b60005b8381101561825b5781548189015260018201915060208101905061823c565b808801955050505b50505092915050565b6000618279603483619545565b9150618284826198c9565b604082019050919050565b600061829c603583619545565b91506182a782619918565b604082019050919050565b60006182bf602883619545565b91506182ca82619967565b604082019050919050565b60006182e2602b83619545565b91506182ed826199b6565b604082019050919050565b6000618305601883619545565b915061831082619a05565b602082019050919050565b6000618328602683619545565b915061833382619a2e565b604082019050919050565b600061834b602583619545565b915061835682619a7d565b604082019050919050565b600061836e602983619545565b915061837982619acc565b604082019050919050565b6000618391601f83619545565b915061839c82619b1b565b602082019050919050565b60006183b4601a83619545565b91506183bf82619b44565b602082019050919050565b60006183d7601a83619545565b91506183e282619b6d565b602082019050919050565b60006183fa602c83619545565b915061840582619b96565b604082019050919050565b600061841d602683619545565b915061842882619be5565b604082019050919050565b6000618440602583619545565b915061844b82619c34565b604082019050919050565b6000618463602283619545565b915061846e82619c83565b604082019050919050565b6000618486603883619545565b915061849182619cd2565b604082019050919050565b60006184a9602583619545565b91506184b482619d21565b604082019050919050565b60006184cc603283619545565b91506184d782619d70565b604082019050919050565b60006184ef602e83619545565b91506184fa82619dbf565b604082019050919050565b6000618512603683619545565b915061851d82619e0e565b604082019050919050565b6000618535602a83619545565b915061854082619e5d565b604082019050919050565b6000618558601583619545565b915061856382619eac565b602082019050919050565b600061857b602083619545565b915061858682619ed5565b602082019050919050565b600061859e602483619545565b91506185a982619efe565b604082019050919050565b60006185c1603683619545565b91506185cc82619f4d565b604082019050919050565b60006185e4602683619545565b91506185ef82619f9c565b604082019050919050565b6000618607601883619545565b915061861282619feb565b602082019050919050565b600061862a602b83619545565b91506186358261a014565b604082019050919050565b600061864d602a83619545565b91506186588261a063565b604082019050919050565b6000618670601d83619545565b915061867b8261a0b2565b602082019050919050565b6000618693602983619545565b915061869e8261a0db565b604082019050919050565b60006186b6602a83619545565b91506186c18261a12a565b604082019050919050565b60006186d9602983619545565b91506186e48261a179565b604082019050919050565b60006186fc602883619545565b91506187078261a1c8565b604082019050919050565b600061871f602583619545565b915061872a8261a217565b604082019050919050565b6000618742601f83619545565b915061874d8261a266565b602082019050919050565b6000618765602283619545565b91506187708261a28f565b604082019050919050565b6000618788601c83619545565b91506187938261a2de565b602082019050919050565b60006187ab601f83619545565b91506187b68261a307565b602082019050919050565b60006187ce602583619545565b91506187d98261a330565b604082019050919050565b60006187f1602883619545565b91506187fc8261a37f565b604082019050919050565b6000618814602483619545565b915061881f8261a3ce565b604082019050919050565b608082016000820151618840600085018261897e565b506020820151618853602085018261897e565b5060408201516188666040850182618002565b506060820151618879606085018261897e565b50505050565b608082016000820151618895600085018261897e565b5060208201516188a8602085018261897e565b5060408201516188bb6040850182618002565b5060608201516188ce606085018261897e565b50505050565b6080820160008201516188ea600085018261897e565b5060208201516188fd602085018261897e565b5060408201516189106040850182618002565b506060820151618923606085018261897e565b50505050565b60808201600082015161893f600085018261897e565b506020820151618952602085018261897e565b5060408201516189656040850182618002565b506060820151618978606085018261897e565b50505050565b618987816196d5565b82525050565b618996816196d5565b82525050565b60006189a88284618182565b915081905092915050565b60006020820190506189c86000830184618011565b92915050565b60006040820190506189e36000830185618011565b6189f06020830184618011565b9392505050565b6000608082019050618a0c6000830187618011565b618a196020830186618011565b618a266040830185618011565b618a336060830184618011565b95945050505050565b600060a082019050618a516000830188618011565b618a5e6020830187618011565b8181036040830152618a7081866180dc565b90508181036060830152618a8481856180dc565b90508181036080830152618a988184618149565b90509695505050505050565b6000606082019050618ab96000830186618011565b618ac66020830185618011565b618ad3604083018461898d565b949350505050565b600060a082019050618af06000830188618011565b618afd6020830187618011565b618b0a604083018661898d565b618b17606083018561898d565b8181036080830152618b298184618149565b90509695505050505050565b600060a082019050618b4a6000830188618011565b618b576020830187618011565b618b64604083018661898d565b618b71606083018561898d565b618b7e608083018461898d565b9695505050505050565b6000604082019050618b9d6000830185618011565b618baa602083018461898d565b9392505050565b60006020820190508181036000830152618bcb8184618020565b905092915050565b60006020820190508181036000830152618bed818461807e565b905092915050565b60006020820190508181036000830152618c0f81846180dc565b905092915050565b60006040820190508181036000830152618c3181856180dc565b90508181036020830152618c4581846180dc565b90509392505050565b6000602082019050618c63600083018461813a565b92915050565b60006020820190508181036000830152618c8381846181b3565b905092915050565b60006040820190508181036000830152618ca581856181b3565b9050618cb46020830184618011565b9392505050565b60006020820190508181036000830152618cd581846181ec565b905092915050565b60006020820190508181036000830152618cf68161826c565b9050919050565b60006020820190508181036000830152618d168161828f565b9050919050565b60006020820190508181036000830152618d36816182b2565b9050919050565b60006020820190508181036000830152618d56816182d5565b9050919050565b60006020820190508181036000830152618d76816182f8565b9050919050565b60006020820190508181036000830152618d968161831b565b9050919050565b60006020820190508181036000830152618db68161833e565b9050919050565b60006020820190508181036000830152618dd681618361565b9050919050565b60006020820190508181036000830152618df681618384565b9050919050565b60006020820190508181036000830152618e16816183a7565b9050919050565b60006020820190508181036000830152618e36816183ca565b9050919050565b60006020820190508181036000830152618e56816183ed565b9050919050565b60006020820190508181036000830152618e7681618410565b9050919050565b60006020820190508181036000830152618e9681618433565b9050919050565b60006020820190508181036000830152618eb681618456565b9050919050565b60006020820190508181036000830152618ed681618479565b9050919050565b60006020820190508181036000830152618ef68161849c565b9050919050565b60006020820190508181036000830152618f16816184bf565b9050919050565b60006020820190508181036000830152618f36816184e2565b9050919050565b60006020820190508181036000830152618f5681618505565b9050919050565b60006020820190508181036000830152618f7681618528565b9050919050565b60006020820190508181036000830152618f968161854b565b9050919050565b60006020820190508181036000830152618fb68161856e565b9050919050565b60006020820190508181036000830152618fd681618591565b9050919050565b60006020820190508181036000830152618ff6816185b4565b9050919050565b60006020820190508181036000830152619016816185d7565b9050919050565b60006020820190508181036000830152619036816185fa565b9050919050565b600060208201905081810360008301526190568161861d565b9050919050565b6000602082019050818103600083015261907681618640565b9050919050565b6000602082019050818103600083015261909681618663565b9050919050565b600060208201905081810360008301526190b681618686565b9050919050565b600060208201905081810360008301526190d6816186a9565b9050919050565b600060208201905081810360008301526190f6816186cc565b9050919050565b60006020820190508181036000830152619116816186ef565b9050919050565b6000602082019050818103600083015261913681618712565b9050919050565b6000602082019050818103600083015261915681618735565b9050919050565b6000602082019050818103600083015261917681618758565b9050919050565b600060208201905081810360008301526191968161877b565b9050919050565b600060208201905081810360008301526191b68161879e565b9050919050565b600060208201905081810360008301526191d6816187c1565b9050919050565b600060208201905081810360008301526191f6816187e4565b9050919050565b6000602082019050818103600083015261921681618807565b9050919050565b6000608082019050619232600083018461887f565b92915050565b600060808201905061924d6000830184618929565b92915050565b6000602082019050619268600083018461898d565b92915050565b6000604082019050619283600083018561898d565b818103602083015261929581846181ec565b90509392505050565b60006040820190506192b3600083018561898d565b6192c0602083018461898d565b9392505050565b60006080820190506192dc600083018761898d565b6192e9602083018661898d565b6192f6604083018561898d565b818103606083015261930881846181ec565b905095945050505050565b600060c082019050619328600083018961898d565b619335602083018861898d565b619342604083018761898d565b61934f606083018661898d565b61935c608083018561898d565b61936960a083018461898d565b979650505050505050565b600061937e61938f565b905061938a8282619753565b919050565b6000604051905090565b600067ffffffffffffffff8211156193b4576193b361985a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156193e0576193df61985a565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561940c5761940b61985a565b5b619415826198ab565b9050602081019050919050565b600067ffffffffffffffff82111561943d5761943c61985a565b5b619446826198ab565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000619561826196d5565b915061956c836196d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156195a1576195a06197cd565b5b828201905092915050565b60006195b7826196d5565b91506195c2836196d5565b9250826195d2576195d16197fc565b5b828204905092915050565b60006195e8826196d5565b91506195f3836196d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561962c5761962b6197cd565b5b828202905092915050565b6000619642826196d5565b915061964d836196d5565b9250828210156196605761965f6197cd565b5b828203905092915050565b6000619676826196b5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561970c5780820151818401526020810190506196f1565b8381111561971b576000848401525b50505050565b6000600282049050600182168061973957607f821691505b6020821081141561974d5761974c61982b565b5b50919050565b61975c826198ab565b810181811067ffffffffffffffff8211171561977b5761977a61985a565b5b80604052505050565b600061978f826196d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156197c2576197c16197cd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156198a85760046000803e6198a56000516198bc565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f54686520746f6b656e206973206e6f7420617070726f76656420746f2074726160008201527f6e736665722062792074686520636f6e74726163740000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f43616e27742073657420746f2061646472657373203078300000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206f776e65722063616e277420627579207468656972206f776e2060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4c697374696e6720616e642062696420617265206e6f7420656e61626c656400600082015250565b7f5468697320746f6b656e206973206e6f74207265676973746564000000000000600082015250565b7f506c656173652062696420666f72206d6f7265207468616e2030000000000000600082015250565b7f5468652076616c75652073656e642069732062656c6f772073616c652070726960008201527f636520706c757320666565730000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f506c6561736520656e74657220612073686f7274657220706572696f64206f6660008201527f2074696d65000000000000000000000000000000000000000000000000000000602082015250565b7f5468697320546f6b656e2062656c6f6e677320746f207468697320616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f506c65617365206c69737420666f72206d6f7265207468616e2030206f72207560008201527f736520746865207472616e736665722066756e6374696f6e0000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4e65656420746f206861766520656e6f75676820746f6b656e20686f6c64696e60008201527f6720746f20626964206f6e207468697320746f6b656e00000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f7420666f722073616c650000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468697320746f6b656e20646f6e27742073657420637265617465722061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e206973206e6f7420616c6c6f77656420746f2074726160008201527f6e73666572206279207468697320636f6e747261637400000000000000000000602082015250565b7f5468697320746f6b656e20646f65736e277420686176652061206d617463686960008201527f6e67206269640000000000000000000000000000000000000000000000000000602082015250565b7f61756374696f6e3a2077726f6e6720646576656c6f7065720000000000000000600082015250565b7f54686973206164647265737320646f65736e2774206861766520626964206f6e60008201527f207468697320746f6b656e000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206368616e6765207072696360008201527f65206f6620746f6b656e00000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e20646f6e2774207365742070726f647563657220616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4f6e6c7920746f6b656e2073656c6c65722063616e2064656c69737420746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c75652073656e642069732062656c6f77207a65726f00000000600082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206c69737420746f6b656e00600082015250565b7f416c6c6f7765642070657263656e746167652072616e6765206973203120746f60008201527f2031303030000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e20616363657074206269642060008201527f6f6620746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f506c6561736520656e7465722061206c6f6e67657220706572696f64206f662060008201527f74696d6500000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561a42d5761a4b0565b61a43561938f565b60043d036004823e80513d602482011167ffffffffffffffff8211171561a45d57505061a4b0565b808201805167ffffffffffffffff81111561a47b575050505061a4b0565b80602083010160043d03850181111561a49857505050505061a4b0565b61a4a782602001850186619753565b82955050505050505b90565b61a4bc8161966b565b811461a4c757600080fd5b50565b61a4d38161967d565b811461a4de57600080fd5b50565b61a4ea81619689565b811461a4f557600080fd5b50565b61a501816196d5565b811461a50c57600080fd5b5056fea2646970667358221220a4debc3de32d770d9b58b0dbb0a731594ce46ae1963e32e0b4f496a071ec73ba64736f6c63430008030033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106103825760003560e01c806385f5a92a116101de578063b6be53ba1161010f578063e7d585a8116100ad578063f0e6dcab1161007c578063f0e6dcab14610abe578063f242432a14610adc578063f2fde38b14610af8578063f34822b414610b1457610382565b8063e7d585a814610a26578063e8dbfd5a14610a56578063e985e9c514610a72578063ecadef0e14610aa257610382565b8063d493a8b0116100e9578063d493a8b0146109b4578063e0f04eaf146109d0578063e1548702146109ec578063e724488114610a0a57610382565b8063b6be53ba1461095e578063b7e6a1941461097a578063bed659bc1461099857610382565b80639d76ea581161017c578063a6a27f3a11610156578063a6a27f3a146108c1578063ae4044d4146108df578063afb18fe71461090f578063b43d901d1461092d57610382565b80639d76ea581461086b578063a22cb46514610889578063a3c0b5f0146108a557610382565b806391cca3db116101b857806391cca3db146107d157806398792eec146107ef5780639912cd8c1461081f5780639a8cea821461083b57610382565b806385f5a92a1461077b57806388a8c95c146107975780638da5cb5b146107b357610382565b8063453dfc50116102b857806363c46cdf1161025657806373885b701161023057806373885b7014610707578063741cbae41461072557806375ccb1f2146107415780637d7660e01461077157610382565b806363c46cdf1461069d57806370a3b390146106cd578063715018a6146106fd57610382565b806354b0de6a1161029257806354b0de6a146105fe57806355d946571461061c5780635cc2c66b14610638578063606df4301461066857610382565b8063453dfc50146105945780634e1273f4146105b257806350bdf590146105e257610382565b806326b2a35311610325578063336c16c6116102ff578063336c16c61461051c57806334e0955214610550578063383fba251461056c57806340a979191461057657610382565b806326b2a353146104c65780632eb2c2d6146104e257806333549d3d146104fe57610382565b80630ade7702116103615780630ade7702146104175780630e89341c1461044a5780631e56afe91461047a5780632426fc24146104aa57610382565b8062fdd58e1461038757806301ffc9a7146103b757806307da163b146103e7575b600080fd5b6103a1600480360381019061039c9190617bc1565b610b30565b6040516103ae9190619253565b60405180910390f35b6103d160048036038101906103cc9190617d6d565b610bfa565b6040516103de9190618c4e565b60405180910390f35b61040160048036038101906103fc9190617ea1565b610cdc565b60405161040e9190619253565b60405180910390f35b610431600480360381019061042c9190617bfd565b610dbe565b60405161044194939291906189f7565b60405180910390f35b610464600480360381019061045f9190617ea1565b611014565b6040516104719190618c69565b60405180910390f35b610494600480360381019061048f9190617ea1565b6110a8565b6040516104a1919061921d565b60405180910390f35b6104c460048036038101906104bf9190617ea1565b61125c565b005b6104e060048036038101906104db9190617a93565b6112f6565b005b6104fc60048036038101906104f79190617985565b6113e1565b005b610506611482565b6040516105139190619253565b60405180910390f35b61053660048036038101906105319190617ef3565b61148c565b604051610547959493929190618b35565b60405180910390f35b61056a60048036038101906105659190617a44565b611b74565b005b610574611e73565b005b61057e611ffd565b60405161058b9190619253565b60405180910390f35b61059c612063565b6040516105a99190619253565b60405180910390f35b6105cc60048036038101906105c79190617caf565b61206d565b6040516105d99190618bf5565b60405180910390f35b6105fc60048036038101906105f79190617a44565b61221e565b005b6106066122b4565b6040516106139190618bb1565b60405180910390f35b61063660048036038101906106319190617c4c565b6122cf565b005b610652600480360381019061064d9190617f2f565b612621565b60405161065f9190618bb1565b60405180910390f35b610682600480360381019061067d91906178f7565b612792565b60405161069496959493929190619313565b60405180910390f35b6106b760048036038101906106b29190617ea1565b6128a1565b6040516106c49190619253565b60405180910390f35b6106e760048036038101906106e29190617ef3565b612983565b6040516106f4919061921d565b60405180910390f35b610705612a80565b005b61070f612b08565b60405161071c9190618c69565b60405180910390f35b61073f600480360381019061073a9190617bfd565b612b9a565b005b61075b60048036038101906107569190617f2f565b612d1f565b6040516107689190618bd3565b60405180910390f35b610779612f2e565b005b61079560048036038101906107909190617ea1565b613031565b005b6107b160048036038101906107ac91906178f7565b6131e1565b005b6107bb6132b5565b6040516107c891906189b3565b60405180910390f35b6107d96132df565b6040516107e691906189b3565b60405180910390f35b61080960048036038101906108049190617ea1565b613305565b6040516108169190619238565b60405180910390f35b61083960048036038101906108349190617bc1565b6133c1565b005b61085560048036038101906108509190617ea1565b61347b565b6040516108629190619253565b60405180910390f35b61087361355d565b60405161088091906189b3565b60405180910390f35b6108a3600480360381019061089e9190617b85565b613587565b005b6108bf60048036038101906108ba9190617ea1565b61359d565b005b6108c9613637565b6040516108d69190619253565b60405180910390f35b6108f960048036038101906108f49190617ea1565b613735565b6040516109069190619253565b60405180910390f35b610917613829565b60405161092491906189b3565b60405180910390f35b61094760048036038101906109429190617c4c565b613853565b604051610955929190618b88565b60405180910390f35b61097860048036038101906109739190617d1b565b613b61565b005b610982613c0e565b60405161098f91906189b3565b60405180910390f35b6109b260048036038101906109ad9190617ea1565b613c34565b005b6109ce60048036038101906109c99190617dbf565b613d6a565b005b6109ea60048036038101906109e59190617949565b61404f565b005b6109f46142a4565b604051610a019190618bd3565b60405180910390f35b610a246004803603810190610a1f9190617f6b565b6142bf565b005b610a406004803603810190610a3b9190617ea1565b6146e0565b604051610a4d9190618bb1565b60405180910390f35b610a706004803603810190610a6b9190617949565b61491a565b005b610a8c6004803603810190610a879190617949565b614b6f565b604051610a999190618c4e565b60405180910390f35b610abc6004803603810190610ab79190617949565b614c03565b005b610ac6614c85565b604051610ad39190618c4e565b60405180910390f35b610af66004803603810190610af19190617af6565b614c9c565b005b610b126004803603810190610b0d91906178f7565b614d3d565b005b610b2e6004803603810190610b299190617e26565b614e35565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890618d3d565b60405180910390fd5b6098600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cc557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cd55750610cd48261529d565b5b9050919050565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050610db68160a00151610da883602001518661530790919063ffffffff16565b61531d90919063ffffffff16565b915050919050565b6000806000806000610dcf87613305565b9050600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161415610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90618f7d565b60405180910390fd5b610e4f8789615333565b15610e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8690618d9d565b60405180910390fd5b8060200151861015610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90618e3d565b60405180910390fd5b806040015160d860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660d9600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660da600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694509450945094505093509350935093565b6060609a805461102390619721565b80601f016020809104026020016040519081016040528092919081815260200182805461104f90619721565b801561109c5780601f106110715761010080835404028352916020019161109c565b820191906000526020600020905b81548152906001019060200180831161107f57829003601f168201915b50505050509050919050565b6110b06174f2565b6000604051806080016040528084815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905060005b61110f60e0600086815260200190815260200160002060000161541f565b8110156112525760006111408260e0600088815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506112218161544e565b8015611234575083602001518160200151115b1561123d578093505b5050808061124a90619784565b9150506110f1565b5080915050919050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e39061901d565b60405180910390fd5b8060db8190555050565b6113008285615333565b61133f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611336906191dd565b60405180910390fd5b61134882615556565b80611358575061135784615641565b5b611397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138e90618cfd565b60405180910390fd5b60008110156113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290618e3d565b60405180910390fd5b50505050565b6113e96156f7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061142f575061142e856114296156f7565b614b6f565b5b61146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146590618efd565b60405180910390fd5b61147b85858585856156ff565b5050505050565b600060db54905090565b600080600080600061149e8733615333565b6114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d4906191dd565b60405180910390fd5b6114e687615556565b806114f657506114f533615641565b5b611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90618cfd565b60405180910390fd5b60006115418888612983565b90506000816020015111801561158657508673ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16145b6115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90618ffd565b60405180910390fd5b600060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506116e960cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360400151336116e46116d18660a001516116c388608001518a6020015161530790919063ffffffff16565b61531d90919063ffffffff16565b8760200151615a6290919063ffffffff16565b615a78565b61176d60cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040015160d860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117688560a0015161175a8760600151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b615a78565b600073ffffffffffffffffffffffffffffffffffffffff1660d9600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561185b575060006118598260a0015161184b8460200151866020015161530790919063ffffffff16565b61531d90919063ffffffff16565b115b156119445761194360cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040015160d9600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661193e8560a001516119308760200151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b615a78565b5b60cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3384604001518c6040518463ffffffff1660e01b81526004016119a793929190618aa4565b600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b50505050816040015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff168a7fa363b880c35c44f1a10611bb54dfc2aa45e23daaeee4ab14719ef4f9fb5383e58560200151611a79611a668760a00151611a5889608001518b6020015161530790919063ffffffff16565b61531d90919063ffffffff16565b8860200151615a6290919063ffffffff16565b611aaa8760a00151611a9c89608001518b6020015161530790919063ffffffff16565b61531d90919063ffffffff16565b60cb604051611abc94939291906192c7565b60405180910390a4611acd89615b01565b611adb898360400151615b88565b3382604001518360200151611b2d611b1a8560a00151611b0c8760800151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b8660200151615a6290919063ffffffff16565b611b5e8560a00151611b508760800151896020015161530790919063ffffffff16565b61531d90919063ffffffff16565b9650965096509650965050509295509295909350565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb9061901d565b60405180910390fd5b600081118015611c1657506103e88111155b611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c906191bd565b60405180910390fd5b8160d860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060d060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a0015114611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f90618dfd565b60405180910390fd5b6000816020015190506000826040015190506000849050600081848660a00151611d929190619637565b611d9c9190619637565b90506000838386611dad9190619556565b611db79190619556565b90506040518060c001604052808381526020018681526020018581526020018481526020018281526020018760a0015181525060d060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050505050505050505050565b60005b611e8060de615cb4565b811015611f7b576000611e9d8260de615cc990919063ffffffff16565b9050611f3960dd600083815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050615ce3565b611f675760e58190806001815401808255809150506001900390600052602060002001600090919091909150555b508080611f7390619784565b915050611e76565b5060005b60e580549050811015611fec57611fd960e58281548110611fc9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154615b01565b8080611fe490619784565b915050611f7f565b5060e56000611ffb9190617530565b565b6000806000905060005b61201160e1615cb4565b81101561205b576120466120376120328360e1615cc990919063ffffffff16565b615d53565b83615ec790919063ffffffff16565b9150808061205390619784565b915050612007565b508091505090565b600060dc54905090565b606081518351146120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa906190dd565b60405180910390fd5b6000835167ffffffffffffffff8111156120f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156121245781602001602082028036833780820191505090505b50905060005b8451811015612213576121bd85828151811061216f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518583815181106121b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610b30565b8282815181106121f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061220c90619784565b905061212a565b508091505092915050565b60cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8484846040518463ffffffff1660e01b815260040161227d93929190618aa4565b600060405180830381600087803b15801561229757600080fd5b505af11580156122ab573d6000803e3d6000fd5b50505050505050565b60606122ca60006122c560e1615cb4565b612621565b905090565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461235f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123569061901d565b60405180910390fd5b60008314806123fa5750600073ffffffffffffffffffffffffffffffffffffffff1660d960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612439576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243090618fbd565b60405180910390fd5b60008214806124d45750600073ffffffffffffffffffffffffffffffffffffffff1660da60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250a9061911d565b60405180910390fd5b600060d65490506000849050600084905060008490506000868689876125399190619637565b6125439190619637565b61254d9190619637565b9050600083838661255e9190619556565b6125689190619556565b90506040518060c001604052808381526020018681526020018581526020018481526020018281526020018781525060d060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015590505050505050505050505050565b606061262d60e1615cb4565b8310801561263b5750600082115b1561278b57600082905061264f60e1615cb4565b838561265b9190619556565b1115612679578361266c60e1615cb4565b6126769190619637565b90505b60008167ffffffffffffffff8111156126bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156126f457816020015b6126e16174f2565b8152602001906001900390816126d95790505b50905060005b828110156127805761272961272487836127149190619556565b60e1615cc990919063ffffffff16565b6110a8565b828281518110612762577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250808061277890619784565b9150506126fa565b50809250505061278c565b5b92915050565b600080600080600080600060d060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a001511461286d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286490618dfd565b60405180910390fd5b806000015181602001518260400151836060015184608001518560a001519650965096509650965096505091939550919395565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905061297b8160a0015161296d83604001518661530790919063ffffffff16565b61531d90919063ffffffff16565b915050919050565b61298b6174f2565b600060e0600085815260200190815260200160002060020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509050612a6a8161544e565b15612a785780915050612a7a565b505b92915050565b612a886156f7565b73ffffffffffffffffffffffffffffffffffffffff16612aa66132b5565b73ffffffffffffffffffffffffffffffffffffffff1614612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af390618f9d565b60405180910390fd5b612b066000615edd565b565b606060cb8054612b1790619721565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4390619721565b8015612b905780601f10612b6557610100808354040283529160200191612b90565b820191906000526020600020905b815481529060010190602001808311612b7357829003601f168201915b5050505050905090565b60026065541415612be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd79061913d565b60405180910390fd5b60026065819055506000612bf383613305565b9050612bff8385615333565b612c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c359061905d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161415612cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca990618f7d565b60405180910390fd5b6000821015612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ced9061917d565b60405180910390fd5b8160dd600085815260200190815260200160002060010181905550506001606581905550505050565b6060612d2b60de615cb4565b83108015612d395750600082115b15612f27576000829050612d4d60de615cb4565b8385612d599190619556565b1115612d775783612d6a60de615cb4565b612d749190619637565b90505b60008167ffffffffffffffff811115612db9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612df257816020015b612ddf617551565b815260200190600190039081612dd75790505b50905060005b82811015612f1c57600060dd6000612e258985612e159190619556565b60de615cc990919063ffffffff16565b815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509050612ebd81615ce3565b15612f085780838381518110612efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b508080612f1490619784565b915050612df8565b508092505050612f28565b5b92915050565b60005b612f3b60e1615cb4565b811015612faf576000612f588260e1615cc990919063ffffffff16565b90506000612f6582615d53565b90506000811115612f9a5760e58290806001815401808255809150506001900390600052602060002001600090919091909150555b50508080612fa790619784565b915050612f31565b5060005b60e5805490508110156130205761300d60e58281548110612ffd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154615fa3565b808061301890619784565b915050612fb3565b5060e5600061302f9190617530565b565b600060e0600083815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614613179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131709061903d565b60405180910390fd5b806040015173ffffffffffffffffffffffffffffffffffffffff16827fb66f4481b6969d40009ee9d840e61a3be09fc3f397f88f6f50c9f23d4c10c171836020015160cb6040516131cb92919061926e565b60405180910390a36131dd8233615b88565b5050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613271576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132689061901d565b60405180910390fd5b8060ca60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61330d617551565b600060dd600084815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506133ac81615ce3565b156133ba57809150506133bc565b505b919050565b60006133cc82613305565b905060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e826040015185856040518463ffffffff1660e01b815260040161343193929190618aa4565b600060405180830381600087803b15801561344b57600080fd5b505af115801561345f573d6000803e3d6000fd5b5050505061346c82615b01565b6134768284615b88565b505050565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506135558160a0015161354783606001518661530790919063ffffffff16565b61531d90919063ffffffff16565b915050919050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6135996135926156f7565b8383616224565b5050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461362d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136249061901d565b60405180910390fd5b8060dc8190555050565b6000806000905060005b61364b60de615cb4565b81101561372d576136ff60dd600061366d8460de615cc990919063ffffffff16565b815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050615ce3565b61371a57613717600183615ec790919063ffffffff16565b91505b808061372590619784565b915050613641565b508091505090565b60008060d0600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506138216138128260a0015161380484608001518761530790919063ffffffff16565b61531d90919063ffffffff16565b84615a6290919063ffffffff16565b915050919050565b600060cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060cf60149054906101000a900460ff166138a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161389c90618ddd565b60405180910390fd5b8260db546138bc4283615a6290919063ffffffff16565b10156138fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f4906191fd565b60405180910390fd5b60dc546139134283615a6290919063ffffffff16565b1115613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b90618e7d565b60405180910390fd5b60008511613997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398e90618ebd565b60405180910390fd5b6139a18688615333565b6139e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d79061919d565b60405180910390fd5b6139e986615556565b806139f957506139f887615641565b5b613a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2f90618fdd565b60405180910390fd5b60405180608001604052808781526020018681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018581525060dd6000888152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050613afe8660de61639190919063ffffffff16565b508673ffffffffffffffffffffffffffffffffffffffff16867f0504f02e56fa83645f2ed13b141a022acf7376b2278ba8f333da09dd0eda278b8760cb604051613b4992919061926e565b60405180910390a38685925092505094509492505050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be89061901d565b60405180910390fd5b8060cf60146101000a81548160ff02191690831515021790555050565b60d860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660dd600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ccf9061915d565b60405180910390fd5b60dd600082815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16817f9cd8a9ace1914801cf87ba507e920bd7768512d0beaab496a00a93ab099be2e360cb604051613d569190618cbb565b60405180910390a3613d6781615b01565b50565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613df19061901d565b60405180910390fd5b8260cb9080519060200190613e1092919061758f565b508160cc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160cd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060d760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060cf60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060ce60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060c0016040528060d154815260200160d354815260200160d254815260200160d454815260200160d554815260200160d65481525060d060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050505050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146140df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140d69061901d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561414f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161414690618d5d565b60405180910390fd5b600060d060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a0015114614221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161421890618dfd565b60405180910390fd5b8160d960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b60606142ba60006142b560de615cb4565b612d1f565b905090565b60cf60149054906101000a900460ff1661430e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161430590618ddd565b60405180910390fd5b8060db546143254283615a6290919063ffffffff16565b1015614366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161435d906191fd565b60405180910390fd5b60dc5461437c4283615a6290919063ffffffff16565b11156143bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016143b490618e7d565b60405180910390fd5b60008311614400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016143f790618e1d565b60405180910390fd5b61440a8433615333565b1561444a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161444190618e9d565b60405180910390fd5b8260cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b81526004016144a89291906189ce565b60206040518083038186803b1580156144c057600080fd5b505afa1580156144d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144f89190617eca565b1015614539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161453090618f3d565b60405180910390fd5b600060405180608001604052808681526020018581526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018481525090506145888560e16163ab90919063ffffffff16565b6145a2576145a08560e161639190919063ffffffff16565b505b6145ca3360e060008881526020019081526020016000206000016163c590919063ffffffff16565b508060e0600087815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301559050503373ffffffffffffffffffffffffffffffffffffffff16857f45d80d7ccd739af6ae7190d6111f03713ea5cc645f29092df5e8d02866826bcc8660cb6040516146d192919061926e565b60405180910390a35050505050565b6060600061470260e0600085815260200190815260200160002060000161541f565b67ffffffffffffffff811115614741577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561477a57816020015b6147676174f2565b81526020019060019003908161475f5790505b50905060005b61479e60e0600086815260200190815260200160002060000161541f565b8110156149105760006147cf8260e0600088815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506148b08161544e565b156148fb57808484815181106148ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b5050808061490890619784565b915050614780565b5080915050919050565b60ca60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146149aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016149a19061901d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a1190618d5d565b60405180910390fd5b600060d060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060d6548160a0015114614aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614ae390618dfd565b60405180910390fd5b8160da60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000609960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8060d960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600060cf60149054906101000a900460ff16905090565b614ca46156f7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480614cea5750614ce985614ce46156f7565b614b6f565b5b614d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d2090618dbd565b60405180910390fd5b614d3685858585856163f5565b5050505050565b614d456156f7565b73ffffffffffffffffffffffffffffffffffffffff16614d636132b5565b73ffffffffffffffffffffffffffffffffffffffff1614614db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614db090618f9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614e2090618d7d565b60405180910390fd5b614e3281615edd565b50565b600060019054906101000a900460ff1680614e5b575060008054906101000a900460ff16155b614e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614e9190618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015614eea576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b614f026040518060200160405280600081525061667a565b8460cb9080519060200190614f1892919061758f565b508360cc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360cd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260cf60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260d760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ce60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160cf60146101000a81548160ff0219169083151502179055506103cf60d181905550600060d281905550600060d381905550601960d481905550601960d5819055506103e860d6819055506201518060db819055506301e1338060dc819055506040518060c0016040528060d154815260200160d254815260200160d354815260200160d454815260200160d554815260200160d65481525060d060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a082015181600501559050506151f36040518060400160405280600e81526020017f5f657263373231416464726573730000000000000000000000000000000000008152508561676d565b3360ca60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160d860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080156152965760008060016101000a81548160ff0219169083151502179055505b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000818361531591906195dd565b905092915050565b6000818361532b91906195ac565b905092915050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016153909190619253565b60206040518083038186803b1580156153a857600080fd5b505afa9250505080156153d957506040513d601f19601f820116820180604052508101906153d69190617920565b60015b6153e65760009050615419565b8273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150505b92915050565b600061542d82600001616809565b9050919050565b6000615443836000018361681a565b60001c905092915050565b600061546282600001518360400151615333565b1580156155235750816020015160cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e8460400151306040518363ffffffff1660e01b81526004016154d09291906189ce565b60206040518083038186803b1580156154e857600080fd5b505afa1580156154fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906155209190617eca565b10155b8015615533575060008260200151115b80156155425750428260600151115b156155505760019050615551565b5b919050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663081812fc836040518263ffffffff1660e01b81526004016155b39190619253565b60206040518083038186803b1580156155cb57600080fd5b505afa9250505080156155fc57506040513d601f19601f820116820180604052508101906155f99190617920565b60015b615609576000905061563c565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150505b919050565b600060cc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c583306040518363ffffffff1660e01b81526004016156a09291906189ce565b60206040518083038186803b1580156156b857600080fd5b505afa1580156156cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906156f09190617d44565b9050919050565b600033905090565b8151835114615743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161573a906190fd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156157b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016157aa90618edd565b60405180910390fd5b60006157bd6156f7565b90506157cd81878787878761686b565b60005b84518110156159cd576000858281518110615814577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110615859577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006098600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156158fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016158f290618f5d565b60405180910390fd5b8181036098600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816098600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546159b29190619556565b92505081905550505050806159c690619784565b90506157d0565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051615a44929190618c17565b60405180910390a4615a5a818787878787616873565b505050505050565b60008183615a709190619637565b905092915050565b615afb846323b872dd60e01b858585604051602401615a9993929190618aa4565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050616a5a565b50505050565b615b158160de6163ab90919063ffffffff16565b15615b855760dd600082815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560038201600090555050615b838160de616b2190919063ffffffff16565b505b50565b615bb08160e06000858152602001908152602001600020600001616b3b90919063ffffffff16565b15615cb05760e0600083815260200190815260200160002060020160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560038201600090555050615c728160e06000858152602001908152602001600020600001616b6b90919063ffffffff16565b506000615c9360e0600085815260200190815260200160002060000161541f565b1415615caf57615cad8260e1616b2190919063ffffffff16565b505b5b5050565b6000615cc282600001616809565b9050919050565b6000615cd8836000018361681a565b60001c905092915050565b6000615cf782600001518360400151615333565b8015615d205750615d0b8260000151615556565b80615d1f5750615d1e8260400151615641565b5b5b8015615d30575060008260200151115b8015615d3f5750428260600151115b15615d4d5760019050615d4e565b5b919050565b6000806000905060005b615d7b60e0600086815260200190815260200160002060000161541f565b811015615ebd576000615dac8260e0600088815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509050615e8d8161544e565b615ea857615ea5600185615ec790919063ffffffff16565b93505b50508080615eb590619784565b915050615d5d565b5080915050919050565b60008183615ed59190619556565b905092915050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b615fc460e0600084815260200190815260200160002060000161541f565b81101561617a576000615ff58260e0600086815260200190815260200160002060000161543490919063ffffffff16565b9050600060e0600085815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090506160d68161544e565b6161655760e66161048460e0600088815260200190815260200160002060000161543490919063ffffffff16565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050808061617290619784565b915050615fa6565b5060005b60e68054905081101561621257600060e682815481106161c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506161fe8382615b88565b50808061620a90619784565b91505061617e565b5060e660006162219190617615565b50565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415616293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161628a9061909d565b60405180910390fd5b80609960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516163849190618c4e565b60405180910390a3505050565b60006163a3836000018360001b616b9b565b905092915050565b60006163bd836000018360001b616c0b565b905092915050565b60006163ed836000018373ffffffffffffffffffffffffffffffffffffffff1660001b616b9b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415616465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161645c90618edd565b60405180910390fd5b600061646f6156f7565b905061648f81878761648088616c2e565b61648988616c2e565b8761686b565b60006098600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015616527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161651e90618f5d565b60405180910390fd5b8381036098600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836098600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546165de9190619556565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161665b92919061929e565b60405180910390a4616671828888888888616cf4565b50505050505050565b600060019054906101000a900460ff16806166a0575060008054906101000a900460ff16155b6166df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016166d690618f1d565b60405180910390fd5b60008060019054906101000a900460ff16159050801561672f576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b616737616edb565b61673f616fb4565b6167488261708d565b80156167695760008060016101000a81548160ff0219169083151502179055505b5050565b6168058282604051602401616783929190618c8b565b6040516020818303038152906040527f319af333000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050617170565b5050565b600081600001805490509050919050565b6000826000018281548110616858577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b505050505050565b6168928473ffffffffffffffffffffffffffffffffffffffff16617199565b15616a52578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016168d8959493929190618a3c565b602060405180830381600087803b1580156168f257600080fd5b505af192505050801561692357506040513d601f19601f820116820180604052508101906169209190617d96565b60015b6169c95761692f619889565b806308c379a0141561698c575061694461a41d565b8061694f575061698e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016169839190618c69565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016169c090618cdd565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614616a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616a4790618d1d565b60405180910390fd5b505b505050505050565b6000616abc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166171ac9092919063ffffffff16565b9050600081511115616b1c5780806020019051810190616adc9190617d44565b616b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616b12906190bd565b60405180910390fd5b5b505050565b6000616b33836000018360001b6171c4565b905092915050565b6000616b63836000018373ffffffffffffffffffffffffffffffffffffffff1660001b616c0b565b905092915050565b6000616b93836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6171c4565b905092915050565b6000616ba78383616c0b565b616c00578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050616c05565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60606000600167ffffffffffffffff811115616c73577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015616ca15781602001602082028036833780820191505090505b5090508281600081518110616cdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b616d138473ffffffffffffffffffffffffffffffffffffffff16617199565b15616ed3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401616d59959493929190618adb565b602060405180830381600087803b158015616d7357600080fd5b505af1925050508015616da457506040513d601f19601f82011682018060405250810190616da19190617d96565b60015b616e4a57616db0619889565b806308c379a01415616e0d5750616dc561a41d565b80616dd05750616e0f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616e049190618c69565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616e4190618cdd565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614616ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616ec890618d1d565b60405180910390fd5b505b505050505050565b600060019054906101000a900460ff1680616f01575060008054906101000a900460ff16155b616f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401616f3790618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015616f90576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015616fb15760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680616fda575060008054906101000a900460ff16155b617019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161701090618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015617069576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561708a5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806170b3575060008054906101000a900460ff16155b6170f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016170e990618f1d565b60405180910390fd5b60008060019054906101000a900460ff161590508015617142576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61714b8261734a565b801561716c5760008060016101000a81548160ff0219169083151502179055505b5050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b600080823b905060008111915050919050565b60606171bb8484600085617364565b90509392505050565b6000808360010160008481526020019081526020016000205490506000811461733e5760006001826171f69190619637565b905060006001866000018054905061720e9190619637565b90508181146172c9576000866000018281548110617255577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061729f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480617303577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050617344565b60009150505b92915050565b80609a908051906020019061736092919061758f565b5050565b6060824710156173a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016173a090618e5d565b60405180910390fd5b6173b285617478565b6173f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016173e89061907d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161741a919061899c565b60006040518083038185875af1925050503d8060008114617457576040519150601f19603f3d011682016040523d82523d6000602084013e61745c565b606091505b509150915061746c82828661748b565b92505050949350505050565b600080823b905060008111915050919050565b6060831561749b578290506174eb565b6000835111156174ae5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016174e29190618c69565b60405180910390fd5b9392505050565b60405180608001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b508054600082559060005260206000209081019061754e9190617636565b50565b60405180608001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b82805461759b90619721565b90600052602060002090601f0160209004810192826175bd5760008555617604565b82601f106175d657805160ff1916838001178555617604565b82800160010185558215617604579182015b828111156176035782518255916020019190600101906175e8565b5b5090506176119190617636565b5090565b50805460008255906000526020600020908101906176339190617636565b50565b5b8082111561764f576000816000905550600101617637565b5090565b600061766661766184619399565b619374565b9050808382526020820190508285602086028201111561768557600080fd5b60005b858110156176b5578161769b88826177a7565b845260208401935060208301925050600181019050617688565b5050509392505050565b60006176d26176cd846193c5565b619374565b905080838252602082019050828560208602820111156176f157600080fd5b60005b85811015617721578161770788826178cd565b8452602084019350602083019250506001810190506176f4565b5050509392505050565b600061773e617739846193f1565b619374565b90508281526020810184848401111561775657600080fd5b6177618482856196df565b509392505050565b600061777c61777784619422565b619374565b90508281526020810184848401111561779457600080fd5b61779f8482856196df565b509392505050565b6000813590506177b68161a4b3565b92915050565b6000815190506177cb8161a4b3565b92915050565b600082601f8301126177e257600080fd5b81356177f2848260208601617653565b91505092915050565b600082601f83011261780c57600080fd5b813561781c8482602086016176bf565b91505092915050565b6000813590506178348161a4ca565b92915050565b6000815190506178498161a4ca565b92915050565b60008135905061785e8161a4e1565b92915050565b6000815190506178738161a4e1565b92915050565b600082601f83011261788a57600080fd5b813561789a84826020860161772b565b91505092915050565b600082601f8301126178b457600080fd5b81356178c4848260208601617769565b91505092915050565b6000813590506178dc8161a4f8565b92915050565b6000815190506178f18161a4f8565b92915050565b60006020828403121561790957600080fd5b6000617917848285016177a7565b91505092915050565b60006020828403121561793257600080fd5b6000617940848285016177bc565b91505092915050565b6000806040838503121561795c57600080fd5b600061796a858286016177a7565b925050602061797b858286016177a7565b9150509250929050565b600080600080600060a0868803121561799d57600080fd5b60006179ab888289016177a7565b95505060206179bc888289016177a7565b945050604086013567ffffffffffffffff8111156179d957600080fd5b6179e5888289016177fb565b935050606086013567ffffffffffffffff811115617a0257600080fd5b617a0e888289016177fb565b925050608086013567ffffffffffffffff811115617a2b57600080fd5b617a3788828901617879565b9150509295509295909350565b600080600060608486031215617a5957600080fd5b6000617a67868287016177a7565b9350506020617a78868287016177a7565b9250506040617a89868287016178cd565b9150509250925092565b60008060008060808587031215617aa957600080fd5b6000617ab7878288016177a7565b9450506020617ac8878288016177a7565b9350506040617ad9878288016178cd565b9250506060617aea878288016178cd565b91505092959194509250565b600080600080600060a08688031215617b0e57600080fd5b6000617b1c888289016177a7565b9550506020617b2d888289016177a7565b9450506040617b3e888289016178cd565b9350506060617b4f888289016178cd565b925050608086013567ffffffffffffffff811115617b6c57600080fd5b617b7888828901617879565b9150509295509295909350565b60008060408385031215617b9857600080fd5b6000617ba6858286016177a7565b9250506020617bb785828601617825565b9150509250929050565b60008060408385031215617bd457600080fd5b6000617be2858286016177a7565b9250506020617bf3858286016178cd565b9150509250929050565b600080600060608486031215617c1257600080fd5b6000617c20868287016177a7565b9350506020617c31868287016178cd565b9250506040617c42868287016178cd565b9150509250925092565b60008060008060808587031215617c6257600080fd5b6000617c70878288016177a7565b9450506020617c81878288016178cd565b9350506040617c92878288016178cd565b9250506060617ca3878288016178cd565b91505092959194509250565b60008060408385031215617cc257600080fd5b600083013567ffffffffffffffff811115617cdc57600080fd5b617ce8858286016177d1565b925050602083013567ffffffffffffffff811115617d0557600080fd5b617d11858286016177fb565b9150509250929050565b600060208284031215617d2d57600080fd5b6000617d3b84828501617825565b91505092915050565b600060208284031215617d5657600080fd5b6000617d648482850161783a565b91505092915050565b600060208284031215617d7f57600080fd5b6000617d8d8482850161784f565b91505092915050565b600060208284031215617da857600080fd5b6000617db684828501617864565b91505092915050565b600080600060608486031215617dd457600080fd5b600084013567ffffffffffffffff811115617dee57600080fd5b617dfa868287016178a3565b9350506020617e0b868287016177a7565b9250506040617e1c868287016177a7565b9150509250925092565b60008060008060808587031215617e3c57600080fd5b600085013567ffffffffffffffff811115617e5657600080fd5b617e62878288016178a3565b9450506020617e73878288016177a7565b9350506040617e84878288016177a7565b9250506060617e95878288016177a7565b91505092959194509250565b600060208284031215617eb357600080fd5b6000617ec1848285016178cd565b91505092915050565b600060208284031215617edc57600080fd5b6000617eea848285016178e2565b91505092915050565b60008060408385031215617f0657600080fd5b6000617f14858286016178cd565b9250506020617f25858286016177a7565b9150509250929050565b60008060408385031215617f4257600080fd5b6000617f50858286016178cd565b9250506020617f61858286016178cd565b9150509250929050565b600080600060608486031215617f8057600080fd5b6000617f8e868287016178cd565b9350506020617f9f868287016178cd565b9250506040617fb0868287016178cd565b9150509250925092565b6000617fc6838361882a565b60808301905092915050565b6000617fde83836188d4565b60808301905092915050565b6000617ff6838361897e565b60208301905092915050565b61800b8161966b565b82525050565b61801a8161966b565b82525050565b600061802b82619498565b61803581856194f6565b935061804083619453565b8060005b838110156180715781516180588882617fba565b9750618063836194cf565b925050600181019050618044565b5085935050505092915050565b6000618089826194a3565b6180938185619507565b935061809e83619463565b8060005b838110156180cf5781516180b68882617fd2565b97506180c1836194dc565b9250506001810190506180a2565b5085935050505092915050565b60006180e7826194ae565b6180f18185619518565b93506180fc83619473565b8060005b8381101561812d5781516181148882617fea565b975061811f836194e9565b925050600181019050618100565b5085935050505092915050565b6181438161967d565b82525050565b6000618154826194b9565b61815e8185619529565b935061816e8185602086016196ee565b618177816198ab565b840191505092915050565b600061818d826194b9565b618197818561953a565b93506181a78185602086016196ee565b80840191505092915050565b60006181be826194c4565b6181c88185619545565b93506181d88185602086016196ee565b6181e1816198ab565b840191505092915050565b600081546181f981619721565b6182038186619545565b9450600182166000811461821e576001811461823057618263565b60ff1983168652602086019350618263565b61823985619483565b60005b8381101561825b5781548189015260018201915060208101905061823c565b808801955050505b50505092915050565b6000618279603483619545565b9150618284826198c9565b604082019050919050565b600061829c603583619545565b91506182a782619918565b604082019050919050565b60006182bf602883619545565b91506182ca82619967565b604082019050919050565b60006182e2602b83619545565b91506182ed826199b6565b604082019050919050565b6000618305601883619545565b915061831082619a05565b602082019050919050565b6000618328602683619545565b915061833382619a2e565b604082019050919050565b600061834b602583619545565b915061835682619a7d565b604082019050919050565b600061836e602983619545565b915061837982619acc565b604082019050919050565b6000618391601f83619545565b915061839c82619b1b565b602082019050919050565b60006183b4601a83619545565b91506183bf82619b44565b602082019050919050565b60006183d7601a83619545565b91506183e282619b6d565b602082019050919050565b60006183fa602c83619545565b915061840582619b96565b604082019050919050565b600061841d602683619545565b915061842882619be5565b604082019050919050565b6000618440602583619545565b915061844b82619c34565b604082019050919050565b6000618463602283619545565b915061846e82619c83565b604082019050919050565b6000618486603883619545565b915061849182619cd2565b604082019050919050565b60006184a9602583619545565b91506184b482619d21565b604082019050919050565b60006184cc603283619545565b91506184d782619d70565b604082019050919050565b60006184ef602e83619545565b91506184fa82619dbf565b604082019050919050565b6000618512603683619545565b915061851d82619e0e565b604082019050919050565b6000618535602a83619545565b915061854082619e5d565b604082019050919050565b6000618558601583619545565b915061856382619eac565b602082019050919050565b600061857b602083619545565b915061858682619ed5565b602082019050919050565b600061859e602483619545565b91506185a982619efe565b604082019050919050565b60006185c1603683619545565b91506185cc82619f4d565b604082019050919050565b60006185e4602683619545565b91506185ef82619f9c565b604082019050919050565b6000618607601883619545565b915061861282619feb565b602082019050919050565b600061862a602b83619545565b91506186358261a014565b604082019050919050565b600061864d602a83619545565b91506186588261a063565b604082019050919050565b6000618670601d83619545565b915061867b8261a0b2565b602082019050919050565b6000618693602983619545565b915061869e8261a0db565b604082019050919050565b60006186b6602a83619545565b91506186c18261a12a565b604082019050919050565b60006186d9602983619545565b91506186e48261a179565b604082019050919050565b60006186fc602883619545565b91506187078261a1c8565b604082019050919050565b600061871f602583619545565b915061872a8261a217565b604082019050919050565b6000618742601f83619545565b915061874d8261a266565b602082019050919050565b6000618765602283619545565b91506187708261a28f565b604082019050919050565b6000618788601c83619545565b91506187938261a2de565b602082019050919050565b60006187ab601f83619545565b91506187b68261a307565b602082019050919050565b60006187ce602583619545565b91506187d98261a330565b604082019050919050565b60006187f1602883619545565b91506187fc8261a37f565b604082019050919050565b6000618814602483619545565b915061881f8261a3ce565b604082019050919050565b608082016000820151618840600085018261897e565b506020820151618853602085018261897e565b5060408201516188666040850182618002565b506060820151618879606085018261897e565b50505050565b608082016000820151618895600085018261897e565b5060208201516188a8602085018261897e565b5060408201516188bb6040850182618002565b5060608201516188ce606085018261897e565b50505050565b6080820160008201516188ea600085018261897e565b5060208201516188fd602085018261897e565b5060408201516189106040850182618002565b506060820151618923606085018261897e565b50505050565b60808201600082015161893f600085018261897e565b506020820151618952602085018261897e565b5060408201516189656040850182618002565b506060820151618978606085018261897e565b50505050565b618987816196d5565b82525050565b618996816196d5565b82525050565b60006189a88284618182565b915081905092915050565b60006020820190506189c86000830184618011565b92915050565b60006040820190506189e36000830185618011565b6189f06020830184618011565b9392505050565b6000608082019050618a0c6000830187618011565b618a196020830186618011565b618a266040830185618011565b618a336060830184618011565b95945050505050565b600060a082019050618a516000830188618011565b618a5e6020830187618011565b8181036040830152618a7081866180dc565b90508181036060830152618a8481856180dc565b90508181036080830152618a988184618149565b90509695505050505050565b6000606082019050618ab96000830186618011565b618ac66020830185618011565b618ad3604083018461898d565b949350505050565b600060a082019050618af06000830188618011565b618afd6020830187618011565b618b0a604083018661898d565b618b17606083018561898d565b8181036080830152618b298184618149565b90509695505050505050565b600060a082019050618b4a6000830188618011565b618b576020830187618011565b618b64604083018661898d565b618b71606083018561898d565b618b7e608083018461898d565b9695505050505050565b6000604082019050618b9d6000830185618011565b618baa602083018461898d565b9392505050565b60006020820190508181036000830152618bcb8184618020565b905092915050565b60006020820190508181036000830152618bed818461807e565b905092915050565b60006020820190508181036000830152618c0f81846180dc565b905092915050565b60006040820190508181036000830152618c3181856180dc565b90508181036020830152618c4581846180dc565b90509392505050565b6000602082019050618c63600083018461813a565b92915050565b60006020820190508181036000830152618c8381846181b3565b905092915050565b60006040820190508181036000830152618ca581856181b3565b9050618cb46020830184618011565b9392505050565b60006020820190508181036000830152618cd581846181ec565b905092915050565b60006020820190508181036000830152618cf68161826c565b9050919050565b60006020820190508181036000830152618d168161828f565b9050919050565b60006020820190508181036000830152618d36816182b2565b9050919050565b60006020820190508181036000830152618d56816182d5565b9050919050565b60006020820190508181036000830152618d76816182f8565b9050919050565b60006020820190508181036000830152618d968161831b565b9050919050565b60006020820190508181036000830152618db68161833e565b9050919050565b60006020820190508181036000830152618dd681618361565b9050919050565b60006020820190508181036000830152618df681618384565b9050919050565b60006020820190508181036000830152618e16816183a7565b9050919050565b60006020820190508181036000830152618e36816183ca565b9050919050565b60006020820190508181036000830152618e56816183ed565b9050919050565b60006020820190508181036000830152618e7681618410565b9050919050565b60006020820190508181036000830152618e9681618433565b9050919050565b60006020820190508181036000830152618eb681618456565b9050919050565b60006020820190508181036000830152618ed681618479565b9050919050565b60006020820190508181036000830152618ef68161849c565b9050919050565b60006020820190508181036000830152618f16816184bf565b9050919050565b60006020820190508181036000830152618f36816184e2565b9050919050565b60006020820190508181036000830152618f5681618505565b9050919050565b60006020820190508181036000830152618f7681618528565b9050919050565b60006020820190508181036000830152618f968161854b565b9050919050565b60006020820190508181036000830152618fb68161856e565b9050919050565b60006020820190508181036000830152618fd681618591565b9050919050565b60006020820190508181036000830152618ff6816185b4565b9050919050565b60006020820190508181036000830152619016816185d7565b9050919050565b60006020820190508181036000830152619036816185fa565b9050919050565b600060208201905081810360008301526190568161861d565b9050919050565b6000602082019050818103600083015261907681618640565b9050919050565b6000602082019050818103600083015261909681618663565b9050919050565b600060208201905081810360008301526190b681618686565b9050919050565b600060208201905081810360008301526190d6816186a9565b9050919050565b600060208201905081810360008301526190f6816186cc565b9050919050565b60006020820190508181036000830152619116816186ef565b9050919050565b6000602082019050818103600083015261913681618712565b9050919050565b6000602082019050818103600083015261915681618735565b9050919050565b6000602082019050818103600083015261917681618758565b9050919050565b600060208201905081810360008301526191968161877b565b9050919050565b600060208201905081810360008301526191b68161879e565b9050919050565b600060208201905081810360008301526191d6816187c1565b9050919050565b600060208201905081810360008301526191f6816187e4565b9050919050565b6000602082019050818103600083015261921681618807565b9050919050565b6000608082019050619232600083018461887f565b92915050565b600060808201905061924d6000830184618929565b92915050565b6000602082019050619268600083018461898d565b92915050565b6000604082019050619283600083018561898d565b818103602083015261929581846181ec565b90509392505050565b60006040820190506192b3600083018561898d565b6192c0602083018461898d565b9392505050565b60006080820190506192dc600083018761898d565b6192e9602083018661898d565b6192f6604083018561898d565b818103606083015261930881846181ec565b905095945050505050565b600060c082019050619328600083018961898d565b619335602083018861898d565b619342604083018761898d565b61934f606083018661898d565b61935c608083018561898d565b61936960a083018461898d565b979650505050505050565b600061937e61938f565b905061938a8282619753565b919050565b6000604051905090565b600067ffffffffffffffff8211156193b4576193b361985a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156193e0576193df61985a565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561940c5761940b61985a565b5b619415826198ab565b9050602081019050919050565b600067ffffffffffffffff82111561943d5761943c61985a565b5b619446826198ab565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000619561826196d5565b915061956c836196d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156195a1576195a06197cd565b5b828201905092915050565b60006195b7826196d5565b91506195c2836196d5565b9250826195d2576195d16197fc565b5b828204905092915050565b60006195e8826196d5565b91506195f3836196d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561962c5761962b6197cd565b5b828202905092915050565b6000619642826196d5565b915061964d836196d5565b9250828210156196605761965f6197cd565b5b828203905092915050565b6000619676826196b5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561970c5780820151818401526020810190506196f1565b8381111561971b576000848401525b50505050565b6000600282049050600182168061973957607f821691505b6020821081141561974d5761974c61982b565b5b50919050565b61975c826198ab565b810181811067ffffffffffffffff8211171561977b5761977a61985a565b5b80604052505050565b600061978f826196d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156197c2576197c16197cd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156198a85760046000803e6198a56000516198bc565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f54686520746f6b656e206973206e6f7420617070726f76656420746f2074726160008201527f6e736665722062792074686520636f6e74726163740000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f43616e27742073657420746f2061646472657373203078300000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206f776e65722063616e277420627579207468656972206f776e2060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4c697374696e6720616e642062696420617265206e6f7420656e61626c656400600082015250565b7f5468697320746f6b656e206973206e6f74207265676973746564000000000000600082015250565b7f506c656173652062696420666f72206d6f7265207468616e2030000000000000600082015250565b7f5468652076616c75652073656e642069732062656c6f772073616c652070726960008201527f636520706c757320666565730000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f506c6561736520656e74657220612073686f7274657220706572696f64206f6660008201527f2074696d65000000000000000000000000000000000000000000000000000000602082015250565b7f5468697320546f6b656e2062656c6f6e677320746f207468697320616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f506c65617365206c69737420666f72206d6f7265207468616e2030206f72207560008201527f736520746865207472616e736665722066756e6374696f6e0000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4e65656420746f206861766520656e6f75676820746f6b656e20686f6c64696e60008201527f6720746f20626964206f6e207468697320746f6b656e00000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f7420666f722073616c650000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468697320746f6b656e20646f6e27742073657420637265617465722061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e206973206e6f7420616c6c6f77656420746f2074726160008201527f6e73666572206279207468697320636f6e747261637400000000000000000000602082015250565b7f5468697320746f6b656e20646f65736e277420686176652061206d617463686960008201527f6e67206269640000000000000000000000000000000000000000000000000000602082015250565b7f61756374696f6e3a2077726f6e6720646576656c6f7065720000000000000000600082015250565b7f54686973206164647265737320646f65736e2774206861766520626964206f6e60008201527f207468697320746f6b656e000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206368616e6765207072696360008201527f65206f6620746f6b656e00000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e20646f6e2774207365742070726f647563657220616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4f6e6c7920746f6b656e2073656c6c65722063616e2064656c69737420746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c75652073656e642069732062656c6f77207a65726f00000000600082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206c69737420746f6b656e00600082015250565b7f416c6c6f7765642070657263656e746167652072616e6765206973203120746f60008201527f2031303030000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e20616363657074206269642060008201527f6f6620746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f506c6561736520656e7465722061206c6f6e67657220706572696f64206f662060008201527f74696d6500000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561a42d5761a4b0565b61a43561938f565b60043d036004823e80513d602482011167ffffffffffffffff8211171561a45d57505061a4b0565b808201805167ffffffffffffffff81111561a47b575050505061a4b0565b80602083010160043d03850181111561a49857505050505061a4b0565b61a4a782602001850186619753565b82955050505050505b90565b61a4bc8161966b565b811461a4c757600080fd5b50565b61a4d38161967d565b811461a4de57600080fd5b50565b61a4ea81619689565b811461a4f557600080fd5b50565b61a501816196d5565b811461a50c57600080fd5b5056fea2646970667358221220a4debc3de32d770d9b58b0dbb0a731594ce46ae1963e32e0b4f496a071ec73ba64736f6c63430008030033