ETH Price: $3,320.79 (+0.39%)
Gas: 18 Gwei

Token

Kevatars (Keva)
 

Overview

Max Total Supply

666 Keva

Holders

70

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
dabloon.eth
Balance
10 Keva
0xb60827E66f3CAc095B43C945D11f76B49544cf12
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MasterchefMasatoshi

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : MasterchefMasatoshi.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./ERC721.sol";

/**
 * @title MasterchefMasatoshi
 * NFT + DAO = NEW META
 * Vitalik, remove contract size limit pls
 */
contract MasterchefMasatoshi is ERC721, Ownable {
    string public PROVENANCE;
    bool provenanceSet;

    uint256 public mintPrice;
    uint256 public maxPossibleSupply;

    bool public saleIsActive;

    address public immutable currency;
    address immutable wrappedNativeCoinAddress;

    uint256 public percentToVote = 60;
    uint256 public votingDuration = 86400;

    bool public isDao;
    bool public percentToVoteFrozen;
    bool public votingDurationFrozen;

    event VotingCreated(
        address contractAddress,
        bytes data,
        uint256 value,
        string comment,
        uint256 indexed index,
        uint256 timestamp
    );
    event VotingSigned(uint256 indexed index, address indexed signer, uint256 timestamp);
    event VotingActivated(uint256 indexed index, uint256 timestamp, bytes result);
    event Received(address, uint256);

    struct Voting {
        address contractAddress;
        bytes data;
        uint256 value;
        string comment;
        uint256 index;
        uint256 timestamp;
        bool isActivated;
        address[] signers;
    }

    Voting[] public votings;

    receive() external payable {
        emit Received(_msgSender(), msg.value);
    }

    modifier onlyHoldersOrOwner {
        require((isDao && balanceOf(_msgSender()) > 0) || _msgSender() == owner());
        _;
    }

    modifier onlyContractOrOwner {
        require(_msgSender() == address(this) || _msgSender() == owner());
        _;
    }

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _maxPossibleSupply,
        uint256 _mintPrice,
        address _currency,
        address _wrappedNativeCoinAddress
    ) ERC721(_name, _symbol, 10) {
        maxPossibleSupply = _maxPossibleSupply;
        mintPrice = _mintPrice;
        currency = _currency;
        wrappedNativeCoinAddress = _wrappedNativeCoinAddress;
    }

    function preMint(uint amount) public onlyContractOrOwner {
        require(totalSupply() + amount <= maxPossibleSupply, "m");  
        _safeMint(_msgSender(), amount);
    }

    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        require(!provenanceSet);
        PROVENANCE = provenanceHash;
        provenanceSet = true;
    }

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

    function flipSaleState() public onlyContractOrOwner {
        saleIsActive = !saleIsActive;
    }

    function permanentlyConvertToDao() external onlyOwner {
        isDao = true;
    }

    function createVoting(
        address _contractAddress,
        bytes calldata _data,
        uint256 _value,
        string memory _comment
    ) external onlyHoldersOrOwner returns (bool success) {
        address[] memory _signers;

        votings.push(
            Voting({
                contractAddress: _contractAddress,
                data: _data,
                value: _value,
                comment: _comment,
                index: votings.length,
                timestamp: block.timestamp,
                isActivated: false,
                signers: _signers
            })
        );

        emit VotingCreated(_contractAddress, _data, _value, _comment, votings.length - 1, block.timestamp);

        return true;
    }

    function signVoting(uint256 _index) external onlyHoldersOrOwner returns (bool success) {
        for (uint256 i = 0; i < votings[_index].signers.length; i++) {
            require(_msgSender() != votings[_index].signers[i], "v");
        }

        require(block.timestamp <= votings[_index].timestamp + votingDuration, "t");

        votings[_index].signers.push(_msgSender());
        emit VotingSigned(_index, _msgSender(), block.timestamp);
        return true;
    }

    function activateVoting(uint256 _index) external {
        uint256 sumOfSigners = 0;

        for (uint256 i = 0; i < votings[_index].signers.length; i++) {
            sumOfSigners += balanceOf(votings[_index].signers[i]);
        }

        require(sumOfSigners >= totalSupply() * percentToVote / 100, "s");
        require(!votings[_index].isActivated, "a");

        address _contractToCall = votings[_index].contractAddress;
        bytes storage _data = votings[_index].data;
        uint256 _value = votings[_index].value;
        (bool b, bytes memory result) = _contractToCall.call{value: _value}(_data);

        require(b);

        votings[_index].isActivated = true;

        emit VotingActivated(_index, block.timestamp, result);
    }

    function changePercentToVote(uint256 _percentToVote) public onlyContractOrOwner returns (bool success) {
        require(_percentToVote >= 1 && _percentToVote <= 100 && !percentToVoteFrozen, "f");
        percentToVote = _percentToVote;
        return true;
    }

    function freezePercentToVoteFrozen() public onlyContractOrOwner returns (bool success) {
        percentToVoteFrozen = true;
        return true;
    }

    function changeVotingDuration(uint256 _votingDuration) public onlyContractOrOwner returns (bool success) {
        require(!votingDurationFrozen, "f");
        require(
            _votingDuration == 2 hours || _votingDuration == 24 hours || _votingDuration == 72 hours, "t"
        );
        votingDuration = _votingDuration;
        return true;
    }

    function freezeVotingDuration() public onlyContractOrOwner returns (bool success) {
        votingDurationFrozen = true;
        return true;
    }

    function mintTokens(uint _amount) public payable {
        require(saleIsActive, "s");
        require(totalSupply() + _amount <= maxPossibleSupply, "m");

        if (currency == wrappedNativeCoinAddress) {
            require(mintPrice * _amount <= msg.value, "a");
        } else {
            IERC20 _currency = IERC20(currency);
            _currency.transferFrom(_msgSender(), address(this), _amount * mintPrice);    
        }

        if (totalSupply() < maxPossibleSupply) {
            _safeMint(_msgSender(), _amount);
        }
    }

    function getAllVotings() external view returns (Voting[] memory) {
        return votings;
    }

    function withdraw() public onlyContractOrOwner() {
        uint balance = address(this).balance;
        payable(_msgSender()).transfer(balance);
    }

    function withdrawTokens(address tokenAddress) external onlyContractOrOwner() {
        IERC20(tokenAddress).transfer(_msgSender(), IERC20(tokenAddress).balanceOf(address(this)));
    }
}

// The High Table

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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);
}

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

