ETH Price: $2,456.70 (-3.46%)

Token

Moontirdz (MT)
 

Overview

Max Total Supply

1,159 MT

Holders

237

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MT
0xd0a11e80f3ffd4ea9b8c261dbc01ab9d95894786
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Moontirdz DAO is a collection of 3000 magical Moonbird droppings living on the Ethereum Blockchain. Holding a Moontird grants you access to the Secret Society of Tirdz. A DAO comprised of the rich and powerful.

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

Contract Source Code Verified (Exact Match)

Contract Name:
MasterchefMasatoshi

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : 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 "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721.sol";

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

  uint256 public mintPrice;
  uint256 public maxPossibleSupply;
  uint256 public allowListMintPrice;
  uint256 public maxAllowedMints;

  address public immutable currency;
  address immutable wrappedNativeCoinAddress;

  address private signerAddress;
  address public daoDelegate;

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

  bool public percentToVoteFrozen;
  bool public votingDurationFrozen;

  Voting[] public votings;

  bool public isDao;
  bool public paused;

  enum MintStatus {
    PreMint,
    AllowList,
    Public,
    Finished
  }

  MintStatus public mintStatus = MintStatus.PreMint;

  mapping (address => uint256) public totalMintsPerAddress;

  event Received(address, uint256);

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

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

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

  modifier onlyContractOrOwner {
    require(msg.sender == address(this) || msg.sender == owner());
    _;
  }

  constructor(
      string memory _name,
      string memory _symbol,
      uint256 _maxPossibleSupply,
      uint256 _mintPrice,
      uint256 _allowListMintPrice,
      uint256 _maxAllowedMints,
      address _signerAddress,
      address _nftDaoAddress,
      address _currency,
      address _wrappedNativeCoinAddress
  ) ERC721(_name, _symbol, _maxAllowedMints) {
    maxPossibleSupply = _maxPossibleSupply;
    mintPrice = _mintPrice;
    allowListMintPrice = _allowListMintPrice;
    maxAllowedMints = _maxAllowedMints;
    signerAddress = _signerAddress;
    daoDelegate = _nftDaoAddress;
    currency = _currency;
    wrappedNativeCoinAddress = _wrappedNativeCoinAddress;
  }

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

  function flipPaused() external onlyOwner {
    paused = !paused;
  }

  function preMint(uint amount) public onlyContractOrOwner {
    require(mintStatus == MintStatus.PreMint, "s");
    require(totalSupply() + amount <= maxPossibleSupply, "m");  
    _safeMint(msg.sender, amount);
  }

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

  // warning! don't call this function unless you know what you are doing
  function setDaoDelegate(address _daoDelegate) external onlyOwner {
    daoDelegate = _daoDelegate;
  }

  function setBaseURI(string memory baseURI) public onlyOwner {
    _setBaseURI(baseURI);
  }
  
  function changeMintStatus(MintStatus _status) external onlyContractOrOwner {
    require(_status != MintStatus.PreMint);
    if (mintStatus == MintStatus.Public) {
      require(_status != MintStatus.AllowList);
    }
    mintStatus = _status;
  }

  function mintAllowList(
    bytes32 messageHash,
    bytes calldata signature,
    uint amount
  ) public payable {
    require(mintStatus == MintStatus.AllowList && !paused, "s");
    require(totalSupply() + amount <= maxPossibleSupply, "m");
    require(hashMessage(msg.sender, address(this)) == messageHash, "i");
    require(verifyAddressSigner(messageHash, signature), "f");
    require(totalMintsPerAddress[msg.sender] + amount <= maxAllowedMints, "l");

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

    totalMintsPerAddress[msg.sender] = totalMintsPerAddress[msg.sender] + amount;
    _safeMint(msg.sender, amount);
  }

  function mintPublic(uint amount) public payable {
    require(mintStatus == MintStatus.Public && !paused, "s");
    require(totalSupply() + amount <= maxPossibleSupply, "m");
    require(totalMintsPerAddress[msg.sender] + amount <= maxAllowedMints, "l");

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

    totalMintsPerAddress[msg.sender] = totalMintsPerAddress[msg.sender] + amount;
    _safeMint(msg.sender, amount);

    if (totalSupply() == maxPossibleSupply) {
      mintStatus = MintStatus.Finished;
    }
  }

  function verifyAddressSigner(bytes32 messageHash, bytes memory signature) private view returns (bool) {
    return signerAddress == messageHash.toEthSignedMessageHash().recover(signature);
  }

  function hashMessage(address sender, address thisContract) public pure returns (bytes32) {
    return keccak256(abi.encodePacked(sender, thisContract));
  }

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

  fallback() external {
    assembly {
      let ptr := mload(0x40)
      calldatacopy(ptr, 0, calldatasize())
      let result := delegatecall(gas(), sload(daoDelegate.slot), ptr, calldatasize(), 0, 0)
      let size := returndatasize()
      returndatacopy(ptr, 0, size)
      switch result
      case 0 {revert(ptr, size)}
      default {return (ptr, size)}
    }
  }
}

// The High Table

File 2 of 14 : 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 14 : 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 14 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

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

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

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

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

File 5 of 14 : 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 6 of 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : 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":"uint256","name":"_allowListMintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxAllowedMints","type":"uint256"},{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"address","name":"_nftDaoAddress","type":"address"},{"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"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum MasterchefMasatoshi.MintStatus","name":"_status","type":"uint8"}],"name":"changeMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoDelegate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"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":"sender","type":"address"},{"internalType":"address","name":"thisContract","type":"address"}],"name":"hashMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDao","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPossibleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum MasterchefMasatoshi.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":"address","name":"_daoDelegate","type":"address"}],"name":"setDaoDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"},{"stateMutability":"payable","type":"receive"}]