pragma solidity ^0.8.10;

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

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Base URI
    string private _baseURI;

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

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

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

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

    /**
     * @dev
     * `maxBatchSize` refers to how much a minter can mint at a time.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_
    ) {
        require(maxBatchSize_ > 0, "b");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), "g");
        return index;
    }

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

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), "0");
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), "t");

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

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

        revert("o");
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "z");

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

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

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }



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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "a"
        );

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "a");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), "a");

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "z"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

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

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

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "z"
            );
            updatedIndex++;
        }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        require(isApprovedOrOwner, "a");

        require(prevOwnership.addr == from, "o");
        require(to != address(0), "0");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    uint256 public nextOwnerToExplicitlySet = 0;

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_maxPossibleSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"address","name":"_wrappedNativeCoinAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"result","type":"bytes"}],"name":"VotingActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"comment","type":"string"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"VotingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"address","name":"signer","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"VotingSigned","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"activateVoting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentToVote","type":"uint256"}],"name":"changePercentToVote","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_votingDuration","type":"uint256"}],"name":"changeVotingDuration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"string","name":"_comment","type":"string"}],"name":"createVoting","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezePercentToVoteFrozen","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeVotingDuration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllVotings","outputs":[{"components":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"comment","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bool","name":"isActivated","type":"bool"},{"internalType":"address[]","name":"signers","type":"address[]"}],"internalType":"struct MasterchefMasatoshi.Voting[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDao","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPossibleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentToVote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentToVoteFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permanentlyConvertToDao","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"signVoting","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"votingDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"votingDurationFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"votings","outputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"comment","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bool","name":"isActivated","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e0604052600080556000600855603c600f55620151806010553480156200002657600080fd5b50604051620066033803806200660383398181016040528101906200004c919062000530565b8585600a6000811162000096576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200008d906200066b565b60405180910390fd5b8260019080519060200190620000ae92919062000243565b508160029080519060200190620000c792919062000243565b508060808181525050505050620000f3620000e76200017560201b60201c565b6200017d60201b60201c565b83600d8190555082600c819055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505050505050620006f2565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025190620006bc565b90600052602060002090601f016020900481019282620002755760008555620002c1565b82601f106200029057805160ff1916838001178555620002c1565b82800160010185558215620002c1579182015b82811115620002c0578251825591602001919060010190620002a3565b5b509050620002d09190620002d4565b5090565b5b80821115620002ef576000816000905550600101620002d5565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200035c8262000311565b810181811067ffffffffffffffff821117156200037e576200037d62000322565b5b80604052505050565b600062000393620002f3565b9050620003a1828262000351565b919050565b600067ffffffffffffffff821115620003c457620003c362000322565b5b620003cf8262000311565b9050602081019050919050565b60005b83811015620003fc578082015181840152602081019050620003df565b838111156200040c576000848401525b50505050565b6000620004296200042384620003a6565b62000387565b9050828152602081018484840111156200044857620004476200030c565b5b62000455848285620003dc565b509392505050565b600082601f83011262000475576200047462000307565b5b81516200048784826020860162000412565b91505092915050565b6000819050919050565b620004a58162000490565b8114620004b157600080fd5b50565b600081519050620004c5816200049a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004f882620004cb565b9050919050565b6200050a81620004eb565b81146200051657600080fd5b50565b6000815190506200052a81620004ff565b92915050565b60008060008060008060c0878903121562000550576200054f620002fd565b5b600087015167ffffffffffffffff81111562000571576200057062000302565b5b6200057f89828a016200045d565b965050602087015167ffffffffffffffff811115620005a357620005a262000302565b5b620005b189828a016200045d565b9550506040620005c489828a01620004b4565b9450506060620005d789828a01620004b4565b9350506080620005ea89828a0162000519565b92505060a0620005fd89828a0162000519565b9150509295509295509295565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000620006536001836200060a565b915062000660826200061b565b602082019050919050565b60006020820190508181036000830152620006868162000644565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006d557607f821691505b60208210811415620006ec57620006eb6200068d565b5b50919050565b60805160a05160c051615ec56200073e6000396000611f61015260008181611f980152818161202c0152612d2801526000818161396c015281816139950152613fb50152615ec56000f3fe6080604052600436106102975760003560e01c806370a082311161015a578063b88d4fde116100c1578063e5a6b10f1161007a578063e5a6b10f14610a5e578063e985e9c514610a89578063eb8d244414610ac6578063f0efb08914610af1578063f2fde38b14610b1c578063f6ead0b914610b45576102de565b8063b88d4fde14610928578063bb5f0a9514610951578063c87b56dd1461098e578063d5f76210146109cb578063d7224ba014610a08578063e4c41bb414610a33576102de565b806397304ced1161011357806397304ced1461080d578063a22cb46514610829578063a598d03c14610852578063a6e39fc114610895578063a9361ffd146108d2578063b21a41d2146108fd576102de565b806370a08231146106fd578063715018a61461073a578063859d784e146107515780638ad433ac1461078e5780638da5cb5b146107b757806395d89b41146107e2576102de565b80633ccfd60b116101fe5780635d86842a116101b75780635d86842a146105fd5780636352211e146106145780636373a6b1146106515780636817c76c1461067c5780636c0360eb146106a75780636cec67d0146106d2576102de565b80633ccfd60b1461050357806342842e0e1461051a57806349df728c146105435780634f6ccce71461056c5780635029e602146105a957806355f804b3146105d4576102de565b806318055c611161025057806318055c611461040557806318160ddd1461043057806323b872dd1461045b5780632f745c591461048457806334918dfd146104c1578063386b7691146104d8576102de565b806301ffc9a7146102e357806306fdde0314610320578063081812fc1461034b578063095ea7b31461038857806310969523146103b1578063132002fc146103da576102de565b366102de577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258746102c5610b6e565b346040516102d492919061462d565b60405180910390a1005b600080fd5b3480156102ef57600080fd5b5061030a600480360381019061030591906146c2565b610b76565b604051610317919061470a565b60405180910390f35b34801561032c57600080fd5b50610335610cc0565b60405161034291906147be565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d919061480c565b610d52565b60405161037f9190614839565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190614880565b610dd7565b005b3480156103bd57600080fd5b506103d860048036038101906103d391906149f5565b610ef0565b005b3480156103e657600080fd5b506103ef610fbb565b6040516103fc9190614a3e565b60405180910390f35b34801561041157600080fd5b5061041a610fc1565b604051610427919061470a565b60405180910390f35b34801561043c57600080fd5b50610445611068565b6040516104529190614a3e565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190614a59565b611071565b005b34801561049057600080fd5b506104ab60048036038101906104a69190614880565b611081565b6040516104b89190614a3e565b60405180910390f35b3480156104cd57600080fd5b506104d661127f565b005b3480156104e457600080fd5b506104ed61132e565b6040516104fa9190614a3e565b60405180910390f35b34801561050f57600080fd5b50610518611334565b005b34801561052657600080fd5b50610541600480360381019061053c9190614a59565b61140d565b005b34801561054f57600080fd5b5061056a60048036038101906105659190614aac565b61142d565b005b34801561057857600080fd5b50610593600480360381019061058e919061480c565b6115b2565b6040516105a09190614a3e565b60405180910390f35b3480156105b557600080fd5b506105be611605565b6040516105cb919061470a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f691906149f5565b611618565b005b34801561060957600080fd5b506106126116a0565b005b34801561062057600080fd5b5061063b6004803603810190610636919061480c565b611739565b6040516106489190614839565b60405180910390f35b34801561065d57600080fd5b5061066661174f565b60405161067391906147be565b60405180910390f35b34801561068857600080fd5b506106916117dd565b60405161069e9190614a3e565b60405180910390f35b3480156106b357600080fd5b506106bc6117e3565b6040516106c991906147be565b60405180910390f35b3480156106de57600080fd5b506106e7611875565b6040516106f4919061470a565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190614aac565b61191c565b6040516107319190614a3e565b60405180910390f35b34801561074657600080fd5b5061074f611a05565b005b34801561075d57600080fd5b5061077860048036038101906107739190614b39565b611a8d565b604051610785919061470a565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b0919061480c565b611d0f565b005b3480156107c357600080fd5b506107cc611dfd565b6040516107d99190614839565b60405180910390f35b3480156107ee57600080fd5b506107f7611e27565b60405161080491906147be565b60405180910390f35b6108276004803603810190610822919061480c565b611eb9565b005b34801561083557600080fd5b50610850600480360381019061084b9190614c09565b61210a565b005b34801561085e57600080fd5b506108796004803603810190610874919061480c565b61228b565b60405161088c9796959493929190614c9e565b60405180910390f35b3480156108a157600080fd5b506108bc60048036038101906108b7919061480c565b61241a565b6040516108c9919061470a565b60405180910390f35b3480156108de57600080fd5b506108e7612519565b6040516108f4919061470a565b60405180910390f35b34801561090957600080fd5b5061091261252c565b60405161091f919061470a565b60405180910390f35b34801561093457600080fd5b5061094f600480360381019061094a9190614dbc565b61253f565b005b34801561095d57600080fd5b506109786004803603810190610973919061480c565b61259b565b604051610985919061470a565b60405180910390f35b34801561099a57600080fd5b506109b560048036038101906109b0919061480c565b612894565b6040516109c291906147be565b60405180910390f35b3480156109d757600080fd5b506109f260048036038101906109ed919061480c565b61293c565b6040516109ff919061470a565b60405180910390f35b348015610a1457600080fd5b50610a1d612a7f565b604051610a2a9190614a3e565b60405180910390f35b348015610a3f57600080fd5b50610a48612a85565b604051610a55919061512f565b60405180910390f35b348015610a6a57600080fd5b50610a73612d26565b604051610a809190614839565b60405180910390f35b348015610a9557600080fd5b50610ab06004803603810190610aab9190615151565b612d4a565b604051610abd919061470a565b60405180910390f35b348015610ad257600080fd5b50610adb612dde565b604051610ae8919061470a565b60405180910390f35b348015610afd57600080fd5b50610b06612df1565b604051610b139190614a3e565b60405180910390f35b348015610b2857600080fd5b50610b436004803603810190610b3e9190614aac565b612df7565b005b348015610b5157600080fd5b50610b6c6004803603810190610b67919061480c565b612eef565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ca957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb95750610cb88261321c565b5b9050919050565b606060018054610ccf906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfb906151c0565b8015610d485780601f10610d1d57610100808354040283529160200191610d48565b820191906000526020600020905b815481529060010190602001808311610d2b57829003601f168201915b5050505050905090565b6000610d5d82613286565b610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d939061523e565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610de282611739565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4a906152aa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e72610b6e565b73ffffffffffffffffffffffffffffffffffffffff161480610ea15750610ea081610e9b610b6e565b612d4a565b5b610ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed79061523e565b60405180910390fd5b610eeb838383613293565b505050565b610ef8610b6e565b73ffffffffffffffffffffffffffffffffffffffff16610f16611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390615316565b60405180910390fd5b600b60009054906101000a900460ff1615610f8657600080fd5b80600a9080519060200190610f9c9291906143e6565b506001600b60006101000a81548160ff02191690831515021790555050565b60105481565b60003073ffffffffffffffffffffffffffffffffffffffff16610fe2610b6e565b73ffffffffffffffffffffffffffffffffffffffff16148061103d5750611007611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611025610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61104657600080fd5b6001601160016101000a81548160ff0219169083151502179055506001905090565b60008054905090565b61107c838383613345565b505050565b600061108c8361191c565b82106110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c490615382565b60405180910390fd5b60006110d7611068565b905060008060005b8381101561123d576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111d157806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611229578684141561121a578195505050505050611279565b8380611225906153d1565b9450505b508080611235906153d1565b9150506110df565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090615466565b60405180910390fd5b92915050565b3073ffffffffffffffffffffffffffffffffffffffff1661129e610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806112f957506112c3611dfd565b73ffffffffffffffffffffffffffffffffffffffff166112e1610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61130257600080fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b600d5481565b3073ffffffffffffffffffffffffffffffffffffffff16611353610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806113ae5750611378611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611396610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6113b757600080fd5b60004790506113c4610b6e565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611409573d6000803e3d6000fd5b5050565b6114288383836040518060200160405280600081525061253f565b505050565b3073ffffffffffffffffffffffffffffffffffffffff1661144c610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806114a75750611471611dfd565b73ffffffffffffffffffffffffffffffffffffffff1661148f610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6114b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114d4610b6e565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161150d9190614839565b602060405180830381865afa15801561152a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154e919061549b565b6040518363ffffffff1660e01b815260040161156b92919061462d565b6020604051808303816000875af115801561158a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ae91906154dd565b5050565b60006115bc611068565b82106115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490615556565b60405180910390fd5b819050919050565b601160009054906101000a900460ff1681565b611620610b6e565b73ffffffffffffffffffffffffffffffffffffffff1661163e611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90615316565b60405180910390fd5b61169d816138fe565b50565b6116a8610b6e565b73ffffffffffffffffffffffffffffffffffffffff166116c6611dfd565b73ffffffffffffffffffffffffffffffffffffffff161461171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171390615316565b60405180910390fd5b6001601160006101000a81548160ff021916908315150217905550565b600061174482613918565b600001519050919050565b600a805461175c906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611788906151c0565b80156117d55780601f106117aa576101008083540402835291602001916117d5565b820191906000526020600020905b8154815290600101906020018083116117b857829003601f168201915b505050505081565b600c5481565b6060600380546117f2906151c0565b80601f016020809104026020016040519081016040528092919081815260200182805461181e906151c0565b801561186b5780601f106118405761010080835404028352916020019161186b565b820191906000526020600020905b81548152906001019060200180831161184e57829003601f168201915b5050505050905090565b60003073ffffffffffffffffffffffffffffffffffffffff16611896610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806118f157506118bb611dfd565b73ffffffffffffffffffffffffffffffffffffffff166118d9610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6118fa57600080fd5b6001601160026101000a81548160ff0219169083151502179055506001905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561198d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611984906155c2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a0d610b6e565b73ffffffffffffffffffffffffffffffffffffffff16611a2b611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890615316565b60405180910390fd5b611a8b6000613b1b565b565b6000601160009054906101000a900460ff168015611aba57506000611ab8611ab3610b6e565b61191c565b115b80611afe5750611ac8611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611ae6610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b611b0757600080fd5b606060126040518061010001604052808973ffffffffffffffffffffffffffffffffffffffff16815260200188888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001868152602001858152602001601280549050815260200142815260200160001515815260200183815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190611c3392919061446c565b50604082015181600201556060820151816003019080519060200190611c5a9291906143e6565b506080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e0820151816007019080519060200190611cab9291906144f2565b5050506001601280549050611cc091906155e2565b7febe0c4a4ec7b8ef7f65f3b5939a71abfe43a8573a7151e1e035c4a3a511faa90888888888842604051611cf996959493929190615643565b60405180910390a2600191505095945050505050565b3073ffffffffffffffffffffffffffffffffffffffff16611d2e610b6e565b73ffffffffffffffffffffffffffffffffffffffff161480611d895750611d53611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611d71610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b611d9257600080fd5b600d5481611d9e611068565b611da891906156a6565b1115611de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de090615748565b60405180910390fd5b611dfa611df4610b6e565b82613be1565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611e36906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611e62906151c0565b8015611eaf5780601f10611e8457610100808354040283529160200191611eaf565b820191906000526020600020905b815481529060010190602001808311611e9257829003601f168201915b5050505050905090565b600e60009054906101000a900460ff16611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff906157b4565b60405180910390fd5b600d5481611f14611068565b611f1e91906156a6565b1115611f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5690615748565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415612028573481600c54611fe291906157d4565b1115612023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201a9061523e565b60405180910390fd5b6120e4565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd612071610b6e565b30600c548661208091906157d4565b6040518463ffffffff1660e01b815260040161209e9392919061582e565b6020604051808303816000875af11580156120bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e191906154dd565b50505b600d546120ef611068565b101561210757612106612100610b6e565b82613be1565b5b50565b612112610b6e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612180576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121779061523e565b60405180910390fd5b806007600061218d610b6e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661223a610b6e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227f919061470a565b60405180910390a35050565b6012818154811061229b57600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010180546122e4906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054612310906151c0565b801561235d5780601f106123325761010080835404028352916020019161235d565b820191906000526020600020905b81548152906001019060200180831161234057829003601f168201915b505050505090806002015490806003018054612378906151c0565b80601f01602080910402602001604051908101604052809291908181526020018280546123a4906151c0565b80156123f15780601f106123c6576101008083540402835291602001916123f1565b820191906000526020600020905b8154815290600101906020018083116123d457829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b60003073ffffffffffffffffffffffffffffffffffffffff1661243b610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806124965750612460611dfd565b73ffffffffffffffffffffffffffffffffffffffff1661247e610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61249f57600080fd5b600182101580156124b1575060648211155b80156124ca5750601160019054906101000a900460ff16155b612509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612500906158b1565b60405180910390fd5b81600f8190555060019050919050565b601160029054906101000a900460ff1681565b601160019054906101000a900460ff1681565b61254a848484613345565b61255684848484613bff565b612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c9061591d565b60405180910390fd5b50505050565b6000601160009054906101000a900460ff1680156125c8575060006125c66125c1610b6e565b61191c565b115b8061260c57506125d6611dfd565b73ffffffffffffffffffffffffffffffffffffffff166125f4610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61261557600080fd5b60005b6012838154811061262c5761262b61593d565b5b906000526020600020906008020160070180549050811015612732576012838154811061265c5761265b61593d565b5b9060005260206000209060080201600701818154811061267f5761267e61593d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126c8610b6e565b73ffffffffffffffffffffffffffffffffffffffff16141561271f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612716906159b8565b60405180910390fd5b808061272a906153d1565b915050612618565b506010546012838154811061274a5761274961593d565b5b90600052602060002090600802016005015461276691906156a6565b4211156127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90615a24565b60405180910390fd5b601282815481106127bc576127bb61593d565b5b90600052602060002090600802016007016127d5610b6e565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061283d610b6e565b73ffffffffffffffffffffffffffffffffffffffff16827f843076141b22bb3111b5cc93ee3bd4d4aa089a8f66a980801e28fba5f7f27129426040516128839190614a3e565b60405180910390a360019050919050565b606061289f82613286565b6128de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d59061591d565b60405180910390fd5b6000600380546128ed906151c0565b9050116129095760405180602001604052806000815250612935565b600361291483613d87565b604051602001612925929190615b14565b6040516020818303038152906040525b9050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1661295d610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806129b85750612982611dfd565b73ffffffffffffffffffffffffffffffffffffffff166129a0610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6129c157600080fd5b601160029054906101000a900460ff1615612a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a08906158b1565b60405180910390fd5b611c20821480612a2357506201518082145b80612a3057506203f48082145b612a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6690615a24565b60405180910390fd5b8160108190555060019050919050565b60085481565b60606012805480602002602001604051908101604052809291908181526020016000905b82821015612d1d5783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054612b33906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054612b5f906151c0565b8015612bac5780601f10612b8157610100808354040283529160200191612bac565b820191906000526020600020905b815481529060010190602001808311612b8f57829003601f168201915b5050505050815260200160028201548152602001600382018054612bcf906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054612bfb906151c0565b8015612c485780601f10612c1d57610100808354040283529160200191612c48565b820191906000526020600020905b815481529060010190602001808311612c2b57829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020018280548015612d0557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612cbb575b50505050508152505081526020019060010190612aa9565b50505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b600f5481565b612dff610b6e565b73ffffffffffffffffffffffffffffffffffffffff16612e1d611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614612e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6a90615316565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda90615baa565b60405180910390fd5b612eec81613b1b565b50565b6000805b60128381548110612f0757612f0661593d565b5b906000526020600020906008020160070180549050811015612fad57612f8d60128481548110612f3a57612f3961593d565b5b90600052602060002090600802016007018281548110612f5d57612f5c61593d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661191c565b82612f9891906156a6565b91508080612fa5906153d1565b915050612ef3565b506064600f54612fbb611068565b612fc591906157d4565b612fcf9190615bf9565b811015613011576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613008906157b4565b60405180910390fd5b601282815481106130255761302461593d565b5b906000526020600020906008020160060160009054906101000a900460ff1615613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b9061523e565b60405180910390fd5b60006012838154811061309a5761309961593d565b5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601284815481106130e4576130e361593d565b5b9060005260206000209060080201600101905060006012858154811061310d5761310c61593d565b5b90600052602060002090600802016002015490506000808473ffffffffffffffffffffffffffffffffffffffff16838560405161314a9190615cc9565b60006040518083038185875af1925050503d8060008114613187576040519150601f19603f3d011682016040523d82523d6000602084013e61318c565b606091505b50915091508161319b57600080fd5b6001601288815481106131b1576131b061593d565b5b906000526020600020906008020160060160006101000a81548160ff021916908315150217905550867fc4bd96f14e4eb3a49f563914cddb2fb818af1a959143936ef3744afc23fd42d7428360405161320b929190615ce0565b60405180910390a250505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061335082613918565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16613377610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806133d3575061339c610b6e565b73ffffffffffffffffffffffffffffffffffffffff166133bb84610d52565b73ffffffffffffffffffffffffffffffffffffffff16145b806133ef57506133ee82600001516133e9610b6e565b612d4a565b5b905080613431576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134289061523e565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146134a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349a906152aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350a906155c2565b60405180910390fd5b6135208585856001613ee8565b6135306000848460000151613293565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661359e9190615d2c565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166136429190615d60565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461374891906156a6565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561388e576137be81613286565b1561388d576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138f68686866001613eee565b505050505050565b80600390805190602001906139149291906143e6565b5050565b61392061457c565b61392982613286565b613968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395f90615a24565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106139cc5760017f0000000000000000000000000000000000000000000000000000000000000000846139bf91906155e2565b6139c991906156a6565b90505b60008390505b818110613ada576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613ac657809350505050613b16565b508080613ad290615da6565b9150506139d2565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0d906152aa565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613bfb828260405180602001604052806000815250613ef4565b5050565b6000613c208473ffffffffffffffffffffffffffffffffffffffff166143d3565b15613d7a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c49610b6e565b8786866040518563ffffffff1660e01b8152600401613c6b9493929190615dd0565b6020604051808303816000875af1925050508015613ca757506040513d601f19601f82011682018060405250810190613ca49190615e31565b60015b613d2a573d8060008114613cd7576040519150601f19603f3d011682016040523d82523d6000602084013e613cdc565b606091505b50600081511415613d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d199061591d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613d7f565b600190505b949350505050565b60606000821415613dcf576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613ee3565b600082905060005b60008214613e01578080613dea906153d1565b915050600a82613dfa9190615bf9565b9150613dd7565b60008167ffffffffffffffff811115613e1d57613e1c6148ca565b5b6040519080825280601f01601f191660200182016040528015613e4f5781602001600182028036833780820191505090505b5090505b60008514613edc57600182613e6891906155e2565b9150600a85613e779190615e5e565b6030613e8391906156a6565b60f81b818381518110613e9957613e9861593d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ed59190615bf9565b9450613e53565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f61906155c2565b60405180910390fd5b613f7381613286565b15613fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613faa9061523e565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115614016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161400d90615748565b60405180910390fd5b6140236000858386613ee8565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516141209190615d60565b6fffffffffffffffffffffffffffffffff1681526020018583602001516141479190615d60565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156143b657818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46143566000888488613bff565b614395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161438c9061591d565b60405180910390fd5b81806143a0906153d1565b92505080806143ae906153d1565b9150506142e5565b50806000819055506143cb6000878588613eee565b505050505050565b600080823b905060008111915050919050565b8280546143f2906151c0565b90600052602060002090601f016020900481019282614414576000855561445b565b82601f1061442d57805160ff191683800117855561445b565b8280016001018555821561445b579182015b8281111561445a57825182559160200191906001019061443f565b5b50905061446891906145b6565b5090565b828054614478906151c0565b90600052602060002090601f01602090048101928261449a57600085556144e1565b82601f106144b357805160ff19168380011785556144e1565b828001600101855582156144e1579182015b828111156144e05782518255916020019190600101906144c5565b5b5090506144ee91906145b6565b5090565b82805482825590600052602060002090810192821561456b579160200282015b8281111561456a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614512565b5b50905061457891906145b6565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156145cf5760008160009055506001016145b7565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145fe826145d3565b9050919050565b61460e816145f3565b82525050565b6000819050919050565b61462781614614565b82525050565b60006040820190506146426000830185614605565b61464f602083018461461e565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61469f8161466a565b81146146aa57600080fd5b50565b6000813590506146bc81614696565b92915050565b6000602082840312156146d8576146d7614660565b5b60006146e6848285016146ad565b91505092915050565b60008115159050919050565b614704816146ef565b82525050565b600060208201905061471f60008301846146fb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561475f578082015181840152602081019050614744565b8381111561476e576000848401525b50505050565b6000601f19601f8301169050919050565b600061479082614725565b61479a8185614730565b93506147aa818560208601614741565b6147b381614774565b840191505092915050565b600060208201905081810360008301526147d88184614785565b905092915050565b6147e981614614565b81146147f457600080fd5b50565b600081359050614806816147e0565b92915050565b60006020828403121561482257614821614660565b5b6000614830848285016147f7565b91505092915050565b600060208201905061484e6000830184614605565b92915050565b61485d816145f3565b811461486857600080fd5b50565b60008135905061487a81614854565b92915050565b6000806040838503121561489757614896614660565b5b60006148a58582860161486b565b92505060206148b6858286016147f7565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61490282614774565b810181811067ffffffffffffffff82111715614921576149206148ca565b5b80604052505050565b6000614934614656565b905061494082826148f9565b919050565b600067ffffffffffffffff8211156149605761495f6148ca565b5b61496982614774565b9050602081019050919050565b82818337600083830152505050565b600061499861499384614945565b61492a565b9050828152602081018484840111156149b4576149b36148c5565b5b6149bf848285614976565b509392505050565b600082601f8301126149dc576149db6148c0565b5b81356149ec848260208601614985565b91505092915050565b600060208284031215614a0b57614a0a614660565b5b600082013567ffffffffffffffff811115614a2957614a28614665565b5b614a35848285016149c7565b91505092915050565b6000602082019050614a53600083018461461e565b92915050565b600080600060608486031215614a7257614a71614660565b5b6000614a808682870161486b565b9350506020614a918682870161486b565b9250506040614aa2868287016147f7565b9150509250925092565b600060208284031215614ac257614ac1614660565b5b6000614ad08482850161486b565b91505092915050565b600080fd5b600080fd5b60008083601f840112614af957614af86148c0565b5b8235905067ffffffffffffffff811115614b1657614b15614ad9565b5b602083019150836001820283011115614b3257614b31614ade565b5b9250929050565b600080600080600060808688031215614b5557614b54614660565b5b6000614b638882890161486b565b955050602086013567ffffffffffffffff811115614b8457614b83614665565b5b614b9088828901614ae3565b94509450506040614ba3888289016147f7565b925050606086013567ffffffffffffffff811115614bc457614bc3614665565b5b614bd0888289016149c7565b9150509295509295909350565b614be6816146ef565b8114614bf157600080fd5b50565b600081359050614c0381614bdd565b92915050565b60008060408385031215614c2057614c1f614660565b5b6000614c2e8582860161486b565b9250506020614c3f85828601614bf4565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614c7082614c49565b614c7a8185614c54565b9350614c8a818560208601614741565b614c9381614774565b840191505092915050565b600060e082019050614cb3600083018a614605565b8181036020830152614cc58189614c65565b9050614cd4604083018861461e565b8181036060830152614ce68187614785565b9050614cf5608083018661461e565b614d0260a083018561461e565b614d0f60c08301846146fb565b98975050505050505050565b600067ffffffffffffffff821115614d3657614d356148ca565b5b614d3f82614774565b9050602081019050919050565b6000614d5f614d5a84614d1b565b61492a565b905082815260208101848484011115614d7b57614d7a6148c5565b5b614d86848285614976565b509392505050565b600082601f830112614da357614da26148c0565b5b8135614db3848260208601614d4c565b91505092915050565b60008060008060808587031215614dd657614dd5614660565b5b6000614de48782880161486b565b9450506020614df58782880161486b565b9350506040614e06878288016147f7565b925050606085013567ffffffffffffffff811115614e2757614e26614665565b5b614e3387828801614d8e565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614e74816145f3565b82525050565b600082825260208201905092915050565b6000614e9682614c49565b614ea08185614e7a565b9350614eb0818560208601614741565b614eb981614774565b840191505092915050565b614ecd81614614565b82525050565b600082825260208201905092915050565b6000614eef82614725565b614ef98185614ed3565b9350614f09818560208601614741565b614f1281614774565b840191505092915050565b614f26816146ef565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614f648383614e6b565b60208301905092915050565b6000602082019050919050565b6000614f8882614f2c565b614f928185614f37565b9350614f9d83614f48565b8060005b83811015614fce578151614fb58882614f58565b9750614fc083614f70565b925050600181019050614fa1565b5085935050505092915050565b600061010083016000830151614ff46000860182614e6b565b506020830151848203602086015261500c8282614e8b565b91505060408301516150216040860182614ec4565b50606083015184820360608601526150398282614ee4565b915050608083015161504e6080860182614ec4565b5060a083015161506160a0860182614ec4565b5060c083015161507460c0860182614f1d565b5060e083015184820360e086015261508c8282614f7d565b9150508091505092915050565b60006150a58383614fdb565b905092915050565b6000602082019050919050565b60006150c582614e3f565b6150cf8185614e4a565b9350836020820285016150e185614e5b565b8060005b8581101561511d57848403895281516150fe8582615099565b9450615109836150ad565b925060208a019950506001810190506150e5565b50829750879550505050505092915050565b6000602082019050818103600083015261514981846150ba565b905092915050565b6000806040838503121561516857615167614660565b5b60006151768582860161486b565b92505060206151878582860161486b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151d857607f821691505b602082108114156151ec576151eb615191565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b6000615228600183614730565b9150615233826151f2565b602082019050919050565b600060208201905081810360008301526152578161521b565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615294600183614730565b915061529f8261525e565b602082019050919050565b600060208201905081810360008301526152c381615287565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615300602083614730565b915061530b826152ca565b602082019050919050565b6000602082019050818103600083015261532f816152f3565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600061536c600183614730565b915061537782615336565b602082019050919050565b6000602082019050818103600083015261539b8161535f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006153dc82614614565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561540f5761540e6153a2565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000615450600183614730565b915061545b8261541a565b602082019050919050565b6000602082019050818103600083015261547f81615443565b9050919050565b600081519050615495816147e0565b92915050565b6000602082840312156154b1576154b0614660565b5b60006154bf84828501615486565b91505092915050565b6000815190506154d781614bdd565b92915050565b6000602082840312156154f3576154f2614660565b5b6000615501848285016154c8565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000615540600183614730565b915061554b8261550a565b602082019050919050565b6000602082019050818103600083015261556f81615533565b9050919050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b60006155ac600183614730565b91506155b782615576565b602082019050919050565b600060208201905081810360008301526155db8161559f565b9050919050565b60006155ed82614614565b91506155f883614614565b92508282101561560b5761560a6153a2565b5b828203905092915050565b60006156228385614c54565b935061562f838584614976565b61563883614774565b840190509392505050565b600060a0820190506156586000830189614605565b818103602083015261566b818789615616565b905061567a604083018661461e565b818103606083015261568c8185614785565b905061569b608083018461461e565b979650505050505050565b60006156b182614614565b91506156bc83614614565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156156f1576156f06153a2565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615732600183614730565b915061573d826156fc565b602082019050919050565b6000602082019050818103600083015261576181615725565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b600061579e600183614730565b91506157a982615768565b602082019050919050565b600060208201905081810360008301526157cd81615791565b9050919050565b60006157df82614614565b91506157ea83614614565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615823576158226153a2565b5b828202905092915050565b60006060820190506158436000830186614605565b6158506020830185614605565b61585d604083018461461e565b949350505050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b600061589b600183614730565b91506158a682615865565b602082019050919050565b600060208201905081810360008301526158ca8161588e565b9050919050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615907600183614730565b9150615912826158d1565b602082019050919050565b60006020820190508181036000830152615936816158fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7600000000000000000000000000000000000000000000000000000000000000600082015250565b60006159a2600183614730565b91506159ad8261596c565b602082019050919050565b600060208201905081810360008301526159d181615995565b9050919050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a0e600183614730565b9150615a19826159d8565b602082019050919050565b60006020820190508181036000830152615a3d81615a01565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615a71816151c0565b615a7b8186615a44565b94506001821660008114615a965760018114615aa757615ada565b60ff19831686528186019350615ada565b615ab085615a4f565b60005b83811015615ad257815481890152600182019150602081019050615ab3565b838801955050505b50505092915050565b6000615aee82614725565b615af88185615a44565b9350615b08818560208601614741565b80840191505092915050565b6000615b208285615a64565b9150615b2c8284615ae3565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615b94602683614730565b9150615b9f82615b38565b604082019050919050565b60006020820190508181036000830152615bc381615b87565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615c0482614614565b9150615c0f83614614565b925082615c1f57615c1e615bca565b5b828204905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615c57816151c0565b615c618186615c2a565b94506001821660008114615c7c5760018114615c8d57615cc0565b60ff19831686528186019350615cc0565b615c9685615c35565b60005b83811015615cb857815481890152600182019150602081019050615c99565b838801955050505b50505092915050565b6000615cd58284615c4a565b915081905092915050565b6000604082019050615cf5600083018561461e565b8181036020830152615d078184614c65565b90509392505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000615d3782615d10565b9150615d4283615d10565b925082821015615d5557615d546153a2565b5b828203905092915050565b6000615d6b82615d10565b9150615d7683615d10565b9250826fffffffffffffffffffffffffffffffff03821115615d9b57615d9a6153a2565b5b828201905092915050565b6000615db182614614565b91506000821415615dc557615dc46153a2565b5b600182039050919050565b6000608082019050615de56000830187614605565b615df26020830186614605565b615dff604083018561461e565b8181036060830152615e118184614c65565b905095945050505050565b600081519050615e2b81614696565b92915050565b600060208284031215615e4757615e46614660565b5b6000615e5584828501615e1c565b91505092915050565b6000615e6982614614565b9150615e7483614614565b925082615e8457615e83615bca565b5b82820690509291505056fea2646970667358221220057b03afa42c798ef150b47dffda6d7ae368d85a5e6fe7b6c4cac1430286c1db64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000029a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000084b6576617461727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b65766100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102975760003560e01c806370a082311161015a578063b88d4fde116100c1578063e5a6b10f1161007a578063e5a6b10f14610a5e578063e985e9c514610a89578063eb8d244414610ac6578063f0efb08914610af1578063f2fde38b14610b1c578063f6ead0b914610b45576102de565b8063b88d4fde14610928578063bb5f0a9514610951578063c87b56dd1461098e578063d5f76210146109cb578063d7224ba014610a08578063e4c41bb414610a33576102de565b806397304ced1161011357806397304ced1461080d578063a22cb46514610829578063a598d03c14610852578063a6e39fc114610895578063a9361ffd146108d2578063b21a41d2146108fd576102de565b806370a08231146106fd578063715018a61461073a578063859d784e146107515780638ad433ac1461078e5780638da5cb5b146107b757806395d89b41146107e2576102de565b80633ccfd60b116101fe5780635d86842a116101b75780635d86842a146105fd5780636352211e146106145780636373a6b1146106515780636817c76c1461067c5780636c0360eb146106a75780636cec67d0146106d2576102de565b80633ccfd60b1461050357806342842e0e1461051a57806349df728c146105435780634f6ccce71461056c5780635029e602146105a957806355f804b3146105d4576102de565b806318055c611161025057806318055c611461040557806318160ddd1461043057806323b872dd1461045b5780632f745c591461048457806334918dfd146104c1578063386b7691146104d8576102de565b806301ffc9a7146102e357806306fdde0314610320578063081812fc1461034b578063095ea7b31461038857806310969523146103b1578063132002fc146103da576102de565b366102de577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258746102c5610b6e565b346040516102d492919061462d565b60405180910390a1005b600080fd5b3480156102ef57600080fd5b5061030a600480360381019061030591906146c2565b610b76565b604051610317919061470a565b60405180910390f35b34801561032c57600080fd5b50610335610cc0565b60405161034291906147be565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d919061480c565b610d52565b60405161037f9190614839565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190614880565b610dd7565b005b3480156103bd57600080fd5b506103d860048036038101906103d391906149f5565b610ef0565b005b3480156103e657600080fd5b506103ef610fbb565b6040516103fc9190614a3e565b60405180910390f35b34801561041157600080fd5b5061041a610fc1565b604051610427919061470a565b60405180910390f35b34801561043c57600080fd5b50610445611068565b6040516104529190614a3e565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190614a59565b611071565b005b34801561049057600080fd5b506104ab60048036038101906104a69190614880565b611081565b6040516104b89190614a3e565b60405180910390f35b3480156104cd57600080fd5b506104d661127f565b005b3480156104e457600080fd5b506104ed61132e565b6040516104fa9190614a3e565b60405180910390f35b34801561050f57600080fd5b50610518611334565b005b34801561052657600080fd5b50610541600480360381019061053c9190614a59565b61140d565b005b34801561054f57600080fd5b5061056a60048036038101906105659190614aac565b61142d565b005b34801561057857600080fd5b50610593600480360381019061058e919061480c565b6115b2565b6040516105a09190614a3e565b60405180910390f35b3480156105b557600080fd5b506105be611605565b6040516105cb919061470a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f691906149f5565b611618565b005b34801561060957600080fd5b506106126116a0565b005b34801561062057600080fd5b5061063b6004803603810190610636919061480c565b611739565b6040516106489190614839565b60405180910390f35b34801561065d57600080fd5b5061066661174f565b60405161067391906147be565b60405180910390f35b34801561068857600080fd5b506106916117dd565b60405161069e9190614a3e565b60405180910390f35b3480156106b357600080fd5b506106bc6117e3565b6040516106c991906147be565b60405180910390f35b3480156106de57600080fd5b506106e7611875565b6040516106f4919061470a565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190614aac565b61191c565b6040516107319190614a3e565b60405180910390f35b34801561074657600080fd5b5061074f611a05565b005b34801561075d57600080fd5b5061077860048036038101906107739190614b39565b611a8d565b604051610785919061470a565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b0919061480c565b611d0f565b005b3480156107c357600080fd5b506107cc611dfd565b6040516107d99190614839565b60405180910390f35b3480156107ee57600080fd5b506107f7611e27565b60405161080491906147be565b60405180910390f35b6108276004803603810190610822919061480c565b611eb9565b005b34801561083557600080fd5b50610850600480360381019061084b9190614c09565b61210a565b005b34801561085e57600080fd5b506108796004803603810190610874919061480c565b61228b565b60405161088c9796959493929190614c9e565b60405180910390f35b3480156108a157600080fd5b506108bc60048036038101906108b7919061480c565b61241a565b6040516108c9919061470a565b60405180910390f35b3480156108de57600080fd5b506108e7612519565b6040516108f4919061470a565b60405180910390f35b34801561090957600080fd5b5061091261252c565b60405161091f919061470a565b60405180910390f35b34801561093457600080fd5b5061094f600480360381019061094a9190614dbc565b61253f565b005b34801561095d57600080fd5b506109786004803603810190610973919061480c565b61259b565b604051610985919061470a565b60405180910390f35b34801561099a57600080fd5b506109b560048036038101906109b0919061480c565b612894565b6040516109c291906147be565b60405180910390f35b3480156109d757600080fd5b506109f260048036038101906109ed919061480c565b61293c565b6040516109ff919061470a565b60405180910390f35b348015610a1457600080fd5b50610a1d612a7f565b604051610a2a9190614a3e565b60405180910390f35b348015610a3f57600080fd5b50610a48612a85565b604051610a55919061512f565b60405180910390f35b348015610a6a57600080fd5b50610a73612d26565b604051610a809190614839565b60405180910390f35b348015610a9557600080fd5b50610ab06004803603810190610aab9190615151565b612d4a565b604051610abd919061470a565b60405180910390f35b348015610ad257600080fd5b50610adb612dde565b604051610ae8919061470a565b60405180910390f35b348015610afd57600080fd5b50610b06612df1565b604051610b139190614a3e565b60405180910390f35b348015610b2857600080fd5b50610b436004803603810190610b3e9190614aac565b612df7565b005b348015610b5157600080fd5b50610b6c6004803603810190610b67919061480c565b612eef565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ca957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb95750610cb88261321c565b5b9050919050565b606060018054610ccf906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfb906151c0565b8015610d485780601f10610d1d57610100808354040283529160200191610d48565b820191906000526020600020905b815481529060010190602001808311610d2b57829003601f168201915b5050505050905090565b6000610d5d82613286565b610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d939061523e565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610de282611739565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4a906152aa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e72610b6e565b73ffffffffffffffffffffffffffffffffffffffff161480610ea15750610ea081610e9b610b6e565b612d4a565b5b610ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed79061523e565b60405180910390fd5b610eeb838383613293565b505050565b610ef8610b6e565b73ffffffffffffffffffffffffffffffffffffffff16610f16611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390615316565b60405180910390fd5b600b60009054906101000a900460ff1615610f8657600080fd5b80600a9080519060200190610f9c9291906143e6565b506001600b60006101000a81548160ff02191690831515021790555050565b60105481565b60003073ffffffffffffffffffffffffffffffffffffffff16610fe2610b6e565b73ffffffffffffffffffffffffffffffffffffffff16148061103d5750611007611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611025610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61104657600080fd5b6001601160016101000a81548160ff0219169083151502179055506001905090565b60008054905090565b61107c838383613345565b505050565b600061108c8361191c565b82106110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c490615382565b60405180910390fd5b60006110d7611068565b905060008060005b8381101561123d576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111d157806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611229578684141561121a578195505050505050611279565b8380611225906153d1565b9450505b508080611235906153d1565b9150506110df565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090615466565b60405180910390fd5b92915050565b3073ffffffffffffffffffffffffffffffffffffffff1661129e610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806112f957506112c3611dfd565b73ffffffffffffffffffffffffffffffffffffffff166112e1610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61130257600080fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b600d5481565b3073ffffffffffffffffffffffffffffffffffffffff16611353610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806113ae5750611378611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611396610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6113b757600080fd5b60004790506113c4610b6e565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611409573d6000803e3d6000fd5b5050565b6114288383836040518060200160405280600081525061253f565b505050565b3073ffffffffffffffffffffffffffffffffffffffff1661144c610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806114a75750611471611dfd565b73ffffffffffffffffffffffffffffffffffffffff1661148f610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6114b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114d4610b6e565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161150d9190614839565b602060405180830381865afa15801561152a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154e919061549b565b6040518363ffffffff1660e01b815260040161156b92919061462d565b6020604051808303816000875af115801561158a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ae91906154dd565b5050565b60006115bc611068565b82106115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490615556565b60405180910390fd5b819050919050565b601160009054906101000a900460ff1681565b611620610b6e565b73ffffffffffffffffffffffffffffffffffffffff1661163e611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90615316565b60405180910390fd5b61169d816138fe565b50565b6116a8610b6e565b73ffffffffffffffffffffffffffffffffffffffff166116c6611dfd565b73ffffffffffffffffffffffffffffffffffffffff161461171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171390615316565b60405180910390fd5b6001601160006101000a81548160ff021916908315150217905550565b600061174482613918565b600001519050919050565b600a805461175c906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611788906151c0565b80156117d55780601f106117aa576101008083540402835291602001916117d5565b820191906000526020600020905b8154815290600101906020018083116117b857829003601f168201915b505050505081565b600c5481565b6060600380546117f2906151c0565b80601f016020809104026020016040519081016040528092919081815260200182805461181e906151c0565b801561186b5780601f106118405761010080835404028352916020019161186b565b820191906000526020600020905b81548152906001019060200180831161184e57829003601f168201915b5050505050905090565b60003073ffffffffffffffffffffffffffffffffffffffff16611896610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806118f157506118bb611dfd565b73ffffffffffffffffffffffffffffffffffffffff166118d9610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6118fa57600080fd5b6001601160026101000a81548160ff0219169083151502179055506001905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561198d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611984906155c2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a0d610b6e565b73ffffffffffffffffffffffffffffffffffffffff16611a2b611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890615316565b60405180910390fd5b611a8b6000613b1b565b565b6000601160009054906101000a900460ff168015611aba57506000611ab8611ab3610b6e565b61191c565b115b80611afe5750611ac8611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611ae6610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b611b0757600080fd5b606060126040518061010001604052808973ffffffffffffffffffffffffffffffffffffffff16815260200188888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001868152602001858152602001601280549050815260200142815260200160001515815260200183815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190611c3392919061446c565b50604082015181600201556060820151816003019080519060200190611c5a9291906143e6565b506080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e0820151816007019080519060200190611cab9291906144f2565b5050506001601280549050611cc091906155e2565b7febe0c4a4ec7b8ef7f65f3b5939a71abfe43a8573a7151e1e035c4a3a511faa90888888888842604051611cf996959493929190615643565b60405180910390a2600191505095945050505050565b3073ffffffffffffffffffffffffffffffffffffffff16611d2e610b6e565b73ffffffffffffffffffffffffffffffffffffffff161480611d895750611d53611dfd565b73ffffffffffffffffffffffffffffffffffffffff16611d71610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b611d9257600080fd5b600d5481611d9e611068565b611da891906156a6565b1115611de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de090615748565b60405180910390fd5b611dfa611df4610b6e565b82613be1565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611e36906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611e62906151c0565b8015611eaf5780601f10611e8457610100808354040283529160200191611eaf565b820191906000526020600020905b815481529060010190602001808311611e9257829003601f168201915b5050505050905090565b600e60009054906101000a900460ff16611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff906157b4565b60405180910390fd5b600d5481611f14611068565b611f1e91906156a6565b1115611f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5690615748565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415612028573481600c54611fe291906157d4565b1115612023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201a9061523e565b60405180910390fd5b6120e4565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd612071610b6e565b30600c548661208091906157d4565b6040518463ffffffff1660e01b815260040161209e9392919061582e565b6020604051808303816000875af11580156120bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e191906154dd565b50505b600d546120ef611068565b101561210757612106612100610b6e565b82613be1565b5b50565b612112610b6e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612180576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121779061523e565b60405180910390fd5b806007600061218d610b6e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661223a610b6e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227f919061470a565b60405180910390a35050565b6012818154811061229b57600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010180546122e4906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054612310906151c0565b801561235d5780601f106123325761010080835404028352916020019161235d565b820191906000526020600020905b81548152906001019060200180831161234057829003601f168201915b505050505090806002015490806003018054612378906151c0565b80601f01602080910402602001604051908101604052809291908181526020018280546123a4906151c0565b80156123f15780601f106123c6576101008083540402835291602001916123f1565b820191906000526020600020905b8154815290600101906020018083116123d457829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b60003073ffffffffffffffffffffffffffffffffffffffff1661243b610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806124965750612460611dfd565b73ffffffffffffffffffffffffffffffffffffffff1661247e610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61249f57600080fd5b600182101580156124b1575060648211155b80156124ca5750601160019054906101000a900460ff16155b612509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612500906158b1565b60405180910390fd5b81600f8190555060019050919050565b601160029054906101000a900460ff1681565b601160019054906101000a900460ff1681565b61254a848484613345565b61255684848484613bff565b612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c9061591d565b60405180910390fd5b50505050565b6000601160009054906101000a900460ff1680156125c8575060006125c66125c1610b6e565b61191c565b115b8061260c57506125d6611dfd565b73ffffffffffffffffffffffffffffffffffffffff166125f4610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b61261557600080fd5b60005b6012838154811061262c5761262b61593d565b5b906000526020600020906008020160070180549050811015612732576012838154811061265c5761265b61593d565b5b9060005260206000209060080201600701818154811061267f5761267e61593d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126c8610b6e565b73ffffffffffffffffffffffffffffffffffffffff16141561271f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612716906159b8565b60405180910390fd5b808061272a906153d1565b915050612618565b506010546012838154811061274a5761274961593d565b5b90600052602060002090600802016005015461276691906156a6565b4211156127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90615a24565b60405180910390fd5b601282815481106127bc576127bb61593d565b5b90600052602060002090600802016007016127d5610b6e565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061283d610b6e565b73ffffffffffffffffffffffffffffffffffffffff16827f843076141b22bb3111b5cc93ee3bd4d4aa089a8f66a980801e28fba5f7f27129426040516128839190614a3e565b60405180910390a360019050919050565b606061289f82613286565b6128de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d59061591d565b60405180910390fd5b6000600380546128ed906151c0565b9050116129095760405180602001604052806000815250612935565b600361291483613d87565b604051602001612925929190615b14565b6040516020818303038152906040525b9050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1661295d610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806129b85750612982611dfd565b73ffffffffffffffffffffffffffffffffffffffff166129a0610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b6129c157600080fd5b601160029054906101000a900460ff1615612a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a08906158b1565b60405180910390fd5b611c20821480612a2357506201518082145b80612a3057506203f48082145b612a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6690615a24565b60405180910390fd5b8160108190555060019050919050565b60085481565b60606012805480602002602001604051908101604052809291908181526020016000905b82821015612d1d5783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054612b33906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054612b5f906151c0565b8015612bac5780601f10612b8157610100808354040283529160200191612bac565b820191906000526020600020905b815481529060010190602001808311612b8f57829003601f168201915b5050505050815260200160028201548152602001600382018054612bcf906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054612bfb906151c0565b8015612c485780601f10612c1d57610100808354040283529160200191612c48565b820191906000526020600020905b815481529060010190602001808311612c2b57829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020018280548015612d0557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612cbb575b50505050508152505081526020019060010190612aa9565b50505050905090565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b600f5481565b612dff610b6e565b73ffffffffffffffffffffffffffffffffffffffff16612e1d611dfd565b73ffffffffffffffffffffffffffffffffffffffff1614612e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6a90615316565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda90615baa565b60405180910390fd5b612eec81613b1b565b50565b6000805b60128381548110612f0757612f0661593d565b5b906000526020600020906008020160070180549050811015612fad57612f8d60128481548110612f3a57612f3961593d565b5b90600052602060002090600802016007018281548110612f5d57612f5c61593d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661191c565b82612f9891906156a6565b91508080612fa5906153d1565b915050612ef3565b506064600f54612fbb611068565b612fc591906157d4565b612fcf9190615bf9565b811015613011576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613008906157b4565b60405180910390fd5b601282815481106130255761302461593d565b5b906000526020600020906008020160060160009054906101000a900460ff1615613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b9061523e565b60405180910390fd5b60006012838154811061309a5761309961593d565b5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601284815481106130e4576130e361593d565b5b9060005260206000209060080201600101905060006012858154811061310d5761310c61593d565b5b90600052602060002090600802016002015490506000808473ffffffffffffffffffffffffffffffffffffffff16838560405161314a9190615cc9565b60006040518083038185875af1925050503d8060008114613187576040519150601f19603f3d011682016040523d82523d6000602084013e61318c565b606091505b50915091508161319b57600080fd5b6001601288815481106131b1576131b061593d565b5b906000526020600020906008020160060160006101000a81548160ff021916908315150217905550867fc4bd96f14e4eb3a49f563914cddb2fb818af1a959143936ef3744afc23fd42d7428360405161320b929190615ce0565b60405180910390a250505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061335082613918565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16613377610b6e565b73ffffffffffffffffffffffffffffffffffffffff1614806133d3575061339c610b6e565b73ffffffffffffffffffffffffffffffffffffffff166133bb84610d52565b73ffffffffffffffffffffffffffffffffffffffff16145b806133ef57506133ee82600001516133e9610b6e565b612d4a565b5b905080613431576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134289061523e565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146134a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349a906152aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350a906155c2565b60405180910390fd5b6135208585856001613ee8565b6135306000848460000151613293565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661359e9190615d2c565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166136429190615d60565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461374891906156a6565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561388e576137be81613286565b1561388d576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138f68686866001613eee565b505050505050565b80600390805190602001906139149291906143e6565b5050565b61392061457c565b61392982613286565b613968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395f90615a24565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000a83106139cc5760017f000000000000000000000000000000000000000000000000000000000000000a846139bf91906155e2565b6139c991906156a6565b90505b60008390505b818110613ada576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613ac657809350505050613b16565b508080613ad290615da6565b9150506139d2565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0d906152aa565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613bfb828260405180602001604052806000815250613ef4565b5050565b6000613c208473ffffffffffffffffffffffffffffffffffffffff166143d3565b15613d7a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c49610b6e565b8786866040518563ffffffff1660e01b8152600401613c6b9493929190615dd0565b6020604051808303816000875af1925050508015613ca757506040513d601f19601f82011682018060405250810190613ca49190615e31565b60015b613d2a573d8060008114613cd7576040519150601f19603f3d011682016040523d82523d6000602084013e613cdc565b606091505b50600081511415613d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d199061591d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613d7f565b600190505b949350505050565b60606000821415613dcf576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613ee3565b600082905060005b60008214613e01578080613dea906153d1565b915050600a82613dfa9190615bf9565b9150613dd7565b60008167ffffffffffffffff811115613e1d57613e1c6148ca565b5b6040519080825280601f01601f191660200182016040528015613e4f5781602001600182028036833780820191505090505b5090505b60008514613edc57600182613e6891906155e2565b9150600a85613e779190615e5e565b6030613e8391906156a6565b60f81b818381518110613e9957613e9861593d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ed59190615bf9565b9450613e53565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f61906155c2565b60405180910390fd5b613f7381613286565b15613fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613faa9061523e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000a831115614016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161400d90615748565b60405180910390fd5b6140236000858386613ee8565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516141209190615d60565b6fffffffffffffffffffffffffffffffff1681526020018583602001516141479190615d60565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156143b657818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46143566000888488613bff565b614395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161438c9061591d565b60405180910390fd5b81806143a0906153d1565b92505080806143ae906153d1565b9150506142e5565b50806000819055506143cb6000878588613eee565b505050505050565b600080823b905060008111915050919050565b8280546143f2906151c0565b90600052602060002090601f016020900481019282614414576000855561445b565b82601f1061442d57805160ff191683800117855561445b565b8280016001018555821561445b579182015b8281111561445a57825182559160200191906001019061443f565b5b50905061446891906145b6565b5090565b828054614478906151c0565b90600052602060002090601f01602090048101928261449a57600085556144e1565b82601f106144b357805160ff19168380011785556144e1565b828001600101855582156144e1579182015b828111156144e05782518255916020019190600101906144c5565b5b5090506144ee91906145b6565b5090565b82805482825590600052602060002090810192821561456b579160200282015b8281111561456a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614512565b5b50905061457891906145b6565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156145cf5760008160009055506001016145b7565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145fe826145d3565b9050919050565b61460e816145f3565b82525050565b6000819050919050565b61462781614614565b82525050565b60006040820190506146426000830185614605565b61464f602083018461461e565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61469f8161466a565b81146146aa57600080fd5b50565b6000813590506146bc81614696565b92915050565b6000602082840312156146d8576146d7614660565b5b60006146e6848285016146ad565b91505092915050565b60008115159050919050565b614704816146ef565b82525050565b600060208201905061471f60008301846146fb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561475f578082015181840152602081019050614744565b8381111561476e576000848401525b50505050565b6000601f19601f8301169050919050565b600061479082614725565b61479a8185614730565b93506147aa818560208601614741565b6147b381614774565b840191505092915050565b600060208201905081810360008301526147d88184614785565b905092915050565b6147e981614614565b81146147f457600080fd5b50565b600081359050614806816147e0565b92915050565b60006020828403121561482257614821614660565b5b6000614830848285016147f7565b91505092915050565b600060208201905061484e6000830184614605565b92915050565b61485d816145f3565b811461486857600080fd5b50565b60008135905061487a81614854565b92915050565b6000806040838503121561489757614896614660565b5b60006148a58582860161486b565b92505060206148b6858286016147f7565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61490282614774565b810181811067ffffffffffffffff82111715614921576149206148ca565b5b80604052505050565b6000614934614656565b905061494082826148f9565b919050565b600067ffffffffffffffff8211156149605761495f6148ca565b5b61496982614774565b9050602081019050919050565b82818337600083830152505050565b600061499861499384614945565b61492a565b9050828152602081018484840111156149b4576149b36148c5565b5b6149bf848285614976565b509392505050565b600082601f8301126149dc576149db6148c0565b5b81356149ec848260208601614985565b91505092915050565b600060208284031215614a0b57614a0a614660565b5b600082013567ffffffffffffffff811115614a2957614a28614665565b5b614a35848285016149c7565b91505092915050565b6000602082019050614a53600083018461461e565b92915050565b600080600060608486031215614a7257614a71614660565b5b6000614a808682870161486b565b9350506020614a918682870161486b565b9250506040614aa2868287016147f7565b9150509250925092565b600060208284031215614ac257614ac1614660565b5b6000614ad08482850161486b565b91505092915050565b600080fd5b600080fd5b60008083601f840112614af957614af86148c0565b5b8235905067ffffffffffffffff811115614b1657614b15614ad9565b5b602083019150836001820283011115614b3257614b31614ade565b5b9250929050565b600080600080600060808688031215614b5557614b54614660565b5b6000614b638882890161486b565b955050602086013567ffffffffffffffff811115614b8457614b83614665565b5b614b9088828901614ae3565b94509450506040614ba3888289016147f7565b925050606086013567ffffffffffffffff811115614bc457614bc3614665565b5b614bd0888289016149c7565b9150509295509295909350565b614be6816146ef565b8114614bf157600080fd5b50565b600081359050614c0381614bdd565b92915050565b60008060408385031215614c2057614c1f614660565b5b6000614c2e8582860161486b565b9250506020614c3f85828601614bf4565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614c7082614c49565b614c7a8185614c54565b9350614c8a818560208601614741565b614c9381614774565b840191505092915050565b600060e082019050614cb3600083018a614605565b8181036020830152614cc58189614c65565b9050614cd4604083018861461e565b8181036060830152614ce68187614785565b9050614cf5608083018661461e565b614d0260a083018561461e565b614d0f60c08301846146fb565b98975050505050505050565b600067ffffffffffffffff821115614d3657614d356148ca565b5b614d3f82614774565b9050602081019050919050565b6000614d5f614d5a84614d1b565b61492a565b905082815260208101848484011115614d7b57614d7a6148c5565b5b614d86848285614976565b509392505050565b600082601f830112614da357614da26148c0565b5b8135614db3848260208601614d4c565b91505092915050565b60008060008060808587031215614dd657614dd5614660565b5b6000614de48782880161486b565b9450506020614df58782880161486b565b9350506040614e06878288016147f7565b925050606085013567ffffffffffffffff811115614e2757614e26614665565b5b614e3387828801614d8e565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614e74816145f3565b82525050565b600082825260208201905092915050565b6000614e9682614c49565b614ea08185614e7a565b9350614eb0818560208601614741565b614eb981614774565b840191505092915050565b614ecd81614614565b82525050565b600082825260208201905092915050565b6000614eef82614725565b614ef98185614ed3565b9350614f09818560208601614741565b614f1281614774565b840191505092915050565b614f26816146ef565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614f648383614e6b565b60208301905092915050565b6000602082019050919050565b6000614f8882614f2c565b614f928185614f37565b9350614f9d83614f48565b8060005b83811015614fce578151614fb58882614f58565b9750614fc083614f70565b925050600181019050614fa1565b5085935050505092915050565b600061010083016000830151614ff46000860182614e6b565b506020830151848203602086015261500c8282614e8b565b91505060408301516150216040860182614ec4565b50606083015184820360608601526150398282614ee4565b915050608083015161504e6080860182614ec4565b5060a083015161506160a0860182614ec4565b5060c083015161507460c0860182614f1d565b5060e083015184820360e086015261508c8282614f7d565b9150508091505092915050565b60006150a58383614fdb565b905092915050565b6000602082019050919050565b60006150c582614e3f565b6150cf8185614e4a565b9350836020820285016150e185614e5b565b8060005b8581101561511d57848403895281516150fe8582615099565b9450615109836150ad565b925060208a019950506001810190506150e5565b50829750879550505050505092915050565b6000602082019050818103600083015261514981846150ba565b905092915050565b6000806040838503121561516857615167614660565b5b60006151768582860161486b565b92505060206151878582860161486b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151d857607f821691505b602082108114156151ec576151eb615191565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b6000615228600183614730565b9150615233826151f2565b602082019050919050565b600060208201905081810360008301526152578161521b565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615294600183614730565b915061529f8261525e565b602082019050919050565b600060208201905081810360008301526152c381615287565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615300602083614730565b915061530b826152ca565b602082019050919050565b6000602082019050818103600083015261532f816152f3565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600061536c600183614730565b915061537782615336565b602082019050919050565b6000602082019050818103600083015261539b8161535f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006153dc82614614565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561540f5761540e6153a2565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000615450600183614730565b915061545b8261541a565b602082019050919050565b6000602082019050818103600083015261547f81615443565b9050919050565b600081519050615495816147e0565b92915050565b6000602082840312156154b1576154b0614660565b5b60006154bf84828501615486565b91505092915050565b6000815190506154d781614bdd565b92915050565b6000602082840312156154f3576154f2614660565b5b6000615501848285016154c8565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000615540600183614730565b915061554b8261550a565b602082019050919050565b6000602082019050818103600083015261556f81615533565b9050919050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b60006155ac600183614730565b91506155b782615576565b602082019050919050565b600060208201905081810360008301526155db8161559f565b9050919050565b60006155ed82614614565b91506155f883614614565b92508282101561560b5761560a6153a2565b5b828203905092915050565b60006156228385614c54565b935061562f838584614976565b61563883614774565b840190509392505050565b600060a0820190506156586000830189614605565b818103602083015261566b818789615616565b905061567a604083018661461e565b818103606083015261568c8185614785565b905061569b608083018461461e565b979650505050505050565b60006156b182614614565b91506156bc83614614565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156156f1576156f06153a2565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615732600183614730565b915061573d826156fc565b602082019050919050565b6000602082019050818103600083015261576181615725565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b600061579e600183614730565b91506157a982615768565b602082019050919050565b600060208201905081810360008301526157cd81615791565b9050919050565b60006157df82614614565b91506157ea83614614565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615823576158226153a2565b5b828202905092915050565b60006060820190506158436000830186614605565b6158506020830185614605565b61585d604083018461461e565b949350505050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b600061589b600183614730565b91506158a682615865565b602082019050919050565b600060208201905081810360008301526158ca8161588e565b9050919050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615907600183614730565b9150615912826158d1565b602082019050919050565b60006020820190508181036000830152615936816158fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7600000000000000000000000000000000000000000000000000000000000000600082015250565b60006159a2600183614730565b91506159ad8261596c565b602082019050919050565b600060208201905081810360008301526159d181615995565b9050919050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a0e600183614730565b9150615a19826159d8565b602082019050919050565b60006020820190508181036000830152615a3d81615a01565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615a71816151c0565b615a7b8186615a44565b94506001821660008114615a965760018114615aa757615ada565b60ff19831686528186019350615ada565b615ab085615a4f565b60005b83811015615ad257815481890152600182019150602081019050615ab3565b838801955050505b50505092915050565b6000615aee82614725565b615af88185615a44565b9350615b08818560208601614741565b80840191505092915050565b6000615b208285615a64565b9150615b2c8284615ae3565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615b94602683614730565b9150615b9f82615b38565b604082019050919050565b60006020820190508181036000830152615bc381615b87565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615c0482614614565b9150615c0f83614614565b925082615c1f57615c1e615bca565b5b828204905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615c57816151c0565b615c618186615c2a565b94506001821660008114615c7c5760018114615c8d57615cc0565b60ff19831686528186019350615cc0565b615c9685615c35565b60005b83811015615cb857815481890152600182019150602081019050615c99565b838801955050505b50505092915050565b6000615cd58284615c4a565b915081905092915050565b6000604082019050615cf5600083018561461e565b8181036020830152615d078184614c65565b90509392505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000615d3782615d10565b9150615d4283615d10565b925082821015615d5557615d546153a2565b5b828203905092915050565b6000615d6b82615d10565b9150615d7683615d10565b9250826fffffffffffffffffffffffffffffffff03821115615d9b57615d9a6153a2565b5b828201905092915050565b6000615db182614614565b91506000821415615dc557615dc46153a2565b5b600182039050919050565b6000608082019050615de56000830187614605565b615df26020830186614605565b615dff604083018561461e565b8181036060830152615e118184614c65565b905095945050505050565b600081519050615e2b81614696565b92915050565b600060208284031215615e4757615e46614660565b5b6000615e5584828501615e1c565b91505092915050565b6000615e6982614614565b9150615e7483614614565b925082615e8457615e83615bca565b5b82820690509291505056fea2646970667358221220057b03afa42c798ef150b47dffda6d7ae368d85a5e6fe7b6c4cac1430286c1db64736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000029a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000084b6576617461727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b65766100000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Kevatars
Arg [1] : _symbol (string): Keva
Arg [2] : _maxPossibleSupply (uint256): 666
Arg [3] : _mintPrice (uint256): 0
Arg [4] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [5] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000000000000000000000000000000000000000029a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 4b65766174617273000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4b65766100000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.