60e0604052600080556000600855603c601255620151806013556000601660026101000a81548160ff02191690836003811115620000425762000041620003b4565b5b02179055503480156200005457600080fd5b50604051620068423803806200684283398181016040528101906200007a919062000620565b89898660008111620000c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ba90620007b5565b60405180910390fd5b8260019080519060200190620000db92919062000304565b508160029080519060200190620000f492919062000304565b50806080818152505050505062000120620001146200023660201b60201c565b6200023e60201b60201c565b87600d8190555086600c8190555085600e8190555084600f8190555083601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505050505050505050506200083c565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003129062000806565b90600052602060002090601f01602090048101928262000336576000855562000382565b82601f106200035157805160ff191683800117855562000382565b8280016001018555821562000382579182015b828111156200038157825182559160200191906001019062000364565b5b50905062000391919062000395565b5090565b5b80821115620003b057600081600090555060010162000396565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200044c8262000401565b810181811067ffffffffffffffff821117156200046e576200046d62000412565b5b80604052505050565b600062000483620003e3565b905062000491828262000441565b919050565b600067ffffffffffffffff821115620004b457620004b362000412565b5b620004bf8262000401565b9050602081019050919050565b60005b83811015620004ec578082015181840152602081019050620004cf565b83811115620004fc576000848401525b50505050565b600062000519620005138462000496565b62000477565b905082815260208101848484011115620005385762000537620003fc565b5b62000545848285620004cc565b509392505050565b600082601f830112620005655762000564620003f7565b5b81516200057784826020860162000502565b91505092915050565b6000819050919050565b620005958162000580565b8114620005a157600080fd5b50565b600081519050620005b5816200058a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005e882620005bb565b9050919050565b620005fa81620005db565b81146200060657600080fd5b50565b6000815190506200061a81620005ef565b92915050565b6000806000806000806000806000806101408b8d031215620006475762000646620003ed565b5b60008b015167ffffffffffffffff811115620006685762000667620003f2565b5b620006768d828e016200054d565b9a505060208b015167ffffffffffffffff8111156200069a5762000699620003f2565b5b620006a88d828e016200054d565b9950506040620006bb8d828e01620005a4565b9850506060620006ce8d828e01620005a4565b9750506080620006e18d828e01620005a4565b96505060a0620006f48d828e01620005a4565b95505060c0620007078d828e0162000609565b94505060e06200071a8d828e0162000609565b9350506101006200072e8d828e0162000609565b925050610120620007428d828e0162000609565b9150509295989b9194979a5092959850565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b60006200079d60018362000754565b9150620007aa8262000765565b602082019050919050565b60006020820190508181036000830152620007d0816200078e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200081f57607f821691505b60208210811415620008365762000835620007d7565b5b50919050565b60805160a05160c051615fa56200089d600039600081816120e8015261290701526000818161211f015281816121b3015281816126da0152818161293e01526129d20152600081816133b1015281816133da0152613a6f0152615fa56000f3fe6080604052600436106102975760003560e01c80636c82054b1161015a578063a9cbd06d116100c1578063e4c41bb41161007a578063e4c41bb414610a76578063e5a6b10f14610aa1578063e985e9c514610acc578063efd0cbf914610b09578063f0efb08914610b25578063f2fde38b14610b50576102d7565b8063a9cbd06d14610961578063b21a41d21461097d578063b88d4fde146109a8578063b9bd2801146109d1578063c87b56dd14610a0e578063d7224ba014610a4b576102d7565b80638df4247d116101135780638df4247d1461084957806395d89b41146108745780639da3f8fd1461089f578063a22cb465146108ca578063a598d03c146108f3578063a9361ffd14610936576102d7565b80636c82054b1461073b57806370a0823114610778578063715018a6146107b55780637cac2602146107cc5780638ad433ac146107f55780638da5cb5b1461081e576102d7565b806342842e0e116101fe5780635d86842a116101b75780635d86842a1461063b5780636352211e146106525780636373a6b11461068f5780636817c76c146106ba57806368855b64146106e55780636c0360eb14610710576102d7565b806342842e0e1461052b57806344fead9e146105545780634f6ccce71461057f5780635029e602146105bc57806355f804b3146105e75780635c975abb14610610576102d7565b8063132002fc11610250578063132002fc1461042d57806318160ddd1461045857806323b872dd146104835780632f745c59146104ac578063333171bb146104e9578063386b769114610500576102d7565b806301ffc9a71461030d57806306fdde031461034a578063081812fc14610375578063095ea7b3146103b2578063108efbaa146103db5780631096952314610404576102d7565b366102d7577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587433346040516102cd9291906143e1565b60405180910390a1005b3480156102e357600080fd5b50604051366000823760008036836011545af43d806000843e8160008114610309578184f35b8184fd5b34801561031957600080fd5b50610334600480360381019061032f9190614476565b610b79565b60405161034191906144be565b60405180910390f35b34801561035657600080fd5b5061035f610cc3565b60405161036c9190614572565b60405180910390f35b34801561038157600080fd5b5061039c600480360381019061039791906145c0565b610d55565b6040516103a991906145ed565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190614634565b610dda565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190614674565b610ef3565b005b34801561041057600080fd5b5061042b600480360381019061042691906147d6565b610fb3565b005b34801561043957600080fd5b5061044261107e565b60405161044f919061481f565b60405180910390f35b34801561046457600080fd5b5061046d611084565b60405161047a919061481f565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a5919061483a565b61108d565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190614634565b61109d565b6040516104e0919061481f565b60405180910390f35b3480156104f557600080fd5b506104fe61129b565b005b34801561050c57600080fd5b50610515611343565b604051610522919061481f565b60405180910390f35b34801561053757600080fd5b50610552600480360381019061054d919061483a565b611349565b005b34801561056057600080fd5b50610569611369565b604051610576919061481f565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a191906145c0565b61136f565b6040516105b3919061481f565b60405180910390f35b3480156105c857600080fd5b506105d16113c2565b6040516105de91906144be565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906147d6565b6113d5565b005b34801561061c57600080fd5b5061062561145d565b60405161063291906144be565b60405180910390f35b34801561064757600080fd5b50610650611470565b005b34801561065e57600080fd5b50610679600480360381019061067491906145c0565b611509565b60405161068691906145ed565b60405180910390f35b34801561069b57600080fd5b506106a461151f565b6040516106b19190614572565b60405180910390f35b3480156106c657600080fd5b506106cf6115ad565b6040516106dc919061481f565b60405180910390f35b3480156106f157600080fd5b506106fa6115b3565b604051610707919061481f565b60405180910390f35b34801561071c57600080fd5b506107256115b9565b6040516107329190614572565b60405180910390f35b34801561074757600080fd5b50610762600480360381019061075d919061488d565b61164b565b60405161076f91906148e6565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a9190614674565b61167e565b6040516107ac919061481f565b60405180910390f35b3480156107c157600080fd5b506107ca611767565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190614926565b6117ef565b005b34801561080157600080fd5b5061081c600480360381019061081791906145c0565b611932565b005b34801561082a57600080fd5b50610833611a81565b60405161084091906145ed565b60405180910390f35b34801561085557600080fd5b5061085e611aab565b60405161086b91906145ed565b60405180910390f35b34801561088057600080fd5b50610889611ad1565b6040516108969190614572565b60405180910390f35b3480156108ab57600080fd5b506108b4611b63565b6040516108c191906149ca565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190614a11565b611b76565b005b3480156108ff57600080fd5b5061091a600480360381019061091591906145c0565b611cf7565b60405161092d9796959493929190614aa6565b60405180910390f35b34801561094257600080fd5b5061094b611e86565b60405161095891906144be565b60405180910390f35b61097b60048036038101906109769190614baf565b611e99565b005b34801561098957600080fd5b50610992612302565b60405161099f91906144be565b60405180910390f35b3480156109b457600080fd5b506109cf60048036038101906109ca9190614cc4565b612315565b005b3480156109dd57600080fd5b506109f860048036038101906109f39190614674565b612371565b604051610a05919061481f565b60405180910390f35b348015610a1a57600080fd5b50610a356004803603810190610a3091906145c0565b612389565b604051610a429190614572565b60405180910390f35b348015610a5757600080fd5b50610a60612431565b604051610a6d919061481f565b60405180910390f35b348015610a8257600080fd5b50610a8b612437565b604051610a989190615037565b60405180910390f35b348015610aad57600080fd5b50610ab66126d8565b604051610ac391906145ed565b60405180910390f35b348015610ad857600080fd5b50610af36004803603810190610aee919061488d565b6126fc565b604051610b0091906144be565b60405180910390f35b610b236004803603810190610b1e91906145c0565b612790565b005b348015610b3157600080fd5b50610b3a612b5b565b604051610b47919061481f565b60405180910390f35b348015610b5c57600080fd5b50610b776004803603810190610b729190614674565b612b61565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cac57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cbc5750610cbb82612c59565b5b9050919050565b606060018054610cd290615088565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfe90615088565b8015610d4b5780601f10610d2057610100808354040283529160200191610d4b565b820191906000526020600020905b815481529060010190602001808311610d2e57829003601f168201915b5050505050905090565b6000610d6082612cc3565b610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690615106565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610de582611509565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90615172565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e75612cd0565b73ffffffffffffffffffffffffffffffffffffffff161480610ea45750610ea381610e9e612cd0565b6126fc565b5b610ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eda90615106565b60405180910390fd5b610eee838383612cd8565b505050565b610efb612cd0565b73ffffffffffffffffffffffffffffffffffffffff16610f19611a81565b73ffffffffffffffffffffffffffffffffffffffff1614610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f66906151de565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610fbb612cd0565b73ffffffffffffffffffffffffffffffffffffffff16610fd9611a81565b73ffffffffffffffffffffffffffffffffffffffff161461102f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611026906151de565b60405180910390fd5b600b60009054906101000a900460ff161561104957600080fd5b80600a908051906020019061105f9291906142aa565b506001600b60006101000a81548160ff02191690831515021790555050565b60135481565b60008054905090565b611098838383612d8a565b505050565b60006110a88361167e565b82106110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e09061524a565b60405180910390fd5b60006110f3611084565b905060008060005b83811015611259576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111ed57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112455786841415611236578195505050505050611295565b838061124190615299565b9450505b50808061125190615299565b9150506110fb565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c9061532e565b60405180910390fd5b92915050565b6112a3612cd0565b73ffffffffffffffffffffffffffffffffffffffff166112c1611a81565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e906151de565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b600d5481565b61136483838360405180602001604052806000815250612315565b505050565b600f5481565b6000611379611084565b82106113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b19061539a565b60405180910390fd5b819050919050565b601660009054906101000a900460ff1681565b6113dd612cd0565b73ffffffffffffffffffffffffffffffffffffffff166113fb611a81565b73ffffffffffffffffffffffffffffffffffffffff1614611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906151de565b60405180910390fd5b61145a81613343565b50565b601660019054906101000a900460ff1681565b611478612cd0565b73ffffffffffffffffffffffffffffffffffffffff16611496611a81565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e3906151de565b60405180910390fd5b6001601660006101000a81548160ff021916908315150217905550565b60006115148261335d565b600001519050919050565b600a805461152c90615088565b80601f016020809104026020016040519081016040528092919081815260200182805461155890615088565b80156115a55780601f1061157a576101008083540402835291602001916115a5565b820191906000526020600020905b81548152906001019060200180831161158857829003601f168201915b505050505081565b600c5481565b600e5481565b6060600380546115c890615088565b80601f01602080910402602001604051908101604052809291908181526020018280546115f490615088565b80156116415780601f1061161657610100808354040283529160200191611641565b820191906000526020600020905b81548152906001019060200180831161162457829003601f168201915b5050505050905090565b60008282604051602001611660929190615402565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e69061547a565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61176f612cd0565b73ffffffffffffffffffffffffffffffffffffffff1661178d611a81565b73ffffffffffffffffffffffffffffffffffffffff16146117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da906151de565b60405180910390fd5b6117ed6000613560565b565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061185b575061182c611a81565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61186457600080fd5b6000600381111561187857611877614953565b5b81600381111561188b5761188a614953565b5b141561189657600080fd5b600260038111156118aa576118a9614953565b5b601660029054906101000a900460ff1660038111156118cc576118cb614953565b5b141561190557600160038111156118e6576118e5614953565b5b8160038111156118f9576118f8614953565b5b141561190457600080fd5b5b80601660026101000a81548160ff0219169083600381111561192a57611929614953565b5b021790555050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061199e575061196f611a81565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119a757600080fd5b600060038111156119bb576119ba614953565b5b601660029054906101000a900460ff1660038111156119dd576119dc614953565b5b14611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a14906154e6565b60405180910390fd5b600d5481611a29611084565b611a339190615506565b1115611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b906155a8565b60405180910390fd5b611a7e3382613626565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060028054611ae090615088565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0c90615088565b8015611b595780601f10611b2e57610100808354040283529160200191611b59565b820191906000526020600020905b815481529060010190602001808311611b3c57829003601f168201915b5050505050905090565b601660029054906101000a900460ff1681565b611b7e612cd0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390615106565b60405180910390fd5b8060076000611bf9612cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ca6612cd0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ceb91906144be565b60405180910390a35050565b60158181548110611d0757600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054611d5090615088565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7c90615088565b8015611dc95780601f10611d9e57610100808354040283529160200191611dc9565b820191906000526020600020905b815481529060010190602001808311611dac57829003601f168201915b505050505090806002015490806003018054611de490615088565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1090615088565b8015611e5d5780601f10611e3257610100808354040283529160200191611e5d565b820191906000526020600020905b815481529060010190602001808311611e4057829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b601460019054906101000a900460ff1681565b60016003811115611ead57611eac614953565b5b601660029054906101000a900460ff166003811115611ecf57611ece614953565b5b148015611ee95750601660019054906101000a900460ff16155b611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f906154e6565b60405180910390fd5b600d5481611f34611084565b611f3e9190615506565b1115611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f76906155a8565b60405180910390fd5b83611f8a333061164b565b14611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190615614565b60405180910390fd5b6120188484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613644565b612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90615680565b60405180910390fd5b600f5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120a59190615506565b11156120e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dd906156ec565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614156121af573481600e54612169919061570c565b11156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190615106565b60405180910390fd5b612264565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600e5486612200919061570c565b6040518463ffffffff1660e01b815260040161221e93929190615766565b6020604051808303816000875af115801561223d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226191906157b2565b50505b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122af9190615506565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506122fc3382613626565b50505050565b601460009054906101000a900460ff1681565b612320848484612d8a565b61232c848484846136b9565b61236b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123629061582b565b60405180910390fd5b50505050565b60176020528060005260406000206000915090505481565b606061239482612cc3565b6123d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ca9061582b565b60405180910390fd5b6000600380546123e290615088565b9050116123fe576040518060200160405280600081525061242a565b600361240983613841565b60405160200161241a92919061591b565b6040516020818303038152906040525b9050919050565b60085481565b60606015805480602002602001604051908101604052809291908181526020016000905b828210156126cf5783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820180546124e590615088565b80601f016020809104026020016040519081016040528092919081815260200182805461251190615088565b801561255e5780601f106125335761010080835404028352916020019161255e565b820191906000526020600020905b81548152906001019060200180831161254157829003601f168201915b505050505081526020016002820154815260200160038201805461258190615088565b80601f01602080910402602001604051908101604052809291908181526020018280546125ad90615088565b80156125fa5780601f106125cf576101008083540402835291602001916125fa565b820191906000526020600020905b8154815290600101906020018083116125dd57829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff16151515158152602001600782018054806020026020016040519081016040528092919081815260200182805480156126b757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161266d575b5050505050815250508152602001906001019061245b565b50505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260038111156127a4576127a3614953565b5b601660029054906101000a900460ff1660038111156127c6576127c5614953565b5b1480156127e05750601660019054906101000a900460ff16155b61281f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612816906154e6565b60405180910390fd5b600d548161282b611084565b6128359190615506565b1115612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d906155a8565b60405180910390fd5b600f5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128c49190615506565b1115612905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fc906156ec565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614156129ce573481600c54612988919061570c565b11156129c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c090615106565b60405180910390fd5b612a83565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c5486612a1f919061570c565b6040518463ffffffff1660e01b8152600401612a3d93929190615766565b6020604051808303816000875af1158015612a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a8091906157b2565b50505b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ace9190615506565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612b1b3382613626565b600d54612b26611084565b1415612b58576003601660026101000a81548160ff02191690836003811115612b5257612b51614953565b5b02179055505b50565b60125481565b612b69612cd0565b73ffffffffffffffffffffffffffffffffffffffff16612b87611a81565b73ffffffffffffffffffffffffffffffffffffffff1614612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd4906151de565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c44906159b1565b60405180910390fd5b612c5681613560565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612d958261335d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612dbc612cd0565b73ffffffffffffffffffffffffffffffffffffffff161480612e185750612de1612cd0565b73ffffffffffffffffffffffffffffffffffffffff16612e0084610d55565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e345750612e338260000151612e2e612cd0565b6126fc565b5b905080612e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6d90615106565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90615172565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4f9061547a565b60405180910390fd5b612f6585858560016139a2565b612f756000848460000151612cd8565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612fe391906159ed565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166130879190615a21565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461318d9190615506565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132d35761320381612cc3565b156132d2576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461333b86868660016139a8565b505050505050565b80600390805190602001906133599291906142aa565b5050565b613365614330565b61336e82612cc3565b6133ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a490615ab3565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106134115760017f0000000000000000000000000000000000000000000000000000000000000000846134049190615ad3565b61340e9190615506565b90505b60008390505b81811061351f576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461350b5780935050505061355b565b50808061351790615b07565b915050613417565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355290615172565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136408282604051806020016040528060008152506139ae565b5050565b60006136618261365385613e8d565b613ebd90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60006136da8473ffffffffffffffffffffffffffffffffffffffff16613ee4565b15613834578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613703612cd0565b8786866040518563ffffffff1660e01b81526004016137259493929190615b31565b6020604051808303816000875af192505050801561376157506040513d601f19601f8201168201806040525081019061375e9190615b92565b60015b6137e4573d8060008114613791576040519150601f19603f3d011682016040523d82523d6000602084013e613796565b606091505b506000815114156137dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d39061582b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613839565b600190505b949350505050565b60606000821415613889576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061399d565b600082905060005b600082146138bb5780806138a490615299565b915050600a826138b49190615bee565b9150613891565b60008167ffffffffffffffff8111156138d7576138d66146ab565b5b6040519080825280601f01601f1916602001820160405280156139095781602001600182028036833780820191505090505b5090505b60008514613996576001826139229190615ad3565b9150600a856139319190615c1f565b603061393d9190615506565b60f81b81838151811061395357613952615c50565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561398f9190615bee565b945061390d565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1b9061547a565b60405180910390fd5b613a2d81612cc3565b15613a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6490615106565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ac7906155a8565b60405180910390fd5b613add60008583866139a2565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613bda9190615a21565b6fffffffffffffffffffffffffffffffff168152602001858360200151613c019190615a21565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613e7057818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e1060008884886136b9565b613e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e469061582b565b60405180910390fd5b8180613e5a90615299565b9250508080613e6890615299565b915050613d9f565b5080600081905550613e8560008785886139a8565b505050505050565b600081604051602001613ea09190615cec565b604051602081830303815290604052805190602001209050919050565b6000806000613ecc8585613ef7565b91509150613ed981613f7a565b819250505092915050565b600080823b905060008111915050919050565b600080604183511415613f395760008060006020860151925060408601519150606086015160001a9050613f2d8782858561414f565b94509450505050613f73565b604083511415613f6a576000806020850151915060408501519050613f5f86838361425c565b935093505050613f73565b60006002915091505b9250929050565b60006004811115613f8e57613f8d614953565b5b816004811115613fa157613fa0614953565b5b1415613fac5761414c565b60016004811115613fc057613fbf614953565b5b816004811115613fd357613fd2614953565b5b1415614014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161400b90615d5e565b60405180910390fd5b6002600481111561402857614027614953565b5b81600481111561403b5761403a614953565b5b141561407c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407390615dca565b60405180910390fd5b600360048111156140905761408f614953565b5b8160048111156140a3576140a2614953565b5b14156140e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140db90615e5c565b60405180910390fd5b6004808111156140f7576140f6614953565b5b81600481111561410a57614109614953565b5b141561414b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161414290615eee565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561418a576000600391509150614253565b601b8560ff16141580156141a25750601c8560ff1614155b156141b4576000600491509150614253565b6000600187878787604051600081526020016040526040516141d99493929190615f2a565b6020604051602081039080840390855afa1580156141fb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561424a57600060019250925050614253565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061429c8782888561414f565b935093505050935093915050565b8280546142b690615088565b90600052602060002090601f0160209004810192826142d8576000855561431f565b82601f106142f157805160ff191683800117855561431f565b8280016001018555821561431f579182015b8281111561431e578251825591602001919060010190614303565b5b50905061432c919061436a565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561438357600081600090555060010161436b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143b282614387565b9050919050565b6143c2816143a7565b82525050565b6000819050919050565b6143db816143c8565b82525050565b60006040820190506143f660008301856143b9565b61440360208301846143d2565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6144538161441e565b811461445e57600080fd5b50565b6000813590506144708161444a565b92915050565b60006020828403121561448c5761448b614414565b5b600061449a84828501614461565b91505092915050565b60008115159050919050565b6144b8816144a3565b82525050565b60006020820190506144d360008301846144af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156145135780820151818401526020810190506144f8565b83811115614522576000848401525b50505050565b6000601f19601f8301169050919050565b6000614544826144d9565b61454e81856144e4565b935061455e8185602086016144f5565b61456781614528565b840191505092915050565b6000602082019050818103600083015261458c8184614539565b905092915050565b61459d816143c8565b81146145a857600080fd5b50565b6000813590506145ba81614594565b92915050565b6000602082840312156145d6576145d5614414565b5b60006145e4848285016145ab565b91505092915050565b600060208201905061460260008301846143b9565b92915050565b614611816143a7565b811461461c57600080fd5b50565b60008135905061462e81614608565b92915050565b6000806040838503121561464b5761464a614414565b5b60006146598582860161461f565b925050602061466a858286016145ab565b9150509250929050565b60006020828403121561468a57614689614414565b5b60006146988482850161461f565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146e382614528565b810181811067ffffffffffffffff82111715614702576147016146ab565b5b80604052505050565b600061471561440a565b905061472182826146da565b919050565b600067ffffffffffffffff821115614741576147406146ab565b5b61474a82614528565b9050602081019050919050565b82818337600083830152505050565b600061477961477484614726565b61470b565b905082815260208101848484011115614795576147946146a6565b5b6147a0848285614757565b509392505050565b600082601f8301126147bd576147bc6146a1565b5b81356147cd848260208601614766565b91505092915050565b6000602082840312156147ec576147eb614414565b5b600082013567ffffffffffffffff81111561480a57614809614419565b5b614816848285016147a8565b91505092915050565b600060208201905061483460008301846143d2565b92915050565b60008060006060848603121561485357614852614414565b5b60006148618682870161461f565b93505060206148728682870161461f565b9250506040614883868287016145ab565b9150509250925092565b600080604083850312156148a4576148a3614414565b5b60006148b28582860161461f565b92505060206148c38582860161461f565b9150509250929050565b6000819050919050565b6148e0816148cd565b82525050565b60006020820190506148fb60008301846148d7565b92915050565b6004811061490e57600080fd5b50565b60008135905061492081614901565b92915050565b60006020828403121561493c5761493b614414565b5b600061494a84828501614911565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061499357614992614953565b5b50565b60008190506149a482614982565b919050565b60006149b482614996565b9050919050565b6149c4816149a9565b82525050565b60006020820190506149df60008301846149bb565b92915050565b6149ee816144a3565b81146149f957600080fd5b50565b600081359050614a0b816149e5565b92915050565b60008060408385031215614a2857614a27614414565b5b6000614a368582860161461f565b9250506020614a47858286016149fc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614a7882614a51565b614a828185614a5c565b9350614a928185602086016144f5565b614a9b81614528565b840191505092915050565b600060e082019050614abb600083018a6143b9565b8181036020830152614acd8189614a6d565b9050614adc60408301886143d2565b8181036060830152614aee8187614539565b9050614afd60808301866143d2565b614b0a60a08301856143d2565b614b1760c08301846144af565b98975050505050505050565b614b2c816148cd565b8114614b3757600080fd5b50565b600081359050614b4981614b23565b92915050565b600080fd5b600080fd5b60008083601f840112614b6f57614b6e6146a1565b5b8235905067ffffffffffffffff811115614b8c57614b8b614b4f565b5b602083019150836001820283011115614ba857614ba7614b54565b5b9250929050565b60008060008060608587031215614bc957614bc8614414565b5b6000614bd787828801614b3a565b945050602085013567ffffffffffffffff811115614bf857614bf7614419565b5b614c0487828801614b59565b93509350506040614c17878288016145ab565b91505092959194509250565b600067ffffffffffffffff821115614c3e57614c3d6146ab565b5b614c4782614528565b9050602081019050919050565b6000614c67614c6284614c23565b61470b565b905082815260208101848484011115614c8357614c826146a6565b5b614c8e848285614757565b509392505050565b600082601f830112614cab57614caa6146a1565b5b8135614cbb848260208601614c54565b91505092915050565b60008060008060808587031215614cde57614cdd614414565b5b6000614cec8782880161461f565b9450506020614cfd8782880161461f565b9350506040614d0e878288016145ab565b925050606085013567ffffffffffffffff811115614d2f57614d2e614419565b5b614d3b87828801614c96565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614d7c816143a7565b82525050565b600082825260208201905092915050565b6000614d9e82614a51565b614da88185614d82565b9350614db88185602086016144f5565b614dc181614528565b840191505092915050565b614dd5816143c8565b82525050565b600082825260208201905092915050565b6000614df7826144d9565b614e018185614ddb565b9350614e118185602086016144f5565b614e1a81614528565b840191505092915050565b614e2e816144a3565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614e6c8383614d73565b60208301905092915050565b6000602082019050919050565b6000614e9082614e34565b614e9a8185614e3f565b9350614ea583614e50565b8060005b83811015614ed6578151614ebd8882614e60565b9750614ec883614e78565b925050600181019050614ea9565b5085935050505092915050565b600061010083016000830151614efc6000860182614d73565b5060208301518482036020860152614f148282614d93565b9150506040830151614f296040860182614dcc565b5060608301518482036060860152614f418282614dec565b9150506080830151614f566080860182614dcc565b5060a0830151614f6960a0860182614dcc565b5060c0830151614f7c60c0860182614e25565b5060e083015184820360e0860152614f948282614e85565b9150508091505092915050565b6000614fad8383614ee3565b905092915050565b6000602082019050919050565b6000614fcd82614d47565b614fd78185614d52565b935083602082028501614fe985614d63565b8060005b8581101561502557848403895281516150068582614fa1565b945061501183614fb5565b925060208a01995050600181019050614fed565b50829750879550505050505092915050565b600060208201905081810360008301526150518184614fc2565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150a057607f821691505b602082108114156150b4576150b3615059565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006150f06001836144e4565b91506150fb826150ba565b602082019050919050565b6000602082019050818103600083015261511f816150e3565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061515c6001836144e4565b915061516782615126565b602082019050919050565b6000602082019050818103600083015261518b8161514f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151c86020836144e4565b91506151d382615192565b602082019050919050565b600060208201905081810360008301526151f7816151bb565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b60006152346001836144e4565b915061523f826151fe565b602082019050919050565b6000602082019050818103600083015261526381615227565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152a4826143c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152d7576152d661526a565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b60006153186001836144e4565b9150615323826152e2565b602082019050919050565b600060208201905081810360008301526153478161530b565b9050919050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b60006153846001836144e4565b915061538f8261534e565b602082019050919050565b600060208201905081810360008301526153b381615377565b9050919050565b60008160601b9050919050565b60006153d2826153ba565b9050919050565b60006153e4826153c7565b9050919050565b6153fc6153f7826143a7565b6153d9565b82525050565b600061540e82856153eb565b60148201915061541e82846153eb565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b60006154646001836144e4565b915061546f8261542e565b602082019050919050565b6000602082019050818103600083015261549381615457565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006154d06001836144e4565b91506154db8261549a565b602082019050919050565b600060208201905081810360008301526154ff816154c3565b9050919050565b6000615511826143c8565b915061551c836143c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156155515761555061526a565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006155926001836144e4565b915061559d8261555c565b602082019050919050565b600060208201905081810360008301526155c181615585565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b60006155fe6001836144e4565b9150615609826155c8565b602082019050919050565b6000602082019050818103600083015261562d816155f1565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b600061566a6001836144e4565b915061567582615634565b602082019050919050565b600060208201905081810360008301526156998161565d565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006156d66001836144e4565b91506156e1826156a0565b602082019050919050565b60006020820190508181036000830152615705816156c9565b9050919050565b6000615717826143c8565b9150615722836143c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561575b5761575a61526a565b5b828202905092915050565b600060608201905061577b60008301866143b9565b61578860208301856143b9565b61579560408301846143d2565b949350505050565b6000815190506157ac816149e5565b92915050565b6000602082840312156157c8576157c7614414565b5b60006157d68482850161579d565b91505092915050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b60006158156001836144e4565b9150615820826157df565b602082019050919050565b6000602082019050818103600083015261584481615808565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461587881615088565b615882818661584b565b9450600182166000811461589d57600181146158ae576158e1565b60ff198316865281860193506158e1565b6158b785615856565b60005b838110156158d9578154818901526001820191506020810190506158ba565b838801955050505b50505092915050565b60006158f5826144d9565b6158ff818561584b565b935061590f8185602086016144f5565b80840191505092915050565b6000615927828561586b565b915061593382846158ea565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061599b6026836144e4565b91506159a68261593f565b604082019050919050565b600060208201905081810360008301526159ca8161598e565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006159f8826159d1565b9150615a03836159d1565b925082821015615a1657615a1561526a565b5b828203905092915050565b6000615a2c826159d1565b9150615a37836159d1565b9250826fffffffffffffffffffffffffffffffff03821115615a5c57615a5b61526a565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a9d6001836144e4565b9150615aa882615a67565b602082019050919050565b60006020820190508181036000830152615acc81615a90565b9050919050565b6000615ade826143c8565b9150615ae9836143c8565b925082821015615afc57615afb61526a565b5b828203905092915050565b6000615b12826143c8565b91506000821415615b2657615b2561526a565b5b600182039050919050565b6000608082019050615b4660008301876143b9565b615b5360208301866143b9565b615b6060408301856143d2565b8181036060830152615b728184614a6d565b905095945050505050565b600081519050615b8c8161444a565b92915050565b600060208284031215615ba857615ba7614414565b5b6000615bb684828501615b7d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615bf9826143c8565b9150615c04836143c8565b925082615c1457615c13615bbf565b5b828204905092915050565b6000615c2a826143c8565b9150615c35836143c8565b925082615c4557615c44615bbf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615cb5601c8361584b565b9150615cc082615c7f565b601c82019050919050565b6000819050919050565b615ce6615ce1826148cd565b615ccb565b82525050565b6000615cf782615ca8565b9150615d038284615cd5565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615d486018836144e4565b9150615d5382615d12565b602082019050919050565b60006020820190508181036000830152615d7781615d3b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615db4601f836144e4565b9150615dbf82615d7e565b602082019050919050565b60006020820190508181036000830152615de381615da7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e466022836144e4565b9150615e5182615dea565b604082019050919050565b60006020820190508181036000830152615e7581615e39565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ed86022836144e4565b9150615ee382615e7c565b604082019050919050565b60006020820190508181036000830152615f0781615ecb565b9050919050565b600060ff82169050919050565b615f2481615f0e565b82525050565b6000608082019050615f3f60008301876148d7565b615f4c6020830186615f1b565b615f5960408301856148d7565b615f6660608301846148d7565b9594505050505056fea2646970667358221220642f809befd7f3c99b666cc4b6398deed23fa5fccf4b44c778bb762c83ab09c364736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000eebe0b40e8000000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000082e44ad879e804a873b4b425d80bbca32e74415000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000094d6f6f6e746972647a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d54000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102975760003560e01c80636c82054b1161015a578063a9cbd06d116100c1578063e4c41bb41161007a578063e4c41bb414610a76578063e5a6b10f14610aa1578063e985e9c514610acc578063efd0cbf914610b09578063f0efb08914610b25578063f2fde38b14610b50576102d7565b8063a9cbd06d14610961578063b21a41d21461097d578063b88d4fde146109a8578063b9bd2801146109d1578063c87b56dd14610a0e578063d7224ba014610a4b576102d7565b80638df4247d116101135780638df4247d1461084957806395d89b41146108745780639da3f8fd1461089f578063a22cb465146108ca578063a598d03c146108f3578063a9361ffd14610936576102d7565b80636c82054b1461073b57806370a0823114610778578063715018a6146107b55780637cac2602146107cc5780638ad433ac146107f55780638da5cb5b1461081e576102d7565b806342842e0e116101fe5780635d86842a116101b75780635d86842a1461063b5780636352211e146106525780636373a6b11461068f5780636817c76c146106ba57806368855b64146106e55780636c0360eb14610710576102d7565b806342842e0e1461052b57806344fead9e146105545780634f6ccce71461057f5780635029e602146105bc57806355f804b3146105e75780635c975abb14610610576102d7565b8063132002fc11610250578063132002fc1461042d57806318160ddd1461045857806323b872dd146104835780632f745c59146104ac578063333171bb146104e9578063386b769114610500576102d7565b806301ffc9a71461030d57806306fdde031461034a578063081812fc14610375578063095ea7b3146103b2578063108efbaa146103db5780631096952314610404576102d7565b366102d7577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587433346040516102cd9291906143e1565b60405180910390a1005b3480156102e357600080fd5b50604051366000823760008036836011545af43d806000843e8160008114610309578184f35b8184fd5b34801561031957600080fd5b50610334600480360381019061032f9190614476565b610b79565b60405161034191906144be565b60405180910390f35b34801561035657600080fd5b5061035f610cc3565b60405161036c9190614572565b60405180910390f35b34801561038157600080fd5b5061039c600480360381019061039791906145c0565b610d55565b6040516103a991906145ed565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190614634565b610dda565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190614674565b610ef3565b005b34801561041057600080fd5b5061042b600480360381019061042691906147d6565b610fb3565b005b34801561043957600080fd5b5061044261107e565b60405161044f919061481f565b60405180910390f35b34801561046457600080fd5b5061046d611084565b60405161047a919061481f565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a5919061483a565b61108d565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190614634565b61109d565b6040516104e0919061481f565b60405180910390f35b3480156104f557600080fd5b506104fe61129b565b005b34801561050c57600080fd5b50610515611343565b604051610522919061481f565b60405180910390f35b34801561053757600080fd5b50610552600480360381019061054d919061483a565b611349565b005b34801561056057600080fd5b50610569611369565b604051610576919061481f565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a191906145c0565b61136f565b6040516105b3919061481f565b60405180910390f35b3480156105c857600080fd5b506105d16113c2565b6040516105de91906144be565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906147d6565b6113d5565b005b34801561061c57600080fd5b5061062561145d565b60405161063291906144be565b60405180910390f35b34801561064757600080fd5b50610650611470565b005b34801561065e57600080fd5b50610679600480360381019061067491906145c0565b611509565b60405161068691906145ed565b60405180910390f35b34801561069b57600080fd5b506106a461151f565b6040516106b19190614572565b60405180910390f35b3480156106c657600080fd5b506106cf6115ad565b6040516106dc919061481f565b60405180910390f35b3480156106f157600080fd5b506106fa6115b3565b604051610707919061481f565b60405180910390f35b34801561071c57600080fd5b506107256115b9565b6040516107329190614572565b60405180910390f35b34801561074757600080fd5b50610762600480360381019061075d919061488d565b61164b565b60405161076f91906148e6565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a9190614674565b61167e565b6040516107ac919061481f565b60405180910390f35b3480156107c157600080fd5b506107ca611767565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190614926565b6117ef565b005b34801561080157600080fd5b5061081c600480360381019061081791906145c0565b611932565b005b34801561082a57600080fd5b50610833611a81565b60405161084091906145ed565b60405180910390f35b34801561085557600080fd5b5061085e611aab565b60405161086b91906145ed565b60405180910390f35b34801561088057600080fd5b50610889611ad1565b6040516108969190614572565b60405180910390f35b3480156108ab57600080fd5b506108b4611b63565b6040516108c191906149ca565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190614a11565b611b76565b005b3480156108ff57600080fd5b5061091a600480360381019061091591906145c0565b611cf7565b60405161092d9796959493929190614aa6565b60405180910390f35b34801561094257600080fd5b5061094b611e86565b60405161095891906144be565b60405180910390f35b61097b60048036038101906109769190614baf565b611e99565b005b34801561098957600080fd5b50610992612302565b60405161099f91906144be565b60405180910390f35b3480156109b457600080fd5b506109cf60048036038101906109ca9190614cc4565b612315565b005b3480156109dd57600080fd5b506109f860048036038101906109f39190614674565b612371565b604051610a05919061481f565b60405180910390f35b348015610a1a57600080fd5b50610a356004803603810190610a3091906145c0565b612389565b604051610a429190614572565b60405180910390f35b348015610a5757600080fd5b50610a60612431565b604051610a6d919061481f565b60405180910390f35b348015610a8257600080fd5b50610a8b612437565b604051610a989190615037565b60405180910390f35b348015610aad57600080fd5b50610ab66126d8565b604051610ac391906145ed565b60405180910390f35b348015610ad857600080fd5b50610af36004803603810190610aee919061488d565b6126fc565b604051610b0091906144be565b60405180910390f35b610b236004803603810190610b1e91906145c0565b612790565b005b348015610b3157600080fd5b50610b3a612b5b565b604051610b47919061481f565b60405180910390f35b348015610b5c57600080fd5b50610b776004803603810190610b729190614674565b612b61565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cac57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cbc5750610cbb82612c59565b5b9050919050565b606060018054610cd290615088565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfe90615088565b8015610d4b5780601f10610d2057610100808354040283529160200191610d4b565b820191906000526020600020905b815481529060010190602001808311610d2e57829003601f168201915b5050505050905090565b6000610d6082612cc3565b610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690615106565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610de582611509565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90615172565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e75612cd0565b73ffffffffffffffffffffffffffffffffffffffff161480610ea45750610ea381610e9e612cd0565b6126fc565b5b610ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eda90615106565b60405180910390fd5b610eee838383612cd8565b505050565b610efb612cd0565b73ffffffffffffffffffffffffffffffffffffffff16610f19611a81565b73ffffffffffffffffffffffffffffffffffffffff1614610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f66906151de565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610fbb612cd0565b73ffffffffffffffffffffffffffffffffffffffff16610fd9611a81565b73ffffffffffffffffffffffffffffffffffffffff161461102f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611026906151de565b60405180910390fd5b600b60009054906101000a900460ff161561104957600080fd5b80600a908051906020019061105f9291906142aa565b506001600b60006101000a81548160ff02191690831515021790555050565b60135481565b60008054905090565b611098838383612d8a565b505050565b60006110a88361167e565b82106110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e09061524a565b60405180910390fd5b60006110f3611084565b905060008060005b83811015611259576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111ed57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112455786841415611236578195505050505050611295565b838061124190615299565b9450505b50808061125190615299565b9150506110fb565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c9061532e565b60405180910390fd5b92915050565b6112a3612cd0565b73ffffffffffffffffffffffffffffffffffffffff166112c1611a81565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e906151de565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b600d5481565b61136483838360405180602001604052806000815250612315565b505050565b600f5481565b6000611379611084565b82106113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b19061539a565b60405180910390fd5b819050919050565b601660009054906101000a900460ff1681565b6113dd612cd0565b73ffffffffffffffffffffffffffffffffffffffff166113fb611a81565b73ffffffffffffffffffffffffffffffffffffffff1614611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906151de565b60405180910390fd5b61145a81613343565b50565b601660019054906101000a900460ff1681565b611478612cd0565b73ffffffffffffffffffffffffffffffffffffffff16611496611a81565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e3906151de565b60405180910390fd5b6001601660006101000a81548160ff021916908315150217905550565b60006115148261335d565b600001519050919050565b600a805461152c90615088565b80601f016020809104026020016040519081016040528092919081815260200182805461155890615088565b80156115a55780601f1061157a576101008083540402835291602001916115a5565b820191906000526020600020905b81548152906001019060200180831161158857829003601f168201915b505050505081565b600c5481565b600e5481565b6060600380546115c890615088565b80601f01602080910402602001604051908101604052809291908181526020018280546115f490615088565b80156116415780601f1061161657610100808354040283529160200191611641565b820191906000526020600020905b81548152906001019060200180831161162457829003601f168201915b5050505050905090565b60008282604051602001611660929190615402565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e69061547a565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61176f612cd0565b73ffffffffffffffffffffffffffffffffffffffff1661178d611a81565b73ffffffffffffffffffffffffffffffffffffffff16146117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da906151de565b60405180910390fd5b6117ed6000613560565b565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061185b575061182c611a81565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61186457600080fd5b6000600381111561187857611877614953565b5b81600381111561188b5761188a614953565b5b141561189657600080fd5b600260038111156118aa576118a9614953565b5b601660029054906101000a900460ff1660038111156118cc576118cb614953565b5b141561190557600160038111156118e6576118e5614953565b5b8160038111156118f9576118f8614953565b5b141561190457600080fd5b5b80601660026101000a81548160ff0219169083600381111561192a57611929614953565b5b021790555050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061199e575061196f611a81565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119a757600080fd5b600060038111156119bb576119ba614953565b5b601660029054906101000a900460ff1660038111156119dd576119dc614953565b5b14611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a14906154e6565b60405180910390fd5b600d5481611a29611084565b611a339190615506565b1115611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b906155a8565b60405180910390fd5b611a7e3382613626565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060028054611ae090615088565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0c90615088565b8015611b595780601f10611b2e57610100808354040283529160200191611b59565b820191906000526020600020905b815481529060010190602001808311611b3c57829003601f168201915b5050505050905090565b601660029054906101000a900460ff1681565b611b7e612cd0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390615106565b60405180910390fd5b8060076000611bf9612cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ca6612cd0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ceb91906144be565b60405180910390a35050565b60158181548110611d0757600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054611d5090615088565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7c90615088565b8015611dc95780601f10611d9e57610100808354040283529160200191611dc9565b820191906000526020600020905b815481529060010190602001808311611dac57829003601f168201915b505050505090806002015490806003018054611de490615088565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1090615088565b8015611e5d5780601f10611e3257610100808354040283529160200191611e5d565b820191906000526020600020905b815481529060010190602001808311611e4057829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b601460019054906101000a900460ff1681565b60016003811115611ead57611eac614953565b5b601660029054906101000a900460ff166003811115611ecf57611ece614953565b5b148015611ee95750601660019054906101000a900460ff16155b611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f906154e6565b60405180910390fd5b600d5481611f34611084565b611f3e9190615506565b1115611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f76906155a8565b60405180910390fd5b83611f8a333061164b565b14611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190615614565b60405180910390fd5b6120188484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613644565b612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90615680565b60405180910390fd5b600f5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120a59190615506565b11156120e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dd906156ec565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1614156121af573481600e54612169919061570c565b11156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190615106565b60405180910390fd5b612264565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600e5486612200919061570c565b6040518463ffffffff1660e01b815260040161221e93929190615766565b6020604051808303816000875af115801561223d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226191906157b2565b50505b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122af9190615506565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506122fc3382613626565b50505050565b601460009054906101000a900460ff1681565b612320848484612d8a565b61232c848484846136b9565b61236b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123629061582b565b60405180910390fd5b50505050565b60176020528060005260406000206000915090505481565b606061239482612cc3565b6123d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ca9061582b565b60405180910390fd5b6000600380546123e290615088565b9050116123fe576040518060200160405280600081525061242a565b600361240983613841565b60405160200161241a92919061591b565b6040516020818303038152906040525b9050919050565b60085481565b60606015805480602002602001604051908101604052809291908181526020016000905b828210156126cf5783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820180546124e590615088565b80601f016020809104026020016040519081016040528092919081815260200182805461251190615088565b801561255e5780601f106125335761010080835404028352916020019161255e565b820191906000526020600020905b81548152906001019060200180831161254157829003601f168201915b505050505081526020016002820154815260200160038201805461258190615088565b80601f01602080910402602001604051908101604052809291908181526020018280546125ad90615088565b80156125fa5780601f106125cf576101008083540402835291602001916125fa565b820191906000526020600020905b8154815290600101906020018083116125dd57829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff16151515158152602001600782018054806020026020016040519081016040528092919081815260200182805480156126b757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161266d575b5050505050815250508152602001906001019061245b565b50505050905090565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260038111156127a4576127a3614953565b5b601660029054906101000a900460ff1660038111156127c6576127c5614953565b5b1480156127e05750601660019054906101000a900460ff16155b61281f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612816906154e6565b60405180910390fd5b600d548161282b611084565b6128359190615506565b1115612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d906155a8565b60405180910390fd5b600f5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128c49190615506565b1115612905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fc906156ec565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1614156129ce573481600c54612988919061570c565b11156129c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c090615106565b60405180910390fd5b612a83565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c5486612a1f919061570c565b6040518463ffffffff1660e01b8152600401612a3d93929190615766565b6020604051808303816000875af1158015612a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a8091906157b2565b50505b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ace9190615506565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612b1b3382613626565b600d54612b26611084565b1415612b58576003601660026101000a81548160ff02191690836003811115612b5257612b51614953565b5b02179055505b50565b60125481565b612b69612cd0565b73ffffffffffffffffffffffffffffffffffffffff16612b87611a81565b73ffffffffffffffffffffffffffffffffffffffff1614612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd4906151de565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c44906159b1565b60405180910390fd5b612c5681613560565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612d958261335d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612dbc612cd0565b73ffffffffffffffffffffffffffffffffffffffff161480612e185750612de1612cd0565b73ffffffffffffffffffffffffffffffffffffffff16612e0084610d55565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e345750612e338260000151612e2e612cd0565b6126fc565b5b905080612e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6d90615106565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90615172565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4f9061547a565b60405180910390fd5b612f6585858560016139a2565b612f756000848460000151612cd8565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612fe391906159ed565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166130879190615a21565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461318d9190615506565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132d35761320381612cc3565b156132d2576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461333b86868660016139a8565b505050505050565b80600390805190602001906133599291906142aa565b5050565b613365614330565b61336e82612cc3565b6133ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a490615ab3565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000006483106134115760017f0000000000000000000000000000000000000000000000000000000000000064846134049190615ad3565b61340e9190615506565b90505b60008390505b81811061351f576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461350b5780935050505061355b565b50808061351790615b07565b915050613417565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355290615172565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136408282604051806020016040528060008152506139ae565b5050565b60006136618261365385613e8d565b613ebd90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60006136da8473ffffffffffffffffffffffffffffffffffffffff16613ee4565b15613834578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613703612cd0565b8786866040518563ffffffff1660e01b81526004016137259493929190615b31565b6020604051808303816000875af192505050801561376157506040513d601f19601f8201168201806040525081019061375e9190615b92565b60015b6137e4573d8060008114613791576040519150601f19603f3d011682016040523d82523d6000602084013e613796565b606091505b506000815114156137dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d39061582b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613839565b600190505b949350505050565b60606000821415613889576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061399d565b600082905060005b600082146138bb5780806138a490615299565b915050600a826138b49190615bee565b9150613891565b60008167ffffffffffffffff8111156138d7576138d66146ab565b5b6040519080825280601f01601f1916602001820160405280156139095781602001600182028036833780820191505090505b5090505b60008514613996576001826139229190615ad3565b9150600a856139319190615c1f565b603061393d9190615506565b60f81b81838151811061395357613952615c50565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561398f9190615bee565b945061390d565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1b9061547a565b60405180910390fd5b613a2d81612cc3565b15613a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6490615106565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000064831115613ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ac7906155a8565b60405180910390fd5b613add60008583866139a2565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613bda9190615a21565b6fffffffffffffffffffffffffffffffff168152602001858360200151613c019190615a21565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613e7057818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e1060008884886136b9565b613e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e469061582b565b60405180910390fd5b8180613e5a90615299565b9250508080613e6890615299565b915050613d9f565b5080600081905550613e8560008785886139a8565b505050505050565b600081604051602001613ea09190615cec565b604051602081830303815290604052805190602001209050919050565b6000806000613ecc8585613ef7565b91509150613ed981613f7a565b819250505092915050565b600080823b905060008111915050919050565b600080604183511415613f395760008060006020860151925060408601519150606086015160001a9050613f2d8782858561414f565b94509450505050613f73565b604083511415613f6a576000806020850151915060408501519050613f5f86838361425c565b935093505050613f73565b60006002915091505b9250929050565b60006004811115613f8e57613f8d614953565b5b816004811115613fa157613fa0614953565b5b1415613fac5761414c565b60016004811115613fc057613fbf614953565b5b816004811115613fd357613fd2614953565b5b1415614014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161400b90615d5e565b60405180910390fd5b6002600481111561402857614027614953565b5b81600481111561403b5761403a614953565b5b141561407c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407390615dca565b60405180910390fd5b600360048111156140905761408f614953565b5b8160048111156140a3576140a2614953565b5b14156140e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140db90615e5c565b60405180910390fd5b6004808111156140f7576140f6614953565b5b81600481111561410a57614109614953565b5b141561414b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161414290615eee565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561418a576000600391509150614253565b601b8560ff16141580156141a25750601c8560ff1614155b156141b4576000600491509150614253565b6000600187878787604051600081526020016040526040516141d99493929190615f2a565b6020604051602081039080840390855afa1580156141fb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561424a57600060019250925050614253565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061429c8782888561414f565b935093505050935093915050565b8280546142b690615088565b90600052602060002090601f0160209004810192826142d8576000855561431f565b82601f106142f157805160ff191683800117855561431f565b8280016001018555821561431f579182015b8281111561431e578251825591602001919060010190614303565b5b50905061432c919061436a565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561438357600081600090555060010161436b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143b282614387565b9050919050565b6143c2816143a7565b82525050565b6000819050919050565b6143db816143c8565b82525050565b60006040820190506143f660008301856143b9565b61440360208301846143d2565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6144538161441e565b811461445e57600080fd5b50565b6000813590506144708161444a565b92915050565b60006020828403121561448c5761448b614414565b5b600061449a84828501614461565b91505092915050565b60008115159050919050565b6144b8816144a3565b82525050565b60006020820190506144d360008301846144af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156145135780820151818401526020810190506144f8565b83811115614522576000848401525b50505050565b6000601f19601f8301169050919050565b6000614544826144d9565b61454e81856144e4565b935061455e8185602086016144f5565b61456781614528565b840191505092915050565b6000602082019050818103600083015261458c8184614539565b905092915050565b61459d816143c8565b81146145a857600080fd5b50565b6000813590506145ba81614594565b92915050565b6000602082840312156145d6576145d5614414565b5b60006145e4848285016145ab565b91505092915050565b600060208201905061460260008301846143b9565b92915050565b614611816143a7565b811461461c57600080fd5b50565b60008135905061462e81614608565b92915050565b6000806040838503121561464b5761464a614414565b5b60006146598582860161461f565b925050602061466a858286016145ab565b9150509250929050565b60006020828403121561468a57614689614414565b5b60006146988482850161461f565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146e382614528565b810181811067ffffffffffffffff82111715614702576147016146ab565b5b80604052505050565b600061471561440a565b905061472182826146da565b919050565b600067ffffffffffffffff821115614741576147406146ab565b5b61474a82614528565b9050602081019050919050565b82818337600083830152505050565b600061477961477484614726565b61470b565b905082815260208101848484011115614795576147946146a6565b5b6147a0848285614757565b509392505050565b600082601f8301126147bd576147bc6146a1565b5b81356147cd848260208601614766565b91505092915050565b6000602082840312156147ec576147eb614414565b5b600082013567ffffffffffffffff81111561480a57614809614419565b5b614816848285016147a8565b91505092915050565b600060208201905061483460008301846143d2565b92915050565b60008060006060848603121561485357614852614414565b5b60006148618682870161461f565b93505060206148728682870161461f565b9250506040614883868287016145ab565b9150509250925092565b600080604083850312156148a4576148a3614414565b5b60006148b28582860161461f565b92505060206148c38582860161461f565b9150509250929050565b6000819050919050565b6148e0816148cd565b82525050565b60006020820190506148fb60008301846148d7565b92915050565b6004811061490e57600080fd5b50565b60008135905061492081614901565b92915050565b60006020828403121561493c5761493b614414565b5b600061494a84828501614911565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061499357614992614953565b5b50565b60008190506149a482614982565b919050565b60006149b482614996565b9050919050565b6149c4816149a9565b82525050565b60006020820190506149df60008301846149bb565b92915050565b6149ee816144a3565b81146149f957600080fd5b50565b600081359050614a0b816149e5565b92915050565b60008060408385031215614a2857614a27614414565b5b6000614a368582860161461f565b9250506020614a47858286016149fc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614a7882614a51565b614a828185614a5c565b9350614a928185602086016144f5565b614a9b81614528565b840191505092915050565b600060e082019050614abb600083018a6143b9565b8181036020830152614acd8189614a6d565b9050614adc60408301886143d2565b8181036060830152614aee8187614539565b9050614afd60808301866143d2565b614b0a60a08301856143d2565b614b1760c08301846144af565b98975050505050505050565b614b2c816148cd565b8114614b3757600080fd5b50565b600081359050614b4981614b23565b92915050565b600080fd5b600080fd5b60008083601f840112614b6f57614b6e6146a1565b5b8235905067ffffffffffffffff811115614b8c57614b8b614b4f565b5b602083019150836001820283011115614ba857614ba7614b54565b5b9250929050565b60008060008060608587031215614bc957614bc8614414565b5b6000614bd787828801614b3a565b945050602085013567ffffffffffffffff811115614bf857614bf7614419565b5b614c0487828801614b59565b93509350506040614c17878288016145ab565b91505092959194509250565b600067ffffffffffffffff821115614c3e57614c3d6146ab565b5b614c4782614528565b9050602081019050919050565b6000614c67614c6284614c23565b61470b565b905082815260208101848484011115614c8357614c826146a6565b5b614c8e848285614757565b509392505050565b600082601f830112614cab57614caa6146a1565b5b8135614cbb848260208601614c54565b91505092915050565b60008060008060808587031215614cde57614cdd614414565b5b6000614cec8782880161461f565b9450506020614cfd8782880161461f565b9350506040614d0e878288016145ab565b925050606085013567ffffffffffffffff811115614d2f57614d2e614419565b5b614d3b87828801614c96565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614d7c816143a7565b82525050565b600082825260208201905092915050565b6000614d9e82614a51565b614da88185614d82565b9350614db88185602086016144f5565b614dc181614528565b840191505092915050565b614dd5816143c8565b82525050565b600082825260208201905092915050565b6000614df7826144d9565b614e018185614ddb565b9350614e118185602086016144f5565b614e1a81614528565b840191505092915050565b614e2e816144a3565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614e6c8383614d73565b60208301905092915050565b6000602082019050919050565b6000614e9082614e34565b614e9a8185614e3f565b9350614ea583614e50565b8060005b83811015614ed6578151614ebd8882614e60565b9750614ec883614e78565b925050600181019050614ea9565b5085935050505092915050565b600061010083016000830151614efc6000860182614d73565b5060208301518482036020860152614f148282614d93565b9150506040830151614f296040860182614dcc565b5060608301518482036060860152614f418282614dec565b9150506080830151614f566080860182614dcc565b5060a0830151614f6960a0860182614dcc565b5060c0830151614f7c60c0860182614e25565b5060e083015184820360e0860152614f948282614e85565b9150508091505092915050565b6000614fad8383614ee3565b905092915050565b6000602082019050919050565b6000614fcd82614d47565b614fd78185614d52565b935083602082028501614fe985614d63565b8060005b8581101561502557848403895281516150068582614fa1565b945061501183614fb5565b925060208a01995050600181019050614fed565b50829750879550505050505092915050565b600060208201905081810360008301526150518184614fc2565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150a057607f821691505b602082108114156150b4576150b3615059565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006150f06001836144e4565b91506150fb826150ba565b602082019050919050565b6000602082019050818103600083015261511f816150e3565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061515c6001836144e4565b915061516782615126565b602082019050919050565b6000602082019050818103600083015261518b8161514f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151c86020836144e4565b91506151d382615192565b602082019050919050565b600060208201905081810360008301526151f7816151bb565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b60006152346001836144e4565b915061523f826151fe565b602082019050919050565b6000602082019050818103600083015261526381615227565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152a4826143c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152d7576152d661526a565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b60006153186001836144e4565b9150615323826152e2565b602082019050919050565b600060208201905081810360008301526153478161530b565b9050919050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b60006153846001836144e4565b915061538f8261534e565b602082019050919050565b600060208201905081810360008301526153b381615377565b9050919050565b60008160601b9050919050565b60006153d2826153ba565b9050919050565b60006153e4826153c7565b9050919050565b6153fc6153f7826143a7565b6153d9565b82525050565b600061540e82856153eb565b60148201915061541e82846153eb565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b60006154646001836144e4565b915061546f8261542e565b602082019050919050565b6000602082019050818103600083015261549381615457565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006154d06001836144e4565b91506154db8261549a565b602082019050919050565b600060208201905081810360008301526154ff816154c3565b9050919050565b6000615511826143c8565b915061551c836143c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156155515761555061526a565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006155926001836144e4565b915061559d8261555c565b602082019050919050565b600060208201905081810360008301526155c181615585565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b60006155fe6001836144e4565b9150615609826155c8565b602082019050919050565b6000602082019050818103600083015261562d816155f1565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b600061566a6001836144e4565b915061567582615634565b602082019050919050565b600060208201905081810360008301526156998161565d565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006156d66001836144e4565b91506156e1826156a0565b602082019050919050565b60006020820190508181036000830152615705816156c9565b9050919050565b6000615717826143c8565b9150615722836143c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561575b5761575a61526a565b5b828202905092915050565b600060608201905061577b60008301866143b9565b61578860208301856143b9565b61579560408301846143d2565b949350505050565b6000815190506157ac816149e5565b92915050565b6000602082840312156157c8576157c7614414565b5b60006157d68482850161579d565b91505092915050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b60006158156001836144e4565b9150615820826157df565b602082019050919050565b6000602082019050818103600083015261584481615808565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461587881615088565b615882818661584b565b9450600182166000811461589d57600181146158ae576158e1565b60ff198316865281860193506158e1565b6158b785615856565b60005b838110156158d9578154818901526001820191506020810190506158ba565b838801955050505b50505092915050565b60006158f5826144d9565b6158ff818561584b565b935061590f8185602086016144f5565b80840191505092915050565b6000615927828561586b565b915061593382846158ea565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061599b6026836144e4565b91506159a68261593f565b604082019050919050565b600060208201905081810360008301526159ca8161598e565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006159f8826159d1565b9150615a03836159d1565b925082821015615a1657615a1561526a565b5b828203905092915050565b6000615a2c826159d1565b9150615a37836159d1565b9250826fffffffffffffffffffffffffffffffff03821115615a5c57615a5b61526a565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a9d6001836144e4565b9150615aa882615a67565b602082019050919050565b60006020820190508181036000830152615acc81615a90565b9050919050565b6000615ade826143c8565b9150615ae9836143c8565b925082821015615afc57615afb61526a565b5b828203905092915050565b6000615b12826143c8565b91506000821415615b2657615b2561526a565b5b600182039050919050565b6000608082019050615b4660008301876143b9565b615b5360208301866143b9565b615b6060408301856143d2565b8181036060830152615b728184614a6d565b905095945050505050565b600081519050615b8c8161444a565b92915050565b600060208284031215615ba857615ba7614414565b5b6000615bb684828501615b7d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615bf9826143c8565b9150615c04836143c8565b925082615c1457615c13615bbf565b5b828204905092915050565b6000615c2a826143c8565b9150615c35836143c8565b925082615c4557615c44615bbf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615cb5601c8361584b565b9150615cc082615c7f565b601c82019050919050565b6000819050919050565b615ce6615ce1826148cd565b615ccb565b82525050565b6000615cf782615ca8565b9150615d038284615cd5565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615d486018836144e4565b9150615d5382615d12565b602082019050919050565b60006020820190508181036000830152615d7781615d3b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615db4601f836144e4565b9150615dbf82615d7e565b602082019050919050565b60006020820190508181036000830152615de381615da7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e466022836144e4565b9150615e5182615dea565b604082019050919050565b60006020820190508181036000830152615e7581615e39565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ed86022836144e4565b9150615ee382615e7c565b604082019050919050565b60006020820190508181036000830152615f0781615ecb565b9050919050565b600060ff82169050919050565b615f2481615f0e565b82525050565b6000608082019050615f3f60008301876148d7565b615f4c6020830186615f1b565b615f5960408301856148d7565b615f6660608301846148d7565b9594505050505056fea2646970667358221220642f809befd7f3c99b666cc4b6398deed23fa5fccf4b44c778bb762c83ab09c364736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000eebe0b40e8000000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000082e44ad879e804a873b4b425d80bbca32e74415000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000094d6f6f6e746972647a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d54000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Moontirdz
Arg [1] : _symbol (string): MT
Arg [2] : _maxPossibleSupply (uint256): 3000
Arg [3] : _mintPrice (uint256): 4200000000000000
Arg [4] : _allowListMintPrice (uint256): 10000000000000000
Arg [5] : _maxAllowedMints (uint256): 100
Arg [6] : _signerAddress (address): 0xe9A347e4bFbe5A219F3497B1CA3Ac8568a99ED6c
Arg [7] : _nftDaoAddress (address): 0x082e44ad879e804A873B4B425d80BbCa32E74415
Arg [8] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [9] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [3] : 000000000000000000000000000000000000000000000000000eebe0b40e8000
Arg [4] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [6] : 000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c
Arg [7] : 000000000000000000000000082e44ad879e804a873b4b425d80bbca32e74415
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [11] : 4d6f6f6e746972647a0000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 4d54000000000000000000000000000000000000000000000000000000000000


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